Home
last modified time | relevance | path

Searched refs:SIZEOF (Results 1 – 25 of 75) sorted by relevance

123

/external/opencv3/3rdparty/libjpeg/
Djmemmgr.c267 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
271 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_small()
273 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_small()
290 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()
351 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()
355 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_large()
357 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_large()
364 SIZEOF(large_pool_hdr)); in alloc_large()
367 mem->total_space_allocated += sizeofobject + SIZEOF(large_pool_hdr); in alloc_large()
407 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()
[all …]
Djdmerge.c92 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
95 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
98 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
101 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
376 SIZEOF(my_upsampler)); in jinit_merged_upsampler()
389 (size_t) (upsample->out_row_width * SIZEOF(JSAMPLE))); in jinit_merged_upsampler()
Djccoefct.c188 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data()
196 compptr->MCU_width * SIZEOF(JBLOCK)); in compress_data()
294 FMEMZERO((void FAR *) thisblockrow, ndummy * SIZEOF(JBLOCK)); in compress_first_pass()
314 (size_t) (blocks_across * SIZEOF(JBLOCK))); in compress_first_pass()
416 SIZEOF(my_coef_controller)); in jinit_c_coef_controller()
448 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in jinit_c_coef_controller()
Djdatasrc.c224 SIZEOF(my_source_mgr)); in jpeg_stdio_src()
228 INPUT_BUF_SIZE * SIZEOF(JOCTET)); in jpeg_stdio_src()
264 SIZEOF(struct jpeg_source_mgr)); in jpeg_mem_src()
Djcomapi.c91 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL)); in jpeg_alloc_quant_table()
103 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL)); in jpeg_alloc_huff_table()
Djchuff.c187 SIZEOF(c_derived_tbl)); in jpeg_make_c_derived_tbl()
230 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
1268 MEMZERO(bits, SIZEOF(bits)); in jpeg_gen_optimal_table()
1269 MEMZERO(codesize, SIZEOF(codesize)); in jpeg_gen_optimal_table()
1371 MEMCOPY(htbl->bits, bits, SIZEOF(htbl->bits)); in jpeg_gen_optimal_table()
1413 MEMZERO(did_dc, SIZEOF(did_dc)); in finish_pass_gather()
1414 MEMZERO(did_ac, SIZEOF(did_ac)); in finish_pass_gather()
1483 MAX_CORR_BITS * SIZEOF(char)); in start_pass_huff()
1513 257 * SIZEOF(long)); in start_pass_huff()
1514 MEMZERO(entropy->dc_count_ptrs[tbl], 257 * SIZEOF(long)); in start_pass_huff()
[all …]
Djdatadst.c71 OUTPUT_BUF_SIZE * SIZEOF(JOCTET)); in init_destination()
209 SIZEOF(my_destination_mgr)); in jpeg_stdio_dest()
249 SIZEOF(my_mem_destination_mgr)); in jpeg_mem_dest()
Djdcolor.c100 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
103 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
106 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
109 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
198 (TABLE_SIZE * SIZEOF(INT32))); in build_rgb_y_table()
506 SIZEOF(my_color_deconverter)); in jinit_color_deconverter()
Djdmaster.c237 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
241 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
251 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
253 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
523 SIZEOF(my_decomp_master)); in jinit_master_decompress()
Djctrans.c103 SIZEOF((*qtblptr)->quantval)); in jpeg_copy_critical_parameters()
369 SIZEOF(my_coef_controller)); in transencode_coef_controller()
380 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in transencode_coef_controller()
381 FMEMZERO((void FAR *) buffer, C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in transencode_coef_controller()
Djutils.c188 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE)); in jcopy_sample_rows()
216 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row()
Djddctmgr.c370 SIZEOF(my_idct_controller)); in jinit_inverse_dct()
379 SIZEOF(multiplier_table)); in jinit_inverse_dct()
380 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table)); in jinit_inverse_dct()
Djcapimin.c39 if (structsize != SIZEOF(struct jpeg_compress_struct)) in jpeg_CreateCompress()
41 (int) SIZEOF(struct jpeg_compress_struct), (int) structsize); in jpeg_CreateCompress()
52 MEMZERO(cinfo, SIZEOF(struct jpeg_compress_struct)); in jpeg_CreateCompress()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jmemmgr.c268 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
272 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_small()
274 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_small()
291 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()
352 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()
356 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_large()
358 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_large()
365 SIZEOF(large_pool_hdr)); in alloc_large()
368 mem->total_space_allocated += sizeofobject + SIZEOF(large_pool_hdr); in alloc_large()
408 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()
[all …]
Dfpdfapi_jchuff.c144 257 * SIZEOF(long)); in start_pass_huff()
145 MEMZERO(entropy->dc_count_ptrs[dctbl], 257 * SIZEOF(long)); in start_pass_huff()
149 257 * SIZEOF(long)); in start_pass_huff()
150 MEMZERO(entropy->ac_count_ptrs[actbl], 257 * SIZEOF(long)); in start_pass_huff()
208 SIZEOF(c_derived_tbl)); in jpeg_make_c_derived_tbl()
251 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
720 MEMZERO(bits, SIZEOF(bits)); in jpeg_gen_optimal_table()
721 MEMZERO(codesize, SIZEOF(codesize)); in jpeg_gen_optimal_table()
823 MEMCOPY(htbl->bits, bits, SIZEOF(htbl->bits)); in jpeg_gen_optimal_table()
861 MEMZERO(did_dc, SIZEOF(did_dc)); in finish_pass_gather()
[all …]
Dfpdfapi_jccoefct.c184 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK)); in compress_data()
192 compptr->MCU_width * SIZEOF(JBLOCK)); in compress_data()
289 jzero_far((void FAR *) thisblockrow, ndummy * SIZEOF(JBLOCK)); in compress_first_pass()
309 (size_t) (blocks_across * SIZEOF(JBLOCK))); in compress_first_pass()
411 SIZEOF(my_coef_controller)); in jinit_c_coef_controller()
443 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in jinit_c_coef_controller()
Dfpdfapi_jdmerge.c95 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
98 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
101 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
104 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
379 SIZEOF(my_upsampler)); in jinit_merged_upsampler()
392 (size_t) (upsample->out_row_width * SIZEOF(JSAMPLE))); in jinit_merged_upsampler()
Dfpdfapi_jdcolor.c79 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
82 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
85 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
88 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
311 SIZEOF(my_color_deconverter)); in jinit_color_deconverter()
Dfpdfapi_jddctmgr.c255 SIZEOF(my_idct_controller)); in jinit_inverse_dct()
264 SIZEOF(multiplier_table)); in jinit_inverse_dct()
265 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table)); in jinit_inverse_dct()
Dfpdfapi_jcomapi.c91 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL)); in jpeg_alloc_quant_table()
103 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL)); in jpeg_alloc_huff_table()
Dfpdfapi_jcapimin.c38 if (structsize != SIZEOF(struct jpeg_compress_struct)) in jpeg_CreateCompress()
40 (int) SIZEOF(struct jpeg_compress_struct), (int) structsize); in jpeg_CreateCompress()
51 MEMZERO(cinfo, SIZEOF(struct jpeg_compress_struct)); in jpeg_CreateCompress()
Dfpdfapi_jdmaster.c256 (5 * (MAXJSAMPLE+1) + CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
260 MEMZERO(table - (MAXJSAMPLE+1), (MAXJSAMPLE+1) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
270 (2 * (MAXJSAMPLE+1) - CENTERJSAMPLE) * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
272 cinfo->sample_range_limit, CENTERJSAMPLE * SIZEOF(JSAMPLE)); in prepare_range_limit_table()
549 SIZEOF(my_decomp_master)); in jinit_master_decompress()
Dfpdfapi_jcdctmgr.c81 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr()
115 DCTSIZE2 * SIZEOF(DCTELEM)); in start_pass_fdctmgr()
148 DCTSIZE2 * SIZEOF(FAST_FLOAT)); in start_pass_fdctmgr()
352 SIZEOF(my_fdct_controller)); in jinit_forward_dct()
Dfpdfapi_jctrans.c95 SIZEOF((*qtblptr)->quantval)); in jpeg_copy_critical_parameters()
372 SIZEOF(my_coef_controller)); in transencode_coef_controller()
383 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in transencode_coef_controller()
384 jzero_far((void FAR *) buffer, C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in transencode_coef_controller()
/external/bison/lib/
Dfatal-signal.c32 #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) macro
81 #define num_fatal_signals (SIZEOF (fatal_signals) - 1)
125 static size_t actions_allocated = SIZEOF (static_actions);

123