Lines Matching full:basecontext
23 /* Layout of the baseContext buffer. */
29 /* Extra bytes to allocate in the baseContext buffer. */
32 /* Return a pointer to the baseContext buffer, possibly allocating
36 if (en->baseContext != NULL) {
37 if (((_UEnumBuffer*) en->baseContext)->len < capacity) {
39 en->baseContext = uprv_realloc(en->baseContext,
41 if (en->baseContext == NULL) {
44 ((_UEnumBuffer*) en->baseContext)->len = capacity;
48 en->baseContext = uprv_malloc(sizeof(int32_t) + capacity);
49 if (en->baseContext == NULL) {
52 ((_UEnumBuffer*) en->baseContext)->len = capacity;
55 return (void*) & ((_UEnumBuffer*) en->baseContext)->data;
63 if (en->baseContext) {
64 uprv_free(en->baseContext);