Lines Matching refs:dp

139     DIRECTIVE *dp;  in VASNPRINTF()  local
207 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) in VASNPRINTF()
209 if (cp != dp->dir_start) in VASNPRINTF()
211 size_t n = dp->dir_start - cp; in VASNPRINTF()
222 if (dp->conversion == '%') in VASNPRINTF()
226 if (!(dp->arg_index == ARG_NONE)) in VASNPRINTF()
235 if (!(dp->arg_index != ARG_NONE)) in VASNPRINTF()
238 if (dp->conversion == 'n') in VASNPRINTF()
240 switch (a.arg[dp->arg_index].type) in VASNPRINTF()
243 *a.arg[dp->arg_index].a.a_count_schar_pointer = length; in VASNPRINTF()
246 *a.arg[dp->arg_index].a.a_count_short_pointer = length; in VASNPRINTF()
249 *a.arg[dp->arg_index].a.a_count_int_pointer = length; in VASNPRINTF()
252 *a.arg[dp->arg_index].a.a_count_longint_pointer = length; in VASNPRINTF()
256 *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; in VASNPRINTF()
265 arg_type type = a.arg[dp->arg_index].type; in VASNPRINTF()
281 if (dp->width_start != dp->width_end) in VASNPRINTF()
283 if (dp->width_arg_index != ARG_NONE) in VASNPRINTF()
287 if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) in VASNPRINTF()
289 arg = a.arg[dp->width_arg_index].a.a_int; in VASNPRINTF()
294 const CHAR_T *digitp = dp->width_start; in VASNPRINTF()
298 while (digitp != dp->width_end); in VASNPRINTF()
303 if (dp->precision_start != dp->precision_end) in VASNPRINTF()
305 if (dp->precision_arg_index != ARG_NONE) in VASNPRINTF()
309 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) in VASNPRINTF()
311 arg = a.arg[dp->precision_arg_index].a.a_int; in VASNPRINTF()
316 const CHAR_T *digitp = dp->precision_start + 1; in VASNPRINTF()
321 while (digitp != dp->precision_end); in VASNPRINTF()
325 switch (dp->conversion) in VASNPRINTF()
455 local_wcslen (a.arg[dp->arg_index].a.a_wide_string); in VASNPRINTF()
463 tmp_length = strlen (a.arg[dp->arg_index].a.a_string); in VASNPRINTF()
505 if (dp->flags & FLAG_GROUP) in VASNPRINTF()
507 if (dp->flags & FLAG_LEFT) in VASNPRINTF()
509 if (dp->flags & FLAG_SHOWSIGN) in VASNPRINTF()
511 if (dp->flags & FLAG_SPACE) in VASNPRINTF()
513 if (dp->flags & FLAG_ALT) in VASNPRINTF()
515 if (dp->flags & FLAG_ZERO) in VASNPRINTF()
517 if (dp->width_start != dp->width_end) in VASNPRINTF()
519 size_t n = dp->width_end - dp->width_start; in VASNPRINTF()
520 memcpy (p, dp->width_start, n * sizeof (CHAR_T)); in VASNPRINTF()
523 if (dp->precision_start != dp->precision_end) in VASNPRINTF()
525 size_t n = dp->precision_end - dp->precision_start; in VASNPRINTF()
526 memcpy (p, dp->precision_start, n * sizeof (CHAR_T)); in VASNPRINTF()
556 *p = dp->conversion; in VASNPRINTF()
567 if (dp->width_arg_index != ARG_NONE) in VASNPRINTF()
569 if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) in VASNPRINTF()
571 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; in VASNPRINTF()
573 if (dp->precision_arg_index != ARG_NONE) in VASNPRINTF()
575 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) in VASNPRINTF()
577 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; in VASNPRINTF()
640 int arg = a.arg[dp->arg_index].a.a_schar; in VASNPRINTF()
646 unsigned int arg = a.arg[dp->arg_index].a.a_uchar; in VASNPRINTF()
652 int arg = a.arg[dp->arg_index].a.a_short; in VASNPRINTF()
658 unsigned int arg = a.arg[dp->arg_index].a.a_ushort; in VASNPRINTF()
664 int arg = a.arg[dp->arg_index].a.a_int; in VASNPRINTF()
670 unsigned int arg = a.arg[dp->arg_index].a.a_uint; in VASNPRINTF()
676 long int arg = a.arg[dp->arg_index].a.a_longint; in VASNPRINTF()
682 unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; in VASNPRINTF()
689 long long int arg = a.arg[dp->arg_index].a.a_longlongint; in VASNPRINTF()
695 unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; in VASNPRINTF()
702 double arg = a.arg[dp->arg_index].a.a_double; in VASNPRINTF()
709 long double arg = a.arg[dp->arg_index].a.a_longdouble; in VASNPRINTF()
716 int arg = a.arg[dp->arg_index].a.a_char; in VASNPRINTF()
723 wint_t arg = a.arg[dp->arg_index].a.a_wide_char; in VASNPRINTF()
730 const char *arg = a.arg[dp->arg_index].a.a_string; in VASNPRINTF()
737 const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; in VASNPRINTF()
744 void *arg = a.arg[dp->arg_index].a.a_pointer; in VASNPRINTF()