Lines Matching refs:memBuffer
1014 char* memBuffer = NULL; in handleResponse() local
1096 memBuffer = (char*) malloc(sizeof(char) * memDumpSize); in handleResponse()
1097 if (memBuffer == NULL) { in handleResponse()
1102 memset(memBuffer, 0, sizeof(char) * memDumpSize); in handleResponse()
1115 numRecordsRead = fread(memBuffer, 1, memDumpSize, in handleResponse()
1124 buffer = memBuffer; in handleResponse()
1152 mHandler.on_firmware_memory_dump(memBuffer, in handleResponse()
1321 if (memBuffer) { in handleResponse()
1322 free(memBuffer); in handleResponse()
1386 char *memBuffer = NULL, *buffer = NULL; in wifi_get_driver_memory_dump() local
1404 memBuffer = (char *) malloc(DRIVER_MEMDUMP_MAX_FILESIZE); in wifi_get_driver_memory_dump()
1405 if (memBuffer == NULL) { in wifi_get_driver_memory_dump()
1413 numRecordsRead = fread(memBuffer, 1, DRIVER_MEMDUMP_MAX_FILESIZE, fp); in wifi_get_driver_memory_dump()
1426 buffer = memBuffer; in wifi_get_driver_memory_dump()
1447 free(memBuffer); in wifi_get_driver_memory_dump()
1448 memBuffer = NULL; in wifi_get_driver_memory_dump()
1457 callback.on_driver_memory_dump(memBuffer, fileSize); in wifi_get_driver_memory_dump()
1460 free(memBuffer); in wifi_get_driver_memory_dump()