Lines Matching refs:buffer

40 static int _dopr(char **sbuffer, char **buffer,
88 char **buffer, in _dopr() argument
111 if (ch == '\0' || (buffer == NULL && currlen >= *maxlen)) in _dopr()
119 if (!doapr_outch(sbuffer, buffer, &currlen, maxlen, ch)) in _dopr()
234 if (!fmtint(sbuffer, buffer, &currlen, maxlen, value, 10, min, in _dopr()
262 if (!fmtint(sbuffer, buffer, &currlen, maxlen, value, in _dopr()
273 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
285 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
297 if (!fmtfp(sbuffer, buffer, &currlen, maxlen, fvalue, min, max, in _dopr()
312 if (!doapr_outch(sbuffer, buffer, &currlen, maxlen, in _dopr()
319 if (buffer) in _dopr()
324 if (!fmtstr(sbuffer, buffer, &currlen, maxlen, strvalue, in _dopr()
330 if (!fmtint(sbuffer, buffer, &currlen, maxlen, in _dopr()
342 if (!doapr_outch(sbuffer, buffer, &currlen, maxlen, ch)) in _dopr()
368 if (buffer == NULL) { in _dopr()
373 if (!doapr_outch(sbuffer, buffer, &currlen, maxlen, '\0')) in _dopr()
381 char **buffer, in fmtstr() argument
411 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ' ')) in fmtstr()
417 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, *value++)) in fmtstr()
423 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ' ')) in fmtstr()
433 char **buffer, in fmtint() argument
491 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ' ')) in fmtint()
498 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, signvalue)) in fmtint()
503 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, *prefix)) in fmtint()
511 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, '0')) in fmtint()
518 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, convert[--place])) in fmtint()
524 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ' ')) in fmtint()
563 char **buffer, in fmtfp() argument
641 (void)doapr_outch(sbuffer, buffer, currlen, maxlen, '\0'); in fmtfp()
663 (void)doapr_outch(sbuffer, buffer, currlen, maxlen, '\0'); in fmtfp()
726 (void)doapr_outch(sbuffer, buffer, currlen, maxlen, '\0'); in fmtfp()
752 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, signvalue)) in fmtfp()
758 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, '0')) in fmtfp()
764 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ' ')) in fmtfp()
768 if (signvalue && !doapr_outch(sbuffer, buffer, currlen, maxlen, signvalue)) in fmtfp()
772 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, iconvert[--iplace])) in fmtfp()
781 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, '.')) in fmtfp()
785 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, in fmtfp()
791 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, '0')) in fmtfp()
802 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ech)) in fmtfp()
805 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, '-')) in fmtfp()
808 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, '+')) in fmtfp()
812 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, in fmtfp()
819 if (!doapr_outch(sbuffer, buffer, currlen, maxlen, ' ')) in fmtfp()
832 char **buffer, size_t *currlen, size_t *maxlen, int c) in doapr_outch() argument
835 if (!ossl_assert(*sbuffer != NULL || buffer != NULL)) in doapr_outch()
842 if (buffer && *currlen == *maxlen) { in doapr_outch()
847 if (*buffer == NULL) { in doapr_outch()
848 if ((*buffer = OPENSSL_malloc(*maxlen)) == NULL) in doapr_outch()
853 memcpy(*buffer, *sbuffer, *currlen); in doapr_outch()
859 tmpbuf = OPENSSL_realloc(*buffer, *maxlen); in doapr_outch()
862 *buffer = tmpbuf; in doapr_outch()
870 (*buffer)[(*currlen)++] = (char)c; in doapr_outch()