Searched refs:startp (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbasename.c31 const char *endp, *startp; local
53 startp = endp;
54 while (startp > path && *(startp - 1) != '/')
55 startp--;
57 len = endp - startp + 1;
62 memcpy(bname, startp, len);
/freebsd-11-stable/lib/libc/gen/
H A Dbasename.c31 const char *endp, *startp; local
54 startp = endp;
55 while (startp > path && *(startp - 1) != '/')
56 startp--;
58 len = endp - startp + 1;
63 memcpy(bname, startp, len);
/freebsd-11-stable/lib/libc/resolv/
H A Dres_mkupdate.c97 u_char *cp, *sp2, *startp, *endp; local
222 startp = rrecp->r_data;
223 endp = startp + rrecp->r_size - 1;
227 if (!getword_str(buf2, sizeof buf2, &startp, endp))
242 if (!getword_str(buf2, sizeof buf2, &startp, endp))
254 if (!getword_str(buf2, sizeof buf2, &startp,
266 while (isspace(*startp) || !*startp)
267 startp++;
268 if (*startp
[all...]
/freebsd-11-stable/contrib/less/
H A Dregexp.h13 char *startp[NSUBEXP]; member in struct:regexp
H A Dregexp.c706 static char **regstartp; /* Pointer to startp array. */
808 regstartp = prog->startp;
811 sp = prog->startp;
818 prog->startp[0] = string;
913 * Don't set startp if some later
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dmake-relative-prefix.c242 char *startp, *endp, *nstore; local
249 startp = endp = temp;
254 if (endp == startp)
262 strncpy (nstore, startp, endp - startp);
265 nstore[endp - startp] = DIR_SEPARATOR;
266 nstore[endp - startp + 1] = 0;
269 nstore[endp - startp] = 0;
284 endp = startp = endp + 1;
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dmake-relative-prefix.c242 char *startp, *endp, *nstore; local
249 startp = endp = temp;
254 if (endp == startp)
262 strncpy (nstore, startp, endp - startp);
265 nstore[endp - startp] = DIR_SEPARATOR;
266 nstore[endp - startp + 1] = 0;
269 nstore[endp - startp] = 0;
284 endp = startp = endp + 1;
/freebsd-11-stable/bin/sh/
H A Dexpand.c359 const char *startp = p; local
375 return (startp);
383 len = p - startp - 1;
384 STPUTBIN(startp + 1, len, expdest);
395 return (startp);
532 recordleft(const char *str, const char *loc, char *startp) argument
536 amount = ((str - 1) - (loc - startp)) - expdest;
539 *startp++ = *loc++;
545 char *startp; local
555 startp
620 char *startp; local
894 char *startp; local
[all...]
/freebsd-11-stable/contrib/nvi/vi/
H A Dv_ch.c143 CHAR_T *endp, *p, *startp; local
166 endp = (startp = p) + len;
176 vp->m_stop.cno = p - startp;
/freebsd-11-stable/usr.sbin/kldxref/
H A Def.h32 #define EF_LOOKUP_SET(ef, name, startp, stopp, countp) \
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 Def.c98 static int ef_lookup_set(elf_file_t ef, const char *name, long *startp,
217 ef_lookup_set(elf_file_t ef, const char *name, long *startp, long *stopp, argument
234 *startp = sym->st_value;
244 *countp = (*stopp - *startp) / sizeof(void *);
H A Def_obj.c118 static int ef_obj_lookup_set(elf_file_t ef, const char *name, long *startp,
162 ef_obj_lookup_set(elf_file_t ef, const char *name, long *startp, long *stopp, argument
170 *startp = (char *)ef->progtab[i].addr - ef->address;
173 *countp = (*stopp - *startp) / sizeof(void *);
/freebsd-11-stable/contrib/groff/src/libs/libbib/
H A Dlinear.cpp400 const char **startp, int *lengthp) const
418 *startp = refstart;
489 const char **startp, int *lengthp,
495 if (ptr < bufend && searcher.search(ptr, bufend, startp, lengthp)) {
496 pos = *startp + *lengthp - bufstart;
498 *ridp = reference_id(lsi->filename_id, *startp - bufstart);
399 search(const char *buffer, const char *bufend, const char **startp, int *lengthp) const argument
488 next(const linear_searcher &searcher, const char **startp, int *lengthp, reference_id *ridp) argument
/freebsd-11-stable/sys/netgraph/
H A Dng_parse.h511 * Parse a token: '*startp' is the offset to start looking. Upon
512 * successful return, '*startp' equals the beginning of the token
513 * and '*lenp' the length. If error, '*startp' points at the
517 int *startp, int *lenp);
528 extern char *ng_get_string_token(const char *s, int *startp,
H A Dng_parse.c1678 * Find the next token in the string, starting at offset *startp.
1679 * Returns the token type, with *startp pointing to the first char
1683 ng_parse_get_token(const char *s, int *startp, int *lenp) argument
1688 while (isspace(s[*startp]))
1689 (*startp)++;
1690 switch (s[*startp]) {
1710 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL)
1715 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i])
1719 *lenp = i - *startp;
1729 ng_get_string_token(const char *s, int *startp, in argument
[all...]
/freebsd-11-stable/contrib/groff/src/include/
H A Dsearch.h55 const char **startp, int *lengthp) const;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_ar.c554 const char *endp, *startp; local
565 startp = endp;
566 while (startp > path && *(startp - 1) != '/')
567 startp--;
569 return (startp);
/freebsd-11-stable/sys/dev/sfxge/common/
H A Defx_lic.c49 __out uint32_t *startp
69 __out uint32_t *startp,
233 __out uint32_t *startp
253 __out uint32_t *startp,
465 __out uint32_t *startp
470 *startp = 0;
497 __out uint32_t *startp,
516 *startp = offset;
1102 __out uint32_t *startp
1107 return ef10_nvram_buffer_find_item_start(bufferp, buffer_size, startp);
491 efx_lic_v1v2_find_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __out uint32_t *startp, __out uint32_t *lengthp ) argument
1126 efx_lic_v3_find_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __out uint32_t *startp, __out uint32_t *lengthp ) argument
1551 efx_lic_find_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __out uint32_t *startp, __out uint32_t *lengthp ) argument
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_diff/
H A Ddiff_memory.c223 const char *startp; local
229 for (startp = curp = text->data, endp = curp + text->len;
238 svn_string_ncreate(startp, curp - startp + 1, pool);
240 startp = curp + 1;
245 if (startp != endp)
248 svn_string_ncreate(startp, endp - startp, pool);
/freebsd-11-stable/contrib/gcc/
H A Dgcc.c3475 const char *startp, *endp;
3478 startp = endp = temp;
3483 strncpy (nstore, startp, endp - startp);
3484 if (endp == startp)
3488 nstore[endp - startp] = DIR_SEPARATOR; local
3489 nstore[endp - startp + 1] = 0;
3492 nstore[endp - startp] = 0;
3499 endp = startp = endp + 1;
3509 const char *startp, *end
3454 const char *startp, *endp; local
3521 const char *startp, *endp; local
[all...]
/freebsd-11-stable/sys/dev/quicc/
H A Dquicc_core.c287 rman_res_t *startp, rman_res_t *countp)
300 if (startp != NULL)
301 *startp = rle->start;
286 quicc_bus_get_resource(device_t dev, device_t child, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument
/freebsd-11-stable/bin/pax/
H A Dpat_rep.c911 rpt = pt->rcmp->startp[0];
1044 if ((prog->startp[no] == NULL) || (prog->endp[no] == NULL) ||
1045 ((len = prog->endp[no] - prog->startp[no]) <= 0))
1054 if (l_strncpy(dpt, prog->startp[no], len) != len)
/freebsd-11-stable/stand/common/
H A Dload_elf_obj.c68 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp);
431 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp)
450 *startp = shdr[i].sh_addr;
452 *countp = (*stopp - *startp) / sizeof(Elf_Addr);
430 obj_lookup_set(struct preloaded_file *fp, elf_file_t ef, const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) argument
/freebsd-11-stable/sys/dev/scc/
H A Dscc_core.c434 rman_res_t *startp, rman_res_t *countp)
449 if (startp != NULL)
450 *startp = rle->start;
433 scc_bus_get_resource(device_t dev, device_t child, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument
/freebsd-11-stable/sys/mips/mips/
H A Dnexus.c367 rman_res_t *startp, rman_res_t *countp)
376 if (startp)
377 *startp = rle->start;
366 nexus_get_resource(device_t dev, device_t child, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument

Completed in 194 milliseconds

12