Home | History | Annotate | Download | only in lib

Lines Matching defs:dp

375       mp_limb_t *dp;
379 dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t));
380 if (dp == NULL)
383 dp[--k] = 0;
392 carry += dp[i + j];
393 dp[i + j] = (mp_limb_t) carry;
396 dp[i + len2] = (mp_limb_t) carry;
399 while (dlen > 0 && dp[dlen - 1] == 0)
402 dest->limbs = dp;
1802 DIRECTIVE *dp;
1870 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++)
1872 if (cp != dp->dir_start)
1874 size_t n = dp->dir_start - cp;
1897 if (dp->conversion == '%')
1901 if (!(dp->arg_index == ARG_NONE))
1910 if (!(dp->arg_index != ARG_NONE))
1913 if (dp->conversion == 'n')
1915 switch (a.arg[dp->arg_index].type)
1918 *a.arg[dp->arg_index].a.a_count_schar_pointer = length;
1921 *a.arg[dp->arg_index].a.a_count_short_pointer = length;
1924 *a.arg[dp->arg_index].a.a_count_int_pointer = length;
1927 *a.arg[dp->arg_index].a.a_count_longint_pointer = length;
1931 *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length;
1940 else if (dp->conversion == 'U')
1942 arg_type type = a.arg[dp->arg_index].type;
1943 int flags = dp->flags;
1951 if (dp->width_start != dp->width_end)
1953 if (dp->width_arg_index != ARG_NONE)
1957 if (!(a.arg[dp->width_arg_index].type == TYPE_INT))
1959 arg = a.arg[dp->width_arg_index].a.a_int;
1972 const FCHAR_T *digitp = dp->width_start;
1976 while (digitp != dp->width_end);
1983 if (dp->precision_start != dp->precision_end)
1985 if (dp->precision_arg_index != ARG_NONE)
1989 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT))
1991 arg = a.arg[dp->precision_arg_index].a.a_int;
2002 const FCHAR_T *digitp = dp->precision_start + 1;
2005 while (digitp != dp->precision_end)
2015 const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string;
2077 && !(dp->flags & FLAG_LEFT))
2131 && (dp->flags & FLAG_LEFT))
2143 const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string;
2205 && !(dp->flags & FLAG_LEFT))
2259 && (dp->flags & FLAG_LEFT))
2271 const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string;
2333 && !(dp->flags & FLAG_LEFT))
2387 && (dp->flags & FLAG_LEFT))
2403 else if (dp
2405 && a.arg[dp->arg_index].type != TYPE_WIDE_STRING
2407 && a.arg[dp->arg_index].type == TYPE_WIDE_STRING
2421 int flags = dp->flags;
2429 if (dp->width_start != dp->width_end)
2431 if (dp->width_arg_index != ARG_NONE)
2435 if (!(a.arg[dp->width_arg_index].type == TYPE_INT))
2437 arg = a.arg[dp->width_arg_index].a.a_int;
2450 const FCHAR_T *digitp = dp->width_start;
2454 while (digitp != dp->width_end);
2461 if (dp->precision_start != dp->precision_end)
2463 if (dp->precision_arg_index != ARG_NONE)
2467 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT))
2469 arg = a.arg[dp->precision_arg_index].a.a_int;
2480 const FCHAR_T *digitp = dp->precision_start + 1;
2483 while (digitp != dp->precision_end)
2492 const char *arg = a.arg[dp->arg_index].a.a_string;
2577 && !(dp->flags & FLAG_LEFT))
2639 && (dp->flags & FLAG_LEFT))
2650 const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string;
2831 && !(dp->flags & FLAG_LEFT))
2915 && (dp->flags & FLAG_LEFT))
2927 else if ((dp->conversion == 'a' || dp->conversion == 'A')
2931 || a.arg[dp->arg_index].type == TYPE_DOUBLE
2934 || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE
2940 arg_type type = a.arg[dp->arg_index].type;
2941 int flags = dp->flags;
2954 if (dp->width_start != dp->width_end)
2956 if (dp->width_arg_index != ARG_NONE)
2960 if (!(a.arg[dp->width_arg_index].type == TYPE_INT))
2962 arg = a.arg[dp->width_arg_index].a.a_int;
2975 const FCHAR_T *digitp = dp->width_start;
2979 while (digitp != dp->width_end);
2986 if (dp->precision_start != dp->precision_end)
2988 if (dp->precision_arg_index != ARG_NONE)
2992 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT))
2994 arg = a.arg[dp->precision_arg_index].a.a_int;
3005 const FCHAR_T *digitp = dp->precision_start + 1;
3008 while (digitp != dp->precision_end)
3057 long double arg = a.arg[dp->arg_index].a.a_longdouble;
3061 if (dp->conversion == 'A')
3092 if (dp->conversion == 'A')
3142 *p++ = dp->conversion - 'A' + 'X';
3164 : dp->conversion - 10);
3175 *p++ = dp->conversion - 'A' + 'P';
3211 double arg = a.arg[dp->arg_index].a.a_double;
3215 if (dp->conversion == 'A')
3243 if (dp->conversion == 'A')
3293 *p++ = dp->conversion - 'A' + 'X';
3315 : dp->conversion - 10);
3326 *p++ = dp->conversion - 'A' + 'P';
3419 else if ((dp->conversion == 'f' || dp->conversion == 'F'
3420 || dp->conversion == 'e' || dp->conversion == 'E'
3421 || dp->conversion == 'g' || dp->conversion == 'G'
3422 || dp->conversion == 'a' || dp->conversion == 'A')
3425 || a.arg[dp->arg_index].type == TYPE_DOUBLE
3427 || (a.arg[dp->arg_index].type == TYPE_DOUBLE
3431 && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double))
3434 || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE
3436 || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE
3441 && is_infinite_or_zerol (a.arg[dp->arg_index].a.a_longdouble))
3446 arg_type type = a.arg[dp->arg_index].type;
3448 int flags = dp->flags;
3461 if (dp->width_start != dp->width_end)
3463 if (dp->width_arg_index != ARG_NONE)
3467 if (!(a.arg[dp->width_arg_index].type == TYPE_INT))
3469 arg = a.arg[dp->width_arg_index].a.a_int;
3482 const FCHAR_T *digitp = dp->width_start;
3486 while (digitp != dp->width_end);
3493 if (dp->precision_start != dp->precision_end)
3495 if (dp->precision_arg_index != ARG_NONE)
3499 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT))
3501 arg = a.arg[dp->precision_arg_index].a.a_int;
3512 const FCHAR_T *digitp = dp->precision_start + 1;
3515 while (digitp != dp->precision_end)
3526 if (!(dp->conversion == 'a' || dp->conversion == 'A'))
3547 if (dp->conversion == 'f' || dp->conversion == 'F')
3549 long double arg = a.arg[dp->arg_index].a.a_longdouble;
3563 if (dp->conversion == 'f' || dp->conversion == 'F')
3565 double arg = a.arg[dp->arg_index].a.a_double;
3606 long double arg = a.arg[dp->arg_index].a.a_longdouble;
3610 dp->conversion >= 'A' && dp->conversion <= 'Z')
3641 if (dp->conversion >= 'A' && dp->conversion <= 'Z')
3655 if (dp->conversion == 'f' || dp->conversion == 'F')
3693 else if (dp->conversion == 'e' || dp->conversion == 'E')
3788 *p++ = dp->conversion; /* 'e' or 'E' */
3814 else if (dp->conversion == 'g' || dp->conversion == 'G')
3969 *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */
4008 if (dp->conversion == 'f' || dp->conversion == 'F')
4018 else if (dp->conversion == 'e' || dp->conversion == 'E')
4027 *p++ = dp->conversion; /* 'e' or 'E' */
4032 else if (dp->conversion == 'g' || dp->conversion == 'G')
4044 else if (dp->conversion == 'a' || dp->conversion == 'A')
4047 *p++ = dp->conversion - 'A' + 'X';
4056 *p++ = dp->conversion - 'A' + 'P';
4074 double arg = a.arg[dp->arg_index].a.a_double;
4078 if (dp->conversion >= 'A' && dp->conversion <= 'Z')
4106 if (dp->conversion >= 'A' && dp->conversion <= 'Z')
4120 if (dp->conversion == 'f' || dp->conversion == 'F')
4155 else if (dp->conversion == 'e' || dp->conversion == 'E')
4246 *p++ = dp->conversion; /* 'e' or 'E' */
4288 else if (dp->conversion == 'g' || dp->conversion == 'G')
4439 *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */
4494 if (dp->conversion == 'f' || dp->conversion == 'F')
4504 else if (dp->conversion == 'e' || dp->conversion == 'E')
4513 *p++ = dp->conversion; /* 'e' or 'E' */
4523 else if (dp->conversion == 'g' || dp->conversion == 'G')
4606 arg_type type = a.arg[dp->arg_index].type;
4607 int flags = dp->flags;
4641 if (dp->width_start != dp->width_end)
4643 if (dp->width_arg_index != ARG_NONE)
4647 if (!(a.arg[dp->width_arg_index].type == TYPE_INT))
4649 arg = a.arg[dp->width_arg_index].a.a_int;
4662 const FCHAR_T *digitp = dp->width_start;
4666 while (digitp != dp->width_end);
4675 if (dp->precision_start != dp->precision_end)
4677 if (dp->precision_arg_index != ARG_NONE)
4681 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT))
4683 arg = a.arg[dp->precision_arg_index].a.a_int;
4694 const FCHAR_T *digitp = dp->precision_start + 1;
4697 while (digitp != dp->precision_end)
4706 switch (dp->conversion)
4721 switch (dp->conversion)
4746 MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type,
4794 if (dp->width_start != dp->width_end)
4796 size_t n = dp->width_end - dp->width_start;
4801 memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T));
4806 const FCHAR_T *mp = dp->width_start;
4815 if (dp->precision_start != dp->precision_end)
4817 size_t n = dp->precision_end - dp->precision_start;
4822 memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T));
4827 const FCHAR_T *mp = dp->precision_start;
4867 if (dp->conversion == 'F')
4871 *fbp = dp->conversion;
4910 if (!pad_ourselves && dp->width_arg_index != ARG_NONE)
4912 if (!(a.arg[dp->width_arg_index].type == TYPE_INT))
4914 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int;
4916 if (!prec_ourselves && dp->precision_arg_index != ARG_NONE)
4918 if (!(a.arg[dp->precision_arg_index].type == TYPE_INT))
4920 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int;
5000 int arg = a.arg[dp->arg_index].a.a_schar;
5006 unsigned int arg = a.arg[dp->arg_index].a.a_uchar;
5012 int arg = a.arg[dp->arg_index].a.a_short;
5018 unsigned int arg = a.arg[dp->arg_index].a.a_ushort;
5024 int arg = a.arg[dp->arg_index].a.a_int;
5030 unsigned int arg = a.arg[dp->arg_index].a.a_uint;
5036 long int arg = a.arg[dp->arg_index].a.a_longint;
5042 unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint;
5049 long long int arg = a.arg[dp->arg_index].a.a_longlongint;
5055 unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint;
5062 double arg = a.arg[dp->arg_index].a.a_double;
5068 long double arg = a.arg[dp->arg_index].a.a_longdouble;
5074 int arg = a.arg[dp->arg_index].a.a_char;
5081 wint_t arg = a.arg[dp->arg_index].a.a_wide_char;
5088 const char *arg = a.arg[dp->arg_index].a.a_string;
5095 const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string;
5102 void *arg = a.arg[dp->arg_index].a.a_pointer;
5154 MAX_ROOM_NEEDED (&a, dp->arg_index,
5155 dp->conversion, type, flags,
5202 : (dp->conversion == 'c' || dp->conversion == 's'
5265 (flags & FLAG_ALT) || (dp->conversion == 'p'). */
5317 if (dp->conversion == 'c' || dp->conversion == 's')
5461 if (dp->conversion == 'c'
5462 || dp->conversion == 's')
5525 if (dp->conversion == 'F')