Home
last modified time | relevance | path

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

12345

/external/jpeg/
Djmemmgr.c266 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
270 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_small()
272 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_small()
289 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()
350 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()
354 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_large()
356 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_large()
363 SIZEOF(large_pool_hdr)); in alloc_large()
366 mem->total_space_allocated += sizeofobject + SIZEOF(large_pool_hdr); in alloc_large()
406 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()
[all …]
Drdppm.c360 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
375 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
388 ((maxval<=255) ? SIZEOF(U_CHAR) : (2*SIZEOF(U_CHAR))); in start_input_ppm()
417 (size_t) (((long) maxval + 1L) * SIZEOF(JSAMPLE))); in start_input_ppm()
450 SIZEOF(ppm_source_struct)); in jinit_read_ppm()
Djchuff.c141 257 * SIZEOF(long)); in start_pass_huff()
142 MEMZERO(entropy->dc_count_ptrs[dctbl], 257 * SIZEOF(long)); in start_pass_huff()
146 257 * SIZEOF(long)); in start_pass_huff()
147 MEMZERO(entropy->ac_count_ptrs[actbl], 257 * SIZEOF(long)); in start_pass_huff()
205 SIZEOF(c_derived_tbl)); in jpeg_make_c_derived_tbl()
248 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
717 MEMZERO(bits, SIZEOF(bits)); in jpeg_gen_optimal_table()
718 MEMZERO(codesize, SIZEOF(codesize)); in jpeg_gen_optimal_table()
820 MEMCOPY(htbl->bits, bits, SIZEOF(htbl->bits)); in jpeg_gen_optimal_table()
858 MEMZERO(did_dc, SIZEOF(did_dc)); in finish_pass_gather()
[all …]
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()
Djccoefct.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()
Dwrppm.c226 SIZEOF(ppm_dest_struct)); in jinit_write_ppm()
235 dest->buffer_width = dest->samples_per_row * (BYTESPERSAMPLE * SIZEOF(char)); in jinit_write_ppm()
240 SIZEOF(JSAMPLE) != SIZEOF(char)) { in jinit_write_ppm()
Djcapimin.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()
Djdatadst.c50 OUTPUT_BUF_SIZE * SIZEOF(JOCTET)); in init_destination()
143 SIZEOF(my_destination_mgr)); in jpeg_stdio_dest()
Dwrbmp.c194 MEMZERO(bmpfileheader, SIZEOF(bmpfileheader)); in write_bmp_header()
195 MEMZERO(bmpinfoheader, SIZEOF(bmpinfoheader)); in write_bmp_header()
259 MEMZERO(bmpfileheader, SIZEOF(bmpfileheader)); in write_os2_header()
260 MEMZERO(bmpcoreheader, SIZEOF(bmpcoreheader)); in write_os2_header()
398 SIZEOF(bmp_dest_struct)); in jinit_write_bmp()
Djutils.c128 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE)); in jcopy_sample_rows()
156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row()
Dwrtarga.c60 MEMZERO(targaheader, SIZEOF(targaheader)); in write_header()
232 SIZEOF(tga_dest_struct)); in jinit_write_targa()
243 (size_t) (dest->buffer_width * SIZEOF(char))); in jinit_write_targa()
/external/qemu/distrib/jpeg-6b/
Djmemmgr.c266 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(small_pool_hdr))) in alloc_small()
270 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_small()
272 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_small()
289 min_request = sizeofobject + SIZEOF(small_pool_hdr); in alloc_small()
350 if (sizeofobject > (size_t) (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr))) in alloc_large()
354 odd_bytes = sizeofobject % SIZEOF(ALIGN_TYPE); in alloc_large()
356 sizeofobject += SIZEOF(ALIGN_TYPE) - odd_bytes; in alloc_large()
363 SIZEOF(large_pool_hdr)); in alloc_large()
366 mem->total_space_allocated += sizeofobject + SIZEOF(large_pool_hdr); in alloc_large()
406 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_sarray()
[all …]
Drdppm.c360 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
375 } else if (maxval == MAXJSAMPLE && SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) { in start_input_ppm()
388 ((maxval<=255) ? SIZEOF(U_CHAR) : (2*SIZEOF(U_CHAR))); in start_input_ppm()
417 (size_t) (((long) maxval + 1L) * SIZEOF(JSAMPLE))); in start_input_ppm()
450 SIZEOF(ppm_source_struct)); in jinit_read_ppm()
Djchuff.c141 257 * SIZEOF(long)); in start_pass_huff()
142 MEMZERO(entropy->dc_count_ptrs[dctbl], 257 * SIZEOF(long)); in start_pass_huff()
146 257 * SIZEOF(long)); in start_pass_huff()
147 MEMZERO(entropy->ac_count_ptrs[actbl], 257 * SIZEOF(long)); in start_pass_huff()
205 SIZEOF(c_derived_tbl)); in jpeg_make_c_derived_tbl()
248 MEMZERO(dtbl->ehufsi, SIZEOF(dtbl->ehufsi)); in jpeg_make_c_derived_tbl()
717 MEMZERO(bits, SIZEOF(bits)); in jpeg_gen_optimal_table()
718 MEMZERO(codesize, SIZEOF(codesize)); in jpeg_gen_optimal_table()
820 MEMCOPY(htbl->bits, bits, SIZEOF(htbl->bits)); in jpeg_gen_optimal_table()
858 MEMZERO(did_dc, SIZEOF(did_dc)); in finish_pass_gather()
[all …]
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()
Djccoefct.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()
Dwrppm.c226 SIZEOF(ppm_dest_struct)); in jinit_write_ppm()
235 dest->buffer_width = dest->samples_per_row * (BYTESPERSAMPLE * SIZEOF(char)); in jinit_write_ppm()
240 SIZEOF(JSAMPLE) != SIZEOF(char)) { in jinit_write_ppm()
Djcapimin.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()
Djddctmgr.c329 SIZEOF(my_idct_controller)); in jinit_inverse_dct()
338 SIZEOF(multiplier_table)); in jinit_inverse_dct()
339 MEMZERO(compptr->dct_table, SIZEOF(multiplier_table)); in jinit_inverse_dct()
Djdatadst.c50 OUTPUT_BUF_SIZE * SIZEOF(JOCTET)); in init_destination()
143 SIZEOF(my_destination_mgr)); in jpeg_stdio_dest()
Dwrbmp.c194 MEMZERO(bmpfileheader, SIZEOF(bmpfileheader)); in write_bmp_header()
195 MEMZERO(bmpinfoheader, SIZEOF(bmpinfoheader)); in write_bmp_header()
259 MEMZERO(bmpfileheader, SIZEOF(bmpfileheader)); in write_os2_header()
260 MEMZERO(bmpcoreheader, SIZEOF(bmpcoreheader)); in write_os2_header()
398 SIZEOF(bmp_dest_struct)); in jinit_write_bmp()
Djutils.c128 register size_t count = (size_t) (num_cols * SIZEOF(JSAMPLE)); in jcopy_sample_rows()
156 FMEMCOPY(output_row, input_row, num_blocks * (DCTSIZE2 * SIZEOF(JCOEF))); in jcopy_block_row()
Dwrtarga.c60 MEMZERO(targaheader, SIZEOF(targaheader)); in write_header()
232 SIZEOF(tga_dest_struct)); in jinit_write_targa()
243 (size_t) (dest->buffer_width * SIZEOF(char))); in jinit_write_targa()
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/
DXvlibint.h58 if ((dpy->bufptr + SIZEOF(xv##name##Req)) > dpy->bufmax)\
63 req->length = (SIZEOF(xv##name##Req))>>2;\
64 dpy->bufptr += SIZEOF(xv##name##Req);\
70 if ((dpy->bufptr + SIZEOF(xv/**/name/**/Req)) > dpy->bufmax)\
75 req->length = (SIZEOF(xv/**/name/**/Req))>>2;\
76 dpy->bufptr += SIZEOF(xv/**/name/**/Req);\
/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);

12345