| /freebsd/lib/libc/resolv/ |
| H A D | res_mkupdate.c | 89 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 …]
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | basename.c | 31 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/lib/libc/gen/ |
| H A D | basename_compat.c | 31 const char *endp, *startp; in __freebsd11_basename_r() local 54 startp = endp; in __freebsd11_basename_r() 55 while (startp > path && *(startp - 1) != '/') in __freebsd11_basename_r() 56 startp--; in __freebsd11_basename_r() 58 len = endp - startp + 1; in __freebsd11_basename_r() 63 memcpy(bname, startp, len); in __freebsd11_basename_r()
|
| /freebsd/bin/sh/ |
| H A D | expand.c | 359 const char *startp = p; in exptilde() local 375 return (startp); in exptilde() 383 len = p - startp - 1; in exptilde() 384 STPUTBIN(startp + 1, len, expdest); in exptilde() 395 return (startp); in exptilde() 530 recordleft(const char *str, const char *loc, char *startp) in recordleft() argument 534 amount = ((str - 1) - (loc - startp)) - expdest; in recordleft() 537 *startp++ = *loc++; in recordleft() 544 char *startp; in subevalvar_trim() local 552 startp = stackblock() + startloc; in subevalvar_trim() [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | localauth_rule.c | 79 const char *startp, *endp; in aname_do_match() local 89 startp = *contextp + 1; in aname_do_match() 90 endp = strchr(startp, ')'); in aname_do_match() 93 regstr = k5memdup0(startp, endp - startp, &ret); in aname_do_match()
|
| /freebsd/contrib/libarchive/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()
|
| /freebsd/sys/dev/sfxge/common/ |
| H A D | efx_lic.c | 50 __out uint32_t *startp); 68 __out uint32_t *startp, 224 __out uint32_t *startp); 242 __out uint32_t *startp, 446 __out uint32_t *startp) in efx_lic_v1v2_find_start() argument 450 *startp = 0; in efx_lic_v1v2_find_start() 476 __out uint32_t *startp, in efx_lic_v1v2_find_key() argument 494 *startp = offset; in efx_lic_v1v2_find_key() 1057 __out uint32_t *startp) in efx_lic_v3_find_start() argument 1062 startp)); in efx_lic_v3_find_start() [all …]
|
| H A D | efx_bootcfg.c | 412 uint8_t *startp; in efx_dhcp_delete_tag() local 416 startp = bufferp; in efx_dhcp_delete_tag() 423 rc = efx_dhcp_walk_tags(&startp, &len, opt); in efx_dhcp_delete_tag() 427 hdrp = (efx_dhcp_tag_hdr_t *)startp; in efx_dhcp_delete_tag() 450 startp = (uint8_t *)hdrp; in efx_dhcp_delete_tag() 453 if (startp < bufferp) { in efx_dhcp_delete_tag() 463 memmove(startp, endp, in efx_dhcp_delete_tag()
|
| /freebsd/contrib/nvi/vi/ |
| H A D | v_ch.c | 139 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/sys/netgraph/ |
| H A D | ng_parse.h | 515 int *startp, int *lenp); 526 extern char *ng_get_string_token(const char *s, int *startp,
|
| H A D | ng_parse.c | 1682 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() 1728 ng_get_string_token(const char *s, int *startp, int *lenp, int *slenp) in ng_get_string_token() argument 1734 while (isspace(s[*startp])) in ng_get_string_token() 1735 (*startp)++; in ng_get_string_token() [all …]
|
| /freebsd/lib/libkldelf/ |
| H A D | kldelf.h | 49 #define EF_LOOKUP_SET(ef, name, startp, stopp, countp) \ argument 50 (ef)->ef_ops->lookup_set((ef)->ef_ef, name, startp, stopp, countp) 70 int (*lookup_set)(elf_file_t ef, const char *name, GElf_Addr *startp,
|
| H A D | ef_obj.c | 102 GElf_Addr *startp, GElf_Addr *stopp, long *countp); 153 ef_obj_lookup_set(elf_file_t ef, const char *name, GElf_Addr *startp, in ef_obj_lookup_set() argument 161 *startp = ef->progtab[i].addr; in ef_obj_lookup_set() 163 *countp = (*stopp - *startp) / in ef_obj_lookup_set()
|
| H A D | ef.c | 82 GElf_Addr *startp, GElf_Addr *stopp, long *countp); 175 ef_lookup_set(elf_file_t ef, const char *name, GElf_Addr *startp, in ef_lookup_set() argument 192 *startp = sym->st_value; in ef_lookup_set() 202 *countp = (*stopp - *startp) / elf_pointer_size(ef->ef_efile); in ef_lookup_set()
|
| /freebsd/contrib/less/ |
| H A D | regexp.h | 13 constant char *startp[NSUBEXP]; member
|
| H A D | regexp.c | 692 static constant char **regstartp; /* Pointer to startp array. */ 787 regstartp = prog->startp; 790 sp = prog->startp; 797 prog->startp[0] = string; 891 * Don't set startp if some later
|
| /freebsd/sys/dev/quicc/ |
| H A D | quicc_core.c | 285 rman_res_t *startp, rman_res_t *countp) in quicc_bus_get_resource() argument 298 if (startp != NULL) in quicc_bus_get_resource() 299 *startp = rle->start; in quicc_bus_get_resource()
|
| /freebsd/stand/common/ |
| H A D | load_elf_obj.c | 71 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp); 462 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) in __elfN() 481 *startp = shdr[i].sh_addr; in __elfN() 483 *countp = (*stopp - *startp) / sizeof(Elf_Addr); in __elfN()
|
| /freebsd/stand/kboot/libkboot/ |
| H A D | seg.c | 223 parse_line(const char *line, uint64_t *startp, uint64_t *endp) in parse_line() argument 249 *startp = start; in parse_line()
|
| /freebsd/sys/dev/scc/ |
| H A D | scc_core.c | 433 rman_res_t *startp, rman_res_t *countp) in scc_bus_get_resource() argument 448 if (startp != NULL) in scc_bus_get_resource() 449 *startp = rle->start; in scc_bus_get_resource()
|
| /freebsd/sys/kern/ |
| H A D | link_elf_obj.c | 1639 void ***startp, void ***stopp, int *countp) in link_elf_lookup_set() argument 1653 if (startp) in link_elf_lookup_set() 1654 *startp = start; in link_elf_lookup_set() 1811 Elf_Addr startp, stopp; in link_elf_fix_link_set() local 1815 startp = stopp = 0; in link_elf_fix_link_set() 1836 startp = (Elf_Addr)ef->progtab[i].addr; in link_elf_fix_link_set() 1837 stopp = (Elf_Addr)(startp + ef->progtab[i].size); in link_elf_fix_link_set() 1844 sym->st_value = start ? startp : stopp; in link_elf_fix_link_set()
|
| /freebsd/sys/vm/ |
| H A D | vm_page.c | 576 vm_paddr_t last_pa, pa, startp, endp; in vm_page_startup() local 800 startp = seg->start; in vm_page_startup() 802 if (startp >= seg->end) in vm_page_startup() 804 if (phys_avail[i + 1] < startp) in vm_page_startup() 806 if (phys_avail[i] <= startp) { in vm_page_startup() 807 startp = phys_avail[i + 1]; in vm_page_startup() 810 m = vm_phys_seg_paddr_to_vm_page(seg, startp); in vm_page_startup() 812 startp < endp; startp += PAGE_SIZE, m++) { in vm_page_startup() 813 vm_page_init_page(m, startp, segind, in vm_page_startup() 827 startp = MAX(seg->start, phys_avail[i]); in vm_page_startup() [all …]
|
| /freebsd/crypto/heimdal/lib/asn1/ |
| H A D | template.c | 158 const unsigned char *startp = NULL; in _asn1_decode() 165 startp = p; in _asn1_decode() 429 if (startp) { in _asn1_decode() 437 memcpy(save->data, startp, oldlen); in _asn1_decode() 156 const unsigned char *startp = NULL; _asn1_decode() local
|
| /freebsd/sys/dev/puc/ |
| H A D | puc.c | 560 rman_res_t *startp, rman_res_t *countp) in puc_bus_get_resource() argument 586 if (startp != NULL) in puc_bus_get_resource() 587 *startp = start; in puc_bus_get_resource()
|
| /freebsd/crypto/openssh/ |
| H A D | scp.c | 785 find_brace(const char *pattern, int *startp, int *endp) in find_brace() argument 790 *startp = *endp = -1; in find_brace() 813 if (*startp == -1) in find_brace() 814 *startp = i; in find_brace() 820 if (*startp < 0) { in find_brace() 830 if (*endp < 0 && (*startp >= 0 || in_bracket)) in find_brace()
|