| /freebsd-12-stable/lib/libc/resolv/ |
| D | res_mkupdate.c | 99 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local 224 startp = rrecp->r_data; in res_nmkupdate() 225 endp = startp + rrecp->r_size - 1; in res_nmkupdate() 229 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 244 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate() 256 if (!getword_str(buf2, sizeof buf2, &startp, 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() [all …]
|
| /freebsd-12-stable/crypto/openssh/openbsd-compat/ |
| 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-stable/lib/libc/gen/ |
| 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-stable/contrib/gcclibs/libiberty/ |
| 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-stable/contrib/binutils/libiberty/ |
| 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-stable/bin/sh/ |
| D | expand.c | 367 const char *startp = p; in exptilde() local 383 return (startp); in exptilde() 391 len = p - startp - 1; in exptilde() 392 STPUTBIN(startp + 1, len, expdest); in exptilde() 403 return (startp); in exptilde() 538 recordleft(const char *str, const char *loc, char *startp) in recordleft() argument 542 amount = ((str - 1) - (loc - startp)) - expdest; in recordleft() 545 *startp++ = *loc++; in recordleft() 552 char *startp; in subevalvar_trim() local 560 startp = stackblock() + startloc; in subevalvar_trim() [all …]
|
| /freebsd-12-stable/contrib/libarchive/libarchive/ |
| D | archive_write_set_format_ar.c | 554 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-12-stable/sys/dev/sfxge/common/ |
| 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 1107 return ef10_nvram_buffer_find_item_start(bufferp, buffer_size, startp); in efx_lic_v3_find_start() [all …]
|
| /freebsd-12-stable/usr.sbin/kldxref/ |
| 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,
|
| 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()
|
| 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-stable/contrib/nvi/vi/ |
| 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-12-stable/sys/netgraph/ |
| D | ng_parse.c | 1683 ng_parse_get_token(const char *s, int *startp, int *lenp) in ng_parse_get_token() argument 1688 while (isspace(s[*startp])) in ng_parse_get_token() 1689 (*startp)++; in ng_parse_get_token() 1690 switch (s[*startp]) { in ng_parse_get_token() 1710 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL) in ng_parse_get_token() 1715 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i]) in ng_parse_get_token() 1719 *lenp = i - *startp; in ng_parse_get_token() 1729 ng_get_string_token(const char *s, int *startp, int *lenp, int *slenp) in ng_get_string_token() argument 1735 while (isspace(s[*startp])) in ng_get_string_token() 1736 (*startp)++; in ng_get_string_token() [all …]
|
| D | ng_parse.h | 517 int *startp, int *lenp); 528 extern char *ng_get_string_token(const char *s, int *startp,
|
| /freebsd-12-stable/contrib/subversion/subversion/libsvn_diff/ |
| 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-stable/contrib/gcc/ |
| D | gcc.c | 3454 const char *startp, *endp; in process_command() local 3457 startp = endp = temp; in process_command() 3462 strncpy (nstore, startp, endp - startp); in process_command() 3463 if (endp == startp) in process_command() 3467 nstore[endp - startp] = DIR_SEPARATOR; in process_command() 3468 nstore[endp - startp + 1] = 0; in process_command() 3471 nstore[endp - startp] = 0; in process_command() 3478 endp = startp = endp + 1; in process_command() 3488 const char *startp, *endp; in process_command() local 3491 startp = endp = temp; in process_command() [all …]
|
| 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-stable/bin/pax/ |
| 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-stable/sys/dev/quicc/ |
| 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-stable/contrib/less/ |
| D | regexp.h | 13 char *startp[NSUBEXP]; member
|
| D | regexp.c | 808 regstartp = prog->startp; 811 sp = prog->startp; 818 prog->startp[0] = string;
|
| /freebsd-12-stable/stand/common/ |
| D | load_elf_obj.c | 77 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-12-stable/sys/mips/mips/ |
| 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-stable/sys/kern/ |
| D | link_elf_obj.c | 1432 void ***startp, void ***stopp, int *countp) in link_elf_lookup_set() argument 1446 if (startp) in link_elf_lookup_set() 1447 *startp = start; in link_elf_lookup_set() 1605 Elf_Addr startp, stopp; in link_elf_fix_link_set() local 1609 startp = stopp = 0; in link_elf_fix_link_set() 1630 startp = (Elf_Addr)ef->progtab[i].addr; in link_elf_fix_link_set() 1631 stopp = (Elf_Addr)(startp + ef->progtab[i].size); in link_elf_fix_link_set() 1638 sym->st_value = start ? startp : stopp; in link_elf_fix_link_set()
|
| /freebsd-12-stable/sys/dev/scc/ |
| 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()
|