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. */
64 if (!(result == resultbuf || result == NULL))
65 free (result);
79 if (result == resultbuf || result == NULL)
83 (DST_UNIT *) realloc (result, allocated * sizeof (DST_UNIT));
87 if (!(result == resultbuf || result == NULL))
88 free (result);
92 if (result == resultbuf && length > 0)
93 memcpy ((char *) memory, (char *) result,
95 result = memory;
97 result[length++] = uc;
102 if (result == NULL)
105 result = (DST_UNIT *) malloc (1);
106 if (result == NULL)
113 else if (result != resultbuf && length < allocated)
118 memory = (DST_UNIT *) realloc (result, length * sizeof (DST_UNIT));
120 result = memory;
124 return result;