Lines Matching refs:needed
605 static void put_char(char ch, char **buf, size_t *remain, size_t *needed) in put_char() argument
608 ++*needed; in put_char()
616 ++*needed; in put_char()
620 static void put_str(const char *str, char **buf, size_t *remain, size_t *needed) in put_str() argument
627 *needed += len; in put_str()
646 *needed += 2 * quotes; in put_str()
651 put_char(quote, buf, remain, needed); in put_str()
663 put_char(quote, buf, remain, needed); in put_str()
672 static void put_num(int64_t val, char **buf, size_t *remain, size_t *needed) in put_num() argument
683 *needed += len; in put_num()
704 size_t needed = 0; in ossl_property_list_to_string() local
719 if (needed > 0) in ossl_property_list_to_string()
720 put_char(',', &buf, &bufsize, &needed); in ossl_property_list_to_string()
723 put_char('?', &buf, &bufsize, &needed); in ossl_property_list_to_string()
725 put_char('-', &buf, &bufsize, &needed); in ossl_property_list_to_string()
730 put_str(val, &buf, &bufsize, &needed); in ossl_property_list_to_string()
734 put_char('!', &buf, &bufsize, &needed); in ossl_property_list_to_string()
737 put_char('=', &buf, &bufsize, &needed); in ossl_property_list_to_string()
744 put_str(val, &buf, &bufsize, &needed); in ossl_property_list_to_string()
748 put_num(prop->v.int_val, &buf, &bufsize, &needed); in ossl_property_list_to_string()
761 put_char('\0', &buf, &bufsize, &needed); in ossl_property_list_to_string()
762 return needed; in ossl_property_list_to_string()