Lines Matching refs:baseContext
21 /* Layout of the baseContext buffer. */
27 /* Extra bytes to allocate in the baseContext buffer. */
30 /* Return a pointer to the baseContext buffer, possibly allocating
34 if (en->baseContext != NULL) {
35 if (((_UEnumBuffer*) en->baseContext)->len < capacity) {
37 en->baseContext = uprv_realloc(en->baseContext,
39 if (en->baseContext == NULL) {
42 ((_UEnumBuffer*) en->baseContext)->len = capacity;
46 en->baseContext = uprv_malloc(sizeof(int32_t) + capacity);
47 if (en->baseContext == NULL) {
50 ((_UEnumBuffer*) en->baseContext)->len = capacity;
53 return (void*) & ((_UEnumBuffer*) en->baseContext)->data;
61 if (en->baseContext) {
62 uprv_free(en->baseContext);