Home
last modified time | relevance | path

Searched refs:pool_id (Results 1 – 11 of 11) sorted by relevance

/external/jpeg/
Djmemmgr.c186 print_mem_stats (j_common_ptr cinfo, int pool_id) in print_mem_stats() argument
197 pool_id, mem->total_space_allocated); in print_mem_stats()
199 for (lhdr_ptr = mem->large_list[pool_id]; lhdr_ptr != NULL; in print_mem_stats()
205 for (shdr_ptr = mem->small_list[pool_id]; shdr_ptr != NULL; in print_mem_stats()
257 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_small() argument
275 if (pool_id < 0 || pool_id >= JPOOL_NUMPOOLS) in alloc_small()
276 ERREXIT1(cinfo, JERR_BAD_POOL_ID, pool_id); /* safety check */ in alloc_small()
278 hdr_ptr = mem->small_list[pool_id]; in alloc_small()
291 slop = first_pool_slop[pool_id]; in alloc_small()
293 slop = extra_pool_slop[pool_id]; in alloc_small()
[all …]
Djpeglib.h822 JMETHOD(void *, alloc_small, (j_common_ptr cinfo, int pool_id,
824 JMETHOD(void FAR *, alloc_large, (j_common_ptr cinfo, int pool_id,
826 JMETHOD(JSAMPARRAY, alloc_sarray, (j_common_ptr cinfo, int pool_id,
829 JMETHOD(JBLOCKARRAY, alloc_barray, (j_common_ptr cinfo, int pool_id,
833 int pool_id,
839 int pool_id,
855 JMETHOD(void, free_pool, (j_common_ptr cinfo, int pool_id));
/external/pdfium/core/src/fxcodec/libjpeg/
Dfpdfapi_jmemmgr.c189 print_mem_stats (j_common_ptr cinfo, int pool_id) in print_mem_stats() argument
200 pool_id, mem->total_space_allocated); in print_mem_stats()
202 for (lhdr_ptr = mem->large_list[pool_id]; lhdr_ptr != NULL; in print_mem_stats()
208 for (shdr_ptr = mem->small_list[pool_id]; shdr_ptr != NULL; in print_mem_stats()
260 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_small() argument
278 if (pool_id < 0 || pool_id >= JPOOL_NUMPOOLS) in alloc_small()
279 ERREXIT1(cinfo, JERR_BAD_POOL_ID, pool_id); /* safety check */ in alloc_small()
281 hdr_ptr = mem->small_list[pool_id]; in alloc_small()
294 slop = first_pool_slop[pool_id]; in alloc_small()
296 slop = extra_pool_slop[pool_id]; in alloc_small()
[all …]
Djpeglib.h825 JMETHOD(void *, alloc_small, (j_common_ptr cinfo, int pool_id,
827 JMETHOD(void *, alloc_large, (j_common_ptr cinfo, int pool_id,
829 JMETHOD(JSAMPARRAY, alloc_sarray, (j_common_ptr cinfo, int pool_id,
832 JMETHOD(JBLOCKARRAY, alloc_barray, (j_common_ptr cinfo, int pool_id,
836 int pool_id,
842 int pool_id,
858 JMETHOD(void, free_pool, (j_common_ptr cinfo, int pool_id));
/external/libnfc-nci/src/gki/common/
Dgki_buffer.c26 static void gki_add_to_pool_list(UINT8 pool_id);
27 static void gki_remove_from_pool_list(UINT8 pool_id);
502 void *GKI_getpoolbuf_debug (UINT8 pool_id, const char * _function_, int _line_) in GKI_getpoolbuf_debug() argument
504 void *GKI_getpoolbuf (UINT8 pool_id) in GKI_getpoolbuf_debug()
511 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) in GKI_getpoolbuf_debug()
515 LOGD("GKI_getpoolbuf() requesting from %d func:%s(line=%d)", pool_id, _function_, _line_); in GKI_getpoolbuf_debug()
520 Q = &p_cb->freeq[pool_id]; in GKI_getpoolbuf_debug()
524 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) in GKI_getpoolbuf_debug()
554 …ed) %d", (UINT8*)p_hdr + BUFFER_HDR_SIZE, p_hdr, Q->cur_cnt, Q->total, p_cb->freeq[pool_id].total); in GKI_getpoolbuf_debug()
568 return (GKI_getbuf_debug(p_cb->freeq[pool_id].size, _function_, _line_)); in GKI_getpoolbuf_debug()
[all …]
Dgki_debug.c207 GKI_API void gki_print_used_bufs (FP_PRINT print, UINT8 pool_id) in gki_print_used_bufs() argument
218 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS && gki_cb.com.pool_start[pool_id] != 0) in gki_print_used_bufs()
224 p_start = gki_cb.com.pool_start[pool_id]; in gki_print_used_bufs()
225 buf_size = gki_cb.com.freeq[pool_id].size + BUFFER_PADDING_SIZE; in gki_print_used_bufs()
226 num_bufs = gki_cb.com.freeq[pool_id].total; in gki_print_used_bufs()
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
Dgki_buffer.c26 static void gki_add_to_pool_list(UINT8 pool_id);
27 static void gki_remove_from_pool_list(UINT8 pool_id);
502 void *GKI_getpoolbuf_debug (UINT8 pool_id, const char * _function_, int _line_) in GKI_getpoolbuf_debug() argument
504 void *GKI_getpoolbuf (UINT8 pool_id) in GKI_getpoolbuf_debug()
511 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) in GKI_getpoolbuf_debug()
515 LOGD("GKI_getpoolbuf() requesting from %d func:%s(line=%d)", pool_id, _function_, _line_); in GKI_getpoolbuf_debug()
520 Q = &p_cb->freeq[pool_id]; in GKI_getpoolbuf_debug()
524 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) in GKI_getpoolbuf_debug()
554 …ed) %d", (UINT8*)p_hdr + BUFFER_HDR_SIZE, p_hdr, Q->cur_cnt, Q->total, p_cb->freeq[pool_id].total); in GKI_getpoolbuf_debug()
568 return (GKI_getbuf_debug(p_cb->freeq[pool_id].size, _function_, _line_)); in GKI_getpoolbuf_debug()
[all …]
Dgki_debug.c207 GKI_API void gki_print_used_bufs (FP_PRINT print, UINT8 pool_id) in gki_print_used_bufs() argument
218 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS && gki_cb.com.pool_start[pool_id] != 0) in gki_print_used_bufs()
224 p_start = gki_cb.com.pool_start[pool_id]; in gki_print_used_bufs()
225 buf_size = gki_cb.com.freeq[pool_id].size + BUFFER_PADDING_SIZE; in gki_print_used_bufs()
226 num_bufs = gki_cb.com.freeq[pool_id].total; in gki_print_used_bufs()
/external/pdfium/core/include/thirdparties/libjpeg/
Djpeglib.h825 JMETHOD(void *, alloc_small, (j_common_ptr cinfo, int pool_id,
827 JMETHOD(void *, alloc_large, (j_common_ptr cinfo, int pool_id,
829 JMETHOD(JSAMPARRAY, alloc_sarray, (j_common_ptr cinfo, int pool_id,
832 JMETHOD(JBLOCKARRAY, alloc_barray, (j_common_ptr cinfo, int pool_id,
836 int pool_id,
842 int pool_id,
858 JMETHOD(void, free_pool, (j_common_ptr cinfo, int pool_id));
/external/valgrind/include/vki/
Dvki-xen-tmem.h65 vki_int32_t pool_id; member
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-xen.c946 (Addr)&tmem->pool_id, sizeof(&tmem->pool_id)); in PRE()