dp 113 lib/common/procfs.c DIR *dp; dp 118 lib/common/procfs.c dp = opendir("/proc"); dp 119 lib/common/procfs.c if (dp == NULL) { dp 124 lib/common/procfs.c while ((entry = readdir(dp)) != NULL) { dp 134 lib/common/procfs.c closedir(dp); dp 146 libltdl/ltdl.c const char *dirnam, struct dirent *dp); dp 1773 libltdl/ltdl.c struct dirent *dp) dp 1784 libltdl/ltdl.c assert (dp); dp 1787 libltdl/ltdl.c end = dp->d_name + D_NAMLEN(dp); dp 1792 libltdl/ltdl.c for (p = end; p -1 > dp->d_name; --p) dp 1803 libltdl/ltdl.c for (p = end -1; p > dp->d_name; --p) dp 1812 libltdl/ltdl.c end_offset = end - dp->d_name; dp 1822 libltdl/ltdl.c strncat (buf, dp->d_name, end_offset); dp 1848 libltdl/ltdl.c struct dirent *dp = 0; dp 1850 libltdl/ltdl.c while ((dp = readdir (dirp))) dp 1851 libltdl/ltdl.c if (dp->d_name[0] != '.') dp 1852 libltdl/ltdl.c if (lt_argz_insertdir (pargz, pargz_len, dirnam, dp)) dp 42 maint/gnulib/lib/backupfile.c # define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name) dp 208 maint/gnulib/lib/backupfile.c struct dirent *dp; dp 233 maint/gnulib/lib/backupfile.c while ((dp = readdir (dirp)) != NULL) dp 240 maint/gnulib/lib/backupfile.c if (_D_EXACT_NAMLEN (dp) < baselen + 4) dp 243 maint/gnulib/lib/backupfile.c if (memcmp (buf + base_offset, dp->d_name, baselen + 2) != 0) dp 246 maint/gnulib/lib/backupfile.c p = dp->d_name + baselen + 2; dp 213 maint/gnulib/lib/dirent.in.h static inline int (dirfd) (DIR *dp) { return dirfd (dp); } dp 195 maint/gnulib/lib/fdopendir.c DIR *dp = name ? opendir (name) : NULL; dp 201 maint/gnulib/lib/fdopendir.c if (dp && dirfd (dp) < 0) dp 204 maint/gnulib/lib/fdopendir.c return dp; dp 131 maint/gnulib/lib/fts.c # define D_INO(dp) (dp)->d_ino dp 134 maint/gnulib/lib/fts.c # define D_INO(dp) NOT_AN_INODE_NUMBER dp 1288 maint/gnulib/lib/fts.c DIR *dp = cur->fts_dirp; dp 1289 maint/gnulib/lib/fts.c dir_fd = dirfd (dp); dp 1425 maint/gnulib/lib/fts.c struct dirent *dp = readdir(cur->fts_dirp); dp 1426 maint/gnulib/lib/fts.c if (dp == NULL) { dp 1436 maint/gnulib/lib/fts.c if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name)) dp 1439 maint/gnulib/lib/fts.c d_namelen = _D_EXACT_NAMLEN (dp); dp 1440 maint/gnulib/lib/fts.c p = fts_alloc (sp, dp->d_name, d_namelen); dp 1492 maint/gnulib/lib/fts.c p->fts_statp->st_ino = D_INO (dp); dp 1515 maint/gnulib/lib/fts.c && DT_IS_KNOWN(dp) dp 1516 maint/gnulib/lib/fts.c && ! DT_MUST_BE(dp, DT_DIR) dp 1518 maint/gnulib/lib/fts.c || ! DT_MUST_BE(dp, DT_LNK))); dp 1522 maint/gnulib/lib/fts.c set_stat_type (p->fts_statp, D_TYPE (dp)); dp 81 maint/gnulib/lib/getcwd.c # define MATCHING_INO(dp, ino) ((dp)->d_ino == (ino)) dp 83 maint/gnulib/lib/getcwd.c # define MATCHING_INO(dp, ino) true dp 930 maint/gnulib/lib/mini-gmp.c mp_srcptr dp, mp_size_t dn) dp 935 maint/gnulib/lib/mini-gmp.c mpn_div_qr_1_invert (inv, dp[0]); dp 937 maint/gnulib/lib/mini-gmp.c mpn_div_qr_2_invert (inv, dp[1], dp[0]); dp 943 maint/gnulib/lib/mini-gmp.c d1 = dp[dn-1]; dp 944 maint/gnulib/lib/mini-gmp.c d0 = dp[dn-2]; dp 951 maint/gnulib/lib/mini-gmp.c d0 = (d0 << shift) | (dp[dn-3] >> (GMP_LIMB_BITS - shift)); dp 1048 maint/gnulib/lib/mini-gmp.c mp_srcptr dp, mp_size_t dn, dp 1060 maint/gnulib/lib/mini-gmp.c d1 = dp[dn - 1]; dp 1061 maint/gnulib/lib/mini-gmp.c d0 = dp[dn - 2]; dp 1078 maint/gnulib/lib/mini-gmp.c mpn_submul_1 (np+i, dp, dn, q); dp 1085 maint/gnulib/lib/mini-gmp.c cy = mpn_submul_1 (np + i, dp, dn-2, q); dp 1095 maint/gnulib/lib/mini-gmp.c n1 += d1 + mpn_add_n (np + i, np + i, dp, dn - 1); dp 1110 maint/gnulib/lib/mini-gmp.c mp_srcptr dp, mp_size_t dn, dp 1125 maint/gnulib/lib/mini-gmp.c assert (inv->d1 == dp[dn-1]); dp 1126 maint/gnulib/lib/mini-gmp.c assert (inv->d0 == dp[dn-2]); dp 1135 maint/gnulib/lib/mini-gmp.c mpn_div_qr_pi1 (qp, np, nn, nh, dp, dn, inv->di); dp 1143 maint/gnulib/lib/mini-gmp.c mpn_div_qr (mp_ptr qp, mp_ptr np, mp_size_t nn, mp_srcptr dp, mp_size_t dn) dp 1151 maint/gnulib/lib/mini-gmp.c mpn_div_qr_invert (&inv, dp, dn); dp 1155 maint/gnulib/lib/mini-gmp.c gmp_assert_nocarry (mpn_lshift (tp, dp, dn, inv.shift)); dp 1156 maint/gnulib/lib/mini-gmp.c dp = tp; dp 1158 maint/gnulib/lib/mini-gmp.c mpn_div_qr_preinv (qp, np, nn, dp, dn, &inv); dp 3704 maint/gnulib/lib/mini-gmp.c mp_ptr dp; dp 3716 maint/gnulib/lib/mini-gmp.c dp = MPZ_REALLOC (d, limb_index + 1); dp 3718 maint/gnulib/lib/mini-gmp.c dp[limb_index] = bit; dp 3720 maint/gnulib/lib/mini-gmp.c dp[i] = 0; dp 3727 maint/gnulib/lib/mini-gmp.c dp = d->_mp_d; dp 3729 maint/gnulib/lib/mini-gmp.c cy = mpn_add_1 (dp + limb_index, dp + limb_index, dn - limb_index, bit); dp 3732 maint/gnulib/lib/mini-gmp.c dp = MPZ_REALLOC (d, dn + 1); dp 3733 maint/gnulib/lib/mini-gmp.c dp[dn++] = cy; dp 3744 maint/gnulib/lib/mini-gmp.c mp_ptr dp; dp 3748 maint/gnulib/lib/mini-gmp.c dp = d->_mp_d; dp 3755 maint/gnulib/lib/mini-gmp.c gmp_assert_nocarry (mpn_sub_1 (dp + limb_index, dp + limb_index, dp 3757 maint/gnulib/lib/mini-gmp.c dn = mpn_normalized_size (dp, dn); dp 4318 maint/gnulib/lib/mini-gmp.c unsigned char *dp; dp 4355 maint/gnulib/lib/mini-gmp.c dp = (unsigned char *) gmp_alloc (sn); dp 4375 maint/gnulib/lib/mini-gmp.c gmp_free (dp, sn); dp 4380 maint/gnulib/lib/mini-gmp.c dp[dn++] = digit; dp 4385 maint/gnulib/lib/mini-gmp.c gmp_free (dp, sn); dp 4395 maint/gnulib/lib/mini-gmp.c rn = mpn_set_str_bits (rp, dp, dn, bits); dp 4403 maint/gnulib/lib/mini-gmp.c rn = mpn_set_str_other (rp, dp, dn, base, &info); dp 4409 maint/gnulib/lib/mini-gmp.c gmp_free (dp, sn); dp 33 maint/gnulib/lib/opendir-safer.c DIR *dp = opendir (name); dp 35 maint/gnulib/lib/opendir-safer.c if (dp) dp 37 maint/gnulib/lib/opendir-safer.c int fd = dirfd (dp); dp 69 maint/gnulib/lib/opendir-safer.c closedir (dp); dp 71 maint/gnulib/lib/opendir-safer.c dp = newdp; dp 75 maint/gnulib/lib/opendir-safer.c return dp; dp 131 maint/gnulib/lib/printf-parse.c DIRECTIVE *dp = &d->dir[d->count]; /* pointer to next directive */ dp 134 maint/gnulib/lib/printf-parse.c dp->dir_start = cp - 1; dp 135 maint/gnulib/lib/printf-parse.c dp->flags = 0; dp 136 maint/gnulib/lib/printf-parse.c dp->width_start = NULL; dp 137 maint/gnulib/lib/printf-parse.c dp->width_end = NULL; dp 138 maint/gnulib/lib/printf-parse.c dp->width_arg_index = ARG_NONE; dp 139 maint/gnulib/lib/printf-parse.c dp->precision_start = NULL; dp 140 maint/gnulib/lib/printf-parse.c dp->precision_end = NULL; dp 141 maint/gnulib/lib/printf-parse.c dp->precision_arg_index = ARG_NONE; dp 142 maint/gnulib/lib/printf-parse.c dp->arg_index = ARG_NONE; dp 173 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_GROUP; dp 178 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_LEFT; dp 183 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_SHOWSIGN; dp 188 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_SPACE; dp 193 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_ALT; dp 198 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_ZERO; dp 204 maint/gnulib/lib/printf-parse.c dp->flags |= FLAG_LOCALIZED; dp 215 maint/gnulib/lib/printf-parse.c dp->width_start = cp; dp 217 maint/gnulib/lib/printf-parse.c dp->width_end = cp; dp 240 maint/gnulib/lib/printf-parse.c dp->width_arg_index = n - 1; dp 244 maint/gnulib/lib/printf-parse.c if (dp->width_arg_index == ARG_NONE) dp 246 maint/gnulib/lib/printf-parse.c dp->width_arg_index = arg_posn++; dp 247 maint/gnulib/lib/printf-parse.c if (dp->width_arg_index == ARG_NONE) dp 251 maint/gnulib/lib/printf-parse.c REGISTER_ARG (dp->width_arg_index, TYPE_INT); dp 257 maint/gnulib/lib/printf-parse.c dp->width_start = cp; dp 260 maint/gnulib/lib/printf-parse.c dp->width_end = cp; dp 261 maint/gnulib/lib/printf-parse.c width_length = dp->width_end - dp->width_start; dp 272 maint/gnulib/lib/printf-parse.c dp->precision_start = cp - 1; dp 274 maint/gnulib/lib/printf-parse.c dp->precision_end = cp; dp 298 maint/gnulib/lib/printf-parse.c dp->precision_arg_index = n - 1; dp 302 maint/gnulib/lib/printf-parse.c if (dp->precision_arg_index == ARG_NONE) dp 304 maint/gnulib/lib/printf-parse.c dp->precision_arg_index = arg_posn++; dp 305 maint/gnulib/lib/printf-parse.c if (dp->precision_arg_index == ARG_NONE) dp 309 maint/gnulib/lib/printf-parse.c REGISTER_ARG (dp->precision_arg_index, TYPE_INT); dp 315 maint/gnulib/lib/printf-parse.c dp->precision_start = cp - 1; dp 318 maint/gnulib/lib/printf-parse.c dp->precision_end = cp; dp 319 maint/gnulib/lib/printf-parse.c precision_length = dp->precision_end - dp->precision_start; dp 552 maint/gnulib/lib/printf-parse.c dp->arg_index = arg_index; dp 553 maint/gnulib/lib/printf-parse.c if (dp->arg_index == ARG_NONE) dp 555 maint/gnulib/lib/printf-parse.c dp->arg_index = arg_posn++; dp 556 maint/gnulib/lib/printf-parse.c if (dp->arg_index == ARG_NONE) dp 560 maint/gnulib/lib/printf-parse.c REGISTER_ARG (dp->arg_index, type); dp 562 maint/gnulib/lib/printf-parse.c dp->conversion = c; dp 563 maint/gnulib/lib/printf-parse.c dp->dir_end = cp; dp 103 maint/gnulib/lib/putenv.c char **dp = ep; dp 106 maint/gnulib/lib/putenv.c dp[0] = dp[1]; dp 107 maint/gnulib/lib/putenv.c while (*dp++); dp 31 maint/gnulib/lib/savedir.c # define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name) dp 106 maint/gnulib/lib/savedir.c struct dirent const *dp; dp 110 maint/gnulib/lib/savedir.c dp = readdir (dirp); dp 111 maint/gnulib/lib/savedir.c if (! dp) dp 116 maint/gnulib/lib/savedir.c entry = dp->d_name; dp 119 maint/gnulib/lib/savedir.c idx_t entry_size = _D_EXACT_NAMLEN (dp) + 1; dp 127 maint/gnulib/lib/savedir.c entries[entries_used].ino = dp->d_ino; dp 73 maint/gnulib/lib/scandir.c DIR *dp; dp 89 maint/gnulib/lib/scandir.c (void) __closedir (cp->dp); dp 110 maint/gnulib/lib/scandir.c DIR *dp = __opendir (dir); dp 117 maint/gnulib/lib/scandir.c if (dp == NULL) dp 123 maint/gnulib/lib/scandir.c c.dp = dp; dp 130 maint/gnulib/lib/scandir.c while ((d = READDIR (dp)) != NULL) dp 196 maint/gnulib/lib/scandir.c (void) __closedir (dp); dp 237 maint/gnulib/lib/strtod.c const char *dp; dp 239 maint/gnulib/lib/strtod.c for (dp = digits_start; dp < digits_end; dp++) dp 240 maint/gnulib/lib/strtod.c if (dp != radixchar_ptr) dp 253 maint/gnulib/lib/strtod.c (digits_end - dp) dp 254 maint/gnulib/lib/strtod.c - (radixchar_ptr >= dp && radixchar_ptr < digits_end ? 1 : 0); dp 259 maint/gnulib/lib/strtod.c if (c_isdigit (*dp)) dp 260 maint/gnulib/lib/strtod.c digit = *dp - '0'; dp 261 maint/gnulib/lib/strtod.c else if (base == 16 && c_isxdigit (*dp)) dp 262 maint/gnulib/lib/strtod.c digit = c_tolower (*dp) - ('a' - 10); dp 77 maint/gnulib/lib/unsetenv.c char **dp = ep; dp 80 maint/gnulib/lib/unsetenv.c dp[0] = dp[1]; dp 81 maint/gnulib/lib/unsetenv.c while (*dp++); dp 460 maint/gnulib/lib/vasnprintf.c mp_limb_t *dp; dp 464 maint/gnulib/lib/vasnprintf.c dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); dp 465 maint/gnulib/lib/vasnprintf.c if (dp == NULL) dp 468 maint/gnulib/lib/vasnprintf.c dp[--k] = 0; dp 477 maint/gnulib/lib/vasnprintf.c carry += dp[i + j]; dp 478 maint/gnulib/lib/vasnprintf.c dp[i + j] = (mp_limb_t) carry; dp 481 maint/gnulib/lib/vasnprintf.c dp[i + len2] = (mp_limb_t) carry; dp 484 maint/gnulib/lib/vasnprintf.c while (dlen > 0 && dp[dlen - 1] == 0) dp 487 maint/gnulib/lib/vasnprintf.c dest->limbs = dp; dp 1888 maint/gnulib/lib/vasnprintf.c DIRECTIVE *dp; dp 1958 maint/gnulib/lib/vasnprintf.c for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) dp 1960 maint/gnulib/lib/vasnprintf.c if (cp != dp->dir_start) dp 1962 maint/gnulib/lib/vasnprintf.c size_t n = dp->dir_start - cp; dp 1985 maint/gnulib/lib/vasnprintf.c if (dp->conversion == '%') dp 1989 maint/gnulib/lib/vasnprintf.c if (!(dp->arg_index == ARG_NONE)) dp 1998 maint/gnulib/lib/vasnprintf.c if (!(dp->arg_index != ARG_NONE)) dp 2001 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'n') dp 2003 maint/gnulib/lib/vasnprintf.c switch (a.arg[dp->arg_index].type) dp 2006 maint/gnulib/lib/vasnprintf.c *a.arg[dp->arg_index].a.a_count_schar_pointer = length; dp 2009 maint/gnulib/lib/vasnprintf.c *a.arg[dp->arg_index].a.a_count_short_pointer = length; dp 2012 maint/gnulib/lib/vasnprintf.c *a.arg[dp->arg_index].a.a_count_int_pointer = length; dp 2015 maint/gnulib/lib/vasnprintf.c *a.arg[dp->arg_index].a.a_count_longint_pointer = length; dp 2018 maint/gnulib/lib/vasnprintf.c *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; dp 2026 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'U') dp 2028 maint/gnulib/lib/vasnprintf.c arg_type type = a.arg[dp->arg_index].type; dp 2029 maint/gnulib/lib/vasnprintf.c int flags = dp->flags; dp 2037 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 2039 maint/gnulib/lib/vasnprintf.c if (dp->width_arg_index != ARG_NONE) dp 2043 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 2045 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->width_arg_index].a.a_int; dp 2057 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->width_start; dp 2061 maint/gnulib/lib/vasnprintf.c while (digitp != dp->width_end); dp 2068 maint/gnulib/lib/vasnprintf.c if (dp->precision_start != dp->precision_end) dp 2070 maint/gnulib/lib/vasnprintf.c if (dp->precision_arg_index != ARG_NONE) dp 2074 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) dp 2076 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->precision_arg_index].a.a_int; dp 2087 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->precision_start + 1; dp 2090 maint/gnulib/lib/vasnprintf.c while (digitp != dp->precision_end) dp 2100 maint/gnulib/lib/vasnprintf.c const uint8_t *arg = a.arg[dp->arg_index].a.a_u8_string; dp 2161 maint/gnulib/lib/vasnprintf.c if (characters < width && !(dp->flags & FLAG_LEFT)) dp 2213 maint/gnulib/lib/vasnprintf.c if (characters < width && (dp->flags & FLAG_LEFT)) dp 2225 maint/gnulib/lib/vasnprintf.c const uint16_t *arg = a.arg[dp->arg_index].a.a_u16_string; dp 2286 maint/gnulib/lib/vasnprintf.c if (characters < width && !(dp->flags & FLAG_LEFT)) dp 2338 maint/gnulib/lib/vasnprintf.c if (characters < width && (dp->flags & FLAG_LEFT)) dp 2350 maint/gnulib/lib/vasnprintf.c const uint32_t *arg = a.arg[dp->arg_index].a.a_u32_string; dp 2411 maint/gnulib/lib/vasnprintf.c if (characters < width && !(dp->flags & FLAG_LEFT)) dp 2463 maint/gnulib/lib/vasnprintf.c if (characters < width && (dp->flags & FLAG_LEFT)) dp 2479 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 's' dp 2481 maint/gnulib/lib/vasnprintf.c && a.arg[dp->arg_index].type != TYPE_WIDE_STRING dp 2483 maint/gnulib/lib/vasnprintf.c && a.arg[dp->arg_index].type == TYPE_WIDE_STRING dp 2497 maint/gnulib/lib/vasnprintf.c int flags = dp->flags; dp 2505 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 2507 maint/gnulib/lib/vasnprintf.c if (dp->width_arg_index != ARG_NONE) dp 2511 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 2513 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->width_arg_index].a.a_int; dp 2525 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->width_start; dp 2529 maint/gnulib/lib/vasnprintf.c while (digitp != dp->width_end); dp 2536 maint/gnulib/lib/vasnprintf.c if (dp->precision_start != dp->precision_end) dp 2538 maint/gnulib/lib/vasnprintf.c if (dp->precision_arg_index != ARG_NONE) dp 2542 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) dp 2544 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->precision_arg_index].a.a_int; dp 2555 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->precision_start + 1; dp 2558 maint/gnulib/lib/vasnprintf.c while (digitp != dp->precision_end) dp 2567 maint/gnulib/lib/vasnprintf.c const char *arg = a.arg[dp->arg_index].a.a_string; dp 2651 maint/gnulib/lib/vasnprintf.c if (characters < width && !(dp->flags & FLAG_LEFT)) dp 2712 maint/gnulib/lib/vasnprintf.c if (characters < width && (dp->flags & FLAG_LEFT)) dp 2723 maint/gnulib/lib/vasnprintf.c const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; dp 2889 maint/gnulib/lib/vasnprintf.c if (w < width && !(dp->flags & FLAG_LEFT)) dp 2965 maint/gnulib/lib/vasnprintf.c if (w < width && (dp->flags & FLAG_LEFT)) dp 2977 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'c' dp 2978 maint/gnulib/lib/vasnprintf.c && a.arg[dp->arg_index].type == TYPE_WIDE_CHAR) dp 2982 maint/gnulib/lib/vasnprintf.c int flags = dp->flags; dp 2988 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 2990 maint/gnulib/lib/vasnprintf.c if (dp->width_arg_index != ARG_NONE) dp 2994 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 2996 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->width_arg_index].a.a_int; dp 3008 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->width_start; dp 3012 maint/gnulib/lib/vasnprintf.c while (digitp != dp->width_end); dp 3019 maint/gnulib/lib/vasnprintf.c wchar_t arg = (wchar_t) a.arg[dp->arg_index].a.a_wide_char; dp 3113 maint/gnulib/lib/vasnprintf.c if (w < width && !(dp->flags & FLAG_LEFT)) dp 3169 maint/gnulib/lib/vasnprintf.c if (w < width && (dp->flags & FLAG_LEFT)) dp 3180 maint/gnulib/lib/vasnprintf.c else if ((dp->conversion == 'a' || dp->conversion == 'A') dp 3184 maint/gnulib/lib/vasnprintf.c || a.arg[dp->arg_index].type == TYPE_DOUBLE dp 3187 maint/gnulib/lib/vasnprintf.c || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE dp 3193 maint/gnulib/lib/vasnprintf.c arg_type type = a.arg[dp->arg_index].type; dp 3194 maint/gnulib/lib/vasnprintf.c int flags = dp->flags; dp 3206 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 3208 maint/gnulib/lib/vasnprintf.c if (dp->width_arg_index != ARG_NONE) dp 3212 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 3214 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->width_arg_index].a.a_int; dp 3226 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->width_start; dp 3230 maint/gnulib/lib/vasnprintf.c while (digitp != dp->width_end); dp 3236 maint/gnulib/lib/vasnprintf.c if (dp->precision_start != dp->precision_end) dp 3238 maint/gnulib/lib/vasnprintf.c if (dp->precision_arg_index != ARG_NONE) dp 3242 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) dp 3244 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->precision_arg_index].a.a_int; dp 3255 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->precision_start + 1; dp 3258 maint/gnulib/lib/vasnprintf.c while (digitp != dp->precision_end) dp 3307 maint/gnulib/lib/vasnprintf.c long double arg = a.arg[dp->arg_index].a.a_longdouble; dp 3311 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'A') dp 3342 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'A') dp 3392 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'A' + 'X'; dp 3414 maint/gnulib/lib/vasnprintf.c : dp->conversion - 10); dp 3425 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'A' + 'P'; dp 3461 maint/gnulib/lib/vasnprintf.c double arg = a.arg[dp->arg_index].a.a_double; dp 3465 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'A') dp 3493 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'A') dp 3543 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'A' + 'X'; dp 3565 maint/gnulib/lib/vasnprintf.c : dp->conversion - 10); dp 3576 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'A' + 'P'; dp 3670 maint/gnulib/lib/vasnprintf.c else if ((dp->conversion == 'f' || dp->conversion == 'F' dp 3671 maint/gnulib/lib/vasnprintf.c || dp->conversion == 'e' || dp->conversion == 'E' dp 3672 maint/gnulib/lib/vasnprintf.c || dp->conversion == 'g' || dp->conversion == 'G' dp 3673 maint/gnulib/lib/vasnprintf.c || dp->conversion == 'a' || dp->conversion == 'A') dp 3676 maint/gnulib/lib/vasnprintf.c || a.arg[dp->arg_index].type == TYPE_DOUBLE dp 3678 maint/gnulib/lib/vasnprintf.c || (a.arg[dp->arg_index].type == TYPE_DOUBLE dp 3682 maint/gnulib/lib/vasnprintf.c && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) dp 3685 maint/gnulib/lib/vasnprintf.c || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE dp 3687 maint/gnulib/lib/vasnprintf.c || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE dp 3692 maint/gnulib/lib/vasnprintf.c && is_infinite_or_zerol (a.arg[dp->arg_index].a.a_longdouble)) dp 3697 maint/gnulib/lib/vasnprintf.c arg_type type = a.arg[dp->arg_index].type; dp 3699 maint/gnulib/lib/vasnprintf.c int flags = dp->flags; dp 3711 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 3713 maint/gnulib/lib/vasnprintf.c if (dp->width_arg_index != ARG_NONE) dp 3717 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 3719 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->width_arg_index].a.a_int; dp 3731 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->width_start; dp 3735 maint/gnulib/lib/vasnprintf.c while (digitp != dp->width_end); dp 3741 maint/gnulib/lib/vasnprintf.c if (dp->precision_start != dp->precision_end) dp 3743 maint/gnulib/lib/vasnprintf.c if (dp->precision_arg_index != ARG_NONE) dp 3747 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) dp 3749 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->precision_arg_index].a.a_int; dp 3760 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->precision_start + 1; dp 3763 maint/gnulib/lib/vasnprintf.c while (digitp != dp->precision_end) dp 3774 maint/gnulib/lib/vasnprintf.c if (!(dp->conversion == 'a' || dp->conversion == 'A')) dp 3795 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'f' || dp->conversion == 'F') dp 3797 maint/gnulib/lib/vasnprintf.c long double arg = a.arg[dp->arg_index].a.a_longdouble; dp 3811 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'f' || dp->conversion == 'F') dp 3813 maint/gnulib/lib/vasnprintf.c double arg = a.arg[dp->arg_index].a.a_double; dp 3854 maint/gnulib/lib/vasnprintf.c long double arg = a.arg[dp->arg_index].a.a_longdouble; dp 3858 maint/gnulib/lib/vasnprintf.c if (dp->conversion >= 'A' && dp->conversion <= 'Z') dp 3889 maint/gnulib/lib/vasnprintf.c if (dp->conversion >= 'A' && dp->conversion <= 'Z') dp 3903 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'f' || dp->conversion == 'F') dp 3941 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'e' || dp->conversion == 'E') dp 4036 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion; /* 'e' or 'E' */ dp 4062 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'g' || dp->conversion == 'G') dp 4217 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ dp 4256 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'f' || dp->conversion == 'F') dp 4266 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'e' || dp->conversion == 'E') dp 4275 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion; /* 'e' or 'E' */ dp 4280 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'g' || dp->conversion == 'G') dp 4292 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'a' || dp->conversion == 'A') dp 4295 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'A' + 'X'; dp 4304 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'A' + 'P'; dp 4322 maint/gnulib/lib/vasnprintf.c double arg = a.arg[dp->arg_index].a.a_double; dp 4326 maint/gnulib/lib/vasnprintf.c if (dp->conversion >= 'A' && dp->conversion <= 'Z') dp 4354 maint/gnulib/lib/vasnprintf.c if (dp->conversion >= 'A' && dp->conversion <= 'Z') dp 4368 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'f' || dp->conversion == 'F') dp 4403 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'e' || dp->conversion == 'E') dp 4494 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion; /* 'e' or 'E' */ dp 4536 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'g' || dp->conversion == 'G') dp 4687 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion - 'G' + 'E'; /* 'e' or 'E' */ dp 4742 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'f' || dp->conversion == 'F') dp 4752 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'e' || dp->conversion == 'E') dp 4761 maint/gnulib/lib/vasnprintf.c *p++ = dp->conversion; /* 'e' or 'E' */ dp 4771 maint/gnulib/lib/vasnprintf.c else if (dp->conversion == 'g' || dp->conversion == 'G') dp 4854 maint/gnulib/lib/vasnprintf.c arg_type type = a.arg[dp->arg_index].type; dp 4855 maint/gnulib/lib/vasnprintf.c int flags = dp->flags; dp 4893 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 4895 maint/gnulib/lib/vasnprintf.c if (dp->width_arg_index != ARG_NONE) dp 4899 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 4901 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->width_arg_index].a.a_int; dp 4913 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->width_start; dp 4917 maint/gnulib/lib/vasnprintf.c while (digitp != dp->width_end); dp 4928 maint/gnulib/lib/vasnprintf.c if (dp->precision_start != dp->precision_end) dp 4930 maint/gnulib/lib/vasnprintf.c if (dp->precision_arg_index != ARG_NONE) dp 4934 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) dp 4936 maint/gnulib/lib/vasnprintf.c arg = a.arg[dp->precision_arg_index].a.a_int; dp 4947 maint/gnulib/lib/vasnprintf.c const FCHAR_T *digitp = dp->precision_start + 1; dp 4950 maint/gnulib/lib/vasnprintf.c while (digitp != dp->precision_end) dp 4959 maint/gnulib/lib/vasnprintf.c switch (dp->conversion) dp 4974 maint/gnulib/lib/vasnprintf.c switch (dp->conversion) dp 4999 maint/gnulib/lib/vasnprintf.c MAX_ROOM_NEEDED (&a, dp->arg_index, dp->conversion, type, dp 5047 maint/gnulib/lib/vasnprintf.c if (dp->width_start != dp->width_end) dp 5049 maint/gnulib/lib/vasnprintf.c size_t n = dp->width_end - dp->width_start; dp 5054 maint/gnulib/lib/vasnprintf.c memcpy (fbp, dp->width_start, n * sizeof (TCHAR_T)); dp 5059 maint/gnulib/lib/vasnprintf.c const FCHAR_T *mp = dp->width_start; dp 5068 maint/gnulib/lib/vasnprintf.c if (dp->precision_start != dp->precision_end) dp 5070 maint/gnulib/lib/vasnprintf.c size_t n = dp->precision_end - dp->precision_start; dp 5075 maint/gnulib/lib/vasnprintf.c memcpy (fbp, dp->precision_start, n * sizeof (TCHAR_T)); dp 5080 maint/gnulib/lib/vasnprintf.c const FCHAR_T *mp = dp->precision_start; dp 5118 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'F') dp 5122 maint/gnulib/lib/vasnprintf.c *fbp = dp->conversion; dp 5177 maint/gnulib/lib/vasnprintf.c if (!pad_ourselves && dp->width_arg_index != ARG_NONE) dp 5179 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) dp 5181 maint/gnulib/lib/vasnprintf.c prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; dp 5183 maint/gnulib/lib/vasnprintf.c if (!prec_ourselves && dp->precision_arg_index != ARG_NONE) dp 5185 maint/gnulib/lib/vasnprintf.c if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) dp 5187 maint/gnulib/lib/vasnprintf.c prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; dp 5267 maint/gnulib/lib/vasnprintf.c int arg = a.arg[dp->arg_index].a.a_schar; dp 5273 maint/gnulib/lib/vasnprintf.c unsigned int arg = a.arg[dp->arg_index].a.a_uchar; dp 5279 maint/gnulib/lib/vasnprintf.c int arg = a.arg[dp->arg_index].a.a_short; dp 5285 maint/gnulib/lib/vasnprintf.c unsigned int arg = a.arg[dp->arg_index].a.a_ushort; dp 5291 maint/gnulib/lib/vasnprintf.c int arg = a.arg[dp->arg_index].a.a_int; dp 5297 maint/gnulib/lib/vasnprintf.c unsigned int arg = a.arg[dp->arg_index].a.a_uint; dp 5303 maint/gnulib/lib/vasnprintf.c long int arg = a.arg[dp->arg_index].a.a_longint; dp 5309 maint/gnulib/lib/vasnprintf.c unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; dp 5315 maint/gnulib/lib/vasnprintf.c long long int arg = a.arg[dp->arg_index].a.a_longlongint; dp 5321 maint/gnulib/lib/vasnprintf.c unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; dp 5327 maint/gnulib/lib/vasnprintf.c double arg = a.arg[dp->arg_index].a.a_double; dp 5333 maint/gnulib/lib/vasnprintf.c long double arg = a.arg[dp->arg_index].a.a_longdouble; dp 5339 maint/gnulib/lib/vasnprintf.c int arg = a.arg[dp->arg_index].a.a_char; dp 5346 maint/gnulib/lib/vasnprintf.c wint_t arg = a.arg[dp->arg_index].a.a_wide_char; dp 5353 maint/gnulib/lib/vasnprintf.c const char *arg = a.arg[dp->arg_index].a.a_string; dp 5360 maint/gnulib/lib/vasnprintf.c const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; dp 5367 maint/gnulib/lib/vasnprintf.c void *arg = a.arg[dp->arg_index].a.a_pointer; dp 5419 maint/gnulib/lib/vasnprintf.c MAX_ROOM_NEEDED (&a, dp->arg_index, dp 5420 maint/gnulib/lib/vasnprintf.c dp->conversion, type, flags, dp 5460 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'c' || dp->conversion == 's') dp 5584 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'c' || dp->conversion == 's') dp 5727 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'c' dp 5728 maint/gnulib/lib/vasnprintf.c || dp->conversion == 's') dp 5791 maint/gnulib/lib/vasnprintf.c if (dp->conversion == 'F') dp 42 maint/gnulib/tests/test-dirent-safer.c DIR *dp; dp 69 maint/gnulib/tests/test-dirent-safer.c dp = opendir ("."); dp 70 maint/gnulib/tests/test-dirent-safer.c ASSERT (dp); dp 71 maint/gnulib/tests/test-dirent-safer.c ASSERT (dirfd (dp) == -1 || STDERR_FILENO < dirfd (dp)); dp 72 maint/gnulib/tests/test-dirent-safer.c ASSERT (closedir (dp) == 0); dp 78 maint/gnulib/tests/test-dirent-safer.c dp = fdopendir (fd); dp 79 maint/gnulib/tests/test-dirent-safer.c ASSERT (dp); dp 80 maint/gnulib/tests/test-dirent-safer.c ASSERT (dirfd (dp) == -1 || STDERR_FILENO < dirfd (dp)); dp 81 maint/gnulib/tests/test-dirent-safer.c ASSERT (closedir (dp) == 0);