Lines Matching refs:strpool
758 struct rk_strpool *strpool = NULL; in hx509_name_expand() local
766 strpool = rk_strpoolprintf(strpool, "%.*s", in hx509_name_expand()
769 if (strpool == NULL) { in hx509_name_expand()
780 rk_strpoolfree(strpool); in hx509_name_expand()
789 rk_strpoolfree(strpool); in hx509_name_expand()
792 strpool = rk_strpoolprintf(strpool, "%s", value); in hx509_name_expand()
793 if (strpool == NULL) { in hx509_name_expand()
801 strpool = rk_strpoolprintf(strpool, "%.*s", in hx509_name_expand()
804 strpool = rk_strpoolprintf(strpool, "%s", p2); in hx509_name_expand()
805 if (strpool == NULL) { in hx509_name_expand()
810 if (strpool) { in hx509_name_expand()
812 ds->u.utf8String = rk_strpoolcollect(strpool); in hx509_name_expand()
940 struct rk_strpool *strpool = NULL; in hx509_general_name_unparse() local
951 strpool = rk_strpoolprintf(strpool, "otherName: %s", oid); in hx509_general_name_unparse()
956 strpool = rk_strpoolprintf(strpool, "rfc822Name: %.*s\n", in hx509_general_name_unparse()
961 strpool = rk_strpoolprintf(strpool, "dNSName: %.*s\n", in hx509_general_name_unparse()
974 strpool = rk_strpoolprintf(strpool, "directoryName: %s", s); in hx509_general_name_unparse()
979 strpool = rk_strpoolprintf(strpool, "URI: %.*s", in hx509_general_name_unparse()
986 strpool = rk_strpoolprintf(strpool, "IPAddress: "); in hx509_general_name_unparse()
987 if (strpool == NULL) in hx509_general_name_unparse()
990 strpool = rk_strpoolprintf(strpool, "%d.%d.%d.%d", in hx509_general_name_unparse()
993 strpool = rk_strpoolprintf(strpool, in hx509_general_name_unparse()
1003 strpool = rk_strpoolprintf(strpool, in hx509_general_name_unparse()
1013 strpool = rk_strpoolprintf(strpool, "registeredID: %s", oid); in hx509_general_name_unparse()
1021 rk_strpoolfree(strpool); in hx509_general_name_unparse()
1022 else if (strpool == NULL || (*str = rk_strpoolcollect(strpool)) == NULL) in hx509_general_name_unparse()