Lines Matching defs:result
36 DST_UNIT *result;
42 result = resultbuf;
47 result = NULL;
52 result is either == resultbuf or == NULL or malloc-allocated.
53 If length > 0, then result != NULL. */
66 count = u8_uctomb (result + length, uc, allocated - length);
69 if (!(result == resultbuf || result == NULL))
70 free (result);
81 if (result == resultbuf || result == NULL)
85 (DST_UNIT *) realloc (result, allocated * sizeof (DST_UNIT));
89 if (!(result == resultbuf || result == NULL))
90 free (result);
94 if (result == resultbuf && length > 0)
95 memcpy ((char *) memory, (char *) result,
97 result = memory;
98 count = u8_uctomb (result + length, uc, allocated - length);
107 if (result == NULL)
110 result = (DST_UNIT *) malloc (1);
111 if (result == NULL)
118 else if (result != resultbuf && length < allocated)
123 memory = (DST_UNIT *) realloc (result, length * sizeof (DST_UNIT));
125 result = memory;
129 return result;