Home
last modified time | relevance | path

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

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c181 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()
Dmm_jpeg_test.c239 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/nxp/nfc/halimpl/utils/
DphNxpConfig.cpp78 const size_t file_size = ftell(fd); in readConfigFile() local
81 uint8_t* buffer = new uint8_t[file_size]; in readConfigFile()
82 size_t read = fread(buffer, file_size, 1, fd); in readConfigFile()
87 return file_size; in readConfigFile()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c97 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/
Darec.c487 long file_size; in signal_handler() local
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg.c2927 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()