Home
last modified time | relevance | path

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

/external/qemu/distrib/jpeg-6b/
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/chromium_org/third_party/libjpeg_turbo/
Djmemmgr.c188 print_mem_stats (j_common_ptr cinfo, int pool_id) in print_mem_stats() argument
199 pool_id, mem->total_space_allocated); in print_mem_stats()
201 for (lhdr_ptr = mem->large_list[pool_id]; lhdr_ptr != NULL; in print_mem_stats()
207 for (shdr_ptr = mem->small_list[pool_id]; shdr_ptr != NULL; in print_mem_stats()
263 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) in alloc_small() argument
284 if (pool_id < 0 || pool_id >= JPOOL_NUMPOOLS) in alloc_small()
285 ERREXIT1(cinfo, JERR_BAD_POOL_ID, pool_id); /* safety check */ in alloc_small()
287 hdr_ptr = mem->small_list[pool_id]; in alloc_small()
300 slop = first_pool_slop[pool_id]; in alloc_small()
302 slop = extra_pool_slop[pool_id]; in alloc_small()
[all …]
Djpeglib.h839 JMETHOD(void *, alloc_small, (j_common_ptr cinfo, int pool_id,
841 JMETHOD(void FAR *, alloc_large, (j_common_ptr cinfo, int pool_id,
843 JMETHOD(JSAMPARRAY, alloc_sarray, (j_common_ptr cinfo, int pool_id,
846 JMETHOD(JBLOCKARRAY, alloc_barray, (j_common_ptr cinfo, int pool_id,
850 int pool_id,
856 int pool_id,
872 JMETHOD(void, free_pool, (j_common_ptr cinfo, int pool_id));
/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/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/bluetooth/bluedroid/gki/common/
Dgki_buffer.c25 static void gki_add_to_pool_list(UINT8 pool_id);
26 static void gki_remove_from_pool_list(UINT8 pool_id);
463 void *GKI_getpoolbuf (UINT8 pool_id) in GKI_getpoolbuf() argument
469 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) in GKI_getpoolbuf()
478 Q = &p_cb->freeq[pool_id]; in GKI_getpoolbuf()
483 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) in GKI_getpoolbuf()
515 return (GKI_getbuf(p_cb->freeq[pool_id].size)); in GKI_getpoolbuf()
1035 static void gki_add_to_pool_list(UINT8 pool_id) in gki_add_to_pool_list() argument
1045 if(p_cb->freeq[pool_id].size <= p_cb->freeq[ p_cb->pool_list[i] ].size) in gki_add_to_pool_list()
1055 p_cb->pool_list[i] = pool_id; in gki_add_to_pool_list()
[all …]
Dgki_debug.c208 GKI_API void gki_print_used_bufs (FP_PRINT print, UINT8 pool_id) in gki_print_used_bufs() argument
219 if ((pool_id >= GKI_NUM_TOTAL_BUF_POOLS) || (gki_cb.com.pool_start[pool_id] != 0)) in gki_print_used_bufs()
225 p_start = gki_cb.com.pool_start[pool_id]; in gki_print_used_bufs()
226 buf_size = gki_cb.com.freeq[pool_id].size + BUFFER_PADDING_SIZE; in gki_print_used_bufs()
227 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/main/include/vki/
Dvki-xen-tmem.h65 vki_int32_t pool_id; member
/external/bluetooth/bluedroid/stack/hid/
Dhidh_conn.c882 UINT8 pool_id; in hidh_conn_snd_data() local
910 pool_id = HID_CONTROL_POOL_ID; in hidh_conn_snd_data()
914 pool_id = HID_INTERRUPT_POOL_ID; in hidh_conn_snd_data()
929 if((p_buf = (BT_HDR *)GKI_getpoolbuf (pool_id)) == NULL) in hidh_conn_snd_data()
940 if((p_buf = (BT_HDR *)GKI_getpoolbuf (pool_id)) == NULL) in hidh_conn_snd_data()
/external/bluetooth/bluedroid/bta/hl/
Dbta_hl_utils.c148 UINT8 pool_id; in bta_hl_set_user_tx_pool_id() local
152 pool_id = BTA_HL_LRG_DATA_POOL_ID; in bta_hl_set_user_tx_pool_id()
156 pool_id = L2CAP_DEFAULT_ERM_POOL_ID; in bta_hl_set_user_tx_pool_id()
161 pool_id, max_tx_size, GKI_get_pool_bufsize (OBX_FCR_TX_POOL_ID)); in bta_hl_set_user_tx_pool_id()
164 return pool_id; in bta_hl_set_user_tx_pool_id()
179 UINT8 pool_id; in bta_hl_set_user_rx_pool_id() local
183 pool_id = BTA_HL_LRG_DATA_POOL_ID; in bta_hl_set_user_rx_pool_id()
187 pool_id = L2CAP_DEFAULT_ERM_POOL_ID; in bta_hl_set_user_rx_pool_id()
192 pool_id, mtu, GKI_get_pool_bufsize (OBX_FCR_RX_POOL_ID)); in bta_hl_set_user_rx_pool_id()
195 return pool_id; in bta_hl_set_user_rx_pool_id()
/external/bluetooth/bluedroid/btif/co/
Dbta_dm_co.c267 cfg.pool_id = HCI_SCO_POOL_ID; in bta_dm_sco_co_open()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-xen.c867 (Addr)&tmem->pool_id, sizeof(&tmem->pool_id)); in PRE()