Home
last modified time | relevance | path

Searched refs:startp (Results 1 – 25 of 34) sorted by relevance

12

/dragonfly/lib/libc/resolv/
HDres_mkupdate.c90 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local
214 startp = rrecp->r_data; in res_nmkupdate()
215 endp = startp + rrecp->r_size - 1; in res_nmkupdate()
219 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
234 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
246 if (!getword_str(buf2, sizeof buf2, &startp, in res_nmkupdate()
258 while (isspace(*startp) || !*startp) in res_nmkupdate()
259 startp++; in res_nmkupdate()
260 if (*startp == '(') { in res_nmkupdate()
262 startp++; in res_nmkupdate()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDfile-find.c174 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()
HDgcc.c4322 const char *startp, *endp; in process_command() local
4325 startp = endp = temp; in process_command()
4330 strncpy (nstore, startp, endp - startp); in process_command()
4331 if (endp == startp) in process_command()
4335 nstore[endp - startp] = DIR_SEPARATOR; in process_command()
4336 nstore[endp - startp + 1] = 0; in process_command()
4339 nstore[endp - startp] = 0; in process_command()
4346 endp = startp = endp + 1; in process_command()
4356 const char *startp, *endp; in process_command() local
4359 startp = endp = temp; in process_command()
[all …]
/dragonfly/contrib/gdb-7/gdb/gnulib/import/
HDfnmatch_loop.c247 const CHAR *startp = p; in FCT() local
266 p = startp; in FCT()
313 const CHAR *startp = p; in FCT() local
318 p = startp; in FCT()
327 p = startp; in FCT()
432 const CHAR *startp = p; in FCT() local
461 if (!is_range && *n == startp[1]) in FCT()
464 cold = startp[1]; in FCT()
475 # define str (startp + 1) in FCT()
489 str[strcnt] = startp[1 + strcnt]; in FCT()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
HDmake-relative-prefix.c249 char *startp, *endp, *nstore; in make_relative_prefix_1() local
261 startp = endp = temp; in make_relative_prefix_1()
266 if (endp == startp) in make_relative_prefix_1()
274 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
277 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
278 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
281 nstore[endp - startp] = 0; in make_relative_prefix_1()
302 endp = startp = endp + 1; in make_relative_prefix_1()
/dragonfly/contrib/gcc-8.0/libiberty/
HDmake-relative-prefix.c249 char *startp, *endp, *nstore; in make_relative_prefix_1() local
264 startp = endp = temp; in make_relative_prefix_1()
269 if (endp == startp) in make_relative_prefix_1()
277 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
280 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
281 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
284 nstore[endp - startp] = 0; in make_relative_prefix_1()
305 endp = startp = endp + 1; in make_relative_prefix_1()
/dragonfly/contrib/gdb-7/libiberty/
HDmake-relative-prefix.c249 char *startp, *endp, *nstore; in make_relative_prefix_1() local
261 startp = endp = temp; in make_relative_prefix_1()
266 if (endp == startp) in make_relative_prefix_1()
274 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
277 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
278 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
281 nstore[endp - startp] = 0; in make_relative_prefix_1()
302 endp = startp = endp + 1; in make_relative_prefix_1()
/dragonfly/contrib/gcc-4.7/libiberty/
HDmake-relative-prefix.c249 char *startp, *endp, *nstore; in make_relative_prefix_1() local
261 startp = endp = temp; in make_relative_prefix_1()
266 if (endp == startp) in make_relative_prefix_1()
274 memcpy (nstore, startp, endp - startp); in make_relative_prefix_1()
277 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1()
278 nstore[endp - startp + 1] = 0; in make_relative_prefix_1()
281 nstore[endp - startp] = 0; in make_relative_prefix_1()
302 endp = startp = endp + 1; in make_relative_prefix_1()
/dragonfly/contrib/binutils-2.34/libiberty/
HDmake-relative-prefix.c252 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()
/dragonfly/bin/sh/
HDexpand.c367 const char *startp = p; in exptilde() local
383 return (startp); in exptilde()
391 len = p - startp - 1; in exptilde()
392 STPUTBIN(startp + 1, len, expdest); in exptilde()
403 return (startp); in exptilde()
538 recordleft(const char *str, const char *loc, char *startp) in recordleft() argument
542 amount = ((str - 1) - (loc - startp)) - expdest; in recordleft()
545 *startp++ = *loc++; in recordleft()
552 char *startp; in subevalvar_trim() local
560 startp = stackblock() + startloc; in subevalvar_trim()
[all …]
/dragonfly/contrib/libarchive/libarchive/
HDarchive_write_set_format_ar.c554 const char *endp, *startp; in ar_basename() local
565 startp = endp; in ar_basename()
566 while (startp > path && *(startp - 1) != '/') in ar_basename()
567 startp--; in ar_basename()
569 return (startp); in ar_basename()
/dragonfly/sys/netgraph/netgraph/
HDng_parse.c1503 ng_parse_get_token(const char *s, int *startp, int *lenp) in ng_parse_get_token() argument
1508 while (isspace(s[*startp])) in ng_parse_get_token()
1509 (*startp)++; in ng_parse_get_token()
1510 switch (s[*startp]) { in ng_parse_get_token()
1530 if ((t = ng_get_string_token(s, startp, lenp)) == NULL) in ng_parse_get_token()
1535 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i]) in ng_parse_get_token()
1539 *lenp = i - *startp; in ng_parse_get_token()
1549 ng_get_string_token(const char *s, int *startp, int *lenp) in ng_get_string_token() argument
1554 while (isspace(s[*startp])) in ng_get_string_token()
1555 (*startp)++; in ng_get_string_token()
[all …]
/dragonfly/contrib/nvi2/vi/
HDv_ch.c139 CHAR_T *endp, *p, *startp; in v_chf() local
162 endp = (startp = p) + len; in v_chf()
172 vp->m_stop.cno = p - startp; in v_chf()
/dragonfly/sys/netgraph7/netgraph/
HDng_parse.c1691 ng_parse_get_token(const char *s, int *startp, int *lenp) in ng_parse_get_token() argument
1696 while (isspace(s[*startp])) in ng_parse_get_token()
1697 (*startp)++; in ng_parse_get_token()
1698 switch (s[*startp]) { in ng_parse_get_token()
1718 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL) in ng_parse_get_token()
1723 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i]) in ng_parse_get_token()
1727 *lenp = i - *startp; in ng_parse_get_token()
1737 ng_get_string_token(const char *s, int *startp, int *lenp, int *slenp) in ng_get_string_token() argument
1743 while (isspace(s[*startp])) in ng_get_string_token()
1744 (*startp)++; in ng_get_string_token()
[all …]
/dragonfly/sys/netgraph7/
HDng_parse.h518 int *startp, int *lenp);
529 extern char *ng_get_string_token(const char *s, int *startp,
/dragonfly/sys/netgraph/
HDng_parse.h502 int *startp, int *lenp);
511 extern char *ng_get_string_token(const char *s, int *startp, int *lenp);
/dragonfly/sys/kern/
HDsubr_alist.c300 alist_free_info(alist_t bl, alist_blk_t *startp, alist_blk_t *countp) in alist_free_info() argument
309 *startp = 0; in alist_free_info()
342 *startp += i * radix; in alist_free_info()
353 *startp += i * radix; in alist_free_info()
379 *startp += i; in alist_free_info()
HDlink_elf_obj.c1101 void ***startp, void ***stopp, int *countp) in link_elf_obj_lookup_set() argument
1115 if (startp) in link_elf_obj_lookup_set()
1116 *startp = start; in link_elf_obj_lookup_set()
1184 Elf_Addr startp, stopp; in link_elf_obj_fix_link_set() local
1188 startp = stopp = 0; in link_elf_obj_fix_link_set()
1209 startp = (Elf_Addr)ef->progtab[i].addr; in link_elf_obj_fix_link_set()
1210 stopp = (Elf_Addr)(startp + ef->progtab[i].size); in link_elf_obj_fix_link_set()
1217 sym->st_value = start ? startp : stopp; in link_elf_obj_fix_link_set()
/dragonfly/stand/boot/common/
HDload_elf_obj.c67 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp);
403 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) in __elfN()
422 *startp = shdr[i].sh_addr; in __elfN()
424 *countp = (*stopp - *startp) / sizeof(Elf_Addr); in __elfN()
/dragonfly/contrib/gcc-4.7/gcc/
HDgcc.c3706 const char *startp, *endp; in process_command() local
3709 startp = endp = temp; in process_command()
3714 strncpy (nstore, startp, endp - startp); in process_command()
3715 if (endp == startp) in process_command()
3719 nstore[endp - startp] = DIR_SEPARATOR; in process_command()
3720 nstore[endp - startp + 1] = 0; in process_command()
3723 nstore[endp - startp] = 0; in process_command()
3730 endp = startp = endp + 1; in process_command()
3740 const char *startp, *endp; in process_command() local
3743 startp = endp = temp; in process_command()
[all …]
HDcollect2.c772 const char *startp, *endp; in prefix_from_string() local
778 startp = endp = p; in prefix_from_string()
783 strncpy (nstore, startp, endp-startp); in prefix_from_string()
784 if (endp == startp) in prefix_from_string()
790 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string()
791 nstore[endp-startp+1] = 0; in prefix_from_string()
794 nstore[endp-startp] = 0; in prefix_from_string()
802 endp = startp = endp + 1; in prefix_from_string()
/dragonfly/sys/platform/pc64/x86_64/
HDnexus.c560 nexus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) in nexus_get_resource() argument
568 type, rid, startp, countp, rle); in nexus_get_resource()
571 if (startp) in nexus_get_resource()
572 *startp = rle->start; in nexus_get_resource()
/dragonfly/sys/dev/misc/puc/
HDpuc.c646 u_long *startp, u_long *countp) in puc_get_resource() argument
665 if (startp != NULL) in puc_get_resource()
666 *startp = rle->start; in puc_get_resource()
/dragonfly/lib/libdm/
HDlibdm.h114 void *dm_get_next_target(struct dm_task *dmt, void *cur, uint64_t *startp,
/dragonfly/sys/bus/isa/
HDisa_common.c912 u_long *startp, u_long *countp) in isa_get_resource() argument
922 if (startp) in isa_get_resource()
923 *startp = rle->start; in isa_get_resource()

12