Lines Matching refs:strpool

774 	    struct rk_strpool *strpool = NULL;  in hx509_name_expand()  local
782 strpool = rk_strpoolprintf(strpool, "%.*s", in hx509_name_expand()
785 if (strpool == NULL) { in hx509_name_expand()
796 rk_strpoolfree(strpool); in hx509_name_expand()
805 rk_strpoolfree(strpool); in hx509_name_expand()
808 strpool = rk_strpoolprintf(strpool, "%s", value); in hx509_name_expand()
809 if (strpool == NULL) { in hx509_name_expand()
817 strpool = rk_strpoolprintf(strpool, "%.*s", in hx509_name_expand()
820 strpool = rk_strpoolprintf(strpool, "%s", p2); in hx509_name_expand()
821 if (strpool == NULL) { in hx509_name_expand()
826 if (strpool) { in hx509_name_expand()
828 ds->u.utf8String = rk_strpoolcollect(strpool); in hx509_name_expand()
956 struct rk_strpool *strpool = NULL; in hx509_general_name_unparse() local
967 strpool = rk_strpoolprintf(strpool, "otherName: %s", oid); in hx509_general_name_unparse()
972 strpool = rk_strpoolprintf(strpool, "rfc822Name: %.*s\n", in hx509_general_name_unparse()
977 strpool = rk_strpoolprintf(strpool, "dNSName: %.*s\n", in hx509_general_name_unparse()
990 strpool = rk_strpoolprintf(strpool, "directoryName: %s", s); in hx509_general_name_unparse()
995 strpool = rk_strpoolprintf(strpool, "URI: %.*s", in hx509_general_name_unparse()
1002 strpool = rk_strpoolprintf(strpool, "IPAddress: "); in hx509_general_name_unparse()
1003 if (strpool == NULL) in hx509_general_name_unparse()
1006 strpool = rk_strpoolprintf(strpool, "%d.%d.%d.%d", in hx509_general_name_unparse()
1009 strpool = rk_strpoolprintf(strpool, in hx509_general_name_unparse()
1019 strpool = rk_strpoolprintf(strpool, in hx509_general_name_unparse()
1029 strpool = rk_strpoolprintf(strpool, "registeredID: %s", oid); in hx509_general_name_unparse()
1037 rk_strpoolfree(strpool); in hx509_general_name_unparse()
1038 else if (strpool == NULL || (*str = rk_strpoolcollect(strpool)) == NULL) in hx509_general_name_unparse()