Searched refs:SIZEOF (Results 1 - 25 of 73) sorted by relevance

123

/external/opencv3/3rdparty/libjpeg/
H A Djmemmgr.c86 * field. This forces the compiler to make SIZEOF(small_pool_hdr) a multiple
267 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr)))
270 /* Round up the requested size to a multiple of SIZEOF(ALIGN_TYPE) */
271 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE);
273 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes;
290 min_request = sizeofobject + SIZEOF(small_pool_hdr);
351 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)))
354 /* Round up the requested size to a multiple of SIZEOF(ALIGN_TYPE) */
355 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE);
357 sizeofobject += SIZEOF(ALIGN_TYP
[all...]
H A Djcomapi.c91 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL));
103 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL));
H A Djinclude.h77 * we always use this SIZEOF() macro in place of using sizeof() directly.
80 #define SIZEOF(object) ((size_t) sizeof(object)) macro
H A Djutils.c188 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
216 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
H A Djdatasrc.c224 SIZEOF(my_source_mgr));
228 INPUT_BUF_SIZE * SIZEOF(JOCTET));
264 SIZEOF(struct jpeg_source_mgr));
H A Djccoefct.c188 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK));
196 compptr->MCU_width * SIZEOF(JBLOCK));
294 FMEMZERO((void FAR *) thisblockrow, ndummy * SIZEOF(JBLOCK));
314 (size_t) (blocks_across * SIZEOF(JBLOCK)));
416 SIZEOF(my_coef_controller));
448 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
H A Djdmerge.c92 (MAXJSAMPLE+1) * SIZEOF(int));
95 (MAXJSAMPLE+1) * SIZEOF(int));
98 (MAXJSAMPLE+1) * SIZEOF(INT32));
101 (MAXJSAMPLE+1) * SIZEOF(INT32));
376 SIZEOF(my_upsampler));
389 (size_t) (upsample->out_row_width * SIZEOF(JSAMPLE)));
H A Djcdctmgr.c366 DCTSIZE2 * SIZEOF(DCTELEM));
401 DCTSIZE2 * SIZEOF(DCTELEM));
435 DCTSIZE2 * SIZEOF(FAST_FLOAT));
471 SIZEOF(my_fdct_controller));
H A Djctrans.c103 SIZEOF((*qtblptr)->quantval));
369 SIZEOF(my_coef_controller));
380 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
381 FMEMZERO((void FAR *) buffer, C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
H A Djcapimin.c39 if (structsize != SIZEOF(struct jpeg_compress_struct))
41 (int) SIZEOF(struct jpeg_compress_struct), (int) structsize);
52 MEMZERO(cinfo, SIZEOF(struct jpeg_compress_struct));
H A Djdapimin.c39 if (structsize != SIZEOF(struct jpeg_decompress_struct))
41 (int) SIZEOF(struct jpeg_decompress_struct), (int) structsize);
52 MEMZERO(cinfo, SIZEOF(struct jpeg_decompress_struct));
H A Djdatadst.c71 OUTPUT_BUF_SIZE * SIZEOF(JOCTET));
209 SIZEOF(my_destination_mgr));
249 SIZEOF(my_mem_destination_mgr));
H A Djddctmgr.c370 SIZEOF(my_idct_controller));
379 SIZEOF(multiplier_table));
380 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table));
/external/pdfium/third_party/libjpeg/
H A Dfpdfapi_jmemmgr.c87 * field. This forces the compiler to make SIZEOF(small_pool_hdr) a multiple
268 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr)))
271 /* Round up the requested size to a multiple of SIZEOF(ALIGN_TYPE) */
272 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE);
274 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes;
291 min_request = sizeofobject + SIZEOF(small_pool_hdr);
352 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)))
355 /* Round up the requested size to a multiple of SIZEOF(ALIGN_TYPE) */
356 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE);
358 sizeofobject += SIZEOF(ALIGN_TYP
[all...]
H A Dfpdfapi_jcomapi.c91 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JQUANT_TBL));
103 (*cinfo->mem->alloc_small) (cinfo, JPOOL_PERMANENT, SIZEOF(JHUFF_TBL));
H A Djinclude.h89 * we always use this SIZEOF() macro in place of using sizeof() directly.
92 #define SIZEOF(object) ((size_t) sizeof(object)) macro
H A Dfpdfapi_jutils.c122 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE));
150 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF)));
H A Dfpdfapi_jchuff.c144 257 * SIZEOF(long));
145 MEMZERO(entropy->dc_count_ptrs[dctbl], 257 * SIZEOF(long));
149 257 * SIZEOF(long));
150 MEMZERO(entropy->ac_count_ptrs[actbl], 257 * SIZEOF(long));
208 SIZEOF(c_derived_tbl));
251 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi));
720 MEMZERO(bits, SIZEOF(bits));
721 MEMZERO(codesize, SIZEOF(codesize));
823 MEMCOPY(htbl->bits, bits, SIZEOF(htbl->bits));
861 MEMZERO(did_dc, SIZEOF(did_d
[all...]
H A Dfpdfapi_jddctmgr.c255 SIZEOF(my_idct_controller));
264 SIZEOF(multiplier_table));
265 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table));
H A Dfpdfapi_jdcolor.c79 (MAXJSAMPLE+1) * SIZEOF(int));
82 (MAXJSAMPLE+1) * SIZEOF(int));
85 (MAXJSAMPLE+1) * SIZEOF(INT32));
88 (MAXJSAMPLE+1) * SIZEOF(INT32));
311 SIZEOF(my_color_deconverter));
H A Dfpdfapi_jccoefct.c184 (compptr->MCU_width - blockcnt) * SIZEOF(JBLOCK));
192 compptr->MCU_width * SIZEOF(JBLOCK));
289 jzero_far((void FAR *) thisblockrow, ndummy * SIZEOF(JBLOCK));
309 (size_t) (blocks_across * SIZEOF(JBLOCK)));
411 SIZEOF(my_coef_controller));
443 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
H A Dfpdfapi_jdmerge.c95 (MAXJSAMPLE+1) * SIZEOF(int));
98 (MAXJSAMPLE+1) * SIZEOF(int));
101 (MAXJSAMPLE+1) * SIZEOF(INT32));
104 (MAXJSAMPLE+1) * SIZEOF(INT32));
379 SIZEOF(my_upsampler));
392 (size_t) (upsample->out_row_width * SIZEOF(JSAMPLE)));
H A Dfpdfapi_jcdctmgr.c81 DCTSIZE2 * SIZEOF(DCTELEM));
115 DCTSIZE2 * SIZEOF(DCTELEM));
148 DCTSIZE2 * SIZEOF(FAST_FLOAT));
352 SIZEOF(my_fdct_controller));
H A Dfpdfapi_jctrans.c95 SIZEOF((*qtblptr)->quantval));
372 SIZEOF(my_coef_controller));
383 C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
384 jzero_far((void FAR *) buffer, C_MAX_BLOCKS_IN_MCU * SIZEOF(JBLOCK));
/external/bison/lib/
H A 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);

Completed in 668 milliseconds

123