| /dflybsd-src/contrib/wpa_supplicant/src/eap_server/ |
| H A D | eap_server_methods.c | 25 const struct eap_method * eap_server_get_eap_method(int vendor, EapType method) in eap_server_get_eap_method() argument 29 if (m->vendor == vendor && m->method == method) in eap_server_get_eap_method() 51 return m->method; in eap_server_get_type() 72 EapType method, const char *name) in eap_server_method_alloc() argument 80 eap->method = method; in eap_server_method_alloc() 90 static void eap_server_method_free(struct eap_method *method) in eap_server_method_free() argument 92 os_free(method); in eap_server_method_free() 106 int eap_server_method_register(struct eap_method *method) in eap_server_method_register() argument 110 if (method == NULL || method->name == NULL || in eap_server_method_register() 111 method->version != EAP_SERVER_METHOD_INTERFACE_VERSION) { in eap_server_method_register() [all …]
|
| /dflybsd-src/contrib/wpa_supplicant/src/eap_peer/ |
| H A D | eap_methods.c | 21 static void eap_peer_method_free(struct eap_method *method); 30 const struct eap_method * eap_peer_get_eap_method(int vendor, EapType method) in eap_peer_get_eap_method() argument 34 if (m->vendor == vendor && m->method == method) in eap_peer_get_eap_method() 56 return m->method; in eap_peer_get_type() 79 if (m->vendor == vendor && m->method == type) in eap_get_name() 233 int eap_peer_method_unload(struct eap_method *method) in eap_peer_method_unload() argument 241 if (m == method) in eap_peer_method_unload() 282 EapType method, const char *name) in eap_peer_method_alloc() argument 290 eap->method = method; in eap_peer_method_alloc() 300 static void eap_peer_method_free(struct eap_method *method) in eap_peer_method_free() argument [all …]
|
| /dflybsd-src/contrib/gcc-4.7/libobjc/ |
| H A D | methods.c | 33 method_getName (struct objc_method * method) in method_getName() argument 35 if (method == NULL) in method_getName() 38 return method->method_name; in method_getName() 42 method_getTypeEncoding (struct objc_method * method) in method_getTypeEncoding() argument 44 if (method == NULL) in method_getTypeEncoding() 47 return method->method_types; in method_getTypeEncoding() 51 method_getImplementation (struct objc_method * method) in method_getImplementation() argument 53 if (method == NULL) in method_getImplementation() 56 return method->method_imp; in method_getImplementation() 60 method_getDescription (struct objc_method * method) in method_getDescription() argument [all …]
|
| H A D | sendmsg.c | 366 method_get_imp (struct objc_method * method) in method_get_imp() argument 368 return (method != (struct objc_method *)0) ? method->method_imp : (IMP)0; in method_get_imp() 527 struct objc_method *method = search_for_method_in_hierarchy (class->class_pointer, in __objc_send_initialize() local 530 if (method) in __objc_send_initialize() 533 (*method->method_imp) ((id)class, op); in __objc_send_initialize() 566 struct objc_method * method = &(method_list->method_list[i]); in __objc_install_methods_in_dtable() local 568 (sidx) method->method_name->sel_id, in __objc_install_methods_in_dtable() 569 method->method_imp); in __objc_install_methods_in_dtable() 680 struct objc_method *method; in class_addMethod() local 708 struct objc_method * method = &method_list->method_list[i]; in class_addMethod() local [all …]
|
| H A D | encoding.c | 802 method_copyReturnType (struct objc_method *method) in method_copyReturnType() argument 804 if (method == NULL) in method_copyReturnType() 815 const char *type = method->method_types; in method_copyReturnType() 819 returnValueSize = type - method->method_types + 1; in method_copyReturnType() 824 memcpy (returnValue, method->method_types, returnValueSize); in method_copyReturnType() 832 method_copyArgumentType (struct objc_method * method, unsigned int argumentNumber) in method_copyArgumentType() argument 834 if (method == NULL) in method_copyArgumentType() 844 const char *type = method->method_types; in method_copyArgumentType() 881 void method_getReturnType (struct objc_method * method, char *returnValue, in method_getReturnType() argument 891 if (method == NULL) in method_getReturnType() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/x509/ |
| H A D | x509_prn.c | 111 const X509V3_EXT_METHOD *method; in X509V3_EXT_print() local 115 if (!(method = X509V3_EXT_get(ext))) in X509V3_EXT_print() 118 if (method->it) in X509V3_EXT_print() 120 method->it); in X509V3_EXT_print() 122 ext_str = method->d2i(NULL, &p, ext->value->length); in X509V3_EXT_print() 127 if (method->i2s) { in X509V3_EXT_print() 128 if (!(value = method->i2s(method, ext_str))) { in X509V3_EXT_print() 133 } else if (method->i2v) { in X509V3_EXT_print() 134 if (!(nval = method->i2v(method, ext_str, NULL))) { in X509V3_EXT_print() 139 method->ext_flags & X509V3_EXT_MULTILINE); in X509V3_EXT_print() [all …]
|
| H A D | x509_lu.c | 69 X509_LOOKUP_new(X509_LOOKUP_METHOD *method) in X509_LOOKUP_new() argument 78 lu->method = method; in X509_LOOKUP_new() 80 if (method->new_item != NULL && !method->new_item(lu)) { in X509_LOOKUP_new() 93 if (ctx->method != NULL && ctx->method->free != NULL) in X509_LOOKUP_free() 94 ctx->method->free(ctx); in X509_LOOKUP_free() 101 if (ctx->method == NULL) in X509_LOOKUP_init() 103 if (ctx->method->init == NULL) in X509_LOOKUP_init() 105 return ctx->method->init(ctx); in X509_LOOKUP_init() 111 if (ctx->method == NULL) in X509_LOOKUP_shutdown() 113 if (ctx->method->shutdown == NULL) in X509_LOOKUP_shutdown() [all …]
|
| H A D | x509_conf.c | 81 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid, 130 const X509V3_EXT_METHOD *method; in do_ext_nconf() local 138 if (!(method = X509V3_EXT_get_nid(ext_nid))) { in do_ext_nconf() 143 if (method->v2i) { in do_ext_nconf() 158 ext_struc = method->v2i(method, ctx, nval); in do_ext_nconf() 161 } else if (method->s2i) { in do_ext_nconf() 162 ext_struc = method->s2i(method, ctx, value); in do_ext_nconf() 163 } else if (method->r2i) { in do_ext_nconf() 168 ext_struc = method->r2i(method, ctx, value); in do_ext_nconf() 177 ext = do_ext_i2d(method, ext_nid, crit, ext_struc); in do_ext_nconf() [all …]
|
| H A D | x509_ocsp.c | 77 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *nonce, 79 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *nonce, 81 static int i2r_object(const X509V3_EXT_METHOD *method, void *obj, BIO *out, 88 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, 91 static int i2r_ocsp_nocheck(const X509V3_EXT_METHOD *method, 93 static void *s2i_ocsp_nocheck(const X509V3_EXT_METHOD *method, X509V3_CTX *ctx, 95 static int i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, 218 i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) in i2r_ocsp_crlid() argument 252 i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, in i2r_ocsp_acutoff() argument 263 i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) in i2r_object() argument [all …]
|
| H A D | x509_info.c | 69 X509V3_EXT_METHOD *method, AUTHORITY_INFO_ACCESS *ainfo, 72 X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval); 112 .offset = offsetof(ACCESS_DESCRIPTION, method), 206 i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method, in STACK_OF() 223 if ((ret = i2v_GENERAL_NAME(method, desc->location, in STACK_OF() 228 if (!i2t_ASN1_OBJECT(objtmp, sizeof objtmp, desc->method)) in STACK_OF() 248 v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, in v2i_AUTHORITY_INFO_ACCESS() argument 280 if (!v2i_GENERAL_NAME_ex(acc->location, method, ctx, &ctmp, 0)) in v2i_AUTHORITY_INFO_ACCESS() 287 acc->method = OBJ_txt2obj(objtmp, 0); in v2i_AUTHORITY_INFO_ACCESS() 288 if (!acc->method) { in v2i_AUTHORITY_INFO_ACCESS() [all …]
|
| /dflybsd-src/crypto/libressl/crypto/ui/ |
| H A D | ui_lib.c | 78 UI_new_method(const UI_METHOD *method) in UI_new_method() argument 86 if ((ret->meth = method) == NULL) in UI_new_method() 564 UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)) in UI_method_set_opener() argument 566 if (method) { in UI_method_set_opener() 567 method->ui_open_session = opener; in UI_method_set_opener() 574 UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis)) in UI_method_set_writer() argument 576 if (method) { in UI_method_set_writer() 577 method->ui_write_string = writer; in UI_method_set_writer() 584 UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui)) in UI_method_set_flusher() argument 586 if (method) { in UI_method_set_flusher() [all …]
|
| /dflybsd-src/contrib/cvs-1.12/src/ |
| H A D | root.c | 384 newroot->method = null_method; in new_cvsroot_t() 508 char *method = ++cvsroot_copy; in parse_cvsroot() local 519 if (! (p = strchr (method, ':'))) in parse_cvsroot() 531 method = strtok (method, ";"); in parse_cvsroot() 532 if (!method) in parse_cvsroot() 535 method = ""; in parse_cvsroot() 540 if (!strcasecmp (method, "local")) in parse_cvsroot() 541 newroot->method = local_method; in parse_cvsroot() 542 else if (!strcasecmp (method, "pserver")) in parse_cvsroot() 543 newroot->method = pserver_method; in parse_cvsroot() [all …]
|
| /dflybsd-src/crypto/openssh/ |
| H A D | auth2.c | 273 char *user = NULL, *service = NULL, *method = NULL, *style = NULL; in input_userauth_request() local 282 (r = sshpkt_get_cstring(ssh, &method, NULL)) != 0) in input_userauth_request() 284 debug("userauth-request for user %s service %s method %s", user, service, method); in input_userauth_request() 343 m = authmethod_lookup(authctxt, method); in input_userauth_request() 345 debug2("input_userauth_request: try method %s", method); in input_userauth_request() 346 authenticated = m->userauth(ssh, method); in input_userauth_request() 348 if (!authctxt->authenticated && strcmp(method, "none") != 0) in input_userauth_request() 351 userauth_finish(ssh, authenticated, method, NULL); in input_userauth_request() 356 free(method); in input_userauth_request() 366 const char *method = packet_method; in userauth_finish() local [all …]
|
| H A D | audit.c | 47 audit_classify_auth(const char *method) in audit_classify_auth() argument 49 if (strcmp(method, "none") == 0) in audit_classify_auth() 51 else if (strcmp(method, "password") == 0) in audit_classify_auth() 53 else if (strcmp(method, "publickey") == 0 || in audit_classify_auth() 54 strcmp(method, "rsa") == 0) in audit_classify_auth() 56 else if (strncmp(method, "keyboard-interactive", 20) == 0 || in audit_classify_auth() 57 strcmp(method, "challenge-response") == 0) in audit_classify_auth() 59 else if (strcmp(method, "hostbased") == 0 || in audit_classify_auth() 60 strcmp(method, "rhosts-rsa") == 0) in audit_classify_auth() 62 else if (strcmp(method, "gssapi-with-mic") == 0) in audit_classify_auth()
|
| H A D | auth2-methods.c | 95 char *methods, *omethods, *method, *p; in auth2_methods_valid() local 105 while ((method = strsep(&methods, ",")) != NULL) { in auth2_methods_valid() 108 if ((p = strchr(method, ':')) != NULL) in auth2_methods_valid() 110 if (strcmp(method, cfg->name) != 0) in auth2_methods_valid() 117 method, _methods); in auth2_methods_valid() 126 method); in auth2_methods_valid()
|
| /dflybsd-src/crypto/libressl/crypto/bio/ |
| H A D | bio_lib.c | 134 BIO_new(const BIO_METHOD *method) in BIO_new() argument 144 if (!BIO_set(ret, method)) { in BIO_new() 152 BIO_set(BIO *bio, const BIO_METHOD *method) in BIO_set() argument 154 bio->method = method; in BIO_set() 170 if (method->create != NULL) { in BIO_set() 171 if (!method->create(bio)) { in BIO_set() 199 if (a->method != NULL && a->method->destroy != NULL) in BIO_free() 200 a->method->destroy(a); in BIO_free() 311 return b->method->name; in BIO_method_name() 317 return b->method->type; in BIO_method_type() [all …]
|
| H A D | bio_cb.c | 93 snprintf(p, p_maxlen, "Free - %s\n", bio->method->name); in BIO_debug_callback() 96 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback() 100 bio->method->name, bio->num); in BIO_debug_callback() 103 bio->num, (unsigned long)argi, bio->method->name); in BIO_debug_callback() 106 if (bio->method->type & BIO_TYPE_DESCRIPTOR) in BIO_debug_callback() 110 bio->method->name, bio->num); in BIO_debug_callback() 113 bio->num, (unsigned long)argi, bio->method->name); in BIO_debug_callback() 117 "puts() - %s\n", bio->method->name); in BIO_debug_callback() 121 (unsigned long)argi, bio->method->name); in BIO_debug_callback() 125 (unsigned long)argi, bio->method->name); in BIO_debug_callback()
|
| /dflybsd-src/sys/dev/acpica/acpi_hp/ |
| H A D | acpi_hp.c | 153 int method; member 159 .method = ACPI_HP_METHOD_WLAN_ENABLED, 165 .method = ACPI_HP_METHOD_WLAN_RADIO, 171 .method = ACPI_HP_METHOD_WLAN_ON_AIR, 177 .method = ACPI_HP_METHOD_WLAN_ENABLE_IF_RADIO_ON, 183 .method = ACPI_HP_METHOD_WLAN_DISABLE_IF_RADIO_OFF, 189 .method = ACPI_HP_METHOD_BLUETOOTH_ENABLED, 195 .method = ACPI_HP_METHOD_BLUETOOTH_RADIO, 201 .method = ACPI_HP_METHOD_BLUETOOTH_ON_AIR, 208 .method = ACPI_HP_METHOD_BLUETOOTH_ENABLE_IF_RADIO_ON, [all …]
|
| /dflybsd-src/crypto/libressl/include/openssl/ |
| H A D | ui.h | 88 UI *UI_new_method(const UI_METHOD *method); 327 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui)); 328 int UI_method_set_writer(UI_METHOD *method, 330 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui)); 331 int UI_method_set_reader(UI_METHOD *method, 333 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui)); 334 int UI_method_set_prompt_constructor(UI_METHOD *method, 337 int (*UI_method_get_opener(const UI_METHOD *method))(UI *); 338 int (*UI_method_get_writer(const UI_METHOD *method))(UI *, UI_STRING *); 339 int (*UI_method_get_flusher(const UI_METHOD *method))(UI *); [all …]
|
| /dflybsd-src/sys/dev/acpica/acpi_fujitsu/ |
| H A D | acpi_fujitsu.c | 165 static int acpi_fujitsu_method_get(struct acpi_fujitsu_softc *sc, int method); 166 static int acpi_fujitsu_method_set(struct acpi_fujitsu_softc *sc, int method, int value); 175 int method; member 180 .method = METHOD_MUTE, 185 .method = METHOD_GMOU, 190 .method = METHOD_GBLL, 195 .method = METHOD_GBLS, 200 .method = METHOD_GVOL, 205 .method = METHOD_RVOL, 210 .method = METHOD_RBLL, [all …]
|
| /dflybsd-src/tools/regression/usr.sbin/installer/libaura/dict2/ |
| H A D | dict2.c | 37 m2s(int method) in m2s() argument 39 switch(method) { in m2s() 56 test_store(int method) in test_store() argument 60 d = aura_dict_new(ELEMS, method); in test_store() 66 m2s(method), keys[i], values[i]); in test_store() 72 test_fetch(struct aura_dict *d, int method) in test_fetch() argument 89 printf("%s_fetch: %s=>%d\n", m2s(method), keys[i], *val); in test_fetch()
|
| /dflybsd-src/sys/dev/acpica/acpi_asus/ |
| H A D | acpi_asus.c | 464 int method; member 469 .method = ACPI_ASUS_METHOD_LCD, 475 .method = ACPI_ASUS_METHOD_BRN, 481 .method = ACPI_ASUS_METHOD_DISP, 487 .method = ACPI_ASUS_METHOD_CAMERA, 493 .method = ACPI_ASUS_METHOD_CARDRD, 499 .method = ACPI_ASUS_METHOD_WLAN, 518 static int acpi_asus_sysctl_init(struct acpi_asus_softc *sc, int method); 519 static int acpi_asus_sysctl_get(struct acpi_asus_softc *sc, int method); 520 static int acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int val); [all …]
|
| /dflybsd-src/crypto/libressl/ssl/ |
| H A D | ssl_lib.c | 172 if (s->method == NULL) { in SSL_clear() 191 s->version = s->method->version; in SSL_clear() 210 (s->method != s->ctx->method)) { in SSL_clear() 211 s->method->ssl_free(s); in SSL_clear() 212 s->method = s->ctx->method; in SSL_clear() 213 if (!s->method->ssl_new(s)) in SSL_clear() 216 s->method->ssl_clear(s); in SSL_clear() 227 ctx->method = meth; in SSL_CTX_set_ssl_version() 229 ciphers = ssl_create_cipher_list(ctx->method, &ctx->cipher_list, in SSL_CTX_set_ssl_version() 249 if (ctx->method == NULL) { in SSL_new() [all …]
|
| /dflybsd-src/usr.sbin/ppp/ |
| H A D | lqr.c | 162 if (p->hdlc.lqm.method & LQM_LQR) { in SendLqrReport() 169 p->hdlc.lqm.method = 0; in SendLqrReport() 175 } else if (p->hdlc.lqm.method & LQM_ECHO) { in SendLqrReport() 184 p->hdlc.lqm.method = 0; in SendLqrReport() 189 if (p->hdlc.lqm.method && p->hdlc.lqm.timer.load) in SendLqrReport() 212 else if (!IsAccepted(l->lcp.cfg.lqr) && !(p->hdlc.lqm.method & LQM_LQR)) { in lqr_Input() 242 !(p->hdlc.lqm.method & LQM_LQR) || in lqr_Input() 269 physical->hdlc.lqm.method = LQM_ECHO; in lqr_Setup() 271 physical->hdlc.lqm.method |= LQM_LQR; in lqr_Setup() 283 physical->hdlc.lqm.method & LQM_LQR ? "LQR" : "ECHO LQR", in lqr_Setup() [all …]
|
| /dflybsd-src/usr.sbin/pwd_mkdb/ |
| H A D | pwd_mkdb.c | 103 u_int method, methoduid; in main() local 273 method = 0; in main() 287 method = R_NOOVERWRITE; in main() 396 if ((dp->put)(dp, &key, &data, method) == -1) in main() 404 if ((dp->put)(dp, &key, &data, method) == -1) in main() 420 if ((sdp->put)(sdp, &key, &sdata, method) == -1) in main() 428 if ((sdp->put)(sdp, &key, &sdata, method) == -1) in main() 446 if ((dp->put)(dp, &key, &data, method) == -1) in main() 448 if ((sdp->put)(sdp, &key, &sdata, method) == -1) in main() 487 if ((dp->put)(dp, &key, &data, method) == -1) in main() [all …]
|