Lines Matching refs:result
57 DST_UNIT *result;
63 result = resultbuf;
68 result = NULL;
73 result is either == resultbuf or == NULL or malloc-allocated.
74 If length > 0, then result != NULL. */
88 if (!(result == resultbuf || result == NULL))
89 free (result);
96 count = u8_uctomb (result + length, uc, allocated - length);
99 if (!(result == resultbuf || result == NULL))
100 free (result);
111 if (result == resultbuf || result == NULL)
115 (DST_UNIT *) realloc (result, allocated * sizeof (DST_UNIT));
119 if (!(result == resultbuf || result == NULL))
120 free (result);
124 if (result == resultbuf && length > 0)
125 memcpy ((char *) memory, (char *) result,
127 result = memory;
128 count = u8_uctomb (result + length, uc, allocated - length);
137 if (result == NULL)
140 result = (DST_UNIT *) malloc (1);
141 if (result == NULL)
148 else if (result != resultbuf && length < allocated)
153 memory = (DST_UNIT *) realloc (result, length * sizeof (DST_UNIT));
155 result = memory;
159 return result;