Lines Matching refs:v
37 CONF_VALUE *v; in STACK_OF() local
39 v = _CONF_get_section(conf, section); in STACK_OF()
40 if (v == NULL) in STACK_OF()
42 return ((STACK_OF(CONF_VALUE) *)v->value); in STACK_OF()
47 CONF_VALUE *v = NULL; in _CONF_add_string() local
56 v = lh_CONF_VALUE_insert(conf->data, value); in _CONF_add_string()
57 if (v != NULL) { in _CONF_add_string()
58 (void)sk_CONF_VALUE_delete_ptr(ts, v); in _CONF_add_string()
59 OPENSSL_free(v->name); in _CONF_add_string()
60 OPENSSL_free(v->value); in _CONF_add_string()
61 OPENSSL_free(v); in _CONF_add_string()
69 CONF_VALUE *v, vv; in _CONF_get_string() local
81 v = lh_CONF_VALUE_retrieve(conf->data, &vv); in _CONF_get_string()
82 if (v != NULL) in _CONF_get_string()
83 return v->value; in _CONF_get_string()
92 v = lh_CONF_VALUE_retrieve(conf->data, &vv); in _CONF_get_string()
93 if (v == NULL) in _CONF_get_string()
95 return v->value; in _CONF_get_string()
98 static unsigned long conf_value_hash(const CONF_VALUE *v) in conf_value_hash() argument
100 return (OPENSSL_LH_strhash(v->section) << 2) ^ OPENSSL_LH_strhash(v->name); in conf_value_hash()
189 CONF_VALUE *v = NULL, *vv; in _CONF_new_section() local
193 if ((v = OPENSSL_malloc(sizeof(*v))) == NULL) in _CONF_new_section()
196 if ((v->section = OPENSSL_malloc(i)) == NULL) in _CONF_new_section()
199 memcpy(v->section, section, i); in _CONF_new_section()
200 v->name = NULL; in _CONF_new_section()
201 v->value = (char *)sk; in _CONF_new_section()
203 vv = lh_CONF_VALUE_insert(conf->data, v); in _CONF_new_section()
206 return v; in _CONF_new_section()
210 if (v != NULL) in _CONF_new_section()
211 OPENSSL_free(v->section); in _CONF_new_section()
212 OPENSSL_free(v); in _CONF_new_section()