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

12

/freebsd-10.0-release/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-10.0-release/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-10.0-release/lib/libc/resolv/
H A Dres_mkupdate.c96 u_char *cp, *sp2, *startp, *endp; local
220 startp = rrecp->r_data;
221 endp = startp + rrecp->r_size - 1;
225 if (!getword_str(buf2, sizeof buf2, &startp, endp))
240 if (!getword_str(buf2, sizeof buf2, &startp, endp))
252 if (!getword_str(buf2, sizeof buf2, &startp,
264 while (isspace(*startp) || !*startp)
265 startp++;
266 if (*startp
[all...]
/freebsd-10.0-release/contrib/less/
H A Dregexp.h13 char *startp[NSUBEXP]; member in struct:regexp
H A Dregexp.c703 static char **regstartp; /* Pointer to startp array. */
805 regstartp = prog->startp;
808 sp = prog->startp;
815 prog->startp[0] = string;
910 * Don't set startp if some later
/freebsd-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/usr.sbin/kldxref/
H A Def.h30 #define EF_LOOKUP_SET(ef, name, startp, stopp, countp) \
31 (ef)->ef_ops->lookup_set((ef)->ef_ef, name, startp, stopp, countp)
52 int (*lookup_set)(elf_file_t ef, const char *name, long *startp,
H A Def.c95 static int ef_lookup_set(elf_file_t ef, const char *name, long *startp,
213 ef_lookup_set(elf_file_t ef, const char *name, long *startp, long *stopp, argument
230 *startp = sym->st_value;
240 *countp = (*stopp - *startp) / sizeof(void *);
H A Def_obj.c116 static int ef_obj_lookup_set(elf_file_t ef, const char *name, long *startp,
159 ef_obj_lookup_set(elf_file_t ef, const char *name, long *startp, long *stopp, argument
167 *startp = (char *)ef->progtab[i].addr - ef->address;
170 *countp = (*stopp - *startp) / sizeof(void *);
/freebsd-10.0-release/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-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_ar.c548 const char *endp, *startp; local
559 startp = endp;
560 while (startp > path && *(startp - 1) != '/')
561 startp--;
563 return (startp);
/freebsd-10.0-release/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.c1676 * Find the next token in the string, starting at offset *startp.
1677 * Returns the token type, with *startp pointing to the first char
1681 ng_parse_get_token(const char *s, int *startp, int *lenp) argument
1686 while (isspace(s[*startp]))
1687 (*startp)++;
1688 switch (s[*startp]) {
1708 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL)
1713 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i])
1717 *lenp = i - *startp;
1727 ng_get_string_token(const char *s, int *startp, in argument
[all...]
/freebsd-10.0-release/bin/sh/
H A Dexpand.c301 char c, *startp = p; local
315 return (startp);
328 if (*(startp+1) == '\0') {
332 if ((pw = getpwnam(startp+1)) == NULL)
346 return (startp);
530 char *startp; local
542 startp = stackblock() + startloc;
548 setvar(str, startp, 0);
549 amount = startp - expdest;
556 outfmt(out2, "%s\n", startp);
[all...]
/freebsd-10.0-release/contrib/groff/src/include/
H A Dsearch.h55 const char **startp, int *lengthp) const;
/freebsd-10.0-release/sys/ia64/ia64/
H A Dnexus.c440 nexus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument
447 device_printf(child, "type %d rid %d startp %p countp %p - got %p\n",
448 type, rid, startp, countp, rle);
451 if (startp)
452 *startp = rle->start;
/freebsd-10.0-release/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-10.0-release/sys/dev/quicc/
H A Dquicc_core.c287 u_long *startp, u_long *countp)
300 if (startp != NULL)
301 *startp = rle->start;
286 quicc_bus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument
/freebsd-10.0-release/sys/mips/mips/
H A Dnexus.c437 u_long *startp, u_long *countp)
446 if (startp)
447 *startp = rle->start;
436 nexus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument
/freebsd-10.0-release/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-10.0-release/bin/pax/
H A Dpat_rep.c913 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-10.0-release/sys/boot/common/
H A Dload_elf_obj.c68 const char *name, Elf_Addr *startp, Elf_Addr *stopp, int *countp);
430 const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp)
449 *startp = shdr[i].sh_addr;
451 *countp = (*stopp - *startp) / sizeof(Elf_Addr);
429 obj_lookup_set(struct preloaded_file *fp, elf_file_t ef, const char* name, Elf_Addr *startp, Elf_Addr *stopp, int *countp) argument
/freebsd-10.0-release/sys/dev/scc/
H A Dscc_core.c434 u_long *startp, u_long *countp)
449 if (startp != NULL)
450 *startp = rle->start;
433 scc_bus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument

Completed in 232 milliseconds

12