Lines Matching refs:SIZEOF
267 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()
408 ((long) samplesperrow * SIZEOF(JSAMPLE)); in alloc_sarray()
419 (size_t) (numrows * SIZEOF(JSAMPROW))); in alloc_sarray()
427 * SIZEOF(JSAMPLE))); in alloc_sarray()
455 ltemp = (MAX_ALLOC_CHUNK-SIZEOF(large_pool_hdr)) / in alloc_barray()
456 ((long) blocksperrow * SIZEOF(JBLOCK)); in alloc_barray()
467 (size_t) (numrows * SIZEOF(JBLOCKROW))); in alloc_barray()
475 * SIZEOF(JBLOCK))); in alloc_barray()
538 SIZEOF(struct jvirt_sarray_control)); in request_virt_sarray()
568 SIZEOF(struct jvirt_barray_control)); in request_virt_barray()
602 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
604 (long) sptr->samplesperrow * SIZEOF(JSAMPLE); in realize_virt_arrays()
610 (long) bptr->blocksperrow * SIZEOF(JBLOCK); in realize_virt_arrays()
612 (long) bptr->blocksperrow * SIZEOF(JBLOCK); in realize_virt_arrays()
652 (long) SIZEOF(JSAMPLE)); in realize_virt_arrays()
676 (long) SIZEOF(JBLOCK)); in realize_virt_arrays()
696 bytesperrow = (long) ptr->samplesperrow * SIZEOF(JSAMPLE); in do_sarray_io()
729 bytesperrow = (long) ptr->blocksperrow * SIZEOF(JBLOCK); in do_barray_io()
821 size_t bytesperrow = (size_t) ptr->samplesperrow * SIZEOF(JSAMPLE); in access_virt_sarray()
906 size_t bytesperrow = (size_t) ptr->blocksperrow * SIZEOF(JBLOCK); in access_virt_barray()
975 SIZEOF(large_pool_hdr); in free_pool()
989 SIZEOF(small_pool_hdr); in free_pool()
1016 jpeg_free_small(cinfo, (void *) cinfo->mem, SIZEOF(my_memory_mgr)); in self_destruct()
1045 if ((SIZEOF(ALIGN_TYPE) & (SIZEOF(ALIGN_TYPE)-1)) != 0) in jinit_memory_mgr()
1054 (MAX_ALLOC_CHUNK % SIZEOF(ALIGN_TYPE)) != 0) in jinit_memory_mgr()
1060 mem = (my_mem_ptr) jpeg_get_small(cinfo, SIZEOF(my_memory_mgr)); in jinit_memory_mgr()
1093 mem->total_space_allocated = SIZEOF(my_memory_mgr); in jinit_memory_mgr()