Symbol: method
crypto/heimdal/kcm/kcm_locl.h
160
kcm_method method;
crypto/heimdal/kcm/protocol.c
1748
kcm_method method;
crypto/heimdal/kcm/protocol.c
1784
method = kcm_ops[opcode].method;
crypto/heimdal/kcm/protocol.c
1785
if (method == NULL) {
crypto/heimdal/kcm/protocol.c
1795
ret = (*method)(context, client, opcode, req_sp, resp_sp);
crypto/heimdal/lib/hdb/hdb.c
281
static struct hdb_method method;
crypto/heimdal/lib/hdb/hdb.c
356
method.create = mso->create;
crypto/heimdal/lib/hdb/hdb.c
357
method.prefix = prefix;
crypto/heimdal/lib/hdb/hdb.c
359
return &method;
crypto/heimdal/lib/krb5/digest.c
596
const char *method)
crypto/heimdal/lib/krb5/digest.c
598
if (digest->request.method) {
crypto/heimdal/lib/krb5/digest.c
603
digest->request.method = malloc(sizeof(*digest->request.method));
crypto/heimdal/lib/krb5/digest.c
604
if (digest->request.method == NULL) {
crypto/heimdal/lib/krb5/digest.c
608
*digest->request.method = strdup(method);
crypto/heimdal/lib/krb5/digest.c
609
if (*digest->request.method == NULL) {
crypto/heimdal/lib/krb5/digest.c
611
free(digest->request.method);
crypto/heimdal/lib/krb5/digest.c
612
digest->request.method = NULL;
crypto/openssh/audit.c
47
audit_classify_auth(const char *method)
crypto/openssh/audit.c
49
if (strcmp(method, "none") == 0)
crypto/openssh/audit.c
51
else if (strcmp(method, "password") == 0)
crypto/openssh/audit.c
53
else if (strcmp(method, "publickey") == 0 ||
crypto/openssh/audit.c
54
strcmp(method, "rsa") == 0)
crypto/openssh/audit.c
56
else if (strncmp(method, "keyboard-interactive", 20) == 0 ||
crypto/openssh/audit.c
57
strcmp(method, "challenge-response") == 0)
crypto/openssh/audit.c
59
else if (strcmp(method, "hostbased") == 0 ||
crypto/openssh/audit.c
60
strcmp(method, "rhosts-rsa") == 0)
crypto/openssh/audit.c
62
else if (strcmp(method, "gssapi-with-mic") == 0)
crypto/openssh/auth.c
268
const char *method, const char *submethod)
crypto/openssh/auth.c
282
strcmp(method, "password") == 0)
crypto/openssh/auth.c
303
method,
crypto/openssh/auth.c
318
if (strcmp(method, "password") == 0 ||
crypto/openssh/auth.c
319
strncmp(method, "keyboard-interactive", 20) == 0 ||
crypto/openssh/auth.c
320
strcmp(method, "challenge-response") == 0)
crypto/openssh/auth.c
325
audit_event(ssh, audit_classify_auth(method));
crypto/openssh/auth.c
357
auth_root_allowed(struct ssh *ssh, const char *method)
crypto/openssh/auth.c
363
if (strcmp(method, "publickey") == 0 ||
crypto/openssh/auth.c
364
strcmp(method, "hostbased") == 0 ||
crypto/openssh/auth.c
365
strcmp(method, "gssapi-with-mic") == 0)
crypto/openssh/auth2-gss.c
66
userauth_gssapi(struct ssh *ssh, const char *method)
crypto/openssh/auth2-hostbased.c
134
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/auth2-hostbased.c
60
userauth_hostbased(struct ssh *ssh, const char *method)
crypto/openssh/auth2-kbdint.c
48
userauth_kbdint(struct ssh *ssh, const char *method)
crypto/openssh/auth2-methods.c
105
while ((method = strsep(&methods, ",")) != NULL) {
crypto/openssh/auth2-methods.c
108
if ((p = strchr(method, ':')) != NULL)
crypto/openssh/auth2-methods.c
110
if (strcmp(method, cfg->name) != 0)
crypto/openssh/auth2-methods.c
117
method, _methods);
crypto/openssh/auth2-methods.c
126
method);
crypto/openssh/auth2-methods.c
95
char *methods, *omethods, *method, *p;
crypto/openssh/auth2-none.c
61
userauth_none(struct ssh *ssh, const char *method)
crypto/openssh/auth2-passwd.c
53
userauth_passwd(struct ssh *ssh, const char *method)
crypto/openssh/auth2-pubkey.c
108
hostbound = strcmp(method, "publickey-hostbound-v00@openssh.com") == 0;
crypto/openssh/auth2-pubkey.c
113
fatal_fr(r, "parse %s packet", method);
crypto/openssh/auth2-pubkey.c
119
fatal_fr(r, "parse %s hostkey", method);
crypto/openssh/auth2-pubkey.c
123
fatal_f("%s packet contained wrong host key", method);
crypto/openssh/auth2-pubkey.c
189
method, pkalg, key_s,
crypto/openssh/auth2-pubkey.c
215
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/auth2-pubkey.c
219
fatal_fr(r, "reconstruct %s packet", method);
crypto/openssh/auth2-pubkey.c
222
fatal_fr(r, "reconstruct %s packet", method);
crypto/openssh/auth2-pubkey.c
272
debug_f("%s test pkalg %s pkblob %s%s%s", method, pkalg, key_s,
crypto/openssh/auth2-pubkey.c
94
userauth_pubkey(struct ssh *ssh, const char *method)
crypto/openssh/auth2.c
273
char *user = NULL, *service = NULL, *method = NULL, *style = NULL;
crypto/openssh/auth2.c
282
(r = sshpkt_get_cstring(ssh, &method, NULL)) != 0)
crypto/openssh/auth2.c
284
debug("userauth-request for user %s service %s method %s", user, service, method);
crypto/openssh/auth2.c
343
m = authmethod_lookup(authctxt, method);
crypto/openssh/auth2.c
345
debug2("input_userauth_request: try method %s", method);
crypto/openssh/auth2.c
346
authenticated = m->userauth(ssh, method);
crypto/openssh/auth2.c
348
if (!authctxt->authenticated && strcmp(method, "none") != 0)
crypto/openssh/auth2.c
351
userauth_finish(ssh, authenticated, method, NULL);
crypto/openssh/auth2.c
356
free(method);
crypto/openssh/auth2.c
366
const char *method = packet_method;
crypto/openssh/auth2.c
378
if ((m = authmethod_byname(method)) == NULL)
crypto/openssh/auth2.c
379
fatal("INTERNAL ERROR: bad method %s", method);
crypto/openssh/auth2.c
380
method = m->cfg->name;
crypto/openssh/auth2.c
385
!auth_root_allowed(ssh, method)) {
crypto/openssh/auth2.c
393
if (!auth2_update_methods_lists(authctxt, method, submethod)) {
crypto/openssh/auth2.c
400
auth_log(ssh, authenticated, partial, method, submethod);
crypto/openssh/auth2.c
404
auth2_update_session_info(authctxt, method, submethod);
crypto/openssh/auth2.c
445
(authctxt->attempt > 1 || strcmp(method, "none") != 0))
crypto/openssh/auth2.c
472
auth2_method_allowed(Authctxt *authctxt, const char *method,
crypto/openssh/auth2.c
484
if (list_starts_with(authctxt->auth_methods[i], method,
crypto/openssh/auth2.c
539
Authmethod *method;
crypto/openssh/auth2.c
541
if ((method = authmethod_byname(name)) == NULL)
crypto/openssh/auth2.c
544
if (method->cfg->enabled == NULL || *(method->cfg->enabled) == 0) {
crypto/openssh/auth2.c
548
if (!auth2_method_allowed(authctxt, method->cfg->name, NULL)) {
crypto/openssh/auth2.c
553
return method;
crypto/openssh/auth2.c
603
list_starts_with(const char *methods, const char *method,
crypto/openssh/auth2.c
606
size_t l = strlen(method);
crypto/openssh/auth2.c
610
if (strncmp(methods, method, l) != 0)
crypto/openssh/auth2.c
635
remove_method(char **methods, const char *method, const char *submethod)
crypto/openssh/auth2.c
638
size_t l = strlen(method);
crypto/openssh/auth2.c
641
match = list_starts_with(omethods, method, submethod);
crypto/openssh/auth2.c
661
auth2_update_methods_lists(Authctxt *authctxt, const char *method,
crypto/openssh/auth2.c
666
debug3_f("updating methods list after \"%s\"", method);
crypto/openssh/auth2.c
668
if (!remove_method(&(authctxt->auth_methods[i]), method,
crypto/openssh/auth2.c
771
auth2_update_session_info(Authctxt *authctxt, const char *method,
crypto/openssh/auth2.c
783
method, submethod == NULL ? "" : "/",
crypto/openssh/monitor.c
977
key_base_type_match(const char *method, const struct sshkey *key,
crypto/openssh/monitor.c
991
error("%s key type %s is not in permitted list %s", method,
crypto/openssh/ssh-agent.c
715
char *user = NULL, *service = NULL, *method = NULL, *pkalg = NULL;
crypto/openssh/ssh-agent.c
739
(r = sshbuf_get_cstring(b, &method, NULL)) != 0 || /* method */
crypto/openssh/ssh-agent.c
752
if (strcmp(method, "publickey-hostbound-v00@openssh.com") == 0) {
crypto/openssh/ssh-agent.c
755
} else if (strcmp(method, "publickey") != 0) {
crypto/openssh/ssh-agent.c
783
free(method);
crypto/openssh/sshconnect2.c
1028
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
1054
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
1098
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
1320
const char *loc = "", *method = "publickey";
crypto/openssh/sshconnect2.c
1327
method = "publickey-hostbound-v00@openssh.com";
crypto/openssh/sshconnect2.c
1334
debug3_f("using %s with %s %s", method, sshkey_type(id->key), fp);
crypto/openssh/sshconnect2.c
1414
(r = sshbuf_put_cstring(b, method)) != 0 ||
crypto/openssh/sshconnect2.c
1426
fatal_fr(r, "assemble %s hostkey", method);
crypto/openssh/sshconnect2.c
1507
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
1926
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
2216
(r = sshbuf_put_cstring(b, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
2237
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssh/sshconnect2.c
2269
authmethod_is_enabled(Authmethod *method)
crypto/openssh/sshconnect2.c
2271
if (method == NULL)
crypto/openssh/sshconnect2.c
2274
if (method->enabled == NULL || *method->enabled == 0)
crypto/openssh/sshconnect2.c
2277
if (method->batch_flag != NULL && *method->batch_flag != 0)
crypto/openssh/sshconnect2.c
2285
Authmethod *method = NULL;
crypto/openssh/sshconnect2.c
2287
for (method = authmethods; method->name != NULL; method++)
crypto/openssh/sshconnect2.c
2288
if (strcmp(name, method->name) == 0)
crypto/openssh/sshconnect2.c
2289
return method;
crypto/openssh/sshconnect2.c
2347
Authmethod *method = NULL;
crypto/openssh/sshconnect2.c
2354
for (method = authmethods; method->name != NULL; method++) {
crypto/openssh/sshconnect2.c
2355
if (authmethod_is_enabled(method)) {
crypto/openssh/sshconnect2.c
2357
sshbuf_len(b) ? "," : "", method->name)) != 0)
crypto/openssh/sshconnect2.c
318
struct cauthmethod *method;
crypto/openssh/sshconnect2.c
439
authctxt.method = authmethod_lookup("none");
crypto/openssh/sshconnect2.c
452
if (authctxt.method == NULL)
crypto/openssh/sshconnect2.c
483
authctxt.method->name);
crypto/openssh/sshconnect2.c
486
authctxt.method->name);
crypto/openssh/sshconnect2.c
528
if (authctxt->method != NULL && authctxt->method->cleanup != NULL)
crypto/openssh/sshconnect2.c
529
authctxt->method->cleanup(ssh);
crypto/openssh/sshconnect2.c
540
Authmethod *method = authmethod_get(authlist);
crypto/openssh/sshconnect2.c
541
if (method == NULL)
crypto/openssh/sshconnect2.c
544
authctxt->method = method;
crypto/openssh/sshconnect2.c
551
if (method->userauth(ssh) != 0) {
crypto/openssh/sshconnect2.c
552
debug2("we sent a %s packet, wait for reply", method->name);
crypto/openssh/sshconnect2.c
556
method->enabled = NULL;
crypto/openssh/sshconnect2.c
596
if (authctxt->method != NULL && authctxt->method->cleanup != NULL)
crypto/openssh/sshconnect2.c
597
authctxt->method->cleanup(ssh);
crypto/openssh/sshconnect2.c
615
authctxt->method->name);
crypto/openssh/sshconnect2.c
637
authctxt->method->name);
crypto/openssh/sshconnect2.c
791
(r = sshpkt_put_cstring(ssh, authctxt->method->name)) != 0 ||
crypto/openssl/crypto/bio/bio_cb.c
43
BIO_snprintf(p, left, "Free - %s\n", bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
46
if (bio->method->type & BIO_TYPE_DESCRIPTOR)
crypto/openssl/crypto/bio/bio_cb.c
49
bio->method->name, bio->num);
crypto/openssl/crypto/bio/bio_cb.c
52
bio->num, len, bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
55
if (bio->method->type & BIO_TYPE_DESCRIPTOR)
crypto/openssl/crypto/bio/bio_cb.c
58
bio->method->name, bio->num);
crypto/openssl/crypto/bio/bio_cb.c
61
bio->num, len, bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
64
BIO_snprintf(p, left, "puts() - %s\n", bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
68
bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
72
bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
77
args->num_msg, bio->method->name);
crypto/openssl/crypto/bio/bio_cb.c
82
args->num_msg, bio->method->name);
crypto/openssl/crypto/bio/bio_lib.c
103
if (method->create == NULL)
crypto/openssl/crypto/bio/bio_lib.c
114
BIO *BIO_new(const BIO_METHOD *method)
crypto/openssl/crypto/bio/bio_lib.c
116
return BIO_new_ex(NULL, method);
crypto/openssl/crypto/bio/bio_lib.c
140
if ((a->method != NULL) && (a->method->destroy != NULL))
crypto/openssl/crypto/bio/bio_lib.c
141
a->method->destroy(a);
crypto/openssl/crypto/bio/bio_lib.c
248
return b->method->name;
crypto/openssl/crypto/bio/bio_lib.c
253
return b->method->type;
crypto/openssl/crypto/bio/bio_lib.c
270
if (b->method == NULL || b->method->bread == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
283
ret = b->method->bread(b, data, dlen, readbytes);
crypto/openssl/crypto/bio/bio_lib.c
339
if (b->method == NULL || b->method->bwrite == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
352
ret = b->method->bwrite(b, data, dlen, &local_written);
crypto/openssl/crypto/bio/bio_lib.c
403
if (b->method == NULL || b->method->bsendmmsg == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
428
ret = b->method->bsendmmsg(b, msg, stride, num_msg, flags, msgs_processed);
crypto/openssl/crypto/bio/bio_lib.c
450
if (b->method == NULL || b->method->brecvmmsg == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
475
ret = b->method->brecvmmsg(b, msg, stride, num_msg, flags, msgs_processed);
crypto/openssl/crypto/bio/bio_lib.c
503
if (b->method == NULL || b->method->bputs == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
519
ret = b->method->bputs(b, buf);
crypto/openssl/crypto/bio/bio_lib.c
552
if (b->method == NULL || b->method->bgets == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
573
ret = b->method->bgets(b, buf, size);
crypto/openssl/crypto/bio/bio_lib.c
662
if (b->method == NULL || b->method->ctrl == NULL) {
crypto/openssl/crypto/bio/bio_lib.c
673
ret = b->method->ctrl(b, cmd, larg, parg);
crypto/openssl/crypto/bio/bio_lib.c
688
if (b->method == NULL || b->method->callback_ctrl == NULL
crypto/openssl/crypto/bio/bio_lib.c
701
ret = b->method->callback_ctrl(b, cmd, fp);
crypto/openssl/crypto/bio/bio_lib.c
81
BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method)
crypto/openssl/crypto/bio/bio_lib.c
818
if (bio->method != NULL) {
crypto/openssl/crypto/bio/bio_lib.c
819
mt = bio->method->type;
crypto/openssl/crypto/bio/bio_lib.c
866
if ((new_bio = BIO_new(bio->method)) == NULL)
crypto/openssl/crypto/bio/bio_lib.c
89
bio->method = method;
crypto/openssl/crypto/bio/bio_lib.c
98
if (method->create != NULL && !method->create(bio)) {
crypto/openssl/crypto/bio/bio_local.h
100
const BIO_METHOD *method;
crypto/openssl/crypto/bio/bio_meth.c
127
ret = bio->method->bread_old(bio, data, (int)datal);
crypto/openssl/crypto/bio/bio_meth.c
79
ret = bio->method->bwrite_old(bio, data, (int)datal);
crypto/openssl/crypto/bio/bss_dgram_pair.c
349
if (bio1->method != &dgram_pair_method || bio2->method != &dgram_pair_method) {
crypto/openssl/crypto/comp_methods.c
33
COMP_METHOD *method = COMP_zlib();
crypto/openssl/crypto/comp_methods.c
37
if (COMP_get_type(method) != NID_undef && comp_methods != NULL) {
crypto/openssl/crypto/comp_methods.c
40
comp->method = method;
crypto/openssl/crypto/comp_methods.c
42
comp->name = COMP_get_name(method);
crypto/openssl/crypto/core_fetch.c
108
void *method = NULL;
crypto/openssl/crypto/core_fetch.c
110
if ((method = data->mcm->construct(algo, provider, data->mcm_data))
crypto/openssl/crypto/core_fetch.c
127
data->mcm->put(no_store ? data->store : NULL, method, provider, algo->algorithm_names,
crypto/openssl/crypto/core_fetch.c
131
data->mcm->destruct(method, data->mcm_data);
crypto/openssl/crypto/core_fetch.c
138
void *method = NULL;
crypto/openssl/crypto/core_fetch.c
167
method = mcm->get(cbdata.store, (const OSSL_PROVIDER **)provider_rw,
crypto/openssl/crypto/core_fetch.c
171
if (method == NULL)
crypto/openssl/crypto/core_fetch.c
172
method = mcm->get(NULL, (const OSSL_PROVIDER **)provider_rw, mcm_data);
crypto/openssl/crypto/core_fetch.c
174
return method;
crypto/openssl/crypto/crmf/crmf_lib.c
127
int method, GENERAL_NAME *nm)
crypto/openssl/crypto/crmf/crmf_lib.c
130
|| method < OSSL_CRMF_PUB_METHOD_DONTCARE
crypto/openssl/crypto/crmf/crmf_lib.c
131
|| method > OSSL_CRMF_PUB_METHOD_LDAP) {
crypto/openssl/crypto/crmf/crmf_lib.c
136
if (!ASN1_INTEGER_set(spi->pubMethod, method))
crypto/openssl/crypto/ct/ct_x509v3.c
16
static char *i2s_poison(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/ct/ct_x509v3.c
21
static void *s2i_poison(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/ct/ct_x509v3.c
26
static int i2r_SCT_LIST(X509V3_EXT_METHOD *method, STACK_OF(SCT) *sct_list,
crypto/openssl/crypto/encode_decode/decoder_meth.c
143
void *method = NULL;
crypto/openssl/crypto/encode_decode/decoder_meth.c
169
if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
crypto/openssl/crypto/encode_decode/decoder_meth.c
171
return method;
crypto/openssl/crypto/encode_decode/decoder_meth.c
174
static int put_decoder_in_store(void *store, void *method,
crypto/openssl/crypto/encode_decode/decoder_meth.c
203
return ossl_method_store_add(store, prov, id, propdef, method,
crypto/openssl/crypto/encode_decode/decoder_meth.c
312
void *method = NULL;
crypto/openssl/crypto/encode_decode/decoder_meth.c
315
method = ossl_decoder_from_algorithm(id, algodef, prov);
crypto/openssl/crypto/encode_decode/decoder_meth.c
322
if (method == NULL)
crypto/openssl/crypto/encode_decode/decoder_meth.c
325
return method;
crypto/openssl/crypto/encode_decode/decoder_meth.c
329
static void destruct_decoder(void *method, void *data)
crypto/openssl/crypto/encode_decode/decoder_meth.c
331
OSSL_DECODER_free(method);
crypto/openssl/crypto/encode_decode/decoder_meth.c
334
static int up_ref_decoder(void *method)
crypto/openssl/crypto/encode_decode/decoder_meth.c
336
return OSSL_DECODER_up_ref(method);
crypto/openssl/crypto/encode_decode/decoder_meth.c
339
static void free_decoder(void *method)
crypto/openssl/crypto/encode_decode/decoder_meth.c
341
OSSL_DECODER_free(method);
crypto/openssl/crypto/encode_decode/decoder_meth.c
352
void *method = NULL;
crypto/openssl/crypto/encode_decode/decoder_meth.c
369
|| !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
crypto/openssl/crypto/encode_decode/decoder_meth.c
385
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER,
crypto/openssl/crypto/encode_decode/decoder_meth.c
398
ossl_method_store_cache_set(store, prov, id, propq, method,
crypto/openssl/crypto/encode_decode/decoder_meth.c
409
if ((id != 0 || name != NULL) && method == NULL) {
crypto/openssl/crypto/encode_decode/decoder_meth.c
421
return method;
crypto/openssl/crypto/encode_decode/decoder_meth.c
428
void *method;
crypto/openssl/crypto/encode_decode/decoder_meth.c
432
method = inner_ossl_decoder_fetch(&methdata, name, properties);
crypto/openssl/crypto/encode_decode/decoder_meth.c
434
return method;
crypto/openssl/crypto/encode_decode/decoder_meth.c
545
static void do_one(ossl_unused int id, void *method, void *arg)
crypto/openssl/crypto/encode_decode/decoder_meth.c
549
data->user_fn(method, data->user_arg);
crypto/openssl/crypto/encode_decode/encoder_meth.c
143
void *method = NULL;
crypto/openssl/crypto/encode_decode/encoder_meth.c
169
if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
crypto/openssl/crypto/encode_decode/encoder_meth.c
171
return method;
crypto/openssl/crypto/encode_decode/encoder_meth.c
174
static int put_encoder_in_store(void *store, void *method,
crypto/openssl/crypto/encode_decode/encoder_meth.c
203
return ossl_method_store_add(store, prov, id, propdef, method,
crypto/openssl/crypto/encode_decode/encoder_meth.c
318
void *method = NULL;
crypto/openssl/crypto/encode_decode/encoder_meth.c
321
method = encoder_from_algorithm(id, algodef, prov);
crypto/openssl/crypto/encode_decode/encoder_meth.c
328
if (method == NULL)
crypto/openssl/crypto/encode_decode/encoder_meth.c
331
return method;
crypto/openssl/crypto/encode_decode/encoder_meth.c
335
static void destruct_encoder(void *method, void *data)
crypto/openssl/crypto/encode_decode/encoder_meth.c
337
OSSL_ENCODER_free(method);
crypto/openssl/crypto/encode_decode/encoder_meth.c
340
static int up_ref_encoder(void *method)
crypto/openssl/crypto/encode_decode/encoder_meth.c
342
return OSSL_ENCODER_up_ref(method);
crypto/openssl/crypto/encode_decode/encoder_meth.c
345
static void free_encoder(void *method)
crypto/openssl/crypto/encode_decode/encoder_meth.c
347
OSSL_ENCODER_free(method);
crypto/openssl/crypto/encode_decode/encoder_meth.c
358
void *method = NULL;
crypto/openssl/crypto/encode_decode/encoder_meth.c
375
|| !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
crypto/openssl/crypto/encode_decode/encoder_meth.c
391
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_ENCODER,
crypto/openssl/crypto/encode_decode/encoder_meth.c
403
ossl_method_store_cache_set(store, prov, id, propq, method,
crypto/openssl/crypto/encode_decode/encoder_meth.c
414
if ((id != 0 || name != NULL) && method == NULL) {
crypto/openssl/crypto/encode_decode/encoder_meth.c
426
return method;
crypto/openssl/crypto/encode_decode/encoder_meth.c
433
void *method;
crypto/openssl/crypto/encode_decode/encoder_meth.c
437
method = inner_ossl_encoder_fetch(&methdata, name, properties);
crypto/openssl/crypto/encode_decode/encoder_meth.c
439
return method;
crypto/openssl/crypto/encode_decode/encoder_meth.c
532
static void do_one(ossl_unused int id, void *method, void *arg)
crypto/openssl/crypto/encode_decode/encoder_meth.c
536
data->user_fn(method, data->user_arg);
crypto/openssl/crypto/evp/evp_fetch.c
130
void *method = NULL;
crypto/openssl/crypto/evp/evp_fetch.c
159
&method))
crypto/openssl/crypto/evp/evp_fetch.c
161
return method;
crypto/openssl/crypto/evp/evp_fetch.c
164
static int put_evp_method_in_store(void *store, void *method,
crypto/openssl/crypto/evp/evp_fetch.c
201
return ossl_method_store_add(store, prov, meth_id, propdef, method,
crypto/openssl/crypto/evp/evp_fetch.c
225
void *method;
crypto/openssl/crypto/evp/evp_fetch.c
230
method = methdata->method_from_algorithm(name_id, algodef, prov);
crypto/openssl/crypto/evp/evp_fetch.c
237
if (method == NULL)
crypto/openssl/crypto/evp/evp_fetch.c
240
return method;
crypto/openssl/crypto/evp/evp_fetch.c
243
static void destruct_evp_method(void *method, void *data)
crypto/openssl/crypto/evp/evp_fetch.c
247
methdata->destruct_method(method);
crypto/openssl/crypto/evp/evp_fetch.c
274
void *method = NULL;
crypto/openssl/crypto/evp/evp_fetch.c
314
|| !ossl_method_store_cache_get(store, prov, meth_id, propq, &method)) {
crypto/openssl/crypto/evp/evp_fetch.c
333
if ((method = ossl_method_construct(methdata->libctx, operation_id,
crypto/openssl/crypto/evp/evp_fetch.c
354
free_method(method);
crypto/openssl/crypto/evp/evp_fetch.c
355
method = NULL;
crypto/openssl/crypto/evp/evp_fetch.c
360
method, up_ref_method, free_method);
crypto/openssl/crypto/evp/evp_fetch.c
371
if ((name_id != 0 || name != NULL) && method == NULL) {
crypto/openssl/crypto/evp/evp_fetch.c
388
return method;
crypto/openssl/crypto/evp/evp_fetch.c
40
int (*refcnt_up_method)(void *method);
crypto/openssl/crypto/evp/evp_fetch.c
400
void *method;
crypto/openssl/crypto/evp/evp_fetch.c
404
method = inner_evp_generic_fetch(&methdata, NULL, operation_id,
crypto/openssl/crypto/evp/evp_fetch.c
408
return method;
crypto/openssl/crypto/evp/evp_fetch.c
41
void (*destruct_method)(void *method);
crypto/openssl/crypto/evp/evp_fetch.c
426
void *method;
crypto/openssl/crypto/evp/evp_fetch.c
430
method = inner_evp_generic_fetch(&methdata, prov, operation_id,
crypto/openssl/crypto/evp/evp_fetch.c
434
return method;
crypto/openssl/crypto/evp/evp_fetch.c
618
void (*user_fn)(void *method, void *arg);
crypto/openssl/crypto/evp/evp_fetch.c
622
static void filter_on_operation_id(int id, void *method, void *arg)
crypto/openssl/crypto/evp/evp_fetch.c
627
data->user_fn(method, data->user_arg);
crypto/openssl/crypto/evp/evp_fetch.c
631
void (*user_fn)(void *method, void *arg),
crypto/openssl/crypto/evp/evp_local.h
316
void (*user_fn)(void *method, void *arg),
crypto/openssl/crypto/evp/evp_local.h
319
void (*user_fn)(void *method, void *arg),
crypto/openssl/crypto/ocsp/ocsp_ext.c
445
if ((ad->method = OBJ_nid2obj(NID_ad_OCSP)) == NULL)
crypto/openssl/crypto/ocsp/v3_ocsp.c
123
static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff,
crypto/openssl/crypto/ocsp/v3_ocsp.c
185
static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce,
crypto/openssl/crypto/ocsp/v3_ocsp.c
197
static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method, void *nocheck,
crypto/openssl/crypto/ocsp/v3_ocsp.c
203
static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/ocsp/v3_ocsp.c
209
static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in,
crypto/openssl/crypto/ocsp/v3_ocsp.c
224
if (i2a_ASN1_OBJECT(bp, ad->method) <= 0)
crypto/openssl/crypto/ocsp/v3_ocsp.c
23
static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *nonce,
crypto/openssl/crypto/ocsp/v3_ocsp.c
25
static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *nonce,
crypto/openssl/crypto/ocsp/v3_ocsp.c
32
static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce,
crypto/openssl/crypto/ocsp/v3_ocsp.c
35
static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/ocsp/v3_ocsp.c
37
static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/ocsp/v3_ocsp.c
39
static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in,
crypto/openssl/crypto/ocsp/v3_ocsp.c
90
static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp,
crypto/openssl/crypto/property/property.c
162
static int ossl_method_up_ref(METHOD *method)
crypto/openssl/crypto/property/property.c
164
return (*method->up_ref)(method->method);
crypto/openssl/crypto/property/property.c
167
static void ossl_method_free(METHOD *method)
crypto/openssl/crypto/property/property.c
169
(*method->free)(method->method);
crypto/openssl/crypto/property/property.c
206
ossl_method_free(&impl->method);
crypto/openssl/crypto/property/property.c
214
ossl_method_free(&elem->method);
crypto/openssl/crypto/property/property.c
318
int nid, const char *properties, void *method,
crypto/openssl/crypto/property/property.c
327
if (nid <= 0 || method == NULL || store == NULL)
crypto/openssl/crypto/property/property.c
340
impl->method.method = method;
crypto/openssl/crypto/property/property.c
341
impl->method.up_ref = method_up_ref;
crypto/openssl/crypto/property/property.c
342
impl->method.free = method_destruct;
crypto/openssl/crypto/property/property.c
343
if (!ossl_method_up_ref(&impl->method)) {
crypto/openssl/crypto/property/property.c
37
void *method;
crypto/openssl/crypto/property/property.c
436
const void *method)
crypto/openssl/crypto/property/property.c
441
if (nid <= 0 || method == NULL || store == NULL)
crypto/openssl/crypto/property/property.c
45
METHOD method;
crypto/openssl/crypto/property/property.c
461
if (impl->method.method == method) {
crypto/openssl/crypto/property/property.c
53
METHOD method;
crypto/openssl/crypto/property/property.c
553
void (*fn)(int id, void *method, void *fnarg),
crypto/openssl/crypto/property/property.c
556
fn(alg->nid, impl->method.method, fnarg);
crypto/openssl/crypto/property/property.c
579
void (*fn)(int id, void *method, void *fnarg),
crypto/openssl/crypto/property/property.c
637
const OSSL_PROVIDER **prov_rw, void **method)
crypto/openssl/crypto/property/property.c
647
if (nid <= 0 || method == NULL || store == NULL)
crypto/openssl/crypto/property/property.c
732
if (ret && ossl_method_up_ref(&best_impl->method)) {
crypto/openssl/crypto/property/property.c
733
*method = best_impl->method.method;
crypto/openssl/crypto/property/property.c
860
int nid, const char *prop_query, void **method)
crypto/openssl/crypto/property/property.c
880
if (ossl_method_up_ref(&r->method)) {
crypto/openssl/crypto/property/property.c
881
*method = r->method.method;
crypto/openssl/crypto/property/property.c
890
int nid, const char *prop_query, void *method,
crypto/openssl/crypto/property/property.c
913
if (method == NULL) {
crypto/openssl/crypto/property/property.c
926
p->method.method = method;
crypto/openssl/crypto/property/property.c
927
p->method.up_ref = method_up_ref;
crypto/openssl/crypto/property/property.c
928
p->method.free = method_destruct;
crypto/openssl/crypto/property/property.c
929
if (!ossl_method_up_ref(&p->method))
crypto/openssl/crypto/property/property.c
941
ossl_method_free(&p->method);
crypto/openssl/crypto/store/store_meth.c
140
void *method = NULL;
crypto/openssl/crypto/store/store_meth.c
153
if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method))
crypto/openssl/crypto/store/store_meth.c
155
return method;
crypto/openssl/crypto/store/store_meth.c
158
static int put_loader_in_store(void *store, void *method,
crypto/openssl/crypto/store/store_meth.c
174
return ossl_method_store_add(store, prov, id, propdef, method,
crypto/openssl/crypto/store/store_meth.c
266
void *method = NULL;
crypto/openssl/crypto/store/store_meth.c
269
method = loader_from_algorithm(id, algodef, prov);
crypto/openssl/crypto/store/store_meth.c
276
if (method == NULL)
crypto/openssl/crypto/store/store_meth.c
279
return method;
crypto/openssl/crypto/store/store_meth.c
283
static void destruct_loader(void *method, void *data)
crypto/openssl/crypto/store/store_meth.c
285
OSSL_STORE_LOADER_free(method);
crypto/openssl/crypto/store/store_meth.c
296
void *method = NULL;
crypto/openssl/crypto/store/store_meth.c
314
|| !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
crypto/openssl/crypto/store/store_meth.c
330
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_STORE,
crypto/openssl/crypto/store/store_meth.c
341
ossl_method_store_cache_set(store, prov, id, propq, method,
crypto/openssl/crypto/store/store_meth.c
352
if ((id != 0 || scheme != NULL) && method == NULL) {
crypto/openssl/crypto/store/store_meth.c
370
return method;
crypto/openssl/crypto/store/store_meth.c
378
void *method;
crypto/openssl/crypto/store/store_meth.c
382
method = inner_loader_fetch(&methdata, scheme, properties);
crypto/openssl/crypto/store/store_meth.c
384
return method;
crypto/openssl/crypto/store/store_meth.c
461
static void do_one(ossl_unused int id, void *method, void *arg)
crypto/openssl/crypto/store/store_meth.c
465
data->user_fn(method, data->user_arg);
crypto/openssl/crypto/store/store_meth.c
64
static int up_ref_loader(void *method)
crypto/openssl/crypto/store/store_meth.c
66
return OSSL_STORE_LOADER_up_ref(method);
crypto/openssl/crypto/store/store_meth.c
69
static void free_loader(void *method)
crypto/openssl/crypto/store/store_meth.c
71
OSSL_STORE_LOADER_free(method);
crypto/openssl/crypto/ui/ui_lib.c
23
UI *UI_new_method(const UI_METHOD *method)
crypto/openssl/crypto/ui/ui_lib.c
37
if (method == NULL)
crypto/openssl/crypto/ui/ui_lib.c
38
method = UI_get_default_method();
crypto/openssl/crypto/ui/ui_lib.c
39
if (method == NULL)
crypto/openssl/crypto/ui/ui_lib.c
40
method = UI_null();
crypto/openssl/crypto/ui/ui_lib.c
41
ret->meth = method;
crypto/openssl/crypto/ui/ui_lib.c
642
int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui))
crypto/openssl/crypto/ui/ui_lib.c
644
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
645
method->ui_open_session = opener;
crypto/openssl/crypto/ui/ui_lib.c
651
int UI_method_set_writer(UI_METHOD *method,
crypto/openssl/crypto/ui/ui_lib.c
654
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
655
method->ui_write_string = writer;
crypto/openssl/crypto/ui/ui_lib.c
661
int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui))
crypto/openssl/crypto/ui/ui_lib.c
663
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
664
method->ui_flush = flusher;
crypto/openssl/crypto/ui/ui_lib.c
670
int UI_method_set_reader(UI_METHOD *method,
crypto/openssl/crypto/ui/ui_lib.c
673
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
674
method->ui_read_string = reader;
crypto/openssl/crypto/ui/ui_lib.c
680
int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui))
crypto/openssl/crypto/ui/ui_lib.c
682
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
683
method->ui_close_session = closer;
crypto/openssl/crypto/ui/ui_lib.c
689
int UI_method_set_data_duplicator(UI_METHOD *method,
crypto/openssl/crypto/ui/ui_lib.c
693
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
694
method->ui_duplicate_data = duplicator;
crypto/openssl/crypto/ui/ui_lib.c
695
method->ui_destroy_data = destructor;
crypto/openssl/crypto/ui/ui_lib.c
701
int UI_method_set_prompt_constructor(UI_METHOD *method,
crypto/openssl/crypto/ui/ui_lib.c
706
if (method != NULL) {
crypto/openssl/crypto/ui/ui_lib.c
707
method->ui_construct_prompt = prompt_constructor;
crypto/openssl/crypto/ui/ui_lib.c
713
int UI_method_set_ex_data(UI_METHOD *method, int idx, void *data)
crypto/openssl/crypto/ui/ui_lib.c
715
return CRYPTO_set_ex_data(&method->ex_data, idx, data);
crypto/openssl/crypto/ui/ui_lib.c
718
int (*UI_method_get_opener(const UI_METHOD *method))(UI *)
crypto/openssl/crypto/ui/ui_lib.c
720
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
721
return method->ui_open_session;
crypto/openssl/crypto/ui/ui_lib.c
725
int (*UI_method_get_writer(const UI_METHOD *method))(UI *, UI_STRING *)
crypto/openssl/crypto/ui/ui_lib.c
727
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
728
return method->ui_write_string;
crypto/openssl/crypto/ui/ui_lib.c
732
int (*UI_method_get_flusher(const UI_METHOD *method))(UI *)
crypto/openssl/crypto/ui/ui_lib.c
734
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
735
return method->ui_flush;
crypto/openssl/crypto/ui/ui_lib.c
739
int (*UI_method_get_reader(const UI_METHOD *method))(UI *, UI_STRING *)
crypto/openssl/crypto/ui/ui_lib.c
741
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
742
return method->ui_read_string;
crypto/openssl/crypto/ui/ui_lib.c
746
int (*UI_method_get_closer(const UI_METHOD *method))(UI *)
crypto/openssl/crypto/ui/ui_lib.c
748
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
749
return method->ui_close_session;
crypto/openssl/crypto/ui/ui_lib.c
753
char *(*UI_method_get_prompt_constructor(const UI_METHOD *method))(UI *, const char *, const char *)
crypto/openssl/crypto/ui/ui_lib.c
755
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
756
return method->ui_construct_prompt;
crypto/openssl/crypto/ui/ui_lib.c
760
void *(*UI_method_get_data_duplicator(const UI_METHOD *method))(UI *, void *)
crypto/openssl/crypto/ui/ui_lib.c
762
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
763
return method->ui_duplicate_data;
crypto/openssl/crypto/ui/ui_lib.c
767
void (*UI_method_get_data_destructor(const UI_METHOD *method))(UI *, void *)
crypto/openssl/crypto/ui/ui_lib.c
769
if (method != NULL)
crypto/openssl/crypto/ui/ui_lib.c
770
return method->ui_destroy_data;
crypto/openssl/crypto/ui/ui_lib.c
774
const void *UI_method_get_ex_data(const UI_METHOD *method, int idx)
crypto/openssl/crypto/ui/ui_lib.c
776
return CRYPTO_get_ex_data(&method->ex_data, idx);
crypto/openssl/crypto/x509/v3_aaa.c
101
static int i2r_ALLOWED_ATTRIBUTES_SYNTAX(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_aaa.c
112
if (i2r_ALLOWED_ATTRIBUTES_ITEM(method, aai, out, indent + 4) <= 0)
crypto/openssl/crypto/x509/v3_aaa.c
38
static int i2r_ALLOWED_ATTRIBUTES_CHOICE(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_aaa.c
78
static int i2r_ALLOWED_ATTRIBUTES_ITEM(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_aaa.c
89
if (i2r_ALLOWED_ATTRIBUTES_CHOICE(method, a, out, indent + 4) <= 0)
crypto/openssl/crypto/x509/v3_ac_tgt.c
102
static int i2r_OBJECT_DIGEST_INFO(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
160
static int i2r_TARGET_CERT(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
167
i2r_ISSUER_SERIAL(method, tc->targetCertificate, out, indent + 2);
crypto/openssl/crypto/x509/v3_ac_tgt.c
176
i2r_OBJECT_DIGEST_INFO(method, tc->certDigestInfo, out, indent + 2);
crypto/openssl/crypto/x509/v3_ac_tgt.c
182
static int i2r_TARGET(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
199
i2r_TARGET_CERT(method, target->choice.targetCert, out, indent + 2);
crypto/openssl/crypto/x509/v3_ac_tgt.c
205
static int i2r_TARGETS(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
215
i2r_TARGET(method, target, out, indent + 2);
crypto/openssl/crypto/x509/v3_ac_tgt.c
22
static int i2r_ISSUER_SERIAL(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
220
static int i2r_TARGETING_INFORMATION(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
230
i2r_TARGETS(method, targets, out, indent + 2);
crypto/openssl/crypto/x509/v3_ac_tgt.c
25
static int i2r_OBJECT_DIGEST_INFO(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
28
static int i2r_TARGET_CERT(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
31
static int i2r_TARGET(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
34
static int i2r_TARGETING_INFORMATION(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ac_tgt.c
76
static int i2r_ISSUER_SERIAL(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_addr.c
205
static int i2r_IPAddrBlocks(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_addr.c
917
static void *v2i_IPAddrBlocks(const struct v3_ext_method *method,
crypto/openssl/crypto/x509/v3_admis.c
118
static int i2r_ADMISSION_SYNTAX(const struct v3_ext_method *method, void *in,
crypto/openssl/crypto/x509/v3_admis.c
147
if (i2r_NAMING_AUTHORITY(method, entry->namingAuthority, bp, ind + 2) <= 0)
crypto/openssl/crypto/x509/v3_admis.c
165
if (i2r_NAMING_AUTHORITY(method, pinfo->namingAuthority, bp, ind + 4) <= 0)
crypto/openssl/crypto/x509/v3_admis.c
53
static int i2r_ADMISSION_SYNTAX(const struct v3_ext_method *method, void *in,
crypto/openssl/crypto/x509/v3_admis.c
70
static int i2r_NAMING_AUTHORITY(const struct v3_ext_method *method, void *in,
crypto/openssl/crypto/x509/v3_akid.c
19
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_akid.c
23
static AUTHORITY_KEYID *v2i_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_akid.c
38
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_akid.c
96
static AUTHORITY_KEYID *v2i_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_asid.c
109
static int i2r_ASIdentifiers(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_asid.c
495
static void *v2i_ASIdentifiers(const struct v3_ext_method *method,
crypto/openssl/crypto/x509/v3_attrdesc.c
111
return i2r_INFO_SYNTAX_POINTER(method, info->choice.pointer, out, indent + 4);
crypto/openssl/crypto/x509/v3_attrdesc.c
118
static int i2r_OSSL_PRIVILEGE_POLICY_ID(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrdesc.c
131
return i2r_OSSL_INFO_SYNTAX(method, ppid->privPolSyntax, out, indent + 4);
crypto/openssl/crypto/x509/v3_attrdesc.c
134
static int i2r_OSSL_ATTRIBUTE_DESCRIPTOR(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrdesc.c
165
return i2r_OSSL_PRIVILEGE_POLICY_ID(method, ad->dominationRule, out, indent + 4);
crypto/openssl/crypto/x509/v3_attrdesc.c
49
static int i2r_HASH(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrdesc.c
76
static int i2r_INFO_SYNTAX_POINTER(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrdesc.c
89
if (i2r_HASH(method, pointer->hash, out, indent + 4) <= 0)
crypto/openssl/crypto/x509/v3_attrdesc.c
95
static int i2r_OSSL_INFO_SYNTAX(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrmap.c
46
static int i2r_ATTRIBUTE_MAPPING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrmap.c
87
static int i2r_ATTRIBUTE_MAPPINGS(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_attrmap.c
98
if (i2r_ATTRIBUTE_MAPPING(method, am, out, indent + 4) <= 0)
crypto/openssl/crypto/x509/v3_authattid.c
24
static int i2r_ISSUER_SERIAL(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_authattid.c
50
static int i2r_auth_attr_id(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_authattid.c
61
if (i2r_ISSUER_SERIAL(method, aid, out, indent + 4) <= 0)
crypto/openssl/crypto/x509/v3_battcons.c
18
X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_battcons.c
23
X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_battcons.c
46
X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_battcons.c
56
X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bcons.c
19
static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bcons.c
23
static BASIC_CONSTRAINTS *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bcons.c
45
static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bcons.c
55
static BASIC_CONSTRAINTS *v2i_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bitst.c
44
STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bitst.c
49
for (bnam = method->usr_data; bnam->lname; bnam++) {
crypto/openssl/crypto/x509/v3_bitst.c
56
ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_bitst.c
70
for (bnam = method->usr_data; bnam->lname; bnam++) {
crypto/openssl/crypto/x509/v3_conf.c
108
ext_struc = method->v2i(method, ctx, nval);
crypto/openssl/crypto/x509/v3_conf.c
113
} else if (method->s2i) {
crypto/openssl/crypto/x509/v3_conf.c
114
if ((ext_struc = method->s2i(method, ctx, value)) == NULL)
crypto/openssl/crypto/x509/v3_conf.c
116
} else if (method->r2i) {
crypto/openssl/crypto/x509/v3_conf.c
121
if ((ext_struc = method->r2i(method, ctx, value)) == NULL)
crypto/openssl/crypto/x509/v3_conf.c
129
ext = do_ext_i2d(method, ext_nid, crit, ext_struc);
crypto/openssl/crypto/x509/v3_conf.c
130
if (method->it)
crypto/openssl/crypto/x509/v3_conf.c
131
ASN1_item_free(ext_struc, ASN1_ITEM_ptr(method->it));
crypto/openssl/crypto/x509/v3_conf.c
133
method->ext_free(ext_struc);
crypto/openssl/crypto/x509/v3_conf.c
137
static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_conf.c
146
if (method->it) {
crypto/openssl/crypto/x509/v3_conf.c
148
ext_len = ASN1_item_i2d(ext_struc, &ext_der, ASN1_ITEM_ptr(method->it));
crypto/openssl/crypto/x509/v3_conf.c
156
ext_len = method->i2d(ext_struc, NULL);
crypto/openssl/crypto/x509/v3_conf.c
164
method->i2d(ext_struc, &p);
crypto/openssl/crypto/x509/v3_conf.c
193
const X509V3_EXT_METHOD *method;
crypto/openssl/crypto/x509/v3_conf.c
195
if ((method = X509V3_EXT_get_nid(ext_nid)) == NULL) {
crypto/openssl/crypto/x509/v3_conf.c
199
return do_ext_i2d(method, ext_nid, crit, ext_struc);
crypto/openssl/crypto/x509/v3_conf.c
29
static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_conf.c
82
const X509V3_EXT_METHOD *method;
crypto/openssl/crypto/x509/v3_conf.c
91
if ((method = X509V3_EXT_get_nid(ext_nid)) == NULL) {
crypto/openssl/crypto/x509/v3_conf.c
96
if (method->v2i) {
crypto/openssl/crypto/x509/v3_cpols.c
23
static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol,
crypto/openssl/crypto/x509/v3_cpols.c
25
static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_cpols.c
414
static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol,
crypto/openssl/crypto/x509/v3_cpols.c
88
static STACK_OF(POLICYINFO) *r2i_certpol(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_crld.c
21
static void *v2i_crld(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_crld.c
23
static int i2r_crldp(const X509V3_EXT_METHOD *method, void *pcrldp, BIO *out,
crypto/openssl/crypto/x509/v3_crld.c
242
static void *v2i_crld(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_crld.c
272
if ((gen = v2i_GENERAL_NAME(method, ctx, cnf)) == NULL)
crypto/openssl/crypto/x509/v3_crld.c
355
static int i2r_idp(const X509V3_EXT_METHOD *method, void *pidp, BIO *out,
crypto/openssl/crypto/x509/v3_crld.c
357
static void *v2i_idp(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
crypto/openssl/crypto/x509/v3_crld.c
371
static void *v2i_idp(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
crypto/openssl/crypto/x509/v3_crld.c
436
static int i2r_idp(const X509V3_EXT_METHOD *method, void *pidp, BIO *out,
crypto/openssl/crypto/x509/v3_crld.c
460
static int i2r_crldp(const X509V3_EXT_METHOD *method, void *pcrldp, BIO *out,
crypto/openssl/crypto/x509/v3_crld.c
482
static int i2r_crl_invdate(const X509V3_EXT_METHOD *method, void *date,
crypto/openssl/crypto/x509/v3_crld.c
484
static int i2r_object(const X509V3_EXT_METHOD *method, void *obj, BIO *out,
crypto/openssl/crypto/x509/v3_crld.c
505
static int i2r_crl_invdate(const X509V3_EXT_METHOD *method, void *date,
crypto/openssl/crypto/x509/v3_crld.c
515
static int i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp,
crypto/openssl/crypto/x509/v3_crld.c
611
static void *v2i_aaidp(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_crld.c
632
if ((gen = v2i_GENERAL_NAME(method, ctx, cnf)) == NULL)
crypto/openssl/crypto/x509/v3_crld.c
664
static int i2r_aaidp(const X509V3_EXT_METHOD *method, void *dp, BIO *out,
crypto/openssl/crypto/x509/v3_enum.c
41
char *i2s_ASN1_ENUMERATED_TABLE(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_enum.c
48
for (enam = method->usr_data; enam->lname; enam++) {
crypto/openssl/crypto/x509/v3_enum.c
52
return i2s_ASN1_ENUMERATED(method, e);
crypto/openssl/crypto/x509/v3_extku.c
17
static void *v2i_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_extku.c
21
*method,
crypto/openssl/crypto/x509/v3_extku.c
77
*method,
crypto/openssl/crypto/x509/v3_extku.c
92
static void *v2i_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_group_ac.c
17
static int i2r_GROUP_AC(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_group_ac.c
24
static void *r2i_GROUP_AC(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_group_ac.c
30
static char *i2s_GROUP_AC(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/x509/v3_group_ac.c
35
static void *s2i_GROUP_AC(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/x509/v3_ia5.c
28
char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5)
crypto/openssl/crypto/x509/v3_ia5.c
41
ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ind_iss.c
17
static int i2r_INDIRECT_ISSUER(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ind_iss.c
24
static void *r2i_INDIRECT_ISSUER(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ind_iss.c
30
static char *i2s_INDIRECT_ISSUER(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/x509/v3_ind_iss.c
35
static void *s2i_INDIRECT_ISSUER(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/x509/v3_info.c
101
*method,
crypto/openssl/crypto/x509/v3_info.c
131
if (!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0))
crypto/openssl/crypto/x509/v3_info.c
135
acc->method = OBJ_txt2obj(objtmp, 0);
crypto/openssl/crypto/x509/v3_info.c
136
if (!acc->method) {
crypto/openssl/crypto/x509/v3_info.c
152
i2a_ASN1_OBJECT(bp, a->method);
crypto/openssl/crypto/x509/v3_info.c
19
*method,
crypto/openssl/crypto/x509/v3_info.c
25
*method,
crypto/openssl/crypto/x509/v3_info.c
49
ASN1_SIMPLE(ACCESS_DESCRIPTION, method, ASN1_OBJECT),
crypto/openssl/crypto/x509/v3_info.c
61
X509V3_EXT_METHOD *method, AUTHORITY_INFO_ACCESS *ainfo,
crypto/openssl/crypto/x509/v3_info.c
74
tmp = i2v_GENERAL_NAME(method, desc->location, tret);
crypto/openssl/crypto/x509/v3_info.c
81
i2t_ASN1_OBJECT(objtmp, sizeof(objtmp), desc->method);
crypto/openssl/crypto/x509/v3_iobo.c
13
static int i2r_ISSUED_ON_BEHALF_OF(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ist.c
34
static ISSUER_SIGN_TOOL *v2i_issuer_sign_tool(X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
crypto/openssl/crypto/x509/v3_ist.c
94
static int i2r_issuer_sign_tool(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_lib.c
136
const X509V3_EXT_METHOD *method;
crypto/openssl/crypto/x509/v3_lib.c
141
if ((method = X509V3_EXT_get(ext)) == NULL)
crypto/openssl/crypto/x509/v3_lib.c
146
if (method->it)
crypto/openssl/crypto/x509/v3_lib.c
147
return ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it));
crypto/openssl/crypto/x509/v3_lib.c
148
return method->d2i(NULL, &p, extlen);
crypto/openssl/crypto/x509/v3_ncons.c
148
static void *v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ncons.c
180
if (!v2i_GENERAL_NAME_ex(sub->base, method, ctx, &tval, 1)) {
crypto/openssl/crypto/x509/v3_ncons.c
202
static int i2r_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, void *a,
crypto/openssl/crypto/x509/v3_ncons.c
206
do_i2r_name_constraints(method, ncons->permittedSubtrees,
crypto/openssl/crypto/x509/v3_ncons.c
210
do_i2r_name_constraints(method, ncons->excludedSubtrees,
crypto/openssl/crypto/x509/v3_ncons.c
215
static int do_i2r_name_constraints(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ncons.c
27
static void *v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_ncons.c
30
static int i2r_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method, void *a,
crypto/openssl/crypto/x509/v3_ncons.c
32
static int do_i2r_name_constraints(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_no_ass.c
17
static int i2r_NO_ASSERTION(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_no_ass.c
24
static void *r2i_NO_ASSERTION(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_no_ass.c
30
static char *i2s_NO_ASSERTION(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/x509/v3_no_ass.c
35
static void *s2i_NO_ASSERTION(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/x509/v3_no_rev_avail.c
17
static int i2r_NO_REV_AVAIL(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_no_rev_avail.c
24
static void *r2i_NO_REV_AVAIL(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_no_rev_avail.c
30
static char *i2s_NO_REV_AVAIL(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/x509/v3_no_rev_avail.c
35
static void *s2i_NO_REV_AVAIL(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/x509/v3_pci.c
242
static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pci.c
52
static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *ext,
crypto/openssl/crypto/x509/v3_pci.c
54
static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pci.c
74
static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *pci,
crypto/openssl/crypto/x509/v3_pcons.c
19
*method,
crypto/openssl/crypto/x509/v3_pcons.c
21
static void *v2i_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pcons.c
44
*method,
crypto/openssl/crypto/x509/v3_pcons.c
55
static void *v2i_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pku.c
17
static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pku.c
36
static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pmaps.c
17
static void *v2i_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_pmaps.c
20
*method,
crypto/openssl/crypto/x509/v3_pmaps.c
46
*method,
crypto/openssl/crypto/x509/v3_pmaps.c
64
static void *v2i_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_prn.c
115
} else if (method->i2v) {
crypto/openssl/crypto/x509/v3_prn.c
116
if ((nval = method->i2v(method, ext_str, NULL)) == NULL) {
crypto/openssl/crypto/x509/v3_prn.c
121
method->ext_flags & X509V3_EXT_MULTILINE);
crypto/openssl/crypto/x509/v3_prn.c
122
} else if (method->i2r) {
crypto/openssl/crypto/x509/v3_prn.c
123
if (!method->i2r(method, ext_str, out, indent))
crypto/openssl/crypto/x509/v3_prn.c
131
if (method->it)
crypto/openssl/crypto/x509/v3_prn.c
132
ASN1_item_free(ext_str, ASN1_ITEM_ptr(method->it));
crypto/openssl/crypto/x509/v3_prn.c
134
method->ext_free(ext_str);
crypto/openssl/crypto/x509/v3_prn.c
77
const X509V3_EXT_METHOD *method;
crypto/openssl/crypto/x509/v3_prn.c
85
if ((method = X509V3_EXT_get(ext)) == NULL)
crypto/openssl/crypto/x509/v3_prn.c
87
if (method->it)
crypto/openssl/crypto/x509/v3_prn.c
88
ext_str = ASN1_item_d2i(NULL, &p, extlen, ASN1_ITEM_ptr(method->it));
crypto/openssl/crypto/x509/v3_prn.c
90
ext_str = method->d2i(NULL, &p, extlen);
crypto/openssl/crypto/x509/v3_prn.c
95
if (method->i2s) {
crypto/openssl/crypto/x509/v3_prn.c
96
if ((value = method->i2s(method, ext_str)) == NULL) {
crypto/openssl/crypto/x509/v3_rolespec.c
30
static int i2r_OSSL_ROLE_SPEC_CERT_ID(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_rolespec.c
63
static int i2r_OSSL_ROLE_SPEC_CERT_ID_SYNTAX(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_rolespec.c
79
if (i2r_OSSL_ROLE_SPEC_CERT_ID(method, rscid, out, indent + 4) != 1)
crypto/openssl/crypto/x509/v3_san.c
18
static GENERAL_NAMES *v2i_subject_alt(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
21
static GENERAL_NAMES *v2i_issuer_alt(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
301
static GENERAL_NAMES *v2i_issuer_alt(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
321
GENERAL_NAME *gen = v2i_GENERAL_NAME(method, ctx, cnf);
crypto/openssl/crypto/x509/v3_san.c
377
static GENERAL_NAMES *v2i_subject_alt(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
404
if ((gen = v2i_GENERAL_NAME(method, ctx, cnf)) == NULL)
crypto/openssl/crypto/x509/v3_san.c
470
GENERAL_NAMES *v2i_GENERAL_NAMES(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
487
if ((gen = v2i_GENERAL_NAME(method, ctx, cnf)) == NULL)
crypto/openssl/crypto/x509/v3_san.c
497
GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
500
return v2i_GENERAL_NAME_ex(NULL, method, ctx, cnf, 0);
crypto/openssl/crypto/x509/v3_san.c
504
const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
51
STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
593
const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_san.c
628
return a2i_GENERAL_NAME(out, method, ctx, type, value, is_nc);
crypto/openssl/crypto/x509/v3_san.c
66
tmpret = i2v_GENERAL_NAME(method, gen, ret);
crypto/openssl/crypto/x509/v3_san.c
79
STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_sda.c
20
static int i2r_ATTRIBUTES_SYNTAX(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_single_use.c
17
static int i2r_SINGLE_USE(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_single_use.c
24
static void *r2i_SINGLE_USE(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_single_use.c
30
static char *i2s_SINGLE_USE(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/x509/v3_single_use.c
35
static void *s2i_SINGLE_USE(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/x509/v3_skid.c
16
static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_skid.c
27
char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_skid.c
33
ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_skid.c
90
static ASN1_OCTET_STRING *s2i_skey_id(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_skid.c
97
return s2i_ASN1_OCTET_STRING(method, ctx /* not used */, str);
crypto/openssl/crypto/x509/v3_soa_id.c
17
static int i2r_SOA_IDENTIFIER(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_soa_id.c
24
static void *r2i_SOA_IDENTIFIER(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_soa_id.c
30
static char *i2s_SOA_IDENTIFIER(const X509V3_EXT_METHOD *method, void *val)
crypto/openssl/crypto/x509/v3_soa_id.c
35
static void *s2i_SOA_IDENTIFIER(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, const char *str)
crypto/openssl/crypto/x509/v3_sxnet.c
22
static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
crypto/openssl/crypto/x509/v3_sxnet.c
25
static SXNET *sxnet_v2i(X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
crypto/openssl/crypto/x509/v3_sxnet.c
57
static int sxnet_i2r(X509V3_EXT_METHOD *method, SXNET *sx, BIO *out,
crypto/openssl/crypto/x509/v3_sxnet.c
98
static SXNET *sxnet_v2i(X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
crypto/openssl/crypto/x509/v3_timespec.c
127
static int i2r_OSSL_TIME_SPEC_ABSOLUTE(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_timespec.c
158
static int i2r_OSSL_DAY_TIME(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_timespec.c
177
static int i2r_OSSL_DAY_TIME_BAND(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_timespec.c
182
if (!i2r_OSSL_DAY_TIME(method, band->startDayTime, out, indent))
crypto/openssl/crypto/x509/v3_timespec.c
190
if (!i2r_OSSL_DAY_TIME(method, band->endDayTime, out, indent))
crypto/openssl/crypto/x509/v3_timespec.c
338
static int i2r_OSSL_PERIOD(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_timespec.c
357
if (!i2r_OSSL_DAY_TIME_BAND(method, band, out, indent + 8))
crypto/openssl/crypto/x509/v3_timespec.c
537
static int i2r_OSSL_TIME_SPEC_TIME(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_timespec.c
548
if (i2r_OSSL_TIME_SPEC_ABSOLUTE(method, time->choice.absolute, out, indent + 4) <= 0)
crypto/openssl/crypto/x509/v3_timespec.c
558
if (!i2r_OSSL_PERIOD(method, tp, out, indent + 4))
crypto/openssl/crypto/x509/v3_timespec.c
568
static int i2r_OSSL_TIME_SPEC(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_timespec.c
586
return i2r_OSSL_TIME_SPEC_TIME(method, time->time, out, indent + 4);
crypto/openssl/crypto/x509/v3_tlsf.c
19
static STACK_OF(CONF_VALUE) *i2v_TLS_FEATURE(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_tlsf.c
22
static TLS_FEATURE *v2i_TLS_FEATURE(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_tlsf.c
58
static STACK_OF(CONF_VALUE) *i2v_TLS_FEATURE(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_tlsf.c
85
static TLS_FEATURE *v2i_TLS_FEATURE(const X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_usernotice.c
66
static int i2r_USER_NOTICE_SYNTAX(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_utf8.c
28
char *i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_utf8.c
44
ASN1_UTF8STRING *s2i_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
crypto/openssl/crypto/x509/v3_utl.c
166
char *i2s_ASN1_ENUMERATED(X509V3_EXT_METHOD *method, const ASN1_ENUMERATED *a)
crypto/openssl/crypto/x509/v3_utl.c
181
char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *method, const ASN1_INTEGER *a)
crypto/openssl/crypto/x509/v3_utl.c
196
ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value)
crypto/openssl/crypto/x509/v3_utl.c
470
if (OBJ_obj2nid(ad->method) == NID_ad_OCSP) {
crypto/openssl/crypto/x509/x509_local.h
104
X509_LOOKUP_METHOD *method; /* the functions */
crypto/openssl/crypto/x509/x509_lu.c
100
|| ctx->method == NULL
crypto/openssl/crypto/x509/x509_lu.c
101
|| (ctx->method->get_by_subject == NULL
crypto/openssl/crypto/x509/x509_lu.c
102
&& ctx->method->get_by_subject_ex == NULL))
crypto/openssl/crypto/x509/x509_lu.c
104
if (ctx->method->get_by_subject_ex != NULL)
crypto/openssl/crypto/x509/x509_lu.c
105
return ctx->method->get_by_subject_ex(ctx, type, name, ret, libctx,
crypto/openssl/crypto/x509/x509_lu.c
108
return ctx->method->get_by_subject(ctx, type, name, ret);
crypto/openssl/crypto/x509/x509_lu.c
122
if ((ctx->method == NULL) || (ctx->method->get_by_issuer_serial == NULL))
crypto/openssl/crypto/x509/x509_lu.c
124
return ctx->method->get_by_issuer_serial(ctx, type, name, serial, ret);
crypto/openssl/crypto/x509/x509_lu.c
131
if ((ctx->method == NULL) || (ctx->method->get_by_fingerprint == NULL))
crypto/openssl/crypto/x509/x509_lu.c
133
return ctx->method->get_by_fingerprint(ctx, type, bytes, len, ret);
crypto/openssl/crypto/x509/x509_lu.c
139
if ((ctx->method == NULL) || (ctx->method->get_by_alias == NULL))
crypto/openssl/crypto/x509/x509_lu.c
141
return ctx->method->get_by_alias(ctx, type, str, len, ret);
crypto/openssl/crypto/x509/x509_lu.c
18
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_lu.c
25
ret->method = method;
crypto/openssl/crypto/x509/x509_lu.c
26
if (method->new_item != NULL && method->new_item(ret) == 0) {
crypto/openssl/crypto/x509/x509_lu.c
277
if (m == lu->method) {
crypto/openssl/crypto/x509/x509_lu.c
356
if (lu->method == NULL)
crypto/openssl/crypto/x509/x509_lu.c
37
if ((ctx->method != NULL) && (ctx->method->free != NULL))
crypto/openssl/crypto/x509/x509_lu.c
38
(*ctx->method->free)(ctx);
crypto/openssl/crypto/x509/x509_lu.c
59
if (ctx->method == NULL)
crypto/openssl/crypto/x509/x509_lu.c
61
if (ctx->method->init != NULL)
crypto/openssl/crypto/x509/x509_lu.c
62
return ctx->method->init(ctx);
crypto/openssl/crypto/x509/x509_lu.c
69
if (ctx->method == NULL)
crypto/openssl/crypto/x509/x509_lu.c
71
if (ctx->method->shutdown != NULL)
crypto/openssl/crypto/x509/x509_lu.c
72
return ctx->method->shutdown(ctx);
crypto/openssl/crypto/x509/x509_lu.c
80
if (ctx->method == NULL)
crypto/openssl/crypto/x509/x509_lu.c
82
if (ctx->method->ctrl_ex != NULL)
crypto/openssl/crypto/x509/x509_lu.c
83
return ctx->method->ctrl_ex(ctx, cmd, argc, argl, ret, libctx, propq);
crypto/openssl/crypto/x509/x509_lu.c
84
if (ctx->method->ctrl != NULL)
crypto/openssl/crypto/x509/x509_lu.c
85
return ctx->method->ctrl(ctx, cmd, argc, argl, ret);
crypto/openssl/crypto/x509/x509_meth.c
102
X509_LOOKUP_ctrl_fn X509_LOOKUP_meth_get_ctrl(const X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_meth.c
104
return method->ctrl;
crypto/openssl/crypto/x509/x509_meth.c
107
int X509_LOOKUP_meth_set_get_by_subject(X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
110
method->get_by_subject = get_by_subject;
crypto/openssl/crypto/x509/x509_meth.c
115
const X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_meth.c
117
return method->get_by_subject;
crypto/openssl/crypto/x509/x509_meth.c
120
int X509_LOOKUP_meth_set_get_by_issuer_serial(X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
123
method->get_by_issuer_serial = get_by_issuer_serial;
crypto/openssl/crypto/x509/x509_meth.c
128
X509_LOOKUP_meth_get_get_by_issuer_serial(const X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_meth.c
130
return method->get_by_issuer_serial;
crypto/openssl/crypto/x509/x509_meth.c
133
int X509_LOOKUP_meth_set_get_by_fingerprint(X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
136
method->get_by_fingerprint = get_by_fingerprint;
crypto/openssl/crypto/x509/x509_meth.c
141
const X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_meth.c
143
return method->get_by_fingerprint;
crypto/openssl/crypto/x509/x509_meth.c
146
int X509_LOOKUP_meth_set_get_by_alias(X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
149
method->get_by_alias = get_by_alias;
crypto/openssl/crypto/x509/x509_meth.c
154
const X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_meth.c
156
return method->get_by_alias;
crypto/openssl/crypto/x509/x509_meth.c
22
X509_LOOKUP_METHOD *method = OPENSSL_zalloc(sizeof(X509_LOOKUP_METHOD));
crypto/openssl/crypto/x509/x509_meth.c
24
if (method != NULL) {
crypto/openssl/crypto/x509/x509_meth.c
25
method->name = OPENSSL_strdup(name);
crypto/openssl/crypto/x509/x509_meth.c
26
if (method->name == NULL)
crypto/openssl/crypto/x509/x509_meth.c
30
return method;
crypto/openssl/crypto/x509/x509_meth.c
33
OPENSSL_free(method);
crypto/openssl/crypto/x509/x509_meth.c
37
void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method)
crypto/openssl/crypto/x509/x509_meth.c
39
if (method != NULL)
crypto/openssl/crypto/x509/x509_meth.c
40
OPENSSL_free(method->name);
crypto/openssl/crypto/x509/x509_meth.c
41
OPENSSL_free(method);
crypto/openssl/crypto/x509/x509_meth.c
44
int X509_LOOKUP_meth_set_new_item(X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
47
method->new_item = new_item;
crypto/openssl/crypto/x509/x509_meth.c
51
int (*X509_LOOKUP_meth_get_new_item(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
crypto/openssl/crypto/x509/x509_meth.c
53
return method->new_item;
crypto/openssl/crypto/x509/x509_meth.c
57
X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
60
method->free = free_fn;
crypto/openssl/crypto/x509/x509_meth.c
64
void (*X509_LOOKUP_meth_get_free(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
crypto/openssl/crypto/x509/x509_meth.c
66
return method->free;
crypto/openssl/crypto/x509/x509_meth.c
69
int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
72
method->init = init;
crypto/openssl/crypto/x509/x509_meth.c
76
int (*X509_LOOKUP_meth_get_init(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
crypto/openssl/crypto/x509/x509_meth.c
78
return method->init;
crypto/openssl/crypto/x509/x509_meth.c
82
X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
85
method->shutdown = shutdown;
crypto/openssl/crypto/x509/x509_meth.c
89
int (*X509_LOOKUP_meth_get_shutdown(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx)
crypto/openssl/crypto/x509/x509_meth.c
91
return method->shutdown;
crypto/openssl/crypto/x509/x509_meth.c
95
X509_LOOKUP_METHOD *method,
crypto/openssl/crypto/x509/x509_meth.c
98
method->ctrl = ctrl;
crypto/openssl/demos/sslecho/main.c
76
const SSL_METHOD *method;
crypto/openssl/demos/sslecho/main.c
80
method = TLS_server_method();
crypto/openssl/demos/sslecho/main.c
82
method = TLS_client_method();
crypto/openssl/demos/sslecho/main.c
84
ctx = SSL_CTX_new(method);
crypto/openssl/include/internal/comp.h
21
COMP_METHOD *method;
crypto/openssl/include/internal/core.h
40
int (*put)(void *store, void *method, const OSSL_PROVIDER *prov,
crypto/openssl/include/internal/core.h
46
void (*destruct)(void *method, void *data);
crypto/openssl/include/internal/property.h
60
int nid, const char *properties, void *method,
crypto/openssl/include/internal/property.h
64
const void *method);
crypto/openssl/include/internal/property.h
66
void (*fn)(int id, void *method, void *fnarg),
crypto/openssl/include/internal/property.h
70
const OSSL_PROVIDER **prov, void **method);
crypto/openssl/include/internal/ssl_unwrap.h
54
#define IS_QUIC_CTX(ctx) IS_QUIC_METHOD((ctx)->method)
crypto/openssl/include/openssl/bio.h
731
BIO *BIO_new_ex(OSSL_LIB_CTX *libctx, const BIO_METHOD *method);
crypto/openssl/include/openssl/crmf.h
195
int method, GENERAL_NAME *nm);
crypto/openssl/include/openssl/ssl.h
2129
__owur int SSL_set_ssl_method(SSL *s, const SSL_METHOD *method);
crypto/openssl/include/openssl/ui.h
341
int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui));
crypto/openssl/include/openssl/ui.h
342
int UI_method_set_writer(UI_METHOD *method,
crypto/openssl/include/openssl/ui.h
344
int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui));
crypto/openssl/include/openssl/ui.h
345
int UI_method_set_reader(UI_METHOD *method,
crypto/openssl/include/openssl/ui.h
347
int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui));
crypto/openssl/include/openssl/ui.h
348
int UI_method_set_data_duplicator(UI_METHOD *method,
crypto/openssl/include/openssl/ui.h
351
int UI_method_set_prompt_constructor(UI_METHOD *method,
crypto/openssl/include/openssl/ui.h
357
int UI_method_set_ex_data(UI_METHOD *method, int idx, void *data);
crypto/openssl/include/openssl/ui.h
358
int (*UI_method_get_opener(const UI_METHOD *method))(UI *);
crypto/openssl/include/openssl/ui.h
359
int (*UI_method_get_writer(const UI_METHOD *method))(UI *, UI_STRING *);
crypto/openssl/include/openssl/ui.h
360
int (*UI_method_get_flusher(const UI_METHOD *method))(UI *);
crypto/openssl/include/openssl/ui.h
361
int (*UI_method_get_reader(const UI_METHOD *method))(UI *, UI_STRING *);
crypto/openssl/include/openssl/ui.h
362
int (*UI_method_get_closer(const UI_METHOD *method))(UI *);
crypto/openssl/include/openssl/ui.h
363
char *(*UI_method_get_prompt_constructor(const UI_METHOD *method))(UI *, const char *, const char *);
crypto/openssl/include/openssl/ui.h
364
void *(*UI_method_get_data_duplicator(const UI_METHOD *method))(UI *, void *);
crypto/openssl/include/openssl/ui.h
365
void (*UI_method_get_data_destructor(const UI_METHOD *method))(UI *, void *);
crypto/openssl/include/openssl/ui.h
366
const void *UI_method_get_ex_data(const UI_METHOD *method, int idx);
crypto/openssl/include/openssl/ui.h
56
UI *UI_new_method(const UI_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
655
void X509_LOOKUP_meth_free(X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
657
int X509_LOOKUP_meth_set_new_item(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
659
int (*X509_LOOKUP_meth_get_new_item(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
crypto/openssl/include/openssl/x509_vfy.h
661
int X509_LOOKUP_meth_set_free(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
663
void (*X509_LOOKUP_meth_get_free(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
crypto/openssl/include/openssl/x509_vfy.h
665
int X509_LOOKUP_meth_set_init(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
667
int (*X509_LOOKUP_meth_get_init(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
crypto/openssl/include/openssl/x509_vfy.h
669
int X509_LOOKUP_meth_set_shutdown(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
671
int (*X509_LOOKUP_meth_get_shutdown(const X509_LOOKUP_METHOD *method))(X509_LOOKUP *ctx);
crypto/openssl/include/openssl/x509_vfy.h
673
int X509_LOOKUP_meth_set_ctrl(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
675
X509_LOOKUP_ctrl_fn X509_LOOKUP_meth_get_ctrl(const X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
677
int X509_LOOKUP_meth_set_get_by_subject(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
680
const X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
682
int X509_LOOKUP_meth_set_get_by_issuer_serial(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
685
const X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
687
int X509_LOOKUP_meth_set_get_by_fingerprint(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
690
const X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
692
int X509_LOOKUP_meth_set_get_by_alias(X509_LOOKUP_METHOD *method,
crypto/openssl/include/openssl/x509_vfy.h
695
const X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509_vfy.h
720
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method);
crypto/openssl/include/openssl/x509v3.h
208
ASN1_OBJECT *method;
crypto/openssl/include/openssl/x509v3.h
48
typedef STACK_OF(CONF_VALUE) *(*X509V3_EXT_I2V)(const struct v3_ext_method *method, void *ext,
crypto/openssl/include/openssl/x509v3.h
50
typedef void *(*X509V3_EXT_V2I)(const struct v3_ext_method *method,
crypto/openssl/include/openssl/x509v3.h
53
typedef char *(*X509V3_EXT_I2S)(const struct v3_ext_method *method,
crypto/openssl/include/openssl/x509v3.h
55
typedef void *(*X509V3_EXT_S2I)(const struct v3_ext_method *method,
crypto/openssl/include/openssl/x509v3.h
57
typedef int (*X509V3_EXT_I2R)(const struct v3_ext_method *method, void *ext,
crypto/openssl/include/openssl/x509v3.h
59
typedef void *(*X509V3_EXT_R2I)(const struct v3_ext_method *method,
crypto/openssl/include/openssl/x509v3.h
829
ASN1_BIT_STRING *v2i_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
832
STACK_OF(CONF_VALUE) *i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
835
char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
crypto/openssl/include/openssl/x509v3.h
836
ASN1_IA5STRING *s2i_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
838
char *i2s_ASN1_UTF8STRING(X509V3_EXT_METHOD *method, ASN1_UTF8STRING *utf8);
crypto/openssl/include/openssl/x509v3.h
839
ASN1_UTF8STRING *s2i_ASN1_UTF8STRING(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
842
STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
849
STACK_OF(CONF_VALUE) *i2v_GENERAL_NAMES(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
852
GENERAL_NAMES *v2i_GENERAL_NAMES(const X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
865
char *i2s_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
867
ASN1_OCTET_STRING *s2i_ASN1_OCTET_STRING(X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
908
const X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
913
GENERAL_NAME *v2i_GENERAL_NAME(const X509V3_EXT_METHOD *method,
crypto/openssl/include/openssl/x509v3.h
916
const X509V3_EXT_METHOD *method,
crypto/openssl/ssl/bio_ssl.c
249
if (sc->handshake_func == ssl->method->ssl_connect)
crypto/openssl/ssl/bio_ssl.c
251
else if (sc->handshake_func == ssl->method->ssl_accept)
crypto/openssl/ssl/d1_lib.c
104
if (!ssl->method->ssl_clear(ssl))
crypto/openssl/ssl/d1_lib.c
217
if (ssl->method->version == DTLS_ANY_VERSION)
crypto/openssl/ssl/d1_lib.c
224
s->version = ssl->method->version;
crypto/openssl/ssl/d1_lib.c
604
if (DTLS_VERSION_LT(clientvers, (unsigned int)ssl->method->version) && ssl->method->version != DTLS_ANY_VERSION) {
crypto/openssl/ssl/d1_lib.c
674
version = (ssl->method->version == DTLS_ANY_VERSION) ? DTLS1_VERSION
crypto/openssl/ssl/d1_srtp.c
145
if (IS_QUIC_METHOD(ctx->method))
crypto/openssl/ssl/quic/quic_impl.c
595
if (ctx->method == OSSL_QUIC_server_method()) {
crypto/openssl/ssl/quic/quic_obj.c
34
if (!ossl_ssl_init(&obj->ssl, ctx, ctx->method, type))
crypto/openssl/ssl/record/rec_layer_d1.c
635
i = s->method->ssl_dispatch_alert(s);
crypto/openssl/ssl/record/rec_layer_d1.c
655
if (s->method->version == DTLS_ANY_VERSION
crypto/openssl/ssl/record/rec_layer_s3.c
1266
COMP_METHOD *compm = (comp == NULL) ? NULL : comp->method;
crypto/openssl/ssl/record/rec_layer_s3.c
370
i = ssl->method->ssl_dispatch_alert(ssl);
crypto/openssl/ssl/record/rec_layer_s3.c
846
if (ssl->method->version == TLS_ANY_VERSION
crypto/openssl/ssl/rio/poll_builder.h
37
#error Unknown RIO poll method
crypto/openssl/ssl/s3_lib.c
3819
if (!s->method->ssl_clear(s))
crypto/openssl/ssl/s3_lib.c
5006
ret = s->method->ssl_dispatch_alert(s);
crypto/openssl/ssl/s3_lib.c
5020
s->method->ssl_read_bytes(s, 0, NULL, NULL, 0, 0, &readbytes);
crypto/openssl/ssl/s3_lib.c
5044
return s->method->ssl_write_bytes(s, SSL3_RT_APPLICATION_DATA, buf, len,
crypto/openssl/ssl/s3_lib.c
5061
ret = s->method->ssl_read_bytes(s, SSL3_RT_APPLICATION_DATA, NULL, buf, len,
crypto/openssl/ssl/s3_lib.c
5072
ret = s->method->ssl_read_bytes(s, SSL3_RT_APPLICATION_DATA, NULL, buf,
crypto/openssl/ssl/s3_lib.c
5154
if (ssl->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_SHA256_PRF) {
crypto/openssl/ssl/s3_lib.c
5241
if (!ssl->method->ssl3_enc->generate_master_secret(s,
crypto/openssl/ssl/s3_lib.c
5254
if (!ssl->method->ssl3_enc->generate_master_secret(s,
crypto/openssl/ssl/s3_msg.c
31
if (!ssl->method->ssl3_enc->setup_key_block(s)) {
crypto/openssl/ssl/s3_msg.c
37
if (!ssl->method->ssl3_enc->change_cipher_state(s, i)) {
crypto/openssl/ssl/s3_msg.c
53
desc = ssl->method->ssl3_enc->alert_value(desc);
crypto/openssl/ssl/s3_msg.c
70
return ssl->method->ssl_dispatch_alert(ssl);
crypto/openssl/ssl/ssl_cert_comp.c
101
method = COMP_brotli_oneshot();
crypto/openssl/ssl/ssl_cert_comp.c
104
method = COMP_zlib_oneshot();
crypto/openssl/ssl/ssl_cert_comp.c
107
method = COMP_zstd_oneshot();
crypto/openssl/ssl/ssl_cert_comp.c
114
|| method == NULL
crypto/openssl/ssl/ssl_cert_comp.c
115
|| (comp_ctx = COMP_CTX_new(method)) == NULL
crypto/openssl/ssl/ssl_cert_comp.c
95
COMP_METHOD *method;
crypto/openssl/ssl/ssl_ciph.c
1420
const SSL_METHOD *ssl_method = ctx->method;
crypto/openssl/ssl/ssl_ciph.c
2072
const SSL_CIPHER *c = SSL_CONNECTION_GET_SSL(s)->method->get_cipher_by_char(ptr);
crypto/openssl/ssl/ssl_ciph.c
2081
return ssl->method->get_cipher_by_char(ptr);
crypto/openssl/ssl/ssl_conf.c
341
method_version = cctx->ctx->method->version;
crypto/openssl/ssl/ssl_lib.c
1433
if (s->method != NULL)
crypto/openssl/ssl/ssl_lib.c
1434
s->method->ssl_free(s);
crypto/openssl/ssl/ssl_lib.c
1516
if (ssl->method != NULL)
crypto/openssl/ssl/ssl_lib.c
1517
ssl->method->ssl_deinit(ssl);
crypto/openssl/ssl/ssl_lib.c
1921
size_t pending = s->method->ssl_pending(s);
crypto/openssl/ssl/ssl_lib.c
2040
if (t->method != f->method) {
crypto/openssl/ssl/ssl_lib.c
2041
t->method->ssl_deinit(t);
crypto/openssl/ssl/ssl_lib.c
2042
t->method = f->method;
crypto/openssl/ssl/ssl_lib.c
2043
if (t->method->ssl_init(t) == 0)
crypto/openssl/ssl/ssl_lib.c
2187
return s->method->ssl_accept(s);
crypto/openssl/ssl/ssl_lib.c
2207
return s->method->ssl_connect(s);
crypto/openssl/ssl/ssl_lib.c
2223
return (long int)ossl_time2seconds(s->method->get_timeout());
crypto/openssl/ssl/ssl_lib.c
2311
return s->method->ssl_read(s, buf, num, readbytes);
crypto/openssl/ssl/ssl_lib.c
2347
args.f.func_read = s->method->ssl_read;
crypto/openssl/ssl/ssl_lib.c
2353
return s->method->ssl_read(s, buf, num, readbytes);
crypto/openssl/ssl/ssl_lib.c
2460
return s->method->ssl_peek(s, buf, num, readbytes);
crypto/openssl/ssl/ssl_lib.c
2482
args.f.func_read = s->method->ssl_peek;
crypto/openssl/ssl/ssl_lib.c
2488
return s->method->ssl_peek(s, buf, num, readbytes);
crypto/openssl/ssl/ssl_lib.c
2570
args.f.func_write = s->method->ssl_write;
crypto/openssl/ssl/ssl_lib.c
2576
return s->method->ssl_write(s, buf, num, written);
crypto/openssl/ssl/ssl_lib.c
2606
ret = (ossl_ssize_t)s->method->ssl_dispatch_alert(s);
crypto/openssl/ssl/ssl_lib.c
2790
args.f.func_other = s->method->ssl_shutdown;
crypto/openssl/ssl/ssl_lib.c
2794
return s->method->ssl_shutdown(s);
crypto/openssl/ssl/ssl_lib.c
2886
return s->method->ssl_renegotiate(s);
crypto/openssl/ssl/ssl_lib.c
2901
return s->method->ssl_renegotiate(s);
crypto/openssl/ssl/ssl_lib.c
2962
return s->method->ssl_ctrl(s, cmd, larg, parg);
crypto/openssl/ssl/ssl_lib.c
3065
return s->method->ssl_ctrl(s, cmd, larg, parg);
crypto/openssl/ssl/ssl_lib.c
3071
return s->method->ssl_callback_ctrl(s, cmd, fp);
crypto/openssl/ssl/ssl_lib.c
3194
&& ssl_set_version_bound(ctx->method->version, (int)larg,
crypto/openssl/ssl/ssl_lib.c
3200
&& ssl_set_version_bound(ctx->method->version, (int)larg,
crypto/openssl/ssl/ssl_lib.c
3205
return ctx->method->ssl_ctx_ctrl(ctx, cmd, larg, parg);
crypto/openssl/ssl/ssl_lib.c
3219
return ctx->method->ssl_ctx_callback_ctrl(ctx, cmd, fp);
crypto/openssl/ssl/ssl_lib.c
3376
if (ctx->method->num_ciphers() > 0 && cipher_list_tls12_num(sk) == 0) {
crypto/openssl/ssl/ssl_lib.c
3400
if (ctx->method->num_ciphers() > 0 && cipher_list_tls12_num(sk) == 0) {
crypto/openssl/ssl/ssl_lib.c
3824
return sc->ssl.method->ssl3_enc->export_keying_material(sc, out, olen, label,
crypto/openssl/ssl/ssl_lib.c
4038
ret->method = meth;
crypto/openssl/ssl/ssl_lib.c
4780
return ctx->method;
crypto/openssl/ssl/ssl_lib.c
4785
return s->method;
crypto/openssl/ssl/ssl_lib.c
4795
|| (s->type != SSL_TYPE_SSL_CONNECTION && s->method != meth)
crypto/openssl/ssl/ssl_lib.c
4799
if (s->method != meth) {
crypto/openssl/ssl/ssl_lib.c
4800
const SSL_METHOD *sm = s->method;
crypto/openssl/ssl/ssl_lib.c
4804
s->method = meth;
crypto/openssl/ssl/ssl_lib.c
4807
s->method = meth;
crypto/openssl/ssl/ssl_lib.c
4808
ret = s->method->ssl_init(s);
crypto/openssl/ssl/ssl_lib.c
4961
s->method->ssl_renegotiate_check(s, 0);
crypto/openssl/ssl/ssl_lib.c
4994
sc->handshake_func = s->method->ssl_accept;
crypto/openssl/ssl/ssl_lib.c
5014
sc->handshake_func = s->method->ssl_connect;
crypto/openssl/ssl/ssl_lib.c
5163
if (!SSL_set_ssl_method(ret, s->method))
crypto/openssl/ssl/ssl_lib.c
569
if (s->method == NULL) {
crypto/openssl/ssl/ssl_lib.c
574
return s->method->ssl_reset(s);
crypto/openssl/ssl/ssl_lib.c
607
sc->version = s->method->version;
crypto/openssl/ssl/ssl_lib.c
642
if (s->method != s->defltmeth) {
crypto/openssl/ssl/ssl_lib.c
643
s->method->ssl_deinit(s);
crypto/openssl/ssl/ssl_lib.c
644
s->method = s->defltmeth;
crypto/openssl/ssl/ssl_lib.c
645
if (!s->method->ssl_init(s))
crypto/openssl/ssl/ssl_lib.c
648
if (!s->method->ssl_clear(s))
crypto/openssl/ssl/ssl_lib.c
671
ctx->method = meth;
crypto/openssl/ssl/ssl_lib.c
696
if (ctx->method == NULL) {
crypto/openssl/ssl/ssl_lib.c
700
return ctx->method->ssl_new(ctx);
crypto/openssl/ssl/ssl_lib.c
703
int ossl_ssl_init(SSL *ssl, SSL_CTX *ctx, const SSL_METHOD *method, int type)
crypto/openssl/ssl/ssl_lib.c
720
ssl->defltmeth = ssl->method = method;
crypto/openssl/ssl/ssl_lib.c
732
const SSL_METHOD *method)
crypto/openssl/ssl/ssl_lib.c
744
if (!ossl_ssl_init(ssl, ctx, method, SSL_TYPE_SSL_CONNECTION)) {
crypto/openssl/ssl/ssl_lib.c
756
if (method->version == ctx->method->version) {
crypto/openssl/ssl/ssl_lib.c
913
if (!method->ssl_init(ssl))
crypto/openssl/ssl/ssl_lib.c
916
s->server = (method->ssl_accept == ssl_undefined_function) ? 0 : 1;
crypto/openssl/ssl/ssl_lib.c
918
if (!method->ssl_reset(ssl))
crypto/openssl/ssl/ssl_lib.c
974
return ossl_ssl_connection_new_int(ctx, NULL, ctx->method);
crypto/openssl/ssl/ssl_local.h
1235
const SSL_METHOD *method;
crypto/openssl/ssl/ssl_local.h
2177
SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->set_handshake_header((s), (pkt), (htype))
crypto/openssl/ssl/ssl_local.h
2179
SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->close_construct_packet((s), (pkt), (htype))
crypto/openssl/ssl/ssl_local.h
2180
#define ssl_do_write(s) SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->do_write(s)
crypto/openssl/ssl/ssl_local.h
2526
__owur int ossl_ssl_init(SSL *ssl, SSL_CTX *ctx, const SSL_METHOD *method,
crypto/openssl/ssl/ssl_local.h
2529
const SSL_METHOD *method);
crypto/openssl/ssl/ssl_local.h
258
(SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_DTLS)
crypto/openssl/ssl/ssl_local.h
262
(ctx->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_DTLS)
crypto/openssl/ssl/ssl_local.h
266
&& SSL_CONNECTION_GET_SSL(s)->method->version >= TLS1_3_VERSION \
crypto/openssl/ssl/ssl_local.h
267
&& SSL_CONNECTION_GET_SSL(s)->method->version != TLS_ANY_VERSION)
crypto/openssl/ssl/ssl_local.h
285
(SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_SIGALGS)
crypto/openssl/ssl/ssl_local.h
291
(SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->enc_flags & SSL_ENC_FLAG_TLS1_2_CIPHERS)
crypto/openssl/ssl/ssl_local.h
796
const SSL_METHOD *method;
crypto/openssl/ssl/ssl_mcnf.c
59
meth = s->method;
crypto/openssl/ssl/ssl_mcnf.c
63
meth = ctx->method;
crypto/openssl/ssl/ssl_sess.c
448
ss->timeout = SSL_CONNECTION_GET_SSL(s)->method->get_timeout();
crypto/openssl/ssl/ssl_sess.c
901
if (s->defltmeth != s->method) {
crypto/openssl/ssl/statem/extensions_clnt.c
337
|| (s->ssl.method->version != TLS_ANY_VERSION
crypto/openssl/ssl/statem/extensions_clnt.c
342
|| (s->ssl.method->version != DTLS_ANY_VERSION
crypto/openssl/ssl/statem/extensions_srvr.c
1160
|| !ssl->method->put_cipher_by_char(s->s3.tmp.new_cipher, &hrrpkt,
crypto/openssl/ssl/statem/extensions_srvr.c
2092
|| !ssl->method->put_cipher_by_char(s->s3.tmp.new_cipher, pkt,
crypto/openssl/ssl/statem/statem_clnt.c
1800
if (!ssl->method->ssl3_enc->setup_key_block(s)
crypto/openssl/ssl/statem/statem_clnt.c
1817
if (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_clnt.c
1823
if (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_clnt.c
3849
&& (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_clnt.c
3871
COMP_METHOD *method;
crypto/openssl/ssl/statem/statem_clnt.c
3903
method = COMP_zlib_oneshot();
crypto/openssl/ssl/statem/statem_clnt.c
3906
method = COMP_brotli_oneshot();
crypto/openssl/ssl/statem/statem_clnt.c
3909
method = COMP_zstd_oneshot();
crypto/openssl/ssl/statem/statem_clnt.c
3916
if ((comp = COMP_CTX_new(method)) == NULL
crypto/openssl/ssl/statem/statem_clnt.c
3939
&& (!ssl->method->ssl3_enc->change_cipher_state(sc,
crypto/openssl/ssl/statem/statem_clnt.c
4161
if (!ssl->method->put_cipher_by_char(c, pkt, &len)) {
crypto/openssl/ssl/statem/statem_clnt.c
4194
if (!ssl->method->put_cipher_by_char(&scsv, pkt, &len)) {
crypto/openssl/ssl/statem/statem_clnt.c
4203
if (!ssl->method->put_cipher_by_char(&scsv, pkt, &len)) {
crypto/openssl/ssl/statem/statem_clnt.c
864
if (!ssl->method->ssl3_enc->setup_key_block(s)) {
crypto/openssl/ssl/statem/statem_clnt.c
869
if (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_clnt.c
907
if (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_clnt.c
918
&& !ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_dtls.c
662
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, NULL,
crypto/openssl/ssl/statem/statem_dtls.c
673
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, NULL,
crypto/openssl/ssl/statem/statem_dtls.c
756
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, NULL,
crypto/openssl/ssl/statem/statem_dtls.c
781
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, NULL,
crypto/openssl/ssl/statem/statem_dtls.c
846
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, &recvd_type, p,
crypto/openssl/ssl/statem/statem_dtls.c
951
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, NULL,
crypto/openssl/ssl/statem/statem_lib.c
1567
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, &recvd_type,
crypto/openssl/ssl/statem/statem_lib.c
1681
i = ssl->method->ssl_read_bytes(ssl, SSL3_RT_HANDSHAKE, NULL,
crypto/openssl/ssl/statem/statem_lib.c
1900
static int ssl_method_error(const SSL_CONNECTION *s, const SSL_METHOD *method)
crypto/openssl/ssl/statem/statem_lib.c
1902
int version = method->version;
crypto/openssl/ssl/statem/statem_lib.c
1910
if ((s->options & method->mask) != 0)
crypto/openssl/ssl/statem/statem_lib.c
1912
if ((method->flags & SSL_METHOD_NO_SUITEB) != 0 && tls1_suiteb(s))
crypto/openssl/ssl/statem/statem_lib.c
1992
switch (SSL_CONNECTION_GET_SSL(s)->method->version) {
crypto/openssl/ssl/statem/statem_lib.c
2173
int server_version = ssl->method->version;
crypto/openssl/ssl/statem/statem_lib.c
2264
ssl->method = best_method;
crypto/openssl/ssl/statem/statem_lib.c
2285
const SSL_METHOD *method;
crypto/openssl/ssl/statem/statem_lib.c
2289
method = vent->smeth();
crypto/openssl/ssl/statem/statem_lib.c
2290
if (ssl_method_error(s, method) == 0) {
crypto/openssl/ssl/statem/statem_lib.c
2293
ssl->method = method;
crypto/openssl/ssl/statem/statem_lib.c
2343
switch (ssl->method->version) {
crypto/openssl/ssl/statem/statem_lib.c
2345
if (s->version != ssl->method->version) {
crypto/openssl/ssl/statem/statem_lib.c
2418
ssl->method = vent->cmeth();
crypto/openssl/ssl/statem/statem_lib.c
2458
const SSL_METHOD *method;
crypto/openssl/ssl/statem/statem_lib.c
2463
switch (ssl->method->version) {
crypto/openssl/ssl/statem/statem_lib.c
2523
method = vent->cmeth();
crypto/openssl/ssl/statem/statem_lib.c
2528
if (ssl_method_error(s, method) != 0) {
crypto/openssl/ssl/statem/statem_lib.c
2531
*min_version = method->version;
crypto/openssl/ssl/statem/statem_lib.c
2535
version = method->version;
crypto/openssl/ssl/statem/statem_lib.c
2867
COMP_METHOD *method = NULL;
crypto/openssl/ssl/statem/statem_lib.c
2901
method = COMP_zlib_oneshot();
crypto/openssl/ssl/statem/statem_lib.c
2904
method = COMP_brotli_oneshot();
crypto/openssl/ssl/statem/statem_lib.c
2907
method = COMP_zstd_oneshot();
crypto/openssl/ssl/statem/statem_lib.c
2914
if ((comp = COMP_CTX_new(method)) == NULL
crypto/openssl/ssl/statem/statem_lib.c
641
&& (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_lib.c
649
sender = ssl->method->ssl3_enc->server_finished_label;
crypto/openssl/ssl/statem/statem_lib.c
650
slen = ssl->method->ssl3_enc->server_finished_label_len;
crypto/openssl/ssl/statem/statem_lib.c
652
sender = ssl->method->ssl3_enc->client_finished_label;
crypto/openssl/ssl/statem/statem_lib.c
653
slen = ssl->method->ssl3_enc->client_finished_label_len;
crypto/openssl/ssl/statem/statem_lib.c
656
finish_md_len = ssl->method->ssl3_enc->final_finish_mac(s,
crypto/openssl/ssl/statem/statem_lib.c
769
sender = ssl->method->ssl3_enc->server_finished_label;
crypto/openssl/ssl/statem/statem_lib.c
770
slen = ssl->method->ssl3_enc->server_finished_label_len;
crypto/openssl/ssl/statem/statem_lib.c
772
sender = ssl->method->ssl3_enc->client_finished_label;
crypto/openssl/ssl/statem/statem_lib.c
773
slen = ssl->method->ssl3_enc->client_finished_label_len;
crypto/openssl/ssl/statem/statem_lib.c
776
s->s3.tmp.peer_finish_md_len = ssl->method->ssl3_enc->final_finish_mac(s, sender, slen,
crypto/openssl/ssl/statem/statem_lib.c
929
if (s->post_handshake_auth != SSL_PHA_REQUESTED && !ssl->method->ssl3_enc->change_cipher_state(s, SSL3_CC_APPLICATION | SSL3_CHANGE_CIPHER_SERVER_READ)) {
crypto/openssl/ssl/statem/statem_lib.c
936
if (!ssl->method->ssl3_enc->generate_master_secret(s,
crypto/openssl/ssl/statem/statem_lib.c
956
&& !ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_srvr.c
1011
if (!ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_srvr.c
1039
if (!ssl->method->ssl3_enc->generate_master_secret(s,
crypto/openssl/ssl/statem/statem_srvr.c
1043
|| !ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_srvr.c
2499
|| !SSL_CONNECTION_GET_SSL(s)->method->put_cipher_by_char(s->s3.tmp.new_cipher,
crypto/openssl/ssl/statem/statem_srvr.c
4441
if (!SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_srvr.c
821
if (!ssl->method->ssl3_enc->setup_key_block(s)) {
crypto/openssl/ssl/statem/statem_srvr.c
848
if (!ssl->method->ssl3_enc->change_cipher_state(s, SSL3_CC_HANDSHAKE | SSL3_CHANGE_CIPHER_SERVER_READ)) {
crypto/openssl/ssl/statem/statem_srvr.c
977
if (!ssl->method->ssl3_enc->setup_key_block(s)
crypto/openssl/ssl/statem/statem_srvr.c
979
|| !ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/statem/statem_srvr.c
986
&& !ssl->method->ssl3_enc->change_cipher_state(s,
crypto/openssl/ssl/t1_lib.c
109
if (!s->method->ssl_clear(s))
crypto/openssl/ssl/t1_lib.c
136
if (s->method->version == TLS_ANY_VERSION)
crypto/openssl/ssl/t1_lib.c
139
sc->version = s->method->version;
crypto/openssl/ssl/t1_lib.c
2666
if (sc->ssl.method->version == DTLS_ANY_VERSION) {
crypto/openssl/ssl/t1_lib.c
2675
if (sc->ssl.method->version == TLS_ANY_VERSION) {
crypto/openssl/ssl/t1_lib.c
3372
&& SSL_CONNECTION_GET_SSL(s)->method->version == TLS_ANY_VERSION
crypto/openssl/ssl/t1_trce.c
1410
COMP_METHOD *method;
crypto/openssl/ssl/t1_trce.c
1447
method = COMP_zlib();
crypto/openssl/ssl/t1_trce.c
1450
method = COMP_brotli_oneshot();
crypto/openssl/ssl/t1_trce.c
1453
method = COMP_zstd_oneshot();
crypto/openssl/ssl/t1_trce.c
1459
if ((comp = COMP_CTX_new(method)) == NULL
crypto/openssl/ssl/tls13_enc.c
294
if (str == SSL_CONNECTION_GET_SSL(s)->method->ssl3_enc->server_finished_label) {
crypto/openssl/test/exptest.c
31
static int a_is_zero_mod_one(const char *method, const BIGNUM *r,
crypto/openssl/test/exptest.c
35
TEST_error("%s failed: a ** 0 mod 1 = r (should be 0)", method);
crypto/openssl/test/helpers/ssl_test_ctx.c
338
test_ctx->method = ret_value;
crypto/openssl/test/helpers/ssl_test_ctx.c
342
const char *ssl_test_method_name(ssl_test_method_t method)
crypto/openssl/test/helpers/ssl_test_ctx.c
344
return enum_name(ssl_test_methods, OSSL_NELEM(ssl_test_methods), method);
crypto/openssl/test/helpers/ssl_test_ctx.h
148
ssl_test_method_t method;
crypto/openssl/test/helpers/ssl_test_ctx.h
248
const char *ssl_test_method_name(ssl_test_method_t method);
crypto/openssl/test/radix/quic_ops.c
189
const SSL_METHOD *method;
crypto/openssl/test/radix/quic_ops.c
199
method = is_server ? OSSL_QUIC_server_method() : OSSL_QUIC_client_method();
crypto/openssl/test/radix/quic_ops.c
200
if (!TEST_ptr(ctx = SSL_CTX_new(method)))
crypto/openssl/test/ssl_test.c
417
if (test_ctx->method == SSL_TEST_METHOD_DTLS) {
crypto/openssl/test/ssl_test.c
449
if (test_ctx->method == SSL_TEST_METHOD_TLS) {
crypto/openssl/test/ssl_test_ctx_test.c
163
fixture->expected_ctx->method = SSL_TEST_METHOD_DTLS;
crypto/openssl/test/ssl_test_ctx_test.c
76
if (!TEST_int_eq(ctx->method, ctx2->method)
include/nsswitch.h
112
#define NSS_METHOD_PROTOTYPE(method) \
include/nsswitch.h
113
int method(void *, void *, va_list)
include/nsswitch.h
123
nss_method method; /* Method to be called */
include/nsswitch.h
171
nss_method method;
lib/libc/net/nsdispatch.c
590
const char *method, const ns_dtab disp_tab[], void **mdata)
lib/libc/net/nsdispatch.c
600
return (disp_tab[i].method);
lib/libc/net/nsdispatch.c
606
key.name = method;
lib/libc/net/nsdispatch.c
611
return (match->method);
lib/libc/net/nsdispatch.c
634
nss_method method, fb_method;
lib/libc/net/nsdispatch.c
694
method = nss_method_lookup(srclist[i].name, database,
lib/libc/net/nsdispatch.c
697
if (method != NULL) {
lib/libc/net/nsdispatch.c
726
result = method(retval, mdata, ap);
lib/libc/net/nsdispatch.c
732
result = method(retval, mdata, ap);
lib/libc/tests/nss/getaddrinfo_test.c
428
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getaddrinfo_test.c
446
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getaddrinfo_test.c
465
switch (method) {
lib/libc/tests/nss/getaddrinfo_test.c
52
static enum test_methods method = TEST_GETADDRINFO;
lib/libc/tests/nss/getgr_test.c
404
run_tests(const char *snapshot_file, enum test_methods method)
lib/libc/tests/nss/getgr_test.c
414
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getgr_test.c
423
if (method == TEST_BUILD_SNAPSHOT) {
lib/libc/tests/nss/getgr_test.c
436
switch (method) {
lib/libc/tests/nss/gethostby_test.c
1012
switch (method) {
lib/libc/tests/nss/gethostby_test.c
1070
#define _RUN_TESTS(tc, snapshot_file, af_type, method, use_ipv6_mapping) \
lib/libc/tests/nss/gethostby_test.c
1076
method, use_ipv6_mapping) == 0); \
lib/libc/tests/nss/gethostby_test.c
1080
#define RUN_HOST_TESTS(tc, snapshot_file, af_type, method, use_ipv6_mapping) \
lib/libc/tests/nss/gethostby_test.c
1083
_RUN_TESTS(tc, snapshot_file, af_type, method, use_ipv6_mapping); \
lib/libc/tests/nss/gethostby_test.c
1086
#define RUN_IPNODE_TESTS(tc, snapshot_file, af_type, method, use_ipv6_mapping) \
lib/libc/tests/nss/gethostby_test.c
1089
_RUN_TESTS(tc, snapshot_file, af_type, method, use_ipv6_mapping); \
lib/libc/tests/nss/gethostby_test.c
924
enum test_methods method, bool use_ipv6_mapping)
lib/libc/tests/nss/gethostby_test.c
992
if (method != TEST_GETHOSTBYADDR)
lib/libc/tests/nss/gethostby_test.c
993
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/gethostby_test.c
995
method = TEST_BUILD_ADDR_SNAPSHOT;
lib/libc/tests/nss/getproto_test.c
396
run_tests(const char *snapshot_file, enum test_methods method)
lib/libc/tests/nss/getproto_test.c
406
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getproto_test.c
415
if (method == TEST_BUILD_SNAPSHOT) {
lib/libc/tests/nss/getproto_test.c
428
switch (method) {
lib/libc/tests/nss/getpw_test.c
385
run_tests(const char *snapshot_file, enum test_methods method)
lib/libc/tests/nss/getpw_test.c
395
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getpw_test.c
403
if (method == TEST_BUILD_SNAPSHOT) {
lib/libc/tests/nss/getpw_test.c
417
switch (method) {
lib/libc/tests/nss/getrpc_test.c
399
run_tests(const char *snapshot_file, enum test_methods method)
lib/libc/tests/nss/getrpc_test.c
409
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getrpc_test.c
418
if (method == TEST_BUILD_SNAPSHOT) {
lib/libc/tests/nss/getrpc_test.c
431
switch (method) {
lib/libc/tests/nss/getserv_test.c
415
run_tests(const char *snapshot_file, enum test_methods method)
lib/libc/tests/nss/getserv_test.c
425
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getserv_test.c
434
if (method == TEST_BUILD_SNAPSHOT) {
lib/libc/tests/nss/getserv_test.c
447
switch (method) {
lib/libc/tests/nss/getusershell_test.c
134
run_tests(const char *snapshot_file, enum test_methods method)
lib/libc/tests/nss/getusershell_test.c
156
method = TEST_BUILD_SNAPSHOT;
lib/libc/tests/nss/getusershell_test.c
174
switch (method) {
lib/libc/tests/resolv/resolv_test.c
174
resolvone(long threadnum, int n, enum method method)
lib/libc/tests/resolv/resolv_test.c
182
switch (method) {
lib/libc/tests/resolv/resolv_test.c
210
enum method method;
lib/libc/tests/resolv/resolv_test.c
226
resolvone(args->threadnum, nhosts, args->method);
lib/libc/tests/resolv/resolv_test.c
233
run(int nhosts, enum method method, long i)
lib/libc/tests/resolv/resolv_test.c
244
args->method = method;
lib/libc/tests/resolv/resolv_test.c
252
run_tests(const char *hostlist_file, enum method method)
lib/libc/tests/resolv/resolv_test.c
278
threads[i] = run(nhosts, method, i);
lib/libc/tests/resolv/resolv_test.c
307
#define RUN_TESTS(tc, method) \
lib/libc/tests/resolv/resolv_test.c
312
ATF_REQUIRE(run_tests(_hostlist_file, method) == 0); \
lib/libc/tests/resolv/resolv_test.c
65
static void resolvone(long, int, enum method);
lib/libc/tests/resolv/resolv_test.c
67
static pthread_t run(int, enum method, long);
lib/libfetch/http.c
2142
fetchReqHTTP(struct url *URL, const char *method, const char *flags,
lib/libfetch/http.c
2146
return (http_request_body(URL, method, NULL, http_get_proxy(URL, flags),
lib/libtacplus/taclib.c
904
tac_create_author(struct tac_handle *h, int method, int type, int service)
lib/libtacplus/taclib.c
908
create_msg(h, TAC_AUTHOR, method, type);
lib/libtacplus/taclib.c
911
areq->authen_meth = method;
libexec/rtld-elf/rtld_printf.c
450
info.method = PRINT_METHOD_SNPRINTF;
libexec/rtld-elf/rtld_printf.c
467
info.method = PRINT_METHOD_WRITE;
libexec/rtld-elf/rtld_printf.c
53
int method;
libexec/rtld-elf/rtld_printf.c
76
switch (info->method) {
sbin/restore/tape.c
731
const char *method;
sbin/restore/tape.c
763
method = "extattr_set_fd";
sbin/restore/tape.c
768
method = "extattr_set_link";
sbin/restore/tape.c
773
method = "extattr_set_file";
sbin/restore/tape.c
776
dprintf(stdout, " (set using %s)", method);
sbin/restore/tape.c
788
method = "acl_set_fd";
sbin/restore/tape.c
792
method = "acl_set_link_np";
sbin/restore/tape.c
796
method = "acl_set_file";
sbin/restore/tape.c
799
dprintf(stdout, " (set using %s)", method);
sbin/restore/tape.c
808
method = "acl_set_link_np";
sbin/restore/tape.c
812
method = "acl_set_file";
sbin/restore/tape.c
815
dprintf(stdout, " (set using %s)", method);
stand/libofw/openfirm.c
430
OF_call_method(char *method, ihandle_t instance, int nargs, int nreturns, ...)
stand/libofw/openfirm.c
437
cell_t method;
stand/libofw/openfirm.c
447
args.method = IN(method);
stand/libsa/gzipfs.c
115
int method; /* method byte */
stand/libsa/gzipfs.c
128
method = get_byte(zf, &zf->zf_dataoffset);
stand/libsa/gzipfs.c
130
if (method != Z_DEFLATED || (flags & RESERVED) != 0) {
sys/arm/rockchip/rk32xx_mp.c
123
char method[16];
sys/arm/rockchip/rk32xx_mp.c
144
rv = OF_getprop(node, "enable-method", method, sizeof(method));
sys/arm/rockchip/rk32xx_mp.c
145
if (rv > 0 && strcmp(method, "psci") == 0) {
sys/arm64/intel/stratix10-svc.c
198
char method[16];
sys/arm64/intel/stratix10-svc.c
200
if ((OF_getprop(node, "method", method, sizeof(method))) > 0) {
sys/arm64/intel/stratix10-svc.c
201
if (strcmp(method, "hvc") == 0)
sys/arm64/intel/stratix10-svc.c
203
else if (strcmp(method, "smc") == 0)
sys/arm64/intel/stratix10-svc.c
207
"Invalid method \"%s\"\n", method);
sys/dev/acpi_support/acpi_asus.c
1001
switch (method) {
sys/dev/acpi_support/acpi_asus.c
1084
acpi_asus_sysctl_init(struct acpi_asus_softc *sc, int method)
sys/dev/acpi_support/acpi_asus.c
1088
switch (method) {
sys/dev/acpi_support/acpi_asus.c
461
int method;
sys/dev/acpi_support/acpi_asus.c
466
.method = ACPI_ASUS_METHOD_LCD,
sys/dev/acpi_support/acpi_asus.c
472
.method = ACPI_ASUS_METHOD_BRN,
sys/dev/acpi_support/acpi_asus.c
478
.method = ACPI_ASUS_METHOD_DISP,
sys/dev/acpi_support/acpi_asus.c
483
.method = ACPI_ASUS_METHOD_CAMERA,
sys/dev/acpi_support/acpi_asus.c
488
.method = ACPI_ASUS_METHOD_CARDRD,
sys/dev/acpi_support/acpi_asus.c
493
.method = ACPI_ASUS_METHOD_WLAN,
sys/dev/acpi_support/acpi_asus.c
510
static int acpi_asus_sysctl_init(struct acpi_asus_softc *sc, int method);
sys/dev/acpi_support/acpi_asus.c
511
static int acpi_asus_sysctl_get(struct acpi_asus_softc *sc, int method);
sys/dev/acpi_support/acpi_asus.c
512
static int acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int val);
sys/dev/acpi_support/acpi_asus.c
716
if (!acpi_asus_sysctl_init(sc, acpi_asus_sysctls[i].method))
sys/dev/acpi_support/acpi_asus.c
866
char *method;
sys/dev/acpi_support/acpi_asus.c
875
method = sc->model->bled_set;
sys/dev/acpi_support/acpi_asus.c
879
method = sc->model->dled_set;
sys/dev/acpi_support/acpi_asus.c
883
method = sc->model->gled_set;
sys/dev/acpi_support/acpi_asus.c
887
method = sc->model->mled_set;
sys/dev/acpi_support/acpi_asus.c
891
method = sc->model->tled_set;
sys/dev/acpi_support/acpi_asus.c
895
method = sc->model->wled_set;
sys/dev/acpi_support/acpi_asus.c
904
acpi_SetInteger(sc->handle, method, state);
sys/dev/acpi_support/acpi_asus.c
930
int method;
sys/dev/acpi_support/acpi_asus.c
936
method = acpi_asus_sysctls[function].method;
sys/dev/acpi_support/acpi_asus.c
939
arg = acpi_asus_sysctl_get(sc, method);
sys/dev/acpi_support/acpi_asus.c
947
error = acpi_asus_sysctl_set(sc, method, arg);
sys/dev/acpi_support/acpi_asus.c
955
acpi_asus_sysctl_get(struct acpi_asus_softc *sc, int method)
sys/dev/acpi_support/acpi_asus.c
962
switch (method) {
sys/dev/acpi_support/acpi_asus.c
987
acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int arg)
sys/dev/acpi_support/acpi_asus_wmi.c
377
static int acpi_asus_wmi_evaluate_method(device_t wmi_dev, int method,
sys/dev/acpi_support/acpi_asus_wmi.c
930
acpi_asus_wmi_evaluate_method(device_t wmi_dev, int method,
sys/dev/acpi_support/acpi_asus_wmi.c
940
ACPI_ASUS_WMI_MGMT_GUID, 1, method, &in, &out))) {
sys/dev/acpi_support/acpi_fujitsu.c
166
static int acpi_fujitsu_method_get(struct acpi_fujitsu_softc *sc, int method);
sys/dev/acpi_support/acpi_fujitsu.c
167
static int acpi_fujitsu_method_set(struct acpi_fujitsu_softc *sc, int method, int value);
sys/dev/acpi_support/acpi_fujitsu.c
176
int method;
sys/dev/acpi_support/acpi_fujitsu.c
181
.method = METHOD_MUTE,
sys/dev/acpi_support/acpi_fujitsu.c
186
.method = METHOD_GMOU,
sys/dev/acpi_support/acpi_fujitsu.c
191
.method = METHOD_GBLL,
sys/dev/acpi_support/acpi_fujitsu.c
196
.method = METHOD_GBLS,
sys/dev/acpi_support/acpi_fujitsu.c
201
.method = METHOD_GVOL,
sys/dev/acpi_support/acpi_fujitsu.c
206
.method = METHOD_RVOL,
sys/dev/acpi_support/acpi_fujitsu.c
211
.method = METHOD_RBLL,
sys/dev/acpi_support/acpi_fujitsu.c
383
switch(sysctl_table[i].method) {
sys/dev/acpi_support/acpi_fujitsu.c
431
int method;
sys/dev/acpi_support/acpi_fujitsu.c
437
method = sysctl_table[function_num].method;
sys/dev/acpi_support/acpi_fujitsu.c
442
arg = acpi_fujitsu_method_get(sc, method);
sys/dev/acpi_support/acpi_fujitsu.c
449
error = acpi_fujitsu_method_set(sc, method, arg);
sys/dev/acpi_support/acpi_fujitsu.c
457
acpi_fujitsu_method_get(struct acpi_fujitsu_softc *sc, int method)
sys/dev/acpi_support/acpi_fujitsu.c
464
switch (method) {
sys/dev/acpi_support/acpi_fujitsu.c
503
if (method == METHOD_MUTE) {
sys/dev/acpi_support/acpi_fujitsu.c
513
acpi_fujitsu_method_set(struct acpi_fujitsu_softc *sc, int method, int value)
sys/dev/acpi_support/acpi_fujitsu.c
522
switch (method) {
sys/dev/acpi_support/acpi_fujitsu.c
551
if (method == METHOD_MUTE) {
sys/dev/acpi_support/acpi_hp.c
179
int method;
sys/dev/acpi_support/acpi_hp.c
185
.method = ACPI_HP_METHOD_WLAN_ENABLED,
sys/dev/acpi_support/acpi_hp.c
190
.method = ACPI_HP_METHOD_WLAN_RADIO,
sys/dev/acpi_support/acpi_hp.c
196
.method = ACPI_HP_METHOD_WLAN_ON_AIR,
sys/dev/acpi_support/acpi_hp.c
202
.method = ACPI_HP_METHOD_WLAN_ENABLE_IF_RADIO_ON,
sys/dev/acpi_support/acpi_hp.c
207
.method = ACPI_HP_METHOD_WLAN_DISABLE_IF_RADIO_OFF,
sys/dev/acpi_support/acpi_hp.c
212
.method = ACPI_HP_METHOD_BLUETOOTH_ENABLED,
sys/dev/acpi_support/acpi_hp.c
217
.method = ACPI_HP_METHOD_BLUETOOTH_RADIO,
sys/dev/acpi_support/acpi_hp.c
223
.method = ACPI_HP_METHOD_BLUETOOTH_ON_AIR,
sys/dev/acpi_support/acpi_hp.c
230
.method = ACPI_HP_METHOD_BLUETOOTH_ENABLE_IF_RADIO_ON,
sys/dev/acpi_support/acpi_hp.c
235
.method = ACPI_HP_METHOD_BLUETOOTH_DISABLE_IF_RADIO_OFF,
sys/dev/acpi_support/acpi_hp.c
240
.method = ACPI_HP_METHOD_WWAN_ENABLED,
sys/dev/acpi_support/acpi_hp.c
245
.method = ACPI_HP_METHOD_WWAN_RADIO,
sys/dev/acpi_support/acpi_hp.c
251
.method = ACPI_HP_METHOD_WWAN_ON_AIR,
sys/dev/acpi_support/acpi_hp.c
257
.method = ACPI_HP_METHOD_WWAN_ENABLE_IF_RADIO_ON,
sys/dev/acpi_support/acpi_hp.c
262
.method = ACPI_HP_METHOD_WWAN_DISABLE_IF_RADIO_OFF,
sys/dev/acpi_support/acpi_hp.c
267
.method = ACPI_HP_METHOD_ALS,
sys/dev/acpi_support/acpi_hp.c
272
.method = ACPI_HP_METHOD_DISPLAY,
sys/dev/acpi_support/acpi_hp.c
278
.method = ACPI_HP_METHOD_HDDTEMP,
sys/dev/acpi_support/acpi_hp.c
284
.method = ACPI_HP_METHOD_DOCK,
sys/dev/acpi_support/acpi_hp.c
290
.method = ACPI_HP_METHOD_CMI_DETAIL,
sys/dev/acpi_support/acpi_hp.c
296
.method = ACPI_HP_METHOD_VERBOSE,
sys/dev/acpi_support/acpi_hp.c
311
static int acpi_hp_sysctl_set(struct acpi_hp_softc *sc, int method,
sys/dev/acpi_support/acpi_hp.c
313
static int acpi_hp_sysctl_get(struct acpi_hp_softc *sc, int method);
sys/dev/acpi_support/acpi_hp.c
559
(acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
561
acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
563
acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
565
acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
567
acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
569
acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
572
acpi_hp_sysctls[i].method)) < 0) {
sys/dev/acpi_support/acpi_hp.c
575
if (acpi_hp_sysctls[i].method == ACPI_HP_METHOD_WLAN_ON_AIR) {
sys/dev/acpi_support/acpi_hp.c
578
else if (acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
582
else if (acpi_hp_sysctls[i].method ==
sys/dev/acpi_support/acpi_hp.c
643
int method;
sys/dev/acpi_support/acpi_hp.c
649
method = acpi_hp_sysctls[function].method;
sys/dev/acpi_support/acpi_hp.c
652
arg = acpi_hp_sysctl_get(sc, method);
sys/dev/acpi_support/acpi_hp.c
656
error = acpi_hp_sysctl_set(sc, method, arg, oldarg);
sys/dev/acpi_support/acpi_hp.c
664
acpi_hp_sysctl_get(struct acpi_hp_softc *sc, int method)
sys/dev/acpi_support/acpi_hp.c
671
switch (method) {
sys/dev/acpi_support/acpi_hp.c
776
acpi_hp_sysctl_set(struct acpi_hp_softc *sc, int method, int arg, int oldarg)
sys/dev/acpi_support/acpi_hp.c
781
if (method != ACPI_HP_METHOD_CMI_DETAIL &&
sys/dev/acpi_support/acpi_hp.c
782
method != ACPI_HP_METHOD_VERBOSE)
sys/dev/acpi_support/acpi_hp.c
786
switch (method) {
sys/dev/acpi_support/acpi_ibm.c
214
int method;
sys/dev/acpi_support/acpi_ibm.c
220
.method = ACPI_IBM_METHOD_EVENTS,
sys/dev/acpi_support/acpi_ibm.c
225
.method = ACPI_IBM_METHOD_EVENTMASK,
sys/dev/acpi_support/acpi_ibm.c
230
.method = ACPI_IBM_METHOD_HOTKEY,
sys/dev/acpi_support/acpi_ibm.c
236
.method = ACPI_IBM_METHOD_BRIGHTNESS,
sys/dev/acpi_support/acpi_ibm.c
241
.method = ACPI_IBM_METHOD_VOLUME,
sys/dev/acpi_support/acpi_ibm.c
246
.method = ACPI_IBM_METHOD_MUTE,
sys/dev/acpi_support/acpi_ibm.c
251
.method = ACPI_IBM_METHOD_THINKLIGHT,
sys/dev/acpi_support/acpi_ibm.c
256
.method = ACPI_IBM_METHOD_BLUETOOTH,
sys/dev/acpi_support/acpi_ibm.c
261
.method = ACPI_IBM_METHOD_WLAN,
sys/dev/acpi_support/acpi_ibm.c
267
.method = ACPI_IBM_METHOD_FANSPEED,
sys/dev/acpi_support/acpi_ibm.c
273
.method = ACPI_IBM_METHOD_FANLEVEL,
sys/dev/acpi_support/acpi_ibm.c
279
.method = ACPI_IBM_METHOD_FANSTATUS,
sys/dev/acpi_support/acpi_ibm.c
284
.method = ACPI_IBM_METHOD_MIC_LED,
sys/dev/acpi_support/acpi_ibm.c
289
.method = ACPI_IBM_METHOD_PRIVACYGUARD,
sys/dev/acpi_support/acpi_ibm.c
337
static int acpi_ibm_sysctl_init(struct acpi_ibm_softc *sc, int method);
sys/dev/acpi_support/acpi_ibm.c
338
static int acpi_ibm_sysctl_get(struct acpi_ibm_softc *sc, int method);
sys/dev/acpi_support/acpi_ibm.c
339
static int acpi_ibm_sysctl_set(struct acpi_ibm_softc *sc, int method, int val);
sys/dev/acpi_support/acpi_ibm.c
564
if (!acpi_ibm_sysctl_init(sc, acpi_ibm_sysctls[i].method))
sys/dev/acpi_support/acpi_ibm.c
724
int method;
sys/dev/acpi_support/acpi_ibm.c
730
method = acpi_ibm_sysctls[function].method;
sys/dev/acpi_support/acpi_ibm.c
733
arg = acpi_ibm_sysctl_get(sc, method);
sys/dev/acpi_support/acpi_ibm.c
741
error = acpi_ibm_sysctl_set(sc, method, arg);
sys/dev/acpi_support/acpi_ibm.c
749
acpi_ibm_sysctl_get(struct acpi_ibm_softc *sc, int method)
sys/dev/acpi_support/acpi_ibm.c
757
switch (method) {
sys/dev/acpi_support/acpi_ibm.c
891
acpi_ibm_sysctl_set(struct acpi_ibm_softc *sc, int method, int arg)
sys/dev/acpi_support/acpi_ibm.c
900
switch (method) {
sys/dev/acpi_support/acpi_ibm.c
984
acpi_ibm_sysctl_init(struct acpi_ibm_softc *sc, int method)
sys/dev/acpi_support/acpi_ibm.c
990
switch (method) {
sys/dev/acpi_support/acpi_system76.c
203
acpi_system76_ctrl_map(struct acpi_system76_softc *sc, int method)
sys/dev/acpi_support/acpi_system76.c
206
switch (method) {
sys/dev/acpi_support/acpi_system76.c
222
acpi_system76_update(struct acpi_system76_softc *sc, int method, bool set)
sys/dev/acpi_support/acpi_system76.c
233
if ((ctrl = acpi_system76_ctrl_map(sc, method)) == NULL)
sys/dev/acpi_support/acpi_system76.c
236
switch (method) {
sys/dev/acpi_support/acpi_system76.c
240
Arg[0].Integer.Value = method == S76_CTRL_BCTH ? 1 : 0;
sys/dev/acpi_support/acpi_system76.c
251
s76_sysctl_table[method].set_method, &Args, &Buf);
sys/dev/acpi_support/acpi_system76.c
254
s76_sysctl_table[method].get_method, &Args, &Buf);
sys/dev/acpi_support/acpi_system76.c
263
status = acpi_SetInteger(sc->handle, s76_sysctl_table[method].set_method,
sys/dev/acpi_support/acpi_system76.c
266
status = acpi_GetInteger(sc->handle, s76_sysctl_table[method].get_method,
sys/dev/acpi_support/acpi_system76.c
273
s76_sysctl_table[method].name);
sys/dev/acpi_support/acpi_system76.c
284
int method;
sys/dev/acpi_support/acpi_system76.c
291
for (method = 1; method < S76_CTRL_MAX; method++) {
sys/dev/acpi_support/acpi_system76.c
292
if (method == S76_CTRL_BCTL ||
sys/dev/acpi_support/acpi_system76.c
293
method == S76_CTRL_BCTH)
sys/dev/acpi_support/acpi_system76.c
295
acpi_system76_update(sc, method, false);
sys/dev/acpi_support/acpi_system76.c
307
int method;
sys/dev/acpi_support/acpi_system76.c
312
for (method = 1; method < S76_CTRL_MAX; method++) {
sys/dev/acpi_support/acpi_system76.c
313
if ((ctrl = acpi_system76_ctrl_map(sc, method)) == NULL)
sys/dev/acpi_support/acpi_system76.c
317
if (method == S76_CTRL_BCTL ||
sys/dev/acpi_support/acpi_system76.c
318
method == S76_CTRL_BCTH) {
sys/dev/acpi_support/acpi_system76.c
320
acpi_system76_update(sc, method, false);
sys/dev/acpi_support/acpi_system76.c
325
s76_sysctl_table[method].get_method, &ctrl->val))) {
sys/dev/acpi_support/acpi_system76.c
328
s76_sysctl_table[method].desc);
sys/dev/acpi_support/acpi_system76.c
331
acpi_system76_update(sc, method, false);
sys/dev/acpi_support/acpi_system76.c
361
int val, method, error;
sys/dev/acpi_support/acpi_system76.c
367
method = oidp->oid_arg2;
sys/dev/acpi_support/acpi_system76.c
368
if ((ctrl = acpi_system76_ctrl_map(sc, method)) == NULL)
sys/dev/acpi_support/acpi_system76.c
383
if (method != S76_CTRL_BCTL && method != S76_CTRL_BCTH)
sys/dev/acpi_support/acpi_system76.c
388
switch (method) {
sys/dev/acpi_support/acpi_system76.c
417
error = acpi_system76_update(sc, method, update);
sys/dev/acpi_support/acpi_system76.c
427
uint32_t method;
sys/dev/acpi_support/acpi_system76.c
438
for (method = 1; method < S76_CTRL_MAX; method++) {
sys/dev/acpi_support/acpi_system76.c
439
if ((ctrl = acpi_system76_ctrl_map(sc, method)) == NULL)
sys/dev/acpi_support/acpi_system76.c
445
if (method == S76_CTRL_KBB) {
sys/dev/acpi_support/acpi_system76.c
454
SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, s76_sysctl_table[method].name,
sys/dev/acpi_support/acpi_system76.c
456
sc, method, acpi_system76_sysctl_handler, "IU", s76_sysctl_table[method].desc);
sys/dev/acpi_support/acpi_wmi.c
384
char method[5] = "WMxx";
sys/dev/acpi_support/acpi_wmi.c
415
method[2] = winfo->ginfo.oid[0];
sys/dev/acpi_support/acpi_wmi.c
416
method[3] = winfo->ginfo.oid[1];
sys/dev/acpi_support/acpi_wmi.c
417
status = AcpiEvaluateObject(sc->wmi_handle, method,
sys/dev/acpi_support/acpi_wmi.c
616
char method[5] = "WSxx";
sys/dev/acpi_support/acpi_wmi.c
646
method[2] = winfo->ginfo.oid[0];
sys/dev/acpi_support/acpi_wmi.c
647
method[3] = winfo->ginfo.oid[1];
sys/dev/acpi_support/acpi_wmi.c
648
status = AcpiEvaluateObject(sc->wmi_handle, method,
sys/dev/acpi_support/acpi_wmi.c
796
char method[5] = "WExx";
sys/dev/acpi_support/acpi_wmi.c
813
method[2] = (hi > 9 ? hi + 55: hi + 48);
sys/dev/acpi_support/acpi_wmi.c
814
method[3] = (lo > 9 ? lo + 55: lo + 48);
sys/dev/acpi_support/acpi_wmi.c
815
status = AcpiEvaluateObject(sc->wmi_handle, method, &input, NULL);
sys/dev/ciss/ciss.c
644
uint32_t method, supported_methods;
sys/dev/ciss/ciss.c
767
method = CISS_TRANSPORT_METHOD_PERF;
sys/dev/ciss/ciss.c
771
supported_methods &= ~method;
sys/dev/ciss/ciss.c
775
method = CISS_TRANSPORT_METHOD_SIMPLE;
sys/dev/ciss/ciss.c
786
sc->ciss_cfg->requested_method = method;
sys/dev/ciss/ciss.c
800
if ((sc->ciss_cfg->active_method & method) == 0) {
sys/dev/ciss/ciss.c
801
supported_methods &= ~method;
sys/dev/ciss/ciss.c
821
if (method == CISS_TRANSPORT_METHOD_PERF) {
sys/dev/efidev/efirt.c
588
#define EFI_RT_METHOD_PA(method) \
sys/dev/efidev/efirt.c
590
efi_runtime))->method)
sys/dev/firewire/sbp.c
2173
sbp_target_reset(struct sbp_dev *sdev, int method)
sys/dev/firewire/sbp.c
2191
if (method == 2)
sys/dev/firewire/sbp.c
2194
switch (method) {
sys/dev/ichiic/ig4_iic.c
796
ig4iic_acpi_params(ACPI_HANDLE handle, char *method,
sys/dev/ichiic/ig4_iic.c
806
status = AcpiEvaluateObject(handle, method, NULL, &buf);
sys/dev/mlx4/device.h
1565
enum mlx4_access_reg_method method,
sys/dev/mlx4/device.h
994
u8 method;
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
1025
smp->method == IB_MGMT_METHOD_GET) || network_view) {
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
1027
slave, smp->mgmt_class, smp->method,
sys/dev/mlx4/mlx4_core/mlx4_cmd.c
930
if (!network_view && smp->method == IB_MGMT_METHOD_GET) {
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2859
u8 method;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2881
enum mlx4_access_reg_method method,
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2904
inbuf->method = method & MLX4_ACCESS_REG_METHOD_MASK;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2950
enum mlx4_access_reg_method method,
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2954
method, sizeof(*ptys_reg), ptys_reg);
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2965
u8 method = inbuf->method & MLX4_ACCESS_REG_METHOD_MASK;
sys/dev/mlx4/mlx4_core/mlx4_fw.c
2969
method == MLX4_ACCESS_REG_WRITE)
sys/dev/mlx4/mlx4_core/mlx4_port.c
1957
inmad->method = 0x1; /* Get */
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
343
if (cb_ctx->method == MLX4_GUID_INFO_RECORD_DELETE) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
529
callback_context->method = rec->method;
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
549
comp_mask, rec->method, 1000,
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
63
u8 method;
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
683
next_rec->method = MLX4_GUID_INFO_RECORD_DELETE;
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
686
next_rec->method = MLX4_GUID_INFO_RECORD_SET;
sys/dev/mlx4/mlx4_ib/mlx4_ib_alias_GUID.c
69
u8 method;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1124
in_mad->method = IB_MGMT_METHOD_GET;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1475
switch (tunnel->mad.mad_hdr.method) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1514
if (tunnel->mad.mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
1515
tunnel->mad.mad_hdr.method != IB_MGMT_METHOD_SET)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
230
mad->mad_hdr.method == IB_MGMT_METHOD_SET)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
370
mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
697
if (mad->mad_hdr.method & 0x80) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
721
if (!(mad->mad_hdr.method & IB_MGMT_METHOD_RESP)) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
724
mad->mad_hdr.method);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
739
if (mad->mad_hdr.method != IB_MGMT_METHOD_GET_RESP)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
779
in_mad->mad_hdr.mgmt_class, in_mad->mad_hdr.method,
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
793
if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
800
if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
801
in_mad->mad_hdr.method != IB_MGMT_METHOD_SET &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
802
in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
814
if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
815
in_mad->mad_hdr.method != IB_MGMT_METHOD_SET)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
822
in_mad->mad_hdr.method == IB_MGMT_METHOD_SET &&
sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
846
if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS)
sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
95
mad->method = IB_MGMT_METHOD_GET;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
1163
mad->mad_hdr.method = IB_SA_METHOD_DELETE;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
289
mad.mad_hdr.method = IB_SA_METHOD_DELETE;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
330
mad.mad_hdr.method = IB_MGMT_METHOD_GET_RESP;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
650
u8 method;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
664
method = group->response_sa_mad.mad_hdr.method;
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
677
if (method == IB_MGMT_METHOD_GET_RESP) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
687
} else if (method == IB_SA_METHOD_DELETE_RESP && group->demux->flushing)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
697
if (method == IB_MGMT_METHOD_GET_RESP) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
719
if (req->sa_mad.mad_hdr.method == IB_SA_METHOD_DELETE)
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
894
switch (mad->mad_hdr.method) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
901
if (mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
930
port, mad->mad_hdr.method);
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
948
switch (sa_mad->mad_hdr.method) {
sys/dev/mlx4/mlx4_ib/mlx4_ib_mcg.c
988
port, slave, sa_mad->mad_hdr.method);
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
1104
mad->method = IB_MGMT_METHOD_GET;
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
102
if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
251
in_mad->mad_hdr.method == IB_MGMT_METHOD_GET) {
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
66
if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP && slid == 0)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
71
if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
72
in_mad->mad_hdr.method != IB_MGMT_METHOD_SET &&
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
73
in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS)
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
84
if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mlx5/mlx5_ib/mlx5_ib_mad.c
85
in_mad->mad_hdr.method != IB_MGMT_METHOD_SET)
sys/dev/mlx5/mlx5_ifc.h
3885
u8 method[0x7];
sys/dev/mthca/mthca_mad.c
114
mad->mad_hdr.method == IB_MGMT_METHOD_SET) {
sys/dev/mthca/mthca_mad.c
153
mad->mad_hdr.method == IB_MGMT_METHOD_GET_RESP &&
sys/dev/mthca/mthca_mad.c
218
if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP &&
sys/dev/mthca/mthca_mad.c
232
if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mthca/mthca_mad.c
233
in_mad->mad_hdr.method != IB_MGMT_METHOD_SET &&
sys/dev/mthca/mthca_mad.c
234
in_mad->mad_hdr.method != IB_MGMT_METHOD_TRAP_REPRESS)
sys/dev/mthca/mthca_mad.c
248
if (in_mad->mad_hdr.method != IB_MGMT_METHOD_GET &&
sys/dev/mthca/mthca_mad.c
249
in_mad->mad_hdr.method != IB_MGMT_METHOD_SET)
sys/dev/mthca/mthca_mad.c
255
in_mad->mad_hdr.method == IB_MGMT_METHOD_SET &&
sys/dev/mthca/mthca_mad.c
280
if (in_mad->mad_hdr.method == IB_MGMT_METHOD_TRAP_REPRESS)
sys/dev/mthca/mthca_provider.c
57
mad->method = IB_MGMT_METHOD_GET;
sys/dev/ocs_fc/sli4.h
3610
sli_convert_mask_to_count(uint32_t method, uint32_t mask)
sys/dev/ocs_fc/sli4.h
3614
if (method) {
sys/dev/ofw/ofw_standard.c
512
ofw_std_call_method(ofw_t ofw, ihandle_t instance, const char *method,
sys/dev/ofw/ofw_standard.c
519
cell_t method;
sys/dev/ofw/ofw_standard.c
534
args.method = (cell_t)method;
sys/dev/ofw/ofw_standard.c
95
const char *method, int nargs, int nreturns, cell_t *args_and_returns);
sys/dev/ofw/openfirm.c
727
OF_call_method(const char *method, ihandle_t instance, int nargs, int nreturns,
sys/dev/ofw/openfirm.c
740
status = OFW_CALL_METHOD(ofw_obj, instance, method, nargs, nreturns,
sys/dev/ofw/openfirm.h
163
int OF_call_method(const char *method, ihandle_t instance,
sys/dev/psci/psci.c
188
char method[16];
sys/dev/psci/psci.c
190
if ((OF_getprop(node, "method", method, sizeof(method))) > 0) {
sys/dev/psci/psci.c
191
if (strcmp(method, "hvc") == 0)
sys/dev/psci/psci.c
193
else if (strcmp(method, "smc") == 0)
sys/dev/psci/psci.c
196
printf("psci: PSCI conduit \"%s\" invalid\n", method);
sys/dev/sym/sym_defs.h
205
u_short method;
sys/dev/thunderbolt/nhi_wmi.c
168
nhi_wmi_evaluate_method(struct nhi_wmi_softc *sc, int method, uint32_t arg0,
sys/dev/thunderbolt/nhi_wmi.c
182
ACPI_INTEL_THUNDERBOLT_GUID, 0, method, &in, &out))) {
sys/dev/thunderbolt/nhi_wmi.c
67
int method, uint32_t arg0, uint32_t *retval);
sys/dev/tpm/tpm_crb.c
147
tpmcrb_acpi_startmethod_cfg(int method)
sys/dev/tpm/tpm_crb.c
154
if (method == entry->acpi_sm)
sys/dev/usb/serial/u3g.c
815
unsigned long method;
sys/dev/usb/serial/u3g.c
828
method = U3GINIT_HUAWEI;
sys/dev/usb/serial/u3g.c
830
method = U3GINIT_SIERRA;
sys/dev/usb/serial/u3g.c
832
method = U3GINIT_SCSIEJECT;
sys/dev/usb/serial/u3g.c
834
method = U3GINIT_REZERO;
sys/dev/usb/serial/u3g.c
836
method = U3GINIT_ZTESTOR;
sys/dev/usb/serial/u3g.c
838
method = U3GINIT_CMOTECH;
sys/dev/usb/serial/u3g.c
840
method = U3GINIT_WAIT;
sys/dev/usb/serial/u3g.c
842
method = U3GINIT_HUAWEISCSI;
sys/dev/usb/serial/u3g.c
844
method = U3GINIT_HUAWEISCSI2;
sys/dev/usb/serial/u3g.c
846
method = U3GINIT_HUAWEISCSI3;
sys/dev/usb/serial/u3g.c
848
method = U3GINIT_HUAWEISCSI4;
sys/dev/usb/serial/u3g.c
850
method = U3GINIT_TCT;
sys/dev/usb/serial/u3g.c
852
method = USB_GET_DRIVER_INFO(uaa);
sys/dev/usb/serial/u3g.c
859
usb_get_product(udev), method);
sys/dev/usb/serial/u3g.c
862
switch (method) {
sys/dev/usb/usb_msctest.c
1028
DPRINTF("Unknown eject method (%d)\n", method);
sys/dev/usb/usb_msctest.c
964
usb_msc_eject(struct usb_device *udev, uint8_t iface_index, int method)
sys/dev/usb/usb_msctest.c
973
switch (method) {
sys/dev/usb/usb_msctest.h
46
uint8_t iface_index, int method);
sys/kern/kern_osd.c
376
osd_call(u_int type, u_int method, void *obj, void *data)
sys/kern/kern_osd.c
382
KASSERT(method < osdm[type].osd_nmethods, ("Invalid method."));
sys/kern/kern_osd.c
395
method];
sys/netgraph/ng_rfc1490.c
234
for (enc = ng_rfc1490_encaps; enc->method != 0; enc++ )
sys/netgraph/ng_rfc1490.c
239
if (enc->method != 0)
sys/netgraph/ng_rfc1490.c
321
if (priv->enc->method == NG_RFC1490_ENCAP_CISCO)
sys/netgraph/ng_rfc1490.c
393
switch (priv->enc->method) {
sys/netgraph/ng_rfc1490.c
91
u_int8_t method;
sys/netinet/tcp_stacks/rack.c
16979
uint64_t bw_est, uint64_t bw, uint64_t len_time, int method,
sys/netinet/tcp_stacks/rack.c
16991
if ((method != 2) &&
sys/netinet/tcp_stacks/rack.c
16992
(method != 3) &&
sys/netinet/tcp_stacks/rack.c
16993
(method != 7) &&
sys/netinet/tcp_stacks/rack.c
16994
(method != 89) &&
sys/netinet/tcp_stacks/rack.c
16995
(method != 14) &&
sys/netinet/tcp_stacks/rack.c
16996
(method != 20)) {
sys/netinet/tcp_stacks/rack.c
17043
log.u_bbr.flex8 = method;
sys/netinet/tcp_stacks/rack.c
3527
uint64_t up_bnd, int line, uint8_t method)
sys/netinet/tcp_stacks/rack.c
3547
log.u_bbr.flex8 = method;
sys/netinet/tcp_stacks/rack.c
466
uint64_t bw_est, uint64_t bw, uint64_t len_time, int method, int line,
sys/netipsec/subr_ipsec.c
233
#define IPSEC_KMOD_METHOD(type, name, sc, method, decl, args) \
sys/netipsec/subr_ipsec.c
238
ret = (*sc->methods->method)(args); \
sys/ofed/drivers/infiniband/core/ib_cm.c
1221
hdr->method = IB_MGMT_METHOD_SEND;
sys/ofed/drivers/infiniband/core/ib_mad.c
1351
static int method_in_use(struct ib_mad_mgmt_method_table **method,
sys/ofed/drivers/infiniband/core/ib_mad.c
1357
if ((*method)->agent[i]) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1365
static int allocate_method_table(struct ib_mad_mgmt_method_table **method)
sys/ofed/drivers/infiniband/core/ib_mad.c
1368
*method = kzalloc(sizeof **method, GFP_ATOMIC);
sys/ofed/drivers/infiniband/core/ib_mad.c
1369
return (*method) ? 0 : (-ENOMEM);
sys/ofed/drivers/infiniband/core/ib_mad.c
1375
static int check_method_table(struct ib_mad_mgmt_method_table *method)
sys/ofed/drivers/infiniband/core/ib_mad.c
1380
if (method->agent[i])
sys/ofed/drivers/infiniband/core/ib_mad.c
1432
static void remove_methods_mad_agent(struct ib_mad_mgmt_method_table *method,
sys/ofed/drivers/infiniband/core/ib_mad.c
1439
if (method->agent[i] == agent) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1440
method->agent[i] = NULL;
sys/ofed/drivers/infiniband/core/ib_mad.c
1451
struct ib_mad_mgmt_method_table **method;
sys/ofed/drivers/infiniband/core/ib_mad.c
1465
method = &(*class)->method_table[mgmt_class];
sys/ofed/drivers/infiniband/core/ib_mad.c
1466
if ((ret = allocate_method_table(method)))
sys/ofed/drivers/infiniband/core/ib_mad.c
1469
method = &(*class)->method_table[mgmt_class];
sys/ofed/drivers/infiniband/core/ib_mad.c
1470
if (!*method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1472
if ((ret = allocate_method_table(method)))
sys/ofed/drivers/infiniband/core/ib_mad.c
1478
if (method_in_use(method, mad_reg_req))
sys/ofed/drivers/infiniband/core/ib_mad.c
1483
(*method)->agent[i] = agent_priv;
sys/ofed/drivers/infiniband/core/ib_mad.c
1489
remove_methods_mad_agent(*method, agent_priv);
sys/ofed/drivers/infiniband/core/ib_mad.c
1491
if (!check_method_table(*method)) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1493
kfree(*method);
sys/ofed/drivers/infiniband/core/ib_mad.c
1494
*method = NULL;
sys/ofed/drivers/infiniband/core/ib_mad.c
1512
struct ib_mad_mgmt_method_table **method;
sys/ofed/drivers/infiniband/core/ib_mad.c
1541
method = &(*vendor_table)->vendor_class[
sys/ofed/drivers/infiniband/core/ib_mad.c
1543
if (!*method)
sys/ofed/drivers/infiniband/core/ib_mad.c
1552
method = &(*vendor_table)->vendor_class[
sys/ofed/drivers/infiniband/core/ib_mad.c
1555
if (!*method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1556
ret = allocate_method_table(method);
sys/ofed/drivers/infiniband/core/ib_mad.c
1570
if (method_in_use(method, mad_reg_req))
sys/ofed/drivers/infiniband/core/ib_mad.c
1575
(*method)->agent[i] = agent_priv;
sys/ofed/drivers/infiniband/core/ib_mad.c
1581
remove_methods_mad_agent(*method, agent_priv);
sys/ofed/drivers/infiniband/core/ib_mad.c
1583
if (!check_method_table(*method)) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1585
kfree(*method);
sys/ofed/drivers/infiniband/core/ib_mad.c
1586
*method = NULL;
sys/ofed/drivers/infiniband/core/ib_mad.c
1607
struct ib_mad_mgmt_method_table *method;
sys/ofed/drivers/infiniband/core/ib_mad.c
1628
method = class->method_table[mgmt_class];
sys/ofed/drivers/infiniband/core/ib_mad.c
1629
if (method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1631
remove_methods_mad_agent(method, agent_priv);
sys/ofed/drivers/infiniband/core/ib_mad.c
1633
if (!check_method_table(method)) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1635
kfree(method);
sys/ofed/drivers/infiniband/core/ib_mad.c
1665
method = vendor_class->method_table[index];
sys/ofed/drivers/infiniband/core/ib_mad.c
1666
if (method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1668
remove_methods_mad_agent(method, agent_priv);
sys/ofed/drivers/infiniband/core/ib_mad.c
1673
if (!check_method_table(method)) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1675
kfree(method);
sys/ofed/drivers/infiniband/core/ib_mad.c
169
struct ib_mad_mgmt_method_table *method;
sys/ofed/drivers/infiniband/core/ib_mad.c
1725
struct ib_mad_mgmt_method_table *method;
sys/ofed/drivers/infiniband/core/ib_mad.c
174
method = vendor_class->method_table[i];
sys/ofed/drivers/infiniband/core/ib_mad.c
1745
method = class->method_table[convert_mgmt_class(
sys/ofed/drivers/infiniband/core/ib_mad.c
1747
if (method)
sys/ofed/drivers/infiniband/core/ib_mad.c
1748
mad_agent = method->agent[mad_hdr->method &
sys/ofed/drivers/infiniband/core/ib_mad.c
175
if (method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
176
if (method_in_use(&method, mad_reg_req))
sys/ofed/drivers/infiniband/core/ib_mad.c
1764
method = vendor_class->method_table[index];
sys/ofed/drivers/infiniband/core/ib_mad.c
1765
if (method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
1766
mad_agent = method->agent[mad_hdr->method &
sys/ofed/drivers/infiniband/core/ib_mad.c
1812
(mad_hdr->method != IB_MGMT_METHOD_SEND))
sys/ofed/drivers/infiniband/core/ib_mad.c
188
return ((hdr->method & IB_MGMT_METHOD_RESP) ||
sys/ofed/drivers/infiniband/core/ib_mad.c
189
(hdr->method == IB_MGMT_METHOD_TRAP_REPRESS) ||
sys/ofed/drivers/infiniband/core/ib_mad.c
2070
if (recv_hdr->method == IB_MGMT_METHOD_GET ||
sys/ofed/drivers/infiniband/core/ib_mad.c
2071
recv_hdr->method == IB_MGMT_METHOD_SET) {
sys/ofed/drivers/infiniband/core/ib_mad.c
2076
resp_hdr->method = IB_MGMT_METHOD_GET_RESP;
sys/ofed/drivers/infiniband/core/ib_mad.c
215
struct ib_mad_mgmt_method_table *method;
sys/ofed/drivers/infiniband/core/ib_mad.c
392
method = class->method_table[mgmt_class];
sys/ofed/drivers/infiniband/core/ib_mad.c
393
if (method) {
sys/ofed/drivers/infiniband/core/ib_mad.c
394
if (method_in_use(&method,
sys/ofed/drivers/infiniband/core/ib_mad.c
72
static int method_in_use(struct ib_mad_mgmt_method_table **method,
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
127
ack->mad_hdr.method ^= IB_MGMT_METHOD_RESP;
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
200
rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP;
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
233
rmpp_mad->mad_hdr.method ^= IB_MGMT_METHOD_RESP;
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
325
rmpp_recv->method = mad_hdr->method;
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
346
rmpp_recv->method == mad_hdr->method)
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
73
u8 method;
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
862
if (!(mad_hdr->method & IB_MGMT_METHOD_RESP))
sys/ofed/drivers/infiniband/core/ib_mad_rmpp.c
870
(rmpp_recv->method & IB_MGMT_METHOD_RESP))
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1017
struct ib_device *device, u8 port_num, u8 method,
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1040
if (method != IB_MGMT_METHOD_GET &&
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1041
method != IB_MGMT_METHOD_SET &&
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1042
method != IB_SA_METHOD_DELETE)
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1064
mad->mad_hdr.method = method;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1114
u8 method,
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1156
mad->mad_hdr.method = method;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1207
ib_sa_comp_mask comp_mask, u8 method,
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1225
if (method != IB_MGMT_METHOD_GET &&
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1226
method != IB_MGMT_METHOD_SET &&
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1227
method != IB_SA_METHOD_DELETE) {
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1254
mad->mad_hdr.method = method;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
1373
mad->mad_hdr.method = IB_MGMT_METHOD_GET;
sys/ofed/drivers/infiniband/core/ib_sa_query.c
939
mad->mad_hdr.method = IB_MGMT_METHOD_GET;
sys/ofed/drivers/infiniband/core/ib_sysfs.c
488
in_mad->mad_hdr.method = IB_MGMT_METHOD_GET;
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
102
const struct uverbs_method_def *method,
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
105
u32 method_key = obj_key | uapi_key_ioctl_method(method->id);
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
110
if (!method->attrs)
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
121
if (WARN_ON(method->handler))
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
124
WARN_ON(!method->handler);
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
125
rcu_assign_pointer(method_elm->handler, method->handler);
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
126
if (method->handler != uverbs_destroy_def_handler)
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
130
for (i = 0; i != method->num_attrs; i++) {
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
131
const struct uverbs_attr_def *attr = (*method->attrs)[i];
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
212
const struct uverbs_method_def *method = (*obj->methods)[i];
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
214
if (!method)
sys/ofed/drivers/infiniband/core/ib_uverbs_uapi.c
217
rc = uapi_merge_method(uapi, obj_elm, obj_key, method,
sys/ofed/drivers/infiniband/core/sa.h
55
u8 method,
sys/ofed/drivers/infiniband/util/madeye.c
108
static char * get_method_name(u8 mgmt_class, u8 method)
sys/ofed/drivers/infiniband/util/madeye.c
110
switch(method) {
sys/ofed/drivers/infiniband/util/madeye.c
135
switch (method) {
sys/ofed/drivers/infiniband/util/madeye.c
240
printk("Method.........0x%01x (%s)\n", mad_hdr->method,
sys/ofed/drivers/infiniband/util/madeye.c
241
get_method_name(mad_hdr->mgmt_class, mad_hdr->method));
sys/ofed/drivers/infiniband/util/madeye.c
363
printk("Method.........0x%01x (%s)\n", smp->method,
sys/ofed/drivers/infiniband/util/madeye.c
364
get_method_name(smp->mgmt_class, smp->method));
sys/ofed/drivers/infiniband/util/madeye.c
431
switch (mad_hdr->method) {
sys/ofed/include/rdma/ib_mad.h
170
u8 method;
sys/ofed/include/rdma/ib_mad.h
360
u8 method;
sys/ofed/include/rdma/ib_sa.h
341
u8 method,
sys/ofed/include/rdma/ib_sa.h
454
ib_sa_comp_mask comp_mask, u8 method,
sys/ofed/include/rdma/ib_smi.h
51
u8 method;
sys/ofed/include/rdma/opa_smi.h
57
u8 method;
sys/ofed/include/rdma/uverbs_ioctl.h
244
unsigned int method = key & UVERBS_API_METHOD_KEY_MASK;
sys/ofed/include/rdma/uverbs_ioctl.h
246
return method != 0 && method < UVERBS_API_METHOD_IS_WRITE &&
sys/ofed/include/rdma/uverbs_ioctl.h
293
unsigned int method = key & UVERBS_API_METHOD_KEY_MASK;
sys/ofed/include/rdma/uverbs_ioctl.h
295
return method != 0 && method < UVERBS_API_METHOD_IS_WRITE &&
sys/powerpc/include/rtas.h
46
cell_t rtas_token_lookup(const char *method);
sys/powerpc/ofw/ofw_real.c
101
static int ofw_real_call_method(ofw_t, ihandle_t instance, const char *method,
sys/powerpc/ofw/ofw_real.c
840
ofw_real_call_method(ofw_t ofw, ihandle_t instance, const char *method,
sys/powerpc/ofw/ofw_real.c
848
cell_t method;
sys/powerpc/ofw/ofw_real.c
865
args.method = IN(ofw_real_map(method, strlen(method) + 1));
sys/powerpc/ofw/ofw_real.c
872
if (args.method == 0 ||
sys/powerpc/ofw/rtas.c
258
rtas_token_lookup(const char *method)
sys/powerpc/ofw/rtas.c
265
if (OF_getencprop(rtas, method, &token, sizeof(token)) == -1)
sys/security/mac/mac_framework.c
358
#define MPC_FLAG(method, flag) \
sys/security/mac/mac_framework.c
359
if (mpc->mpc_ops->mpo_ ## method != NULL) \
sys/sys/osd.h
108
#define osd_jail_call(pr, method, data) \
sys/sys/osd.h
109
osd_call(OSD_JAIL, (method), (pr), (data))
sys/sys/osd.h
69
int osd_call(u_int type, u_int method, void *obj, void *data);
sys/sys/osd.h
89
#define osd_thread_call(td, method, data) \
sys/sys/osd.h
90
osd_call(OSD_THREAD, (method), (td), (data))
sys/vm/vm_pager.c
591
pgo_set_writeable_dirty_t *method;
sys/vm/vm_pager.c
595
method = pagertab[object->type]->pgo_set_writeable_dirty;
sys/vm/vm_pager.c
596
if (method != NULL)
sys/vm/vm_pager.c
597
method(object);
sys/vm/vm_pager.c
603
pgo_mightbedirty_t *method;
sys/vm/vm_pager.c
607
method = pagertab[object->type]->pgo_mightbedirty;
sys/vm/vm_pager.c
608
if (method == NULL)
sys/vm/vm_pager.c
610
return (method(object));
sys/vm/vm_pager.h
202
pgo_pageunswapped_t *method;
sys/vm/vm_pager.h
204
method = pagertab[m->object->type]->pgo_pageunswapped;
sys/vm/vm_pager.h
205
if (method != NULL)
sys/vm/vm_pager.h
206
method(m);
sys/vm/vm_pager.h
213
pgo_writecount_t *method;
sys/vm/vm_pager.h
215
method = pagertab[object->type]->pgo_update_writecount;
sys/vm/vm_pager.h
216
if (method != NULL)
sys/vm/vm_pager.h
217
method(object, start, end);
sys/vm/vm_pager.h
224
pgo_writecount_t *method;
sys/vm/vm_pager.h
226
method = pagertab[object->type]->pgo_release_writecount;
sys/vm/vm_pager.h
227
if (method != NULL)
sys/vm/vm_pager.h
228
method(object, start, end);
sys/vm/vm_pager.h
234
pgo_getvp_t *method;
sys/vm/vm_pager.h
239
method = pagertab[object->type]->pgo_getvp;
sys/vm/vm_pager.h
240
if (method != NULL)
sys/vm/vm_pager.h
241
method(object, vpp, vp_heldp);
sys/vm/vm_pager.h
248
pgo_freespace_t *method;
sys/vm/vm_pager.h
250
method = pagertab[object->type]->pgo_freespace;
sys/vm/vm_pager.h
251
if (method != NULL)
sys/vm/vm_pager.h
252
method(object, start, size);
sys/vm/vm_pager.h
258
pgo_page_inserted_t *method;
sys/vm/vm_pager.h
260
method = pagertab[object->type]->pgo_page_inserted;
sys/vm/vm_pager.h
261
if (method != NULL)
sys/vm/vm_pager.h
262
method(object, m);
sys/vm/vm_pager.h
268
pgo_page_removed_t *method;
sys/vm/vm_pager.h
270
method = pagertab[object->type]->pgo_page_removed;
sys/vm/vm_pager.h
271
if (method != NULL)
sys/vm/vm_pager.h
272
method(object, m);
sys/vm/vm_pager.h
278
pgo_can_alloc_page_t *method;
sys/vm/vm_pager.h
280
method = pagertab[object->type]->pgo_can_alloc_page;
sys/vm/vm_pager.h
281
return (method != NULL ? method(object, pindex) : true);
tests/sys/kern/unix_stream.c
110
check_func_t *method;
tests/sys/kern/unix_stream.c
200
ctx->method(ctx);
tests/sys/kern/unix_stream.c
237
ctx->method(ctx);
tests/sys/kern/unix_stream.c
248
ctx->method(ctx);
tests/sys/kern/unix_stream.c
262
.method = check_select,
tests/sys/kern/unix_stream.c
276
.method = check_poll,
tests/sys/kern/unix_stream.c
290
.method = check_kevent,
tests/sys/kern/unix_stream.c
447
.method = check_select,
tests/sys/kern/unix_stream.c
456
.method = check_poll,
tests/sys/kern/unix_stream.c
466
.method = check_kevent,
tools/test/gpioevents/gpioevents.c
472
char method = 'r';
tools/test/gpioevents/gpioevents.c
496
method = optarg[0];
tools/test/gpioevents/gpioevents.c
649
switch (method) {
usr.bin/gzip/gzip.c
1377
enum filetype method;
usr.bin/gzip/gzip.c
1421
method = file_gettype(fourbytes);
usr.bin/gzip/gzip.c
1422
if (fflag == 0 && method == FT_UNKNOWN) {
usr.bin/gzip/gzip.c
1428
if (method == FT_GZIP && Nflag) {
usr.bin/gzip/gzip.c
1505
switch (method) {
usr.bin/gzip/gzip.c
1751
enum filetype method;
usr.bin/gzip/gzip.c
1786
method = file_gettype(fourbytes);
usr.bin/gzip/gzip.c
1787
switch (method) {
usr.sbin/ppp/command.c
2909
cx->physical->hdlc.lqm.method &= ~LQM_ECHO;
usr.sbin/ppp/command.c
2910
if (cx->physical->hdlc.lqm.method & LQM_ECHO &&
usr.sbin/ppp/command.c
2918
cx->physical->hdlc.lqm.method |= LQM_ECHO;
usr.sbin/ppp/hdlc.h
74
int method; /* bit-mask for LQM_* from lqr.h */
usr.sbin/ppp/lqr.c
170
if (p->hdlc.lqm.method & LQM_LQR) {
usr.sbin/ppp/lqr.c
177
p->hdlc.lqm.method = 0;
usr.sbin/ppp/lqr.c
183
} else if (p->hdlc.lqm.method & LQM_ECHO) {
usr.sbin/ppp/lqr.c
192
p->hdlc.lqm.method = 0;
usr.sbin/ppp/lqr.c
197
if (p->hdlc.lqm.method && p->hdlc.lqm.timer.load)
usr.sbin/ppp/lqr.c
218
else if (!IsAccepted(l->lcp.cfg.lqr) && !(p->hdlc.lqm.method & LQM_LQR)) {
usr.sbin/ppp/lqr.c
254
if (p->hdlc.lqm.timer.load == 0 || !(p->hdlc.lqm.method & LQM_LQR) ||
usr.sbin/ppp/lqr.c
279
physical->hdlc.lqm.method = lcp->cfg.echo ? LQM_ECHO : 0;
usr.sbin/ppp/lqr.c
281
physical->hdlc.lqm.method |= LQM_LQR;
usr.sbin/ppp/lqr.c
296
if (lcp->want_lqrperiod || physical->hdlc.lqm.method & LQM_ECHO) {
usr.sbin/ppp/lqr.c
336
lqr_Stop(struct physical *physical, int method)
usr.sbin/ppp/lqr.c
338
if (method == LQM_LQR)
usr.sbin/ppp/lqr.c
341
if (method == LQM_ECHO)
usr.sbin/ppp/lqr.c
344
physical->hdlc.lqm.method &= ~method;
usr.sbin/ppp/lqr.c
345
if (physical->hdlc.lqm.method)
usr.sbin/ppp/physical.c
636
if (p->hdlc.lqm.method && p->hdlc.lqm.timer.load)
usr.sbin/pwd_mkdb/pwd_mkdb.c
103
u_int method, methoduid;
usr.sbin/pwd_mkdb/pwd_mkdb.c
271
method = 0;
usr.sbin/pwd_mkdb/pwd_mkdb.c
285
method = R_NOOVERWRITE;
usr.sbin/pwd_mkdb/pwd_mkdb.c
396
if ((dp->put)(dp, &key, &data, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
404
if ((dp->put)(dp, &key, &data, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
420
if ((sdp->put)(sdp, &key, &sdata, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
428
if ((sdp->put)(sdp, &key, &sdata, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
445
if ((dp->put)(dp, &key, &data, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
447
if ((sdp->put)(sdp, &key, &sdata, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
478
if ((dp->put)(dp, &key, &data, method) == -1)
usr.sbin/pwd_mkdb/pwd_mkdb.c
480
if ((sdp->put)(sdp, &key, &data, method) == -1)