Lines Matching refs:curpool
61 UChar *curpool; /* last allocated pool. */ member
112 ddpa->curpool = NULL; in VG_()
143 if (ddpa->fixedSzb > 0 && ddpa->curpool != NULL) { in ddpa_add_new_pool_or_grow()
145 UChar *curpool_align = ddpa_align(ddpa, ddpa->curpool); in ddpa_add_new_pool_or_grow()
147 SizeT curpool_size = ddpa->curpool_limit - ddpa->curpool + 1; in ddpa_add_new_pool_or_grow()
164 ddpa->free_fn (ddpa->curpool); in ddpa_add_new_pool_or_grow()
165 ddpa->curpool = newpool; in ddpa_add_new_pool_or_grow()
168 VG_(addToXA)( ddpa->pools, &ddpa->curpool); in ddpa_add_new_pool_or_grow()
172 ddpa->curpool = ddpa->alloc_fn( ddpa->cc, ddpa->poolSzB); in ddpa_add_new_pool_or_grow()
173 ddpa->curpool_limit = ddpa->curpool + ddpa->poolSzB - 1; in ddpa_add_new_pool_or_grow()
174 ddpa->curpool_free = ddpa_align (ddpa, ddpa->curpool); in ddpa_add_new_pool_or_grow()
176 VG_(addToXA)( ddpa->pools, &ddpa->curpool ); in ddpa_add_new_pool_or_grow()
210 ddpa->curpool ? in print_stats()
230 (*shrink_block)(ddpa->curpool, ddpa->curpool_free - ddpa->curpool); in VG_()
295 vg_assert (dedup_elt >= (const void *)ddpa->curpool in elt2nr()
297 return 1 + ((const UChar*)dedup_elt - (const UChar *)ddpa->curpool) in elt2nr()
320 dedup_elt = ddpa->curpool in VG_()
323 vg_assert ((UChar*)dedup_elt >= ddpa->curpool in VG_()
331 if (ddpa->curpool == NULL) in VG_()
335 return (ddpa->curpool_free - ddpa_align(ddpa, ddpa->curpool)) in VG_()