Lines Matching refs:section
23 CONF_VALUE *_CONF_get_section(const CONF *conf, const char *section) in _CONF_get_section() argument
27 if (conf == NULL || section == NULL) in _CONF_get_section()
30 vv.section = (char *)section; in _CONF_get_section()
35 const char *section) in STACK_OF()
39 v = _CONF_get_section(conf, section); in STACK_OF()
45 int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) in _CONF_add_string() argument
50 ts = (STACK_OF(CONF_VALUE) *)section->value; in _CONF_add_string()
52 value->section = section->section; in _CONF_add_string()
66 char *_CONF_get_string(const CONF *conf, const char *section, in _CONF_get_string() argument
78 if (section != NULL) { in _CONF_get_string()
80 vv.section = (char *)section; in _CONF_get_string()
84 if (strcmp(section, "ENV") == 0) { in _CONF_get_string()
90 vv.section = "default"; in _CONF_get_string()
100 return (OPENSSL_LH_strhash(v->section) << 2) ^ OPENSSL_LH_strhash(v->name); in conf_value_hash()
107 if (a->section != b->section) { in conf_value_cmp()
108 i = strcmp(a->section, b->section); in conf_value_cmp()
181 OPENSSL_free(a->section); in value_free_stack_doall()
185 CONF_VALUE *_CONF_new_section(CONF *conf, const char *section) in _CONF_new_section() argument
195 i = strlen(section) + 1; 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()
211 OPENSSL_free(v->section); in _CONF_new_section()