Lines Matching refs:remain
605 static void put_char(char ch, char **buf, size_t *remain, size_t *needed) in put_char() argument
607 if (*remain == 0) { in put_char()
611 if (*remain == 1) in put_char()
617 --*remain; in put_char()
620 static void put_str(const char *str, char **buf, size_t *remain, size_t *needed) in put_str() argument
645 if (*remain == 0) { in put_str()
651 put_char(quote, buf, remain, needed); in put_str()
653 if (*remain < len + 1 + quotes) in put_str()
654 len = *remain - 1; in put_str()
659 *remain -= len; in put_str()
663 put_char(quote, buf, remain, needed); in put_str()
665 if (len < olen && *remain == 1) { in put_str()
668 --*remain; in put_str()
672 static void put_num(int64_t val, char **buf, size_t *remain, size_t *needed) in put_num() argument
685 if (*remain == 0) in put_num()
688 BIO_snprintf(*buf, *remain, "%lld", (long long int)val); in put_num()
689 if (*remain < len) { in put_num()
690 *buf += *remain; in put_num()
691 *remain = 0; in put_num()
694 *remain -= len; in put_num()