Searched refs:file_size (Results 1 – 6 of 6) sorted by relevance
181 size_t file_size = 0; in mm_jpegdec_test_read() local188 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()
239 size_t file_size = 0; in mm_jpeg_test_read() local246 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()
78 const size_t file_size = ftell(fd); in readConfigFile() local81 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()
97 static int file_size(char *fname);337 file_size(char *fname) in file_size() function1268 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()
487 long file_size; in signal_handler() local
2927 size_t file_size = 0; in mm_jpeg_read_meta_keyfile() local2934 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()