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);
72 count = u8_uctomb (result + length, uc, allocated - length);
75 if (!(result == resultbuf || result == NULL))
76 free (result);
87 if (result == resultbuf || result == NULL)
91 (DST_UNIT *) realloc (result, allocated * sizeof (DST_UNIT));
95 if (!(result == resultbuf || result == NULL))
96 free (result);
100 if (result == resultbuf && length > 0)
101 memcpy ((char *) memory, (char *) result,
103 result = memory;
104 count = u8_uctomb (result + length, uc, allocated - length);
113 if (result == NULL)
116 result = (DST_UNIT *) malloc (1);
117 if (result == NULL)
124 else if (result != resultbuf && length < allocated)
129 memory = (DST_UNIT *) realloc (result, length * sizeof (DST_UNIT));
131 result = memory;
135 return result;