/netbsd/external/bsd/libbind/dist/resolv/ |
H A D | res_mkupdate.c | 208 startp = rrecp->r_data; in res_nmkupdate() 252 while (isspace(*startp) || !*startp) in res_nmkupdate() 253 startp++; in res_nmkupdate() 254 if (*startp == '(') { in res_nmkupdate() 256 startp++; in res_nmkupdate() 267 while (isspace(*startp) || !*startp) in res_nmkupdate() 268 startp++; in res_nmkupdate() 269 if (*startp != ')') in res_nmkupdate() 377 &startp, endp)) < 0) in res_nmkupdate() 663 &startp, endp)) < 0) { in res_nmkupdate() [all …]
|
/netbsd/lib/libresolv/ |
H A D | res_mkupdate.c | 209 startp = rrecp->r_data; in res_nmkupdate() 253 while (isspace(*startp) || !*startp) in res_nmkupdate() 254 startp++; in res_nmkupdate() 255 if (*startp == '(') { in res_nmkupdate() 257 startp++; in res_nmkupdate() 268 while (isspace(*startp) || !*startp) in res_nmkupdate() 269 startp++; in res_nmkupdate() 270 if (*startp != ')') in res_nmkupdate() 378 &startp, endp)) < 0) in res_nmkupdate() 669 &startp, endp)) < 0) { in res_nmkupdate() [all …]
|
/netbsd/lib/libc/gen/ |
H A D | basename.c | 51 const char *startp, *endp; in __weak_alias() local 59 startp = "."; in __weak_alias() 71 startp = "/"; in __weak_alias() 77 for (startp = endp; startp > path && *(startp - 1) != '/'; startp--) in __weak_alias() 81 len = (endp - startp) + 1 /* last char */; in __weak_alias() 85 memcpy(buf, startp, buflen); in __weak_alias()
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | file-find.c | 174 const char *startp, *endp; in prefix_from_string() local 180 startp = endp = p; in prefix_from_string() 185 strncpy (nstore, startp, endp-startp); in prefix_from_string() 186 if (endp == startp) in prefix_from_string() 192 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string() 193 nstore[endp-startp+1] = 0; in prefix_from_string() 196 nstore[endp-startp] = 0; in prefix_from_string() 204 endp = startp = endp + 1; in prefix_from_string()
|
H A D | file-find.cc | 174 const char *startp, *endp; in prefix_from_string() local 180 startp = endp = p; in prefix_from_string() 185 strncpy (nstore, startp, endp-startp); in prefix_from_string() 186 if (endp == startp) in prefix_from_string() 192 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string() 193 nstore[endp-startp+1] = 0; in prefix_from_string() 196 nstore[endp-startp] = 0; in prefix_from_string() 204 endp = startp = endp + 1; in prefix_from_string()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | file-find.c | 174 const char *startp, *endp; in prefix_from_string() local 180 startp = endp = p; in prefix_from_string() 185 strncpy (nstore, startp, endp-startp); in prefix_from_string() 186 if (endp == startp) in prefix_from_string() 192 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string() 193 nstore[endp-startp+1] = 0; in prefix_from_string() 196 nstore[endp-startp] = 0; in prefix_from_string() 204 endp = startp = endp + 1; in prefix_from_string()
|
/netbsd/external/gpl3/gdb/dist/gnulib/import/ |
H A D | fnmatch_loop.c | 274 const CHAR *startp = p; in FCT() local 293 p = startp; in FCT() 329 const CHAR *startp = p; in FCT() local 334 p = startp; in FCT() 343 p = startp; in FCT() 842 const CHAR *startp = p; in FCT() local 855 p = startp - 2; in FCT() 980 const CHAR *startp; in EXT() local 997 for (startp = p = pattern + 1; ; ++p) in EXT() 1064 *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \ in EXT() [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | fnmatch_loop.c | 274 const CHAR *startp = p; in FCT() local 293 p = startp; in FCT() 329 const CHAR *startp = p; in FCT() local 334 p = startp; in FCT() 343 p = startp; in FCT() 842 const CHAR *startp = p; in FCT() local 855 p = startp - 2; in FCT() 980 const CHAR *startp; in EXT() local 997 for (startp = p = pattern + 1; ; ++p) in EXT() 1064 *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \ in EXT() [all …]
|
/netbsd/external/gpl2/xcvs/dist/lib/ |
H A D | fnmatch_loop.c | 269 p = startp; in FCT() 321 p = startp; in FCT() 330 p = startp; in FCT() 425 const CHAR *startp = p; in FCT() local 457 cold = startp[1]; in FCT() 468 # define str (startp + 1) in FCT() 666 cend = startp[1]; in FCT() 876 p = startp; in FCT() 1004 const CHAR *startp; in EXT() local 1067 *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L('\0'); \ in EXT() [all …]
|
/netbsd/external/gpl3/gdb/dist/libiberty/ |
H A D | make-relative-prefix.c | 252 char *startp, *endp, *nstore; in make_relative_prefix_1() local 267 startp = endp = temp; in make_relative_prefix_1() 272 if (endp == startp) in make_relative_prefix_1() 280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1() 283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 287 nstore[endp - startp] = 0; in make_relative_prefix_1() 308 endp = startp = endp + 1; in make_relative_prefix_1()
|
/netbsd/external/gpl3/binutils.old/dist/libiberty/ |
H A D | make-relative-prefix.c | 252 char *startp, *endp, *nstore; in make_relative_prefix_1() local 267 startp = endp = temp; in make_relative_prefix_1() 272 if (endp == startp) in make_relative_prefix_1() 280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1() 283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 287 nstore[endp - startp] = 0; in make_relative_prefix_1() 308 endp = startp = endp + 1; in make_relative_prefix_1()
|
/netbsd/external/gpl3/binutils/dist/libiberty/ |
H A D | make-relative-prefix.c | 252 char *startp, *endp, *nstore; in make_relative_prefix_1() local 267 startp = endp = temp; in make_relative_prefix_1() 272 if (endp == startp) in make_relative_prefix_1() 280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1() 283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 287 nstore[endp - startp] = 0; in make_relative_prefix_1() 308 endp = startp = endp + 1; in make_relative_prefix_1()
|
/netbsd/external/gpl3/gcc.old/dist/libiberty/ |
H A D | make-relative-prefix.c | 252 char *startp, *endp, *nstore; in make_relative_prefix_1() local 267 startp = endp = temp; in make_relative_prefix_1() 272 if (endp == startp) in make_relative_prefix_1() 280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1() 283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 287 nstore[endp - startp] = 0; in make_relative_prefix_1() 308 endp = startp = endp + 1; in make_relative_prefix_1()
|
/netbsd/external/gpl3/gdb.old/dist/libiberty/ |
H A D | make-relative-prefix.c | 252 char *startp, *endp, *nstore; in make_relative_prefix_1() local 267 startp = endp = temp; in make_relative_prefix_1() 272 if (endp == startp) in make_relative_prefix_1() 280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1() 283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 287 nstore[endp - startp] = 0; in make_relative_prefix_1() 308 endp = startp = endp + 1; in make_relative_prefix_1()
|
/netbsd/external/gpl3/gcc/dist/libiberty/ |
H A D | make-relative-prefix.c | 252 char *startp, *endp, *nstore; in make_relative_prefix_1() local 267 startp = endp = temp; in make_relative_prefix_1() 272 if (endp == startp) in make_relative_prefix_1() 280 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1() 283 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 284 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 287 nstore[endp - startp] = 0; in make_relative_prefix_1() 308 endp = startp = endp + 1; in make_relative_prefix_1()
|
/netbsd/external/gpl3/gcc/dist/libquadmath/strtod/ |
H A D | strtod_l.c | 674 cp = startp; 786 startp = cp; 837 if (tp < startp) 1070 ++startp; 1082 ++startp; 1107 ++startp; 1109 ++startp; 1111 val = *startp++ - L_('0'); 1144 if (ISDIGIT (*startp)) 1168 startp++; [all …]
|
/netbsd/external/gpl3/gcc.old/dist/libquadmath/strtod/ |
H A D | strtod_l.c | 674 cp = startp; 786 startp = cp; 837 if (tp < startp) 1070 ++startp; 1082 ++startp; 1107 ++startp; 1109 ++startp; 1111 val = *startp++ - L_('0'); 1144 if (ISDIGIT (*startp)) 1168 startp++; [all …]
|
/netbsd/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/ |
H A D | fnmatch_loop.c | 266 p = startp; in FCT() 318 p = startp; in FCT() 327 p = startp; in FCT() 422 const CHAR *startp = p; in FCT() local 454 cold = startp[1]; in FCT() 465 # define str (startp + 1) in FCT() 663 cend = startp[1]; in FCT() 873 p = startp; in FCT() 1001 const CHAR *startp; in EXT() local 1080 *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \ in EXT() [all …]
|
/netbsd/sys/ufs/ffs/ |
H A D | ffs_wapbl.c | 549 *startp = fs->fs_journallocs[UFS_WAPBL_EPART_ADDR]; in wapbl_log_position() 553 "blksize = %zu\n", *startp, *countp, *blksizep); in wapbl_log_position() 558 *startp = fs->fs_journallocs[UFS_WAPBL_INFS_ADDR]; in wapbl_log_position() 594 *startp = logstart; in wapbl_log_position() 599 *startp = dbtob(*startp) / secsize; in wapbl_log_position() 602 fs->fs_journallocs[UFS_WAPBL_EPART_ADDR] = *startp; in wapbl_log_position() 614 startp, countp, extradatap); in wapbl_log_position() 618 *startp = dbtob(*startp) / secsize; in wapbl_log_position() 621 fs->fs_journallocs[UFS_WAPBL_INFS_ADDR] = *startp; in wapbl_log_position() 678 startp, countp, extradatap)) != 0) { in wapbl_create_infs_log() [all …]
|
/netbsd/sys/external/bsd/drm2/linux/ |
H A D | linux_xa.c | 190 xa_find(struct xarray *xa, unsigned long *startp, unsigned long max, in xa_find() argument 193 uint64_t key64 = *startp; in xa_find() 205 *startp = n->n_key; in xa_find() 210 xa_find_after(struct xarray *xa, unsigned long *startp, unsigned long max, in xa_find_after() argument 213 unsigned long start = *startp + 1; in xa_find_after() 220 *startp = start; in xa_find_after()
|
/netbsd/bin/sh/ |
H A D | expand.c | 392 const char *startp = p; in exptilde() local 417 return (startp); in exptilde() 467 return startp; in exptilde() 738 char *startp; in subevalvar() local 750 startp = stackblock() + startloc; in subevalvar() 754 setvar(str, startp, 0); in subevalvar() 780 char *startp; in subevalvar_trim() local 809 startp = stackblock() + startloc; in subevalvar_trim() 834 if (quotes && loc > startp && in subevalvar_trim() 850 if (quotes && loc > startp && in subevalvar_trim() [all …]
|
/netbsd/lib/libcompat/regexp/ |
H A D | regsub.c | 76 } else if (prog->startp[no] != NULL && prog->endp[no] != NULL) { 77 len = prog->endp[no] - prog->startp[no]; 78 (void) strncpy(dst, prog->startp[no], (size_t)len);
|
/netbsd/external/gpl2/groff/dist/src/libs/libbib/ |
H A D | linear.cpp | 402 const char **startp, int *lengthp) const in search() argument 420 *startp = refstart; in search() 491 const char **startp, int *lengthp, in next() argument 497 if (ptr < bufend && searcher.search(ptr, bufend, startp, lengthp)) { in next() 498 pos = *startp + *lengthp - bufstart; in next() 500 *ridp = reference_id(lsi->filename_id, *startp - bufstart); in next()
|
/netbsd/external/gpl2/gettext/dist/gnulib-local/lib/ |
H A D | fnmatch_loop.c.diff | 18 for (startp = p = pattern + 1; ; ++p) 45 for (startp = p = pattern + 1; ; ++p) 78 ! *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \ 100 ! *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L_('\0'); \
|
/netbsd/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_write_set_format_ar.c | 553 const char *endp, *startp; in ar_basename() local 564 startp = endp; in ar_basename() 565 while (startp > path && *(startp - 1) != '/') in ar_basename() 566 startp--; in ar_basename() 568 return (startp); in ar_basename()
|