Home
last modified time | relevance | path

Searched refs:fmtp (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/tcp_wrappers/
H A Dvfprintf.c26 register char *fmtp; in vfprintf() local
53 fmtp = fmt; in vfprintf()
54 *fmtp++ = *cp++; in vfprintf()
56 *fmtp++ = *cp++; in vfprintf()
58 *fmtp++ = *cp++; in vfprintf()
60 sprintf(fmtp, "%d", va_arg(ap, int)); in vfprintf()
61 fmtp += strlen(fmtp); in vfprintf()
65 *fmtp++ = *cp++; in vfprintf()
68 *fmtp++ = *cp++; in vfprintf()
70 sprintf(fmtp, "%d", va_arg(ap, int)); in vfprintf()
[all …]
/freebsd/usr.bin/lam/
H A Dlam.c111 char *fmtp = fmtbuf; in getargs() local
162 fmtp += strlen(fmtp) + 1; in getargs()
163 if (fmtp >= fmtbuf + sizeof(fmtbuf)) in getargs()
168 if (snprintf(fmtp, fmtbuf + sizeof(fmtbuf) - fmtp, "%%%ss", p) in getargs()
169 >= fmtbuf + sizeof(fmtbuf) - fmtp) in getargs()
171 ip->format = fmtp; in getargs()
/freebsd/usr.bin/hexdump/
H A Dparse.c205 unsigned char *p1, *p2, *fmtp; in rewrite() local
217 for (nconv = 0, fmtp = fu->fmt; *fmtp; nextpr = &pr->nextpr) { in rewrite()
223 for (p1 = fmtp; *p1 && *p1 != '%'; ++p1); in rewrite()
227 pr->fmt = fmtp; in rewrite()
397 if (asprintf(&pr->fmt, "%s%s", fmtp, cs) == -1) in rewrite()
400 pr->cchar = pr->fmt + (p1 - fmtp); in rewrite()
401 fmtp = p2; in rewrite()
/freebsd/lib/libc/stdio/
H A Dprintf-pos.c188 addaster(struct typetable *types, char **fmtp) in addaster() argument
194 cp = *fmtp; in addaster()
205 *fmtp = ++cp; in addaster()
214 addwaster(struct typetable *types, wchar_t **fmtp) in addwaster() argument
220 cp = *fmtp; in addwaster()
231 *fmtp = ++cp; in addwaster()