Home | History | Annotate | Download | only in intl

Lines Matching refs:CHAR_T

80 # define CHAR_T wchar_t
95 # define CHAR_T char
109 CHAR_T *
110 VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args)
135 CHAR_T *buf;
136 CHAR_T *buf_malloced;
137 const CHAR_T *cp;
141 CHAR_T *result;
150 if (buf_neededlength < 4000 / sizeof (CHAR_T))
152 buf = (CHAR_T *) alloca (buf_neededlength * sizeof (CHAR_T));
158 size_t buf_memsize = xtimes (buf_neededlength, sizeof (CHAR_T));
161 buf = (CHAR_T *) malloc (buf_memsize);
188 CHAR_T *memory; \
193 memory_size = xtimes (allocated, sizeof (CHAR_T)); \
197 memory = (CHAR_T *) malloc (memory_size); \
199 memory = (CHAR_T *) realloc (result, memory_size); \
203 memcpy (memory, result, length * sizeof (CHAR_T)); \
215 memcpy (result + length, cp, n * sizeof (CHAR_T));
266 CHAR_T *p;
271 CHAR_T tmpbuf[700];
272 CHAR_T *tmp;
294 const CHAR_T *digitp = dp->width_start;
316 const CHAR_T *digitp = dp->precision_start + 1;
485 if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T))
489 size_t tmp_memsize = xtimes (tmp_length, sizeof (CHAR_T));
494 tmp = (CHAR_T *) malloc (tmp_memsize);
520 memcpy (p, dp->width_start, n * sizeof (CHAR_T));
526 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));
883 #undef CHAR_T