Lines Matching defs:CHAR_T
78 # define CHAR_T wchar_t
93 # define CHAR_T char
107 CHAR_T *
108 VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args)
133 CHAR_T *buf;
134 CHAR_T *buf_malloced;
135 const CHAR_T *cp;
139 CHAR_T *result;
148 if (buf_neededlength < 4000 / sizeof (CHAR_T))
150 buf = (CHAR_T *) alloca (buf_neededlength * sizeof (CHAR_T));
156 size_t buf_memsize = xtimes (buf_neededlength, sizeof (CHAR_T));
159 buf = (CHAR_T *) malloc (buf_memsize);
186 CHAR_T *memory; \
191 memory_size = xtimes (allocated, sizeof (CHAR_T)); \
195 memory = (CHAR_T *) malloc (memory_size); \
197 memory = (CHAR_T *) realloc (result, memory_size); \
201 memcpy (memory, result, length * sizeof (CHAR_T)); \
213 memcpy (result + length, cp, n * sizeof (CHAR_T));
264 CHAR_T *p;
269 CHAR_T tmpbuf[700];
270 CHAR_T *tmp;
292 const CHAR_T *digitp = dp->width_start;
314 const CHAR_T *digitp = dp->precision_start + 1;
484 if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T))
488 size_t tmp_memsize = xtimes (tmp_length, sizeof (CHAR_T));
493 tmp = (CHAR_T *) malloc (tmp_memsize);
519 memcpy (p, dp->width_start, n * sizeof (CHAR_T));
525 memcpy (p, dp->precision_start, n * sizeof (CHAR_T));
836 memcpy (result + length, tmp, count * sizeof (CHAR_T));
855 CHAR_T *memory;
857 memory = (CHAR_T *) realloc (result, (length + 1) * sizeof (CHAR_T));
889 #undef CHAR_T