Home
last modified time | relevance | path

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

12

/freebsd-13.1/lib/libc/resolv/
H A Dres_mkupdate.c224 startp = rrecp->r_data; in res_nmkupdate()
268 while (isspace(*startp) || !*startp) in res_nmkupdate()
269 startp++; in res_nmkupdate()
270 if (*startp == '(') { in res_nmkupdate()
272 startp++; in res_nmkupdate()
283 while (isspace(*startp) || !*startp) in res_nmkupdate()
284 startp++; in res_nmkupdate()
285 if (*startp != ')') in res_nmkupdate()
393 &startp, endp)) < 0) in res_nmkupdate()
683 &startp, endp)) < 0) { in res_nmkupdate()
[all …]
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dbasename.c31 const char *endp, *startp; in basename() local
53 startp = endp; in basename()
54 while (startp > path && *(startp - 1) != '/') in basename()
55 startp--; in basename()
57 len = endp - startp + 1; in basename()
62 memcpy(bname, startp, len); in basename()
/freebsd-13.1/lib/libc/gen/
H A Dbasename_compat.c34 const char *endp, *startp; in __freebsd11_basename_r() local
57 startp = endp; in __freebsd11_basename_r()
58 while (startp > path && *(startp - 1) != '/') in __freebsd11_basename_r()
59 startp--; in __freebsd11_basename_r()
61 len = endp - startp + 1; in __freebsd11_basename_r()
66 memcpy(bname, startp, len); in __freebsd11_basename_r()
/freebsd-13.1/bin/sh/
H A Dexpand.c367 const char *startp = p; in exptilde() local
383 return (startp); in exptilde()
391 len = p - startp - 1; in exptilde()
403 return (startp); in exptilde()
545 *startp++ = *loc++; in recordleft()
552 char *startp; in subevalvar_trim() local
627 char *startp; in subevalvar_misc() local
636 setvar(var, startp, 0); in subevalvar_misc()
895 char *startp; in reprocess() local
899 len = expdest - startp; in reprocess()
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_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()
/freebsd-13.1/usr.sbin/kldxref/
H A Def.h32 #define EF_LOOKUP_SET(ef, name, startp, stopp, countp) \ argument
33 (ef)->ef_ops->lookup_set((ef)->ef_ef, name, startp, stopp, countp)
56 int (*lookup_set)(elf_file_t ef, const char *name, long *startp,
H A Def.c104 static int ef_lookup_set(elf_file_t ef, const char *name, long *startp,
225 ef_lookup_set(elf_file_t ef, const char *name, long *startp, long *stopp, in ef_lookup_set() argument
242 *startp = sym->st_value; in ef_lookup_set()
252 *countp = (*stopp - *startp) / sizeof(void *); in ef_lookup_set()
H A Def_obj.c121 static int ef_obj_lookup_set(elf_file_t ef, const char *name, long *startp,
166 ef_obj_lookup_set(elf_file_t ef, const char *name, long *startp, long *stopp, in ef_obj_lookup_set() argument
174 *startp = (char *)ef->progtab[i].addr - ef->address; in ef_obj_lookup_set()
177 *countp = (*stopp - *startp) / sizeof(void *); in ef_obj_lookup_set()
/freebsd-13.1/sys/dev/sfxge/common/
H A Defx_lic.c52 __out uint32_t *startp);
70 __out uint32_t *startp,
226 __out uint32_t *startp);
244 __out uint32_t *startp,
448 __out uint32_t *startp) in efx_lic_v1v2_find_start() argument
452 *startp = 0; in efx_lic_v1v2_find_start()
478 __out uint32_t *startp, in efx_lic_v1v2_find_key() argument
496 *startp = offset; in efx_lic_v1v2_find_key()
1059 __out uint32_t *startp) in efx_lic_v3_find_start() argument
1064 startp)); in efx_lic_v3_find_start()
[all …]
H A Defx_bootcfg.c414 uint8_t *startp; in efx_dhcp_delete_tag() local
418 startp = bufferp; in efx_dhcp_delete_tag()
425 rc = efx_dhcp_walk_tags(&startp, &len, opt); in efx_dhcp_delete_tag()
429 hdrp = (efx_dhcp_tag_hdr_t *)startp; in efx_dhcp_delete_tag()
452 startp = (uint8_t *)hdrp; in efx_dhcp_delete_tag()
455 if (startp < bufferp) { in efx_dhcp_delete_tag()
465 memmove(startp, endp, in efx_dhcp_delete_tag()
/freebsd-13.1/contrib/nvi/vi/
H A Dv_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()
/freebsd-13.1/sys/netgraph/
H A Dng_parse.h516 int *startp, int *lenp);
527 extern char *ng_get_string_token(const char *s, int *startp,
H A Dng_parse.c1682 ng_parse_get_token(const char *s, int *startp, int *lenp) in ng_parse_get_token() argument
1687 while (isspace(s[*startp])) in ng_parse_get_token()
1688 (*startp)++; in ng_parse_get_token()
1689 switch (s[*startp]) { in ng_parse_get_token()
1709 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL) in ng_parse_get_token()
1714 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i]) in ng_parse_get_token()
1718 *lenp = i - *startp; in ng_parse_get_token()
1734 while (isspace(s[*startp])) in ng_get_string_token()
1735 (*startp)++; in ng_get_string_token()
1736 start = *startp; in ng_get_string_token()
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_diff/
H A Ddiff_memory.c223 const char *startp; in fill_source_tokens() local
229 for (startp = curp = text->data, endp = curp + text->len; in fill_source_tokens()
238 svn_string_ncreate(startp, curp - startp + 1, pool); in fill_source_tokens()
240 startp = curp + 1; in fill_source_tokens()
245 if (startp != endp) in fill_source_tokens()
248 svn_string_ncreate(startp, endp - startp, pool); in fill_source_tokens()
/freebsd-13.1/contrib/less/
H A Dregexp.h13 char *startp[NSUBEXP]; member
H A Dregexp.c808 regstartp = prog->startp;
811 sp = prog->startp;
818 prog->startp[0] = string;
/freebsd-13.1/bin/pax/
H A Dpat_rep.c913 rpt = pt->rcmp->startp[0];
1046 if ((prog->startp[no] == NULL) || (prog->endp[no] == NULL) ||
1047 ((len = prog->endp[no] - prog->startp[no]) <= 0))
1056 if (l_strncpy(dpt, prog->startp[no], len) != len)
/freebsd-13.1/sys/dev/quicc/
H A Dquicc_core.c289 rman_res_t *startp, rman_res_t *countp) in quicc_bus_get_resource() argument
302 if (startp != NULL) in quicc_bus_get_resource()
303 *startp = rle->start; in quicc_bus_get_resource()
/freebsd-13.1/stand/common/
H A Dload_elf_obj.c77 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp);
471 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) in __elfN()
490 *startp = shdr[i].sh_addr; in __elfN()
492 *countp = (*stopp - *startp) / sizeof(Elf_Addr); in __elfN()
/freebsd-13.1/sys/mips/mips/
H A Dnexus.c376 rman_res_t *startp, rman_res_t *countp) in nexus_get_resource() argument
385 if (startp) in nexus_get_resource()
386 *startp = rle->start; in nexus_get_resource()
/freebsd-13.1/sys/dev/scc/
H A Dscc_core.c438 rman_res_t *startp, rman_res_t *countp) in scc_bus_get_resource() argument
453 if (startp != NULL) in scc_bus_get_resource()
454 *startp = rle->start; in scc_bus_get_resource()
/freebsd-13.1/sys/kern/
H A Dlink_elf_obj.c1556 void ***startp, void ***stopp, int *countp) in link_elf_lookup_set() argument
1570 if (startp) in link_elf_lookup_set()
1571 *startp = start; in link_elf_lookup_set()
1728 Elf_Addr startp, stopp; in link_elf_fix_link_set() local
1732 startp = stopp = 0; in link_elf_fix_link_set()
1753 startp = (Elf_Addr)ef->progtab[i].addr; in link_elf_fix_link_set()
1754 stopp = (Elf_Addr)(startp + ef->progtab[i].size); in link_elf_fix_link_set()
1761 sym->st_value = start ? startp : stopp; in link_elf_fix_link_set()
/freebsd-13.1/crypto/openssh/
H A Dscp.c732 find_brace(const char *pattern, int *startp, int *endp) in find_brace() argument
737 *startp = *endp = -1; in find_brace()
760 if (*startp == -1) in find_brace()
761 *startp = i; in find_brace()
767 if (*startp < 0) { in find_brace()
777 if (*endp < 0 && (*startp >= 0 || in_bracket)) in find_brace()
/freebsd-13.1/crypto/heimdal/lib/asn1/
H A Dtemplate.c156 const unsigned char *startp = NULL; in _asn1_decode() local
163 startp = p; in _asn1_decode()
427 if (startp) { in _asn1_decode()
435 memcpy(save->data, startp, oldlen); in _asn1_decode()
/freebsd-13.1/sys/x86/x86/
H A Dnexus.c675 rman_res_t *startp, rman_res_t *countp) in nexus_get_resource() argument
684 if (startp) in nexus_get_resource()
685 *startp = rle->start; in nexus_get_resource()

12