Home
last modified time | relevance | path

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

12

/freebsd/lib/libc/resolv/
H A Dres_mkupdate.c93 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 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/lib/libc/gen/
H A Dbasename_compat.c31 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 Dexpand.c359 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 Darchive_write_set_format_ar.c553 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 Defx_lic.c50 __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 Defx_bootcfg.c412 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 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/sys/netgraph/
H A Dng_parse.h515 int *startp, int *lenp);
526 extern char *ng_get_string_token(const char *s, int *startp,
H A Dng_parse.c1681 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 Dkldelf.h49 #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 Def_obj.c102 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 Def.c82 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 Dregexp.h13 char *startp[NSUBEXP]; member
H A Dregexp.c808 regstartp = prog->startp;
811 sp = prog->startp;
818 prog->startp[0] = string;
/freebsd/sys/dev/quicc/
H A Dquicc_core.c285 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 Dload_elf_obj.c73 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 Dseg.c223 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 Dscc_core.c434 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 Dlink_elf_obj.c1597 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 Dtemplate.c158 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 Dpuc.c563 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 Dvm_page.c562 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 Dscp.c782 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 Dacpi_pcib_acpi.c276 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()

12