/hardware/nxp/nfc/pn8x/halimpl/utils/ |
D | phNxpConfig.cpp | 80 const size_t file_size = ftell(fd); in readConfigFile() local 82 if ((long)file_size < 0) { in readConfigFile() 83 ALOGE("%s Invalid file size file_size = %zu\n", __func__, file_size); in readConfigFile() 87 uint8_t* buffer = new uint8_t[file_size]; in readConfigFile() 92 size_t read = fread(buffer, file_size, 1, fd); in readConfigFile() 97 return file_size; in readConfigFile()
|
/hardware/nxp/nfc/snxxx/halimpl/utils/ |
D | phNxpConfig.cc | 101 const size_t file_size = ftell(fd); in readConfigFile() local 103 if ((long)file_size < 0) { in readConfigFile() 104 ALOGE("%s Invalid file size file_size = %zu\n", __func__, file_size); in readConfigFile() 108 uint8_t* buffer = new uint8_t[file_size + 1]; in readConfigFile() 113 size_t read = fread(buffer, file_size, 1, fd); in readConfigFile() 117 buffer[file_size] = '\n'; in readConfigFile() 119 return file_size + 1; in readConfigFile()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpegdec_test.c | 181 size_t file_size = 0; in mm_jpegdec_test_read() local 188 file_size = (size_t)ftell(fp); in mm_jpegdec_test_read() 192 file_size); in mm_jpegdec_test_read() 194 p_obj->input.size = file_size; in mm_jpegdec_test_read()
|
D | mm_jpeg_test.c | 239 size_t file_size = 0; in mm_jpeg_test_read() local 246 file_size = (size_t)ftell(fp); in mm_jpeg_test_read() 249 file_size, p_obj->input[idx].size); in mm_jpeg_test_read() 251 if (p_obj->input[idx].size > file_size) { in mm_jpeg_test_read()
|
/hardware/samsung/nfc/halimpl/src/ |
D | config.cpp | 107 const size_t file_size = ftell(fd); in readConfigFile() local 110 uint8_t* buffer = new uint8_t[file_size]; in readConfigFile() 111 size_t read = fread(buffer, file_size, 1, fd); in readConfigFile() 116 return file_size; in readConfigFile()
|
/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | oslo_data_injection_test.c | 189 uint32_t file_size; in main() local 253 file_size = file_stat.st_size; in main()
|
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/ |
D | panfrost_drm.h | 245 __u32 file_size; member
|
/hardware/nxp/uwb/halimpl/hal/sr200/ |
D | fwd_hdll.cc | 401 long int file_size = 0; in openFwBinFile() local 417 file_size = ftell(fptr); in openFwBinFile() 418 if (!file_size || (-1L == file_size)) { in openFwBinFile() 424 pfwImageCtx->fwImgSize = file_size; in openFwBinFile()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_logger.cpp | 2864 int file_size, count; in read_ota_file() local 2874 file_size = ftell(fp); in read_ota_file() 2875 if (file_size == -1L) { in read_ota_file() 2881 buf = (char *)malloc(file_size + 1); in read_ota_file() 2886 memset(buf, 0, file_size + 1); in read_ota_file() 2888 count = fread(buf, file_size, 1, fp); in read_ota_file() 2897 *size = file_size; in read_ota_file()
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | wifi_logger.cpp | 2752 int file_size; in read_ota_file() local 2762 file_size = ftell(fp); in read_ota_file() 2764 buf = (char *)malloc(file_size + 1); in read_ota_file() 2769 memset(buf, 0, file_size + 1); in read_ota_file() 2771 fread(buf, file_size, 1, fp); in read_ota_file() 2774 *size = file_size; in read_ota_file()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu.c | 97 static int file_size(char *fname); 337 file_size(char *fname) in file_size() function 1268 if ((ret = file_size(fname)) < 0) in dhd_sprom() 1791 if ((fsize = file_size(fname)) < 0) { in dhd_download() 2017 if ((fsize = file_size(fname)) < 0) { in dhd_dldn()
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | arec.c | 487 long file_size; in signal_handler() local
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg.c | 2927 size_t file_size = 0; in mm_jpeg_read_meta_keyfile() local 2934 file_size = (size_t)ftell(fp); in mm_jpeg_read_meta_keyfile() 2937 p_session->meta_enc_key = (uint8_t *) malloc((file_size + 1) * sizeof(uint8_t)); in mm_jpeg_read_meta_keyfile() 2944 fread(p_session->meta_enc_key, 1, file_size, fp); in mm_jpeg_read_meta_keyfile() 2947 p_session->meta_enc_keylen = file_size; in mm_jpeg_read_meta_keyfile()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | tinyexr.h | 5222 mz_uint64 file_size; in mz_zip_reader_init_file() local 5229 file_size = MZ_FTELL64(pFile); in mz_zip_reader_init_file() 5237 pZip->m_archive_size = file_size; in mz_zip_reader_init_file() 13277 size_t file_size; local 13280 file_size = static_cast<size_t>(ftell(fp)); 13283 if (file_size < tinyexr::kEXRVersionSize) {
|