/freebsd/lib/libc/resolv/ |
H A D | res_mkupdate.c | 93 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local 218 startp = rrecp->r_data; in res_nmkupdate() 219 endp = startp + rrecp->r_size - 1; in res_nmkupdate() 223 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 238 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 250 if (!getword_str(buf2, sizeof buf2, &startp, in res_nmkupdate() 262 while (isspace(*startp) || !*startp) in res_nmkupdate() 263 startp++; in res_nmkupdate() 264 if (*startp == '(') { in res_nmkupdate() 266 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/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 | 1681 ng_parse_get_token(const char *s, int *startp, int *lenp) in ng_parse_get_token() argument 1686 while (isspace(s[*startp])) in ng_parse_get_token() 1687 (*startp)++; in ng_parse_get_token() 1688 switch (s[*startp]) { in ng_parse_get_token() 1708 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL) in ng_parse_get_token() 1713 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i]) in ng_parse_get_token() 1717 *lenp = i - *startp; in ng_parse_get_token() 1727 ng_get_string_token(const char *s, int *startp, int *lenp, int *slenp) in ng_get_string_token() argument 1733 while (isspace(s[*startp])) in ng_get_string_token() 1734 (*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 char *startp[NSUBEXP]; member
|
H A D | regexp.c | 808 regstartp = prog->startp; 811 sp = prog->startp; 818 prog->startp[0] = string;
|
/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 | 73 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp); 470 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) in __elfN() 489 *startp = shdr[i].sh_addr; in __elfN() 491 *countp = (*stopp - *startp) / sizeof(Elf_Addr); in __elfN()
|
/freebsd/stand/kboot/kboot/ |
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 | 434 rman_res_t *startp, rman_res_t *countp) in scc_bus_get_resource() argument 449 if (startp != NULL) in scc_bus_get_resource() 450 *startp = rle->start; in scc_bus_get_resource()
|
/freebsd/sys/kern/ |
H A D | link_elf_obj.c | 1597 void ***startp, void ***stopp, int *countp) in link_elf_lookup_set() argument 1611 if (startp) in link_elf_lookup_set() 1612 *startp = start; in link_elf_lookup_set() 1769 Elf_Addr startp, stopp; in link_elf_fix_link_set() local 1773 startp = stopp = 0; in link_elf_fix_link_set() 1794 startp = (Elf_Addr)ef->progtab[i].addr; in link_elf_fix_link_set() 1795 stopp = (Elf_Addr)(startp + ef->progtab[i].size); in link_elf_fix_link_set() 1802 sym->st_value = start ? startp : stopp; in link_elf_fix_link_set()
|
/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 | 563 rman_res_t *startp, rman_res_t *countp) in puc_bus_get_resource() argument 589 if (startp != NULL) in puc_bus_get_resource() 590 *startp = start; in puc_bus_get_resource()
|
/freebsd/sys/vm/ |
H A D | vm_page.c | 562 vm_paddr_t last_pa, pa, startp, endp; in vm_page_startup() local 796 startp = seg->start; in vm_page_startup() 798 if (startp >= seg->end) in vm_page_startup() 801 if (phys_avail[i + 1] < startp) in vm_page_startup() 803 if (phys_avail[i] <= startp) { in vm_page_startup() 804 startp = phys_avail[i + 1]; in vm_page_startup() 808 m = vm_phys_seg_paddr_to_vm_page(seg, startp); in vm_page_startup() 810 startp < endp; startp += PAGE_SIZE, m++) { in vm_page_startup() 811 vm_page_init_page(m, startp, segind, in vm_page_startup() 832 startp = MAX(seg->start, phys_avail[i]); in vm_page_startup() [all …]
|
/freebsd/crypto/openssh/ |
H A D | scp.c | 782 find_brace(const char *pattern, int *startp, int *endp) in find_brace() argument 787 *startp = *endp = -1; in find_brace() 810 if (*startp == -1) in find_brace() 811 *startp = i; in find_brace() 817 if (*startp < 0) { in find_brace() 827 if (*endp < 0 && (*startp >= 0 || in_bracket)) in find_brace()
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pcib_acpi.c | 276 get_decoded_bus_range(struct acpi_hpcib_softc *sc, rman_res_t *startp, in get_decoded_bus_range() argument 284 *startp = rle->start; in get_decoded_bus_range()
|