Home
last modified time | relevance | path

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

12

/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.c140 257 * SIZEOF(long)); in start_pass_huff()
141 MEMZERO(entropy->dc_count_ptrs[dctbl], 257 * SIZEOF(long)); in start_pass_huff()
145 257 * SIZEOF(long)); in start_pass_huff()
146 MEMZERO(entropy->ac_count_ptrs[actbl], 257 * SIZEOF(long)); in start_pass_huff()
204 SIZEOF(c_derived_tbl)); in jpeg_make_c_derived_tbl()
247 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
716 MEMZERO(bits, SIZEOF(bits)); in jpeg_gen_optimal_table()
717 MEMZERO(codesize, SIZEOF(codesize)); in jpeg_gen_optimal_table()
819 MEMCOPY(htbl->bits, bits, SIZEOF(htbl->bits)); in jpeg_gen_optimal_table()
857 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.c91 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
94 (MAXJSAMPLE+1) * SIZEOF(int)); in build_ycc_rgb_table()
97 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
100 (MAXJSAMPLE+1) * SIZEOF(INT32)); in build_ycc_rgb_table()
375 SIZEOF(my_upsampler)); in jinit_merged_upsampler()
388 (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_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_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_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()
Dfpdfapi_jutils.c122 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE)); in jcopy_sample_rows()
150 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row()
Dfpdfapi_jdapimin.c38 if (structsize != SIZEOF(struct jpeg_decompress_struct)) in jpeg_CreateDecompress()
40 (int) SIZEOF(struct jpeg_decompress_struct), (int) structsize); in jpeg_CreateDecompress()
51 MEMZERO(cinfo, SIZEOF(struct jpeg_decompress_struct)); in jpeg_CreateDecompress()
Dfpdfapi_jcparam.c162 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits)); in add_huff_table()
174 MEMCOPY((*htblptr)->huffval, val, nsymbols * SIZEOF(UINT8)); in add_huff_table()
283 MAX_COMPONENTS * SIZEOF(jpeg_component_info)); in jpeg_set_defaults()
570 cinfo->script_space_size * SIZEOF(jpeg_scan_info)); in jpeg_simple_progression()
Dfpdfapi_jcprepct.c281 SIZEOF(JSAMPROW)); in create_context_buffer()
296 3 * rgroup_height * SIZEOF(JSAMPROW)); in create_context_buffer()
326 SIZEOF(my_prep_controller)); in jinit_c_prep_controller()
Dfpdfapi_jcphuff.c135 MAX_CORR_BITS * SIZEOF(char)); in start_pass_phuff()
168 257 * SIZEOF(long)); in start_pass_phuff()
169 MEMZERO(entropy->count_ptrs[tbl], 257 * SIZEOF(long)); in start_pass_phuff()
784 MEMZERO(did, SIZEOF(did)); in finish_pass_gather_phuff()
821 SIZEOF(phuff_entropy_encoder)); in jinit_phuff_encoder()
Dfpdfapi_jdinput.c239 SIZEOF(JQUANT_TBL)); in latch_quant_tables()
240 MEMCOPY(qtbl, cinfo->quant_tbl_ptrs[qtblno], SIZEOF(JQUANT_TBL)); in latch_quant_tables()
368 SIZEOF(my_input_controller)); in jinit_input_controller()
Dfpdfapi_jdmainct.c173 cinfo->num_components * 2 * SIZEOF(JSAMPARRAY)); in alloc_funny_pointers()
185 2 * (rgroup * (M + 4)) * SIZEOF(JSAMPROW)); in alloc_funny_pointers()
484 SIZEOF(my_main_controller)); in jinit_d_main_controller()
Djinclude.h92 #define SIZEOF(object) ((size_t) sizeof(object)) macro
Dfpdfapi_jdhuff.c175 SIZEOF(d_derived_tbl)); in jpeg_make_d_derived_tbl()
236 MEMZERO(dtbl->look_nbits, SIZEOF(dtbl->look_nbits)); in jpeg_make_d_derived_tbl()
641 SIZEOF(huff_entropy_decoder)); in jinit_huff_decoder()
Dfpdfapi_jdmarker.c285 cinfo->num_components * SIZEOF(jpeg_component_info)); in get_sof()
510 MEMCOPY((*htblptr)->bits, bits, SIZEOF((*htblptr)->bits)); in get_dht()
511 MEMCOPY((*htblptr)->huffval, huffval, SIZEOF((*htblptr)->huffval)); in get_dht()
798 SIZEOF(struct jpeg_marker_struct) + limit); in save_marker()
1303 SIZEOF(my_marker_reader)); in jinit_marker_reader()
1343 maxlength = cinfo->mem->max_alloc_chunk - SIZEOF(struct jpeg_marker_struct); in jpeg_save_markers()
Dfpdfapi_jdcoefct.c166 (size_t) (cinfo->blocks_in_MCU * SIZEOF(JBLOCK))); in decompress_onepass()
423 (SAVED_COEFS * SIZEOF(int))); in smoothing_ok()
682 SIZEOF(my_coef_controller)); in jinit_d_coef_controller()
728 D_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK)); in jinit_d_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);
Dwait-process.c39 #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) macro
72 static size_t slaves_allocated = SIZEOF (static_slaves);
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c100 #define SIZEOF( s, t ) \ macro
237 SIZEOF( "SIZEOF_GL_LIGHT ", struct gl_light ); in main()

12