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

12

/freebsd-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_ar.c534 const char *endp, *startp; local
545 startp = endp;
546 while (startp > path && *(startp - 1) != '/')
547 startp--;
549 return (startp);
/freebsd-9.3-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.c1674 * Find the next token in the string, starting at offset *startp.
1675 * Returns the token type, with *startp pointing to the first char
1679 ng_parse_get_token(const char *s, int *startp, int *lenp) argument
1684 while (isspace(s[*startp]))
1685 (*startp)++;
1686 switch (s[*startp]) {
1706 if ((t = ng_get_string_token(s, startp, lenp, NULL)) == NULL)
1711 for (i = *startp + 1; s[i] != '\0' && !isspace(s[i])
1715 *lenp = i - *startp;
1725 ng_get_string_token(const char *s, int *startp, in argument
[all...]
/freebsd-9.3-release/bin/sh/
H A Dexpand.c314 char c, *startp = p; local
328 return (startp);
341 if (*(startp+1) == '\0') {
345 if ((pw = getpwnam(startp+1)) == NULL)
359 return (startp);
543 char *startp; local
555 startp = stackblock() + startloc;
561 setvar(str, startp, 0);
562 amount = startp - expdest;
569 outfmt(out2, "%s\n", startp);
[all...]
/freebsd-9.3-release/contrib/groff/src/include/
H A Dsearch.h55 const char **startp, int *lengthp) const;
/freebsd-9.3-release/contrib/nvi/vi/
H A Dv_ch.c150 char *endp, *p, *startp; local
173 endp = (startp = p) + len;
183 vp->m_stop.cno = p - startp;
/freebsd-9.3-release/sys/ia64/ia64/
H A Dnexus.c449 nexus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument
456 device_printf(child, "type %d rid %d startp %p countp %p - got %p\n",
457 type, rid, startp, countp, rle);
460 if (startp)
461 *startp = rle->start;
/freebsd-9.3-release/sys/mips/nlm/
H A Dxlp_pci.c465 assign_soc_resource(device_t child, int type, u_long *startp, u_long *endp, argument
479 *startp = *endp = PIC_UART_0_IRQ + inst;
484 *startp = MIPS_KSEG1_TO_PHYS(va);
495 *startp = *endp = PIC_EHCI_0_IRQ;
497 *startp = *endp = PIC_EHCI_1_IRQ;
/freebsd-9.3-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-9.3-release/sys/mips/mips/
H A Dnexus.c434 u_long *startp, u_long *countp)
443 if (startp)
444 *startp = rle->start;
433 nexus_get_resource(device_t dev, device_t child, int type, int rid, u_long *startp, u_long *countp) argument
/freebsd-9.3-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-9.3-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-9.3-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-9.3-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 401 milliseconds

12