Home
last modified time | relevance | path

Searched refs:fileSize (Results 1 – 6 of 6) sorted by relevance

/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.cc1018 uint32_t fileSize = 0; in phDnldNfc_LoadBinFW() local
1048 fileSize = ftellFileSize; in phDnldNfc_LoadBinFW()
1050 fileSize = 0; in phDnldNfc_LoadBinFW()
1057 pFwHandle = (void*)malloc(sizeof(uint8_t) * fileSize); in phDnldNfc_LoadBinFW()
1068 (uint32_t)fread(pFwHandle, sizeof(uint8_t), (size_t)fileSize, pFile); in phDnldNfc_LoadBinFW()
1069 if (bytesRead != fileSize) { in phDnldNfc_LoadBinFW()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger.cpp1386 size_t fileSize, remaining, readSize; in wifi_get_driver_memory_dump() local
1417 fileSize = numRecordsRead; in wifi_get_driver_memory_dump()
1421 fileSize = numRecordsRead; in wifi_get_driver_memory_dump()
1429 fileSize = 0; in wifi_get_driver_memory_dump()
1438 fileSize += numRecordsRead; in wifi_get_driver_memory_dump()
1457 fileSize); in wifi_get_driver_memory_dump()
1459 callback.on_driver_memory_dump(memBuffer, fileSize); in wifi_get_driver_memory_dump()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_rome.c784 long fileSize; in rome_get_tlv_file() local
801 fileSize = ftell (pFile); in rome_get_tlv_file()
804 pdata_buffer = (unsigned char*) malloc (sizeof(char)*fileSize); in rome_get_tlv_file()
812 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file()
817 if (readSize != fileSize) { in rome_get_tlv_file()
818 ALOGE("Read file size(%d) not matched with actual file size (%ld bytes)",readSize,fileSize); in rome_get_tlv_file()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_rome.c824 long fileSize; in rome_get_tlv_file() local
841 fileSize = ftell (pFile); in rome_get_tlv_file()
844 pdata_buffer = (unsigned char*) malloc (sizeof(char)*fileSize); in rome_get_tlv_file()
852 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file()
857 if (readSize != fileSize) { in rome_get_tlv_file()
858 ALOGE("Read file size(%d) not matched with actual file size (%ld bytes)",readSize,fileSize); in rome_get_tlv_file()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhw_rome.c809 long fileSize; in rome_get_tlv_file() local
826 fileSize = ftell (pFile); in rome_get_tlv_file()
829 pdata_buffer = (unsigned char*) malloc (sizeof(char)*fileSize); in rome_get_tlv_file()
837 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file()
842 if (readSize != fileSize) { in rome_get_tlv_file()
843 ALOGE("Read file size(%d) not matched with actual file size (%ld bytes)",readSize,fileSize); in rome_get_tlv_file()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_rome.c832 long fileSize; in rome_get_tlv_file() local
849 fileSize = ftell (pFile); in rome_get_tlv_file()
852 pdata_buffer = (unsigned char*) malloc (sizeof(char)*fileSize); in rome_get_tlv_file()
860 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file()
865 if (readSize != fileSize) { in rome_get_tlv_file()
866 ALOGE("Read file size(%d) not matched with actual file size (%ld bytes)",readSize,fileSize); in rome_get_tlv_file()