Home
last modified time | relevance | path

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

/hardware/nxp/nfc/snxxx/halimpl/dnld/
DphDnldNfc.cc1075 long fileSize = 0; in phDnldNfc_LoadBinFW() local
1105 fileSize = ftellFileSize; in phDnldNfc_LoadBinFW()
1107 fileSize = 0; in phDnldNfc_LoadBinFW()
1114 pFwHandle = (void*)malloc(sizeof(uint8_t) * fileSize); in phDnldNfc_LoadBinFW()
1125 (uint32_t)fread(pFwHandle, sizeof(uint8_t), (size_t)fileSize, pFile); in phDnldNfc_LoadBinFW()
1126 if (bytesRead != fileSize) { in phDnldNfc_LoadBinFW()
/hardware/nxp/nfc/pn8x/halimpl/dnld/
DphDnldNfc.cc1019 long fileSize = 0; in phDnldNfc_LoadBinFW() local
1049 fileSize = ftellFileSize; in phDnldNfc_LoadBinFW()
1051 fileSize = 0; in phDnldNfc_LoadBinFW()
1058 pFwHandle = (void*)malloc(sizeof(uint8_t) * fileSize); in phDnldNfc_LoadBinFW()
1069 (uint32_t)fread(pFwHandle, sizeof(uint8_t), (size_t)fileSize, pFile); in phDnldNfc_LoadBinFW()
1070 if (bytesRead != fileSize) { in phDnldNfc_LoadBinFW()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwifilogger.cpp1333 size_t fileSize, remaining, readSize; in wifi_get_driver_memory_dump() local
1364 fileSize = numRecordsRead; in wifi_get_driver_memory_dump()
1368 fileSize = numRecordsRead; in wifi_get_driver_memory_dump()
1376 fileSize = 0; in wifi_get_driver_memory_dump()
1385 fileSize += numRecordsRead; in wifi_get_driver_memory_dump()
1404 fileSize); in wifi_get_driver_memory_dump()
1406 callback.on_driver_memory_dump(memBuffer, fileSize); in wifi_get_driver_memory_dump()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifilogger.cpp1382 size_t fileSize, remaining, readSize; in wifi_get_driver_memory_dump() local
1413 fileSize = numRecordsRead; in wifi_get_driver_memory_dump()
1417 fileSize = numRecordsRead; in wifi_get_driver_memory_dump()
1425 fileSize = 0; in wifi_get_driver_memory_dump()
1434 fileSize += numRecordsRead; in wifi_get_driver_memory_dump()
1453 fileSize); in wifi_get_driver_memory_dump()
1455 callback.on_driver_memory_dump(memBuffer, fileSize); in wifi_get_driver_memory_dump()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_rome.c802 long fileSize; in rome_get_tlv_file() local
819 fileSize = ftell (pFile); in rome_get_tlv_file()
822 pdata_buffer = (unsigned char*) malloc (sizeof(char)*fileSize); in rome_get_tlv_file()
830 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file()
835 if (readSize != fileSize) { in rome_get_tlv_file()
836 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/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/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()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp94 long unsigned fileSize; in getCap() local
118 fileSize = st.st_size; in getCap()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp1051 long int fileSize = ftell(pFile); in flipOneBitOfCache() local
1052 if (fileSize == 0) { in flipOneBitOfCache()
1057 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DCompilationCachingTests.cpp1245 long int fileSize = ftell(pFile); in flipOneBitOfCache() local
1246 if (fileSize == 0) { in flipOneBitOfCache()
1251 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DCompilationCachingTests.cpp1236 long int fileSize = ftell(pFile); in flipOneBitOfCache() local
1237 if (fileSize == 0) { in flipOneBitOfCache()
1242 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache()
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp2766 int bytesRead = 0, fileSize = 0; in readFromFile() local
2776 if (fileSize > bufferSize){ in readFromFile()
2777 ALOGE("%s: Error %d > %d", __func__, fileSize, bufferSize); in readFromFile()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDisplay.cpp6665 auto fileSize = ftell(mFile); in chooseOpenedFile() local
6666 if (fileSize < mThresholdSizePerFile) return true; in chooseOpenedFile()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/asciidoctor-chunker/
Dasciidoctor-chunker.js4 …turn e.attribs.url&&(t.url=e.attribs.url),e.attribs.fileSize&&(t.fileSize=parseInt(e.attribs.fileS…