/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 | 94 const size_t file_size = ftell(fd); in readConfigFile() local 96 if ((long)file_size < 0) { in readConfigFile() 97 ALOGE("%s Invalid file size file_size = %zu\n", __func__, file_size); in readConfigFile() 101 uint8_t* buffer = new uint8_t[file_size + 1]; in readConfigFile() 106 size_t read = fread(buffer, file_size, 1, fd); in readConfigFile() 110 buffer[file_size] = '\n'; in readConfigFile() 112 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/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_logger.cpp | 1938 int file_size, count; in read_ota_file() local 1948 file_size = ftell(fp); in read_ota_file() 1950 buf = (char *)malloc(file_size + 1); in read_ota_file() 1955 memset(buf, 0, file_size + 1); in read_ota_file() 1957 count = fread(buf, file_size, 1, fp); in read_ota_file() 1960 *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/interfaces/automotive/can/1.0/default/libc++fs/include/automotive/ |
D | filesystem | 135 uintmax_t file_size(const path& p); 136 uintmax_t file_size(const path& p, error_code& ec) noexcept; 1683 inline _LIBCPP_INLINE_VISIBILITY uintmax_t file_size(const path& __p) { 1688 file_size(const path& __p, error_code& __ec) noexcept { 2129 uintmax_t file_size() const { return __get_size(); } 2132 uintmax_t file_size(error_code& __ec) const noexcept { 2377 __handle_error("in directory_entry::file_size", __ec, __m_ec); 2381 __handle_error("in directory_entry::file_size", __ec,
|
/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()
|