| /freebsd-12.1/lib/libc/resolv/ |
| H A D | res_mkupdate.c | 224 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-12.1/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-12.1/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-12.1/contrib/gcclibs/libiberty/ |
| H A D | make-relative-prefix.c | 242 char *startp, *endp, *nstore; in make_relative_prefix() local 249 startp = endp = temp; in make_relative_prefix() 254 if (endp == startp) in make_relative_prefix() 262 strncpy (nstore, startp, endp - startp); in make_relative_prefix() 265 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix() 266 nstore[endp - startp + 1] = 0; in make_relative_prefix() 269 nstore[endp - startp] = 0; in make_relative_prefix() 284 endp = startp = endp + 1; in make_relative_prefix()
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | make-relative-prefix.c | 242 char *startp, *endp, *nstore; in make_relative_prefix_1() local 249 startp = endp = temp; in make_relative_prefix_1() 254 if (endp == startp) in make_relative_prefix_1() 262 strncpy (nstore, startp, endp - startp); in make_relative_prefix_1() 265 nstore[endp - startp] = DIR_SEPARATOR; in make_relative_prefix_1() 266 nstore[endp - startp + 1] = 0; in make_relative_prefix_1() 269 nstore[endp - startp] = 0; in make_relative_prefix_1() 284 endp = startp = endp + 1; in make_relative_prefix_1()
|
| /freebsd-12.1/bin/sh/ |
| H A D | expand.c | 367 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-12.1/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-12.1/sys/dev/sfxge/common/ |
| H A D | efx_lic.c | 49 __out uint32_t *startp 69 __out uint32_t *startp, 233 __out uint32_t *startp 253 __out uint32_t *startp, 465 __out uint32_t *startp in efx_lic_v1v2_find_start() argument 470 *startp = 0; in efx_lic_v1v2_find_start() 497 __out uint32_t *startp, in efx_lic_v1v2_find_key() argument 516 *startp = offset; in efx_lic_v1v2_find_key() 1102 __out uint32_t *startp in efx_lic_v3_find_start() argument 1503 __out uint32_t *startp in efx_lic_find_start() argument [all …]
|
| /freebsd-12.1/usr.sbin/kldxref/ |
| H A D | ef.h | 32 #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 D | ef.c | 104 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 D | ef_obj.c | 121 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-12.1/contrib/nvi/vi/ |
| H A D | v_ch.c | 143 CHAR_T *endp, *p, *startp; in v_chf() local 166 endp = (startp = p) + len; in v_chf() 176 vp->m_stop.cno = p - startp; in v_chf()
|
| /freebsd-12.1/sys/netgraph/ |
| 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() 1733 while (isspace(s[*startp])) in ng_get_string_token() 1734 (*startp)++; in ng_get_string_token() 1735 start = *startp; in ng_get_string_token() [all …]
|
| H A D | ng_parse.h | 517 int *startp, int *lenp); 528 extern char *ng_get_string_token(const char *s, int *startp,
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_diff/ |
| H A D | diff_memory.c | 223 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-12.1/contrib/gcc/ |
| H A D | gcc.c | 3457 startp = endp = temp; in process_command() 3462 strncpy (nstore, startp, endp - startp); in process_command() 3463 if (endp == startp) in process_command() 3471 nstore[endp - startp] = 0; in process_command() 3491 startp = endp = temp; in process_command() 3496 strncpy (nstore, startp, endp - startp); in process_command() 3497 if (endp == startp) in process_command() 3505 nstore[endp - startp] = 0; in process_command() 3524 startp = endp = temp; in process_command() 3529 strncpy (nstore, startp, endp - startp); in process_command() [all …]
|
| H A D | collect2.c | 696 const char *startp, *endp; in prefix_from_string() local 702 startp = endp = p; in prefix_from_string() 707 strncpy (nstore, startp, endp-startp); in prefix_from_string() 708 if (endp == startp) in prefix_from_string() 714 nstore[endp-startp] = DIR_SEPARATOR; in prefix_from_string() 715 nstore[endp-startp+1] = 0; in prefix_from_string() 718 nstore[endp-startp] = 0; in prefix_from_string() 726 endp = startp = endp + 1; in prefix_from_string()
|
| /freebsd-12.1/bin/pax/ |
| H A D | pat_rep.c | 913 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-12.1/sys/dev/quicc/ |
| H A D | quicc_core.c | 289 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-12.1/stand/common/ |
| H A D | load_elf_obj.c | 68 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp); 438 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) in __elfN() 457 *startp = shdr[i].sh_addr; in __elfN() 459 *countp = (*stopp - *startp) / sizeof(Elf_Addr); in __elfN()
|
| /freebsd-12.1/contrib/less/ |
| H A D | regexp.h | 13 char *startp[NSUBEXP]; member
|
| /freebsd-12.1/sys/kern/ |
| H A D | link_elf_obj.c | 1298 void ***startp, void ***stopp, int *countp) in link_elf_lookup_set() argument 1312 if (startp) in link_elf_lookup_set() 1313 *startp = start; in link_elf_lookup_set() 1471 Elf_Addr startp, stopp; in link_elf_fix_link_set() local 1475 startp = stopp = 0; in link_elf_fix_link_set() 1496 startp = (Elf_Addr)ef->progtab[i].addr; in link_elf_fix_link_set() 1497 stopp = (Elf_Addr)(startp + ef->progtab[i].size); in link_elf_fix_link_set() 1504 sym->st_value = start ? startp : stopp; in link_elf_fix_link_set()
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | nexus.c | 377 rman_res_t *startp, rman_res_t *countp) in nexus_get_resource() argument 386 if (startp) in nexus_get_resource() 387 *startp = rle->start; in nexus_get_resource()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | scp.c | 648 find_brace(const char *pattern, int *startp, int *endp) in find_brace() argument 653 *startp = *endp = -1; in find_brace() 676 if (*startp == -1) in find_brace() 677 *startp = i; in find_brace() 683 if (*startp < 0) { in find_brace() 693 if (*endp < 0 && (*startp >= 0 || in_bracket)) in find_brace()
|
| /freebsd-12.1/sys/dev/scc/ |
| H A D | scc_core.c | 436 rman_res_t *startp, rman_res_t *countp) in scc_bus_get_resource() argument 451 if (startp != NULL) in scc_bus_get_resource() 452 *startp = rle->start; in scc_bus_get_resource()
|