Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Dcintltst.c643 static int ctst_allocated = 0; variable
647 if(ctst_allocated >= CTST_MAX_ALLOC - 1) { in ctst_malloc()
648 ctst_allocated = 0; in ctst_malloc()
651 if(ctst_allocated_stuff[ctst_allocated]) { in ctst_malloc()
652 free(ctst_allocated_stuff[ctst_allocated]); in ctst_malloc()
654 return ctst_allocated_stuff[ctst_allocated++] = malloc(size); in ctst_malloc()
661 for(i=0; i<ctst_allocated; i++) { in ctst_freeAll()
671 ctst_allocated = 0; in ctst_freeAll()