Lines Matching full:p
18 static int sprintf_out(int c, struct emitter *p) in sprintf_out() argument
20 if (p->len > 1) { /* need to reserve a byte for EOS */ in sprintf_out()
21 *(p->ptr) = c; in sprintf_out()
22 p->ptr += 1; in sprintf_out()
23 p->len -= 1; in sprintf_out()
33 struct emitter p; in snprintf() local
41 p.ptr = str; in snprintf()
42 p.len = (int) len; in snprintf()
45 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in snprintf()
48 *(p.ptr) = 0; in snprintf()
56 struct emitter p; in sprintf() local
59 p.ptr = str; in sprintf()
60 p.len = (int) 0x7fffffff; /* allow up to "maxint" characters */ in sprintf()
63 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in sprintf()
66 *(p.ptr) = 0; in sprintf()
73 struct emitter p; in vsnprintf() local
81 p.ptr = str; in vsnprintf()
82 p.len = (int) len; in vsnprintf()
84 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in vsnprintf()
86 *(p.ptr) = 0; in vsnprintf()
93 struct emitter p; in vsprintf() local
96 p.ptr = str; in vsprintf()
97 p.len = (int) 0x7fffffff; /* allow up to "maxint" characters */ in vsprintf()
99 r = cbvprintf(sprintf_out, (void *) (&p), format, vargs); in vsprintf()
101 *(p.ptr) = 0; in vsprintf()