/hardware/nxp/nfc/halimpl/dnld/ |
D | phDnldNfc.cc | 1018 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/ |
D | wifilogger.cpp | 1384 size_t fileSize, remaining, readSize; in wifi_get_driver_memory_dump() local 1415 fileSize = numRecordsRead; in wifi_get_driver_memory_dump() 1419 fileSize = numRecordsRead; in wifi_get_driver_memory_dump() 1427 fileSize = 0; in wifi_get_driver_memory_dump() 1436 fileSize += numRecordsRead; in wifi_get_driver_memory_dump() 1455 fileSize); in wifi_get_driver_memory_dump() 1457 callback.on_driver_memory_dump(memBuffer, fileSize); in wifi_get_driver_memory_dump()
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
D | hw_rome.c | 802 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/msm8992/libbt-vendor/src/ |
D | hw_rome.c | 784 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/ |
D | hw_rome.c | 824 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/ |
D | hw_rome.c | 809 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/sdm845/bt/libbt-vendor/src/ |
D | hw_rome.c | 825 long fileSize; in rome_get_tlv_file() local 842 fileSize = ftell (pFile); in rome_get_tlv_file() 845 pdata_buffer = (unsigned char*) malloc (sizeof(char)*fileSize); in rome_get_tlv_file() 853 readSize = fread (pdata_buffer,1,fileSize,pFile); in rome_get_tlv_file() 858 if (readSize != fileSize) { in rome_get_tlv_file() 859 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/ |
D | hw_rome.c | 832 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/ |
D | AudioUsbALSA.cpp | 94 long unsigned fileSize; in getCap() local 118 fileSize = st.st_size; in getCap()
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | CompilationCachingTests.cpp | 1233 long int fileSize = ftell(pFile); in flipOneBitOfCache() local 1234 if (fileSize == 0) { in flipOneBitOfCache() 1239 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 1242 long int fileSize = ftell(pFile); in flipOneBitOfCache() local 1243 if (fileSize == 0) { in flipOneBitOfCache() 1248 ASSERT_EQ(fseek(pFile, getRandomInt(0l, fileSize - 1), SEEK_SET), 0); in flipOneBitOfCache()
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
D | QualcommUsbCamera.cpp | 2766 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()
|