Home | History | Annotate | Download | only in intl

Lines Matching defs:memory

1 /* vsprintf with automatic memory allocation.
188 CHAR_T *memory; \
197 memory = (CHAR_T *) malloc (memory_size); \
199 memory = (CHAR_T *) realloc (result, memory_size); \
200 if (memory == NULL) \
203 memcpy (memory, result, length * sizeof (CHAR_T)); \
204 result = memory; \
492 /* Overflow, would lead to out of memory. */
496 /* Out of memory. */
854 /* Shrink the allocated memory if possible. */
855 CHAR_T *memory;
857 memory = (CHAR_T *) realloc (result, (length + 1) * sizeof (CHAR_T));
858 if (memory != NULL)
859 result = memory;