/third_party/python/Lib/tkinter/ |
H A D | tix.py | 108 def tix_configure(self, cnf=None, **kw): 121 cnf = _cnfmerge((cnf, kw)) 122 elif cnf: 123 cnf = _cnfmerge(cnf) 124 if cnf is None: 126 if isinstance(cnf, str): 127 return self._getconfigure1('tix', 'configure', '-'+cnf) 128 return self.tk.call(('tix', 'configure') + self._options(cnf)) [all...] |
H A D | dialog.py | 11 def __init__(self, master=None, cnf={}, **kw): 12 cnf = _cnfmerge((cnf, kw)) 14 self._setup(master, cnf) 18 cnf['title'], cnf['text'], 19 cnf['bitmap'], cnf['default'], 20 *cnf['strings']))
|
H A D | __init__.py | 109 cnf = {} 112 cnf.update(c) 116 cnf[k] = v 117 return cnf 1524 def _options(self, cnf, kw = None): 1527 cnf = _cnfmerge((cnf, kw)) 1529 cnf = _cnfmerge(cnf) 1531 for k, v in cnf [all...] |
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | asn_mstbl.c | 20 static int stbl_module_init(CONF_IMODULE *md, const CONF *cnf) in stbl_module_init() argument 28 if ((sktmp = NCONF_get_section(cnf, stbl_section)) == NULL) { in stbl_module_init() 64 CONF_VALUE *cnf = NULL; in do_tcreate() local 74 cnf = sk_CONF_VALUE_value(lst, i); in do_tcreate() 75 if (cnf->value == NULL) in do_tcreate() 77 if (strcmp(cnf->name, "min") == 0) { in do_tcreate() 78 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate() 81 } else if (strcmp(cnf->name, "max") == 0) { in do_tcreate() 82 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate() 85 } else if (strcmp(cnf in do_tcreate() [all...] |
/third_party/openssl/crypto/asn1/ |
H A D | asn_mstbl.c | 20 static int stbl_module_init(CONF_IMODULE *md, const CONF *cnf) in stbl_module_init() argument 28 if ((sktmp = NCONF_get_section(cnf, stbl_section)) == NULL) { in stbl_module_init() 64 CONF_VALUE *cnf = NULL; in do_tcreate() local 74 cnf = sk_CONF_VALUE_value(lst, i); in do_tcreate() 75 if (strcmp(cnf->name, "min") == 0) { in do_tcreate() 76 tbl_min = strtoul(cnf->value, &eptr, 0); in do_tcreate() 79 } else if (strcmp(cnf->name, "max") == 0) { in do_tcreate() 80 tbl_max = strtoul(cnf->value, &eptr, 0); in do_tcreate() 83 } else if (strcmp(cnf->name, "mask") == 0) { in do_tcreate() 84 if (!ASN1_str2mask(cnf in do_tcreate() [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_ist.c | 46 CONF_VALUE *cnf = sk_CONF_VALUE_value(nval, i); 48 if (cnf == NULL) { 51 if (strcmp(cnf->name, "signTool") == 0) { 54 || cnf->value == NULL 55 || !ASN1_STRING_set(ist->signTool, cnf->value, strlen(cnf->value))) { 59 } else if (strcmp(cnf->name, "cATool") == 0) { 62 || cnf->value == NULL 63 || !ASN1_STRING_set(ist->cATool, cnf->value, strlen(cnf [all...] |
H A D | v3_cpols.c | 97 CONF_VALUE *cnf; 114 cnf = sk_CONF_VALUE_value(vals, i); 115 if (cnf->value != NULL || cnf->name == NULL) { 117 X509V3_conf_add_error_name_value(cnf); 120 pstr = cnf->name; 130 "%s", cnf->name); 138 if ((pobj = OBJ_txt2obj(cnf->name, 0)) == NULL) { 141 "%s", cnf->name); 170 CONF_VALUE *cnf; [all...] |
H A D | v3_crld.c | 68 CONF_VALUE *cnf) in set_dist_point_name() 73 if (cnf->value == NULL) { in set_dist_point_name() 78 if (strncmp(cnf->name, "fullname", 9) == 0) { in set_dist_point_name() 79 fnm = gnames_from_sectname(ctx, cnf->value); in set_dist_point_name() 82 } else if (strcmp(cnf->name, "relativename") == 0) { in set_dist_point_name() 89 dnsect = X509V3_get_section(ctx, cnf->value); in set_dist_point_name() 211 CONF_VALUE *cnf; in crldp_from_section() local 218 cnf = sk_CONF_VALUE_value(nval, i); in crldp_from_section() 219 ret = set_dist_point_name(&point->distpoint, ctx, cnf); in crldp_from_section() 224 if (strcmp(cnf in crldp_from_section() 67 set_dist_point_name(DIST_POINT_NAME **pdp, X509V3_CTX *ctx, CONF_VALUE *cnf) set_dist_point_name() argument 247 CONF_VALUE *cnf; v2i_crld() local 368 CONF_VALUE *cnf; v2i_idp() local [all...] |
H A D | v3_san.c | 315 CONF_VALUE *cnf = sk_CONF_VALUE_value(nval, i); in v2i_issuer_alt() local 317 if (!ossl_v3_name_cmp(cnf->name, "issuer") in v2i_issuer_alt() 318 && cnf->value && strcmp(cnf->value, "copy") == 0) { in v2i_issuer_alt() 322 GENERAL_NAME *gen = v2i_GENERAL_NAME(method, ctx, cnf); in v2i_issuer_alt() 383 CONF_VALUE *cnf; in v2i_subject_alt() local 395 cnf = sk_CONF_VALUE_value(nval, i); in v2i_subject_alt() 396 if (ossl_v3_name_cmp(cnf->name, "email") == 0 in v2i_subject_alt() 397 && cnf->value && strcmp(cnf in v2i_subject_alt() 479 CONF_VALUE *cnf; v2i_GENERAL_NAMES() local 502 v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf) v2i_GENERAL_NAME() argument 601 v2i_GENERAL_NAME_ex(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf, int is_nc) v2i_GENERAL_NAME_ex() argument [all...] |
H A D | v3_akid.c | 102 CONF_VALUE *cnf; in v2i_AUTHORITY_KEYID() local 121 cnf = sk_CONF_VALUE_value(values, i); in v2i_AUTHORITY_KEYID() 122 if (strcmp(cnf->name, "keyid") == 0) { in v2i_AUTHORITY_KEYID() 124 if (cnf->value && strcmp(cnf->value, "always") == 0) in v2i_AUTHORITY_KEYID() 126 } else if (strcmp(cnf->name, "issuer") == 0) { in v2i_AUTHORITY_KEYID() 128 if (cnf->value && strcmp(cnf->value, "always") == 0) in v2i_AUTHORITY_KEYID() 132 "name=%s", cnf->name); in v2i_AUTHORITY_KEYID()
|
H A D | v3_pci.c | 251 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() local 253 if (!cnf->name || (*cnf->name != '@' && !cnf->value)) { in r2i_pci() 255 X509V3_conf_err(cnf); in r2i_pci() 258 if (*cnf->name == '@') { in r2i_pci() 262 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci() 265 X509V3_conf_err(cnf); in r2i_pci() 277 if (!process_pci_value(cnf, &language, &pathlen, &policy)) { in r2i_pci() 278 X509V3_conf_err(cnf); in r2i_pci() [all...] |
/third_party/openssl/crypto/x509/ |
H A D | v3_cpols.c | 97 CONF_VALUE *cnf; 114 cnf = sk_CONF_VALUE_value(vals, i); 115 if (cnf->value != NULL || cnf->name == NULL) { 117 X509V3_conf_add_error_name_value(cnf); 120 pstr = cnf->name; 130 "%s", cnf->name); 138 if ((pobj = OBJ_txt2obj(cnf->name, 0)) == NULL) { 141 "%s", cnf->name); 170 CONF_VALUE *cnf; [all...] |
H A D | v3_ist.c | 46 CONF_VALUE *cnf = sk_CONF_VALUE_value(nval, i); 48 if (cnf == NULL) { 51 if (strcmp(cnf->name, "signTool") == 0) { 58 ASN1_STRING_set(ist->signTool, cnf->value, strlen(cnf->value)); 59 } else if (strcmp(cnf->name, "cATool") == 0) { 66 ASN1_STRING_set(ist->cATool, cnf->value, strlen(cnf->value)); 67 } else if (strcmp(cnf->name, "signToolCert") == 0) { 74 ASN1_STRING_set(ist->signToolCert, cnf [all...] |
H A D | v3_crld.c | 68 CONF_VALUE *cnf) in set_dist_point_name() 73 if (strncmp(cnf->name, "fullname", 9) == 0) { in set_dist_point_name() 74 fnm = gnames_from_sectname(ctx, cnf->value); in set_dist_point_name() 77 } else if (strcmp(cnf->name, "relativename") == 0) { in set_dist_point_name() 84 dnsect = X509V3_get_section(ctx, cnf->value); in set_dist_point_name() 206 CONF_VALUE *cnf; in crldp_from_section() local 213 cnf = sk_CONF_VALUE_value(nval, i); in crldp_from_section() 214 ret = set_dist_point_name(&point->distpoint, ctx, cnf); in crldp_from_section() 219 if (strcmp(cnf->name, "reasons") == 0) { in crldp_from_section() 220 if (!set_reasons(&point->reasons, cnf in crldp_from_section() 67 set_dist_point_name(DIST_POINT_NAME **pdp, X509V3_CTX *ctx, CONF_VALUE *cnf) set_dist_point_name() argument 242 CONF_VALUE *cnf; v2i_crld() local 363 CONF_VALUE *cnf; v2i_idp() local [all...] |
H A D | v3_san.c | 315 CONF_VALUE *cnf = sk_CONF_VALUE_value(nval, i); in v2i_issuer_alt() local 317 if (!ossl_v3_name_cmp(cnf->name, "issuer") in v2i_issuer_alt() 318 && cnf->value && strcmp(cnf->value, "copy") == 0) { in v2i_issuer_alt() 322 GENERAL_NAME *gen = v2i_GENERAL_NAME(method, ctx, cnf); in v2i_issuer_alt() 383 CONF_VALUE *cnf; in v2i_subject_alt() local 395 cnf = sk_CONF_VALUE_value(nval, i); in v2i_subject_alt() 396 if (ossl_v3_name_cmp(cnf->name, "email") == 0 in v2i_subject_alt() 397 && cnf->value && strcmp(cnf in v2i_subject_alt() 479 CONF_VALUE *cnf; v2i_GENERAL_NAMES() local 502 v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf) v2i_GENERAL_NAME() argument 601 v2i_GENERAL_NAME_ex(GENERAL_NAME *out, const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, CONF_VALUE *cnf, int is_nc) v2i_GENERAL_NAME_ex() argument [all...] |
H A D | v3_akid.c | 102 CONF_VALUE *cnf; in v2i_AUTHORITY_KEYID() local 121 cnf = sk_CONF_VALUE_value(values, i); in v2i_AUTHORITY_KEYID() 122 if (strcmp(cnf->name, "keyid") == 0) { in v2i_AUTHORITY_KEYID() 124 if (cnf->value && strcmp(cnf->value, "always") == 0) in v2i_AUTHORITY_KEYID() 126 } else if (strcmp(cnf->name, "issuer") == 0) { in v2i_AUTHORITY_KEYID() 128 if (cnf->value && strcmp(cnf->value, "always") == 0) in v2i_AUTHORITY_KEYID() 132 "name=%s", cnf->name); in v2i_AUTHORITY_KEYID()
|
H A D | v3_pci.c | 251 CONF_VALUE *cnf = sk_CONF_VALUE_value(vals, i); in r2i_pci() local 253 if (!cnf->name || (*cnf->name != '@' && !cnf->value)) { in r2i_pci() 255 X509V3_conf_err(cnf); in r2i_pci() 258 if (*cnf->name == '@') { in r2i_pci() 262 sect = X509V3_get_section(ctx, cnf->name + 1); in r2i_pci() 265 X509V3_conf_err(cnf); in r2i_pci() 277 if (!process_pci_value(cnf, &language, &pathlen, &policy)) { in r2i_pci() 278 X509V3_conf_err(cnf); in r2i_pci() [all...] |
/third_party/openssl/demos/bio/ |
H A D | client-conf.c | 25 CONF_VALUE *cnf; in main() local 31 if (NCONF_load(conf, "connect.cnf", &errline) <= 0) { in main() 52 cnf = sk_CONF_VALUE_value(sect, i); in main() 53 rv = SSL_CONF_cmd(cctx, cnf->name, cnf->value); in main() 58 cnf->name, cnf->value); in main() 62 if (strcmp(cnf->name, "Connect") == 0) { in main() 63 connect_str = cnf->value; in main() 65 fprintf(stderr, "Unknown configuration option %s\n", cnf in main() [all...] |
H A D | server-conf.c | 33 CONF_VALUE *cnf; in main() local 42 if (NCONF_load(conf, "accept.cnf", &errline) <= 0) { in main() 64 cnf = sk_CONF_VALUE_value(sect, i); in main() 65 rv = SSL_CONF_cmd(cctx, cnf->name, cnf->value); in main() 70 cnf->name, cnf->value); in main() 74 if (strcmp(cnf->name, "Port") == 0) { in main() 75 port = cnf->value; in main() 77 fprintf(stderr, "Unknown configuration option %s\n", cnf in main() [all...] |
/third_party/node/deps/openssl/openssl/crypto/conf/ |
H A D | conf_mod.c | 74 static int module_run(const CONF *cnf, const char *name, const char *value, 81 const CONF *cnf); 82 static CONF_MODULE *module_load_dso(const CONF *cnf, const char *name, 110 static int conf_diagnostics(const CONF *cnf) in conf_diagnostics() argument 112 return _CONF_get_number(cnf, NULL, "config_diagnostics") != 0; in conf_diagnostics() 117 int CONF_modules_load(const CONF *cnf, const char *appname, in CONF_modules_load() argument 125 if (!cnf) in CONF_modules_load() 128 if (conf_diagnostics(cnf)) in CONF_modules_load() 136 vsection = NCONF_get_string(cnf, NULL, appname); in CONF_modules_load() 139 vsection = NCONF_get_string(cnf, NUL in CONF_modules_load() 249 module_run(const CONF *cnf, const char *name, const char *value, unsigned long flags) module_run() argument 285 module_load_dso(const CONF *cnf, const char *name, const char *value) module_load_dso() argument 405 module_init(CONF_MODULE *pmod, const char *name, const char *value, const CONF *cnf) module_init() argument [all...] |
/third_party/openssl/crypto/conf/ |
H A D | conf_mod.c | 74 static int module_run(const CONF *cnf, const char *name, const char *value, 81 const CONF *cnf); 82 static CONF_MODULE *module_load_dso(const CONF *cnf, const char *name, 110 static int conf_diagnostics(const CONF *cnf) in conf_diagnostics() argument 112 return _CONF_get_number(cnf, NULL, "config_diagnostics") != 0; in conf_diagnostics() 117 int CONF_modules_load(const CONF *cnf, const char *appname, in CONF_modules_load() argument 125 if (!cnf) in CONF_modules_load() 128 if (conf_diagnostics(cnf)) in CONF_modules_load() 136 vsection = NCONF_get_string(cnf, NULL, appname); in CONF_modules_load() 139 vsection = NCONF_get_string(cnf, NUL in CONF_modules_load() 243 module_run(const CONF *cnf, const char *name, const char *value, unsigned long flags) module_run() argument 279 module_load_dso(const CONF *cnf, const char *name, const char *value) module_load_dso() argument 399 module_init(CONF_MODULE *pmod, const char *name, const char *value, const CONF *cnf) module_init() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | provider_conf.c | 83 const CONF *cnf, in provider_conf_params_internal() 90 sect = NCONF_get_section(cnf, value); in provider_conf_params_internal() 133 sectconf->value, cnf, visited); in provider_conf_params_internal() 164 const CONF *cnf) in provider_conf_params() 173 value, cnf, visited); in provider_conf_params() 201 const char *value, const CONF *cnf) in provider_conf_load() 215 ecmds = NCONF_get_section(cnf, value); in provider_conf_load() 281 ok = provider_conf_params(prov, NULL, NULL, value, cnf); in provider_conf_load() 331 ok = provider_conf_params(NULL, &entry, NULL, value, cnf); in provider_conf_load() 351 static int provider_conf_init(CONF_IMODULE *md, const CONF *cnf) in provider_conf_init() argument 80 provider_conf_params_internal(OSSL_PROVIDER *prov, OSSL_PROVIDER_INFO *provinfo, const char *name, const char *value, const CONF *cnf, STACK_OF(OPENSSL_CSTRING) *visited) provider_conf_params_internal() argument 161 provider_conf_params(OSSL_PROVIDER *prov, OSSL_PROVIDER_INFO *provinfo, const char *name, const char *value, const CONF *cnf) provider_conf_params() argument 200 provider_conf_load(OSSL_LIB_CTX *libctx, const char *name, const char *value, const CONF *cnf) provider_conf_load() argument [all...] |
/third_party/openssl/crypto/ |
H A D | provider_conf.c | 83 const CONF *cnf, in provider_conf_params_internal() 90 sect = NCONF_get_section(cnf, value); in provider_conf_params_internal() 133 sectconf->value, cnf, visited); in provider_conf_params_internal() 164 const CONF *cnf) in provider_conf_params() 173 value, cnf, visited); in provider_conf_params() 201 const char *value, const CONF *cnf) in provider_conf_load() 215 ecmds = NCONF_get_section(cnf, value); in provider_conf_load() 281 ok = provider_conf_params(prov, NULL, NULL, value, cnf); in provider_conf_load() 331 ok = provider_conf_params(NULL, &entry, NULL, value, cnf); in provider_conf_load() 351 static int provider_conf_init(CONF_IMODULE *md, const CONF *cnf) in provider_conf_init() argument 80 provider_conf_params_internal(OSSL_PROVIDER *prov, OSSL_PROVIDER_INFO *provinfo, const char *name, const char *value, const CONF *cnf, STACK_OF(OPENSSL_CSTRING) *visited) provider_conf_params_internal() argument 161 provider_conf_params(OSSL_PROVIDER *prov, OSSL_PROVIDER_INFO *provinfo, const char *name, const char *value, const CONF *cnf) provider_conf_params() argument 200 provider_conf_load(OSSL_LIB_CTX *libctx, const char *name, const char *value, const CONF *cnf) provider_conf_load() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/engine/ |
H A D | eng_cnf.c | 43 static int int_engine_configure(const char *name, const char *value, const CONF *cnf) in int_engine_configure() argument 57 ecmds = NCONF_get_section(cnf, value); in int_engine_configure() 112 if (!NCONF_get_number_e(cnf, value, "init", &do_init)) in int_engine_configure() 147 static int int_engine_module_init(CONF_IMODULE *md, const CONF *cnf) in int_engine_module_init() argument 155 elist = NCONF_get_section(cnf, CONF_imodule_get_value(md)); in int_engine_module_init() 164 if (!int_engine_configure(cval->name, cval->value, cnf)) in int_engine_module_init()
|
/third_party/openssl/crypto/engine/ |
H A D | eng_cnf.c | 43 static int int_engine_configure(const char *name, const char *value, const CONF *cnf) in int_engine_configure() argument 57 ecmds = NCONF_get_section(cnf, value); in int_engine_configure() 112 if (!NCONF_get_number_e(cnf, value, "init", &do_init)) in int_engine_configure() 147 static int int_engine_module_init(CONF_IMODULE *md, const CONF *cnf) in int_engine_module_init() argument 155 elist = NCONF_get_section(cnf, CONF_imodule_get_value(md)); in int_engine_module_init() 164 if (!int_engine_configure(cval->name, cval->value, cnf)) in int_engine_module_init()
|