/external/wpa_supplicant_8/src/rsn_supp/ |
D | tdls.c | 86 static void wpa_tdls_peer_free(struct wpa_sm *sm, struct wpa_tdls_peer *peer); 88 struct wpa_tdls_peer *peer); 178 static int wpa_tdls_del_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_del_key() argument 180 if (wpa_sm_set_key(sm, WPA_ALG_NONE, peer->addr, in wpa_tdls_del_key() 191 static int wpa_tdls_set_key(struct wpa_sm *sm, struct wpa_tdls_peer *peer) in wpa_tdls_set_key() argument 197 if (peer->tk_set) { in wpa_tdls_set_key() 207 MAC2STR(peer->addr)); in wpa_tdls_set_key() 213 switch (peer->cipher) { in wpa_tdls_set_key() 229 MAC2STR(peer->addr)); in wpa_tdls_set_key() 230 if (wpa_sm_set_key(sm, alg, peer->addr, -1, 1, in wpa_tdls_set_key() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ibss_rsn.c | 30 struct ibss_rsn_peer *peer; in ibss_rsn_get_peer() local 32 for (peer = ibss_rsn->peers; peer; peer = peer->next) in ibss_rsn_get_peer() 33 if (os_memcmp(addr, peer->addr, ETH_ALEN) == 0) in ibss_rsn_get_peer() 35 return peer; in ibss_rsn_get_peer() 39 static void ibss_rsn_free(struct ibss_rsn_peer *peer) in ibss_rsn_free() argument 41 eloop_cancel_timeout(ibss_rsn_auth_timeout, peer, NULL); in ibss_rsn_free() 42 wpa_auth_sta_deinit(peer->auth); in ibss_rsn_free() 43 wpa_sm_deinit(peer->supp); in ibss_rsn_free() 44 os_free(peer); in ibss_rsn_free() 50 struct ibss_rsn_peer *peer = ctx; in supp_set_state() local [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3ConnectionTest.java | 61 private final MockSpdyPeer peer = new MockSpdyPeer(); field in Spdy3ConnectionTest 64 peer.close(); in tearDown() 69 peer.acceptFrame(); // SYN_STREAM in clientCreatesStreamAndServerReplies() 70 peer.sendFrame() in clientCreatesStreamAndServerReplies() 72 peer.sendFrame().data(true, 1, new Buffer().writeUtf8("robot"), 5); in clientCreatesStreamAndServerReplies() 73 peer.acceptFrame(); // DATA in clientCreatesStreamAndServerReplies() 74 peer.play(); in clientCreatesStreamAndServerReplies() 77 FramedConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerReplies() 87 MockSpdyPeer.InFrame synStream = peer.takeFrame(); in clientCreatesStreamAndServerReplies() 95 MockSpdyPeer.InFrame requestData = peer.takeFrame(); in clientCreatesStreamAndServerReplies() [all …]
|
D | Http2ConnectionTest.java | 52 private final MockSpdyPeer peer = new MockSpdyPeer(); field in Http2ConnectionTest 55 peer.close(); in tearDown() 59 peer.setVariantAndClient(HTTP_2, false); in serverPingsClientHttp2() 62 peer.sendFrame().ping(false, 2, 3); in serverPingsClientHttp2() 63 peer.acceptFrame(); // PING in serverPingsClientHttp2() 64 peer.play(); in serverPingsClientHttp2() 67 connection(peer, HTTP_2); in serverPingsClientHttp2() 70 MockSpdyPeer.InFrame ping = peer.takeFrame(); in serverPingsClientHttp2() 79 peer.setVariantAndClient(HTTP_2, false); in clientPingsServerHttp2() 82 peer.acceptFrame(); // PING in clientPingsServerHttp2() [all …]
|
/external/grpc-grpc/test/core/security/ |
D | alts_security_connector_test.cc | 36 tsi_peer peer; in test_invalid_input_failure() local 40 GPR_ASSERT(grpc_alts_auth_context_from_tsi_peer(&peer, nullptr) == in test_invalid_input_failure() 45 tsi_peer peer; in test_empty_certificate_type_failure() local 47 GPR_ASSERT(tsi_construct_peer(0, &peer) == TSI_OK); in test_empty_certificate_type_failure() 48 GPR_ASSERT(grpc_alts_auth_context_from_tsi_peer(&peer, &ctx) == in test_empty_certificate_type_failure() 51 tsi_peer_destruct(&peer); in test_empty_certificate_type_failure() 55 tsi_peer peer; in test_empty_peer_property_failure() local 57 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_empty_peer_property_failure() 60 &peer.properties[0]) == TSI_OK); in test_empty_peer_property_failure() 61 GPR_ASSERT(grpc_alts_auth_context_from_tsi_peer(&peer, &ctx) == in test_empty_peer_property_failure() [all …]
|
D | security_connector_test.cc | 51 static int check_peer_property(const tsi_peer* peer, in check_peer_property() argument 54 for (i = 0; i < peer->property_count; i++) { in check_peer_property() 55 const tsi_peer_property* prop = &peer->properties[i]; in check_peer_property() 83 tsi_peer peer; in test_unauthenticated_ssl_peer() local 86 GPR_ASSERT(tsi_construct_peer(1, &peer) == TSI_OK); in test_unauthenticated_ssl_peer() 89 &peer.properties[0]) == TSI_OK); in test_unauthenticated_ssl_peer() 90 ctx = grpc_ssl_peer_to_auth_context(&peer); in test_unauthenticated_ssl_peer() 96 GPR_ASSERT(check_ssl_peer_equivalence(&peer, &rpeer)); in test_unauthenticated_ssl_peer() 99 tsi_peer_destruct(&peer); in test_unauthenticated_ssl_peer() 175 tsi_peer peer; in test_cn_only_ssl_peer_to_auth_context() local [all …]
|
/external/libnl/lib/route/link/ |
D | veth.c | 45 struct rtnl_link *peer = link->l_info; in veth_parse() local 60 peer->l_family = ifi->ifi_family; in veth_parse() 61 peer->l_arptype = ifi->ifi_type; in veth_parse() 62 peer->l_index = ifi->ifi_index; in veth_parse() 63 peer->l_flags = ifi->ifi_flags; in veth_parse() 64 peer->l_change = ifi->ifi_change; in veth_parse() 72 err = rtnl_link_info_parse(peer, peer_tb); in veth_parse() 89 struct rtnl_link *peer = link->l_info; in veth_dump_details() local 91 name = rtnl_link_get_name(peer); in veth_dump_details() 96 nl_dump_line(p, "%u\n", peer->l_index); in veth_dump_details() [all …]
|
/external/grpc-grpc/test/core/util/ |
D | reconnect_server.cc | 63 char* peer; in on_connect() local 68 peer = grpc_endpoint_get_peer(tcp); in on_connect() 72 if (peer) { in on_connect() 73 last_colon = strrchr(peer, ':'); in on_connect() 74 if (server->peer == nullptr) { in on_connect() 75 server->peer = peer; in on_connect() 79 } else if (strncmp(server->peer, peer, in on_connect() 80 static_cast<size_t>(last_colon - peer)) != 0) { in on_connect() 81 gpr_log(GPR_ERROR, "mismatched peer! %s vs %s", server->peer, peer); in on_connect() 83 gpr_free(peer); in on_connect() [all …]
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay.c | 193 mi = body->peer + i; in ieee802_1x_mka_dump_peer_body() 321 struct ieee802_1x_kay_peer *peer; in get_peer_mi() local 323 dl_list_for_each(peer, peers, struct ieee802_1x_kay_peer, list) { in get_peer_mi() 324 if (os_memcmp(peer->mi, mi, MI_LEN) == 0) in get_peer_mi() 325 return peer; in get_peer_mi() 383 struct ieee802_1x_kay_peer *peer; in ieee802_1x_kay_get_peer() local 385 peer = ieee802_1x_kay_get_live_peer(participant, mi); in ieee802_1x_kay_get_peer() 386 if (peer) in ieee802_1x_kay_get_peer() 387 return peer; in ieee802_1x_kay_get_peer() 443 struct ieee802_1x_kay_peer *peer; in ieee802_1x_kay_get_peer_sci() local [all …]
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 176 const tsi_peer* peer) { in check_alpn() argument 181 tsi_peer_get_property_by_name(peer, TSI_SSL_ALPN_SELECTED_PROTOCOL); in check_alpn() 193 check_basic_authenticated_peer_and_get_common_name(const tsi_peer* peer) { in check_basic_authenticated_peer_and_get_common_name() argument 195 tsi_peer_get_property_by_name(peer, TSI_CERTIFICATE_TYPE_PEER_PROPERTY); in check_basic_authenticated_peer_and_get_common_name() 200 peer, TSI_X509_SUBJECT_COMMON_NAME_PEER_PROPERTY); in check_basic_authenticated_peer_and_get_common_name() 206 tsi_peer* peer) { in check_session_reusage() argument 208 tsi_peer_get_property_by_name(peer, TSI_SSL_SESSION_REUSED_PEER_PROPERTY); in check_session_reusage() 219 void check_server0_peer(tsi_peer* peer) { in check_server0_peer() argument 221 check_basic_authenticated_peer_and_get_common_name(peer); in check_server0_peer() 226 peer, TSI_X509_SUBJECT_ALTERNATIVE_NAME_PEER_PROPERTY) == in check_server0_peer() [all …]
|
/external/grpc-grpc/test/core/end2end/tests/ |
D | retry_server_pushback_disabled.cc | 122 char* peer; in test_retry_server_pushback_disabled() local 159 peer = grpc_call_get_peer(c); in test_retry_server_pushback_disabled() 160 GPR_ASSERT(peer != nullptr); in test_retry_server_pushback_disabled() 161 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_server_pushback_disabled() 162 gpr_free(peer); in test_retry_server_pushback_disabled() 201 peer = grpc_call_get_peer(s); in test_retry_server_pushback_disabled() 202 GPR_ASSERT(peer != nullptr); in test_retry_server_pushback_disabled() 203 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_server_pushback_disabled() 204 gpr_free(peer); in test_retry_server_pushback_disabled() 205 peer = grpc_call_get_peer(c); in test_retry_server_pushback_disabled() [all …]
|
D | retry_too_many_attempts.cc | 121 char* peer; in test_retry_too_many_attempts() local 153 peer = grpc_call_get_peer(c); in test_retry_too_many_attempts() 154 GPR_ASSERT(peer != nullptr); in test_retry_too_many_attempts() 155 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_too_many_attempts() 156 gpr_free(peer); in test_retry_too_many_attempts() 195 peer = grpc_call_get_peer(s); in test_retry_too_many_attempts() 196 GPR_ASSERT(peer != nullptr); in test_retry_too_many_attempts() 197 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_too_many_attempts() 198 gpr_free(peer); in test_retry_too_many_attempts() 199 peer = grpc_call_get_peer(c); in test_retry_too_many_attempts() [all …]
|
D | retry_server_pushback_delay.cc | 121 char* peer; in test_retry_server_pushback_delay() local 158 peer = grpc_call_get_peer(c); in test_retry_server_pushback_delay() 159 GPR_ASSERT(peer != nullptr); in test_retry_server_pushback_delay() 160 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_server_pushback_delay() 161 gpr_free(peer); in test_retry_server_pushback_delay() 200 peer = grpc_call_get_peer(s); in test_retry_server_pushback_delay() 201 GPR_ASSERT(peer != nullptr); in test_retry_server_pushback_delay() 202 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_server_pushback_delay() 203 gpr_free(peer); in test_retry_server_pushback_delay() 204 peer = grpc_call_get_peer(c); in test_retry_server_pushback_delay() [all …]
|
D | retry.cc | 121 char* peer; in test_retry() local 153 peer = grpc_call_get_peer(c); in test_retry() 154 GPR_ASSERT(peer != nullptr); in test_retry() 155 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry() 156 gpr_free(peer); in test_retry() 202 peer = grpc_call_get_peer(s); in test_retry() 203 GPR_ASSERT(peer != nullptr); in test_retry() 204 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry() 205 gpr_free(peer); in test_retry() 206 peer = grpc_call_get_peer(c); in test_retry() [all …]
|
D | retry_streaming_succeeds_before_replay_finished.cc | 128 char* peer; in test_retry_streaming_succeeds_before_replay_finished() local 160 peer = grpc_call_get_peer(c); in test_retry_streaming_succeeds_before_replay_finished() 161 GPR_ASSERT(peer != nullptr); in test_retry_streaming_succeeds_before_replay_finished() 162 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_streaming_succeeds_before_replay_finished() 163 gpr_free(peer); in test_retry_streaming_succeeds_before_replay_finished() 211 peer = grpc_call_get_peer(s); in test_retry_streaming_succeeds_before_replay_finished() 212 GPR_ASSERT(peer != nullptr); in test_retry_streaming_succeeds_before_replay_finished() 213 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_streaming_succeeds_before_replay_finished() 214 gpr_free(peer); in test_retry_streaming_succeeds_before_replay_finished() 215 peer = grpc_call_get_peer(c); in test_retry_streaming_succeeds_before_replay_finished() [all …]
|
D | call_host_override.cc | 113 char* peer; in test_invoke_simple_request() local 123 peer = grpc_call_get_peer(c); in test_invoke_simple_request() 124 GPR_ASSERT(peer != nullptr); in test_invoke_simple_request() 125 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_invoke_simple_request() 126 gpr_free(peer); in test_invoke_simple_request() 167 peer = grpc_call_get_peer(s); in test_invoke_simple_request() 168 GPR_ASSERT(peer != nullptr); in test_invoke_simple_request() 169 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_invoke_simple_request() 170 gpr_free(peer); in test_invoke_simple_request() 171 peer = grpc_call_get_peer(c); in test_invoke_simple_request() [all …]
|
D | default_host.cc | 104 char* peer; in test_invoke_simple_request() local 112 peer = grpc_call_get_peer(c); in test_invoke_simple_request() 113 GPR_ASSERT(peer != nullptr); in test_invoke_simple_request() 114 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_invoke_simple_request() 115 gpr_free(peer); in test_invoke_simple_request() 156 peer = grpc_call_get_peer(s); in test_invoke_simple_request() 157 GPR_ASSERT(peer != nullptr); in test_invoke_simple_request() 158 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_invoke_simple_request() 159 gpr_free(peer); in test_invoke_simple_request() 160 peer = grpc_call_get_peer(c); in test_invoke_simple_request() [all …]
|
D | retry_streaming.cc | 134 char* peer; in test_retry_streaming() local 166 peer = grpc_call_get_peer(c); in test_retry_streaming() 167 GPR_ASSERT(peer != nullptr); in test_retry_streaming() 168 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_streaming() 169 gpr_free(peer); in test_retry_streaming() 217 peer = grpc_call_get_peer(s); in test_retry_streaming() 218 GPR_ASSERT(peer != nullptr); in test_retry_streaming() 219 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_streaming() 220 gpr_free(peer); in test_retry_streaming() 221 peer = grpc_call_get_peer(c); in test_retry_streaming() [all …]
|
D | retry_exceeds_buffer_size_in_initial_batch.cc | 124 char* peer; in test_retry_exceeds_buffer_size_in_initial_batch() local 160 peer = grpc_call_get_peer(c); in test_retry_exceeds_buffer_size_in_initial_batch() 161 GPR_ASSERT(peer != nullptr); in test_retry_exceeds_buffer_size_in_initial_batch() 162 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_exceeds_buffer_size_in_initial_batch() 163 gpr_free(peer); in test_retry_exceeds_buffer_size_in_initial_batch() 202 peer = grpc_call_get_peer(s); in test_retry_exceeds_buffer_size_in_initial_batch() 203 GPR_ASSERT(peer != nullptr); in test_retry_exceeds_buffer_size_in_initial_batch() 204 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_exceeds_buffer_size_in_initial_batch() 205 gpr_free(peer); in test_retry_exceeds_buffer_size_in_initial_batch() 206 peer = grpc_call_get_peer(c); in test_retry_exceeds_buffer_size_in_initial_batch() [all …]
|
D | idempotent_request.cc | 104 char* peer; in simple_request_body() local 112 peer = grpc_call_get_peer(c); in simple_request_body() 113 GPR_ASSERT(peer != nullptr); in simple_request_body() 114 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in simple_request_body() 115 gpr_free(peer); in simple_request_body() 156 peer = grpc_call_get_peer(s); in simple_request_body() 157 GPR_ASSERT(peer != nullptr); in simple_request_body() 158 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in simple_request_body() 159 gpr_free(peer); in simple_request_body() 160 peer = grpc_call_get_peer(c); in simple_request_body() [all …]
|
D | retry_throttled.cc | 120 char* peer; in test_retry_throttled() local 159 peer = grpc_call_get_peer(c); in test_retry_throttled() 160 GPR_ASSERT(peer != nullptr); in test_retry_throttled() 161 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_throttled() 162 gpr_free(peer); in test_retry_throttled() 201 peer = grpc_call_get_peer(s); in test_retry_throttled() 202 GPR_ASSERT(peer != nullptr); in test_retry_throttled() 203 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_throttled() 204 gpr_free(peer); in test_retry_throttled() 205 peer = grpc_call_get_peer(c); in test_retry_throttled() [all …]
|
D | retry_recv_message.cc | 121 char* peer; in test_retry_recv_message() local 153 peer = grpc_call_get_peer(c); in test_retry_recv_message() 154 GPR_ASSERT(peer != nullptr); in test_retry_recv_message() 155 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_recv_message() 156 gpr_free(peer); in test_retry_recv_message() 195 peer = grpc_call_get_peer(s); in test_retry_recv_message() 196 GPR_ASSERT(peer != nullptr); in test_retry_recv_message() 197 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_recv_message() 198 gpr_free(peer); in test_retry_recv_message() 199 peer = grpc_call_get_peer(c); in test_retry_recv_message() [all …]
|
D | retry_disabled.cc | 122 char* peer; in test_retry_disabled() local 157 peer = grpc_call_get_peer(c); in test_retry_disabled() 158 GPR_ASSERT(peer != nullptr); in test_retry_disabled() 159 gpr_log(GPR_DEBUG, "client_peer_before_call=%s", peer); in test_retry_disabled() 160 gpr_free(peer); in test_retry_disabled() 199 peer = grpc_call_get_peer(s); in test_retry_disabled() 200 GPR_ASSERT(peer != nullptr); in test_retry_disabled() 201 gpr_log(GPR_DEBUG, "server_peer=%s", peer); in test_retry_disabled() 202 gpr_free(peer); in test_retry_disabled() 203 peer = grpc_call_get_peer(c); in test_retry_disabled() [all …]
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | security_connector.cc | 104 const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer, in tsi_peer_get_property_by_name() argument 107 if (peer == nullptr) return nullptr; in tsi_peer_get_property_by_name() 108 for (i = 0; i < peer->property_count; i++) { in tsi_peer_get_property_by_name() 109 const tsi_peer_property* property = &peer->properties[i]; in tsi_peer_get_property_by_name() 138 tsi_peer peer, in grpc_security_connector_check_peer() argument 145 tsi_peer_destruct(&peer); in grpc_security_connector_check_peer() 147 sc->vtable->check_peer(sc, peer, auth_context, on_peer_checked); in grpc_security_connector_check_peer() 398 static void fake_check_peer(grpc_security_connector* sc, tsi_peer peer, argument 404 if (peer.property_count != 1) { 409 prop_name = peer.properties[0].name; [all …]
|
/external/boringssl/src/crypto/bio/ |
D | pair.c | 66 BIO *peer; // NULL if buf == NULL. member 107 peer_bio = b->peer; in bio_destroy_pair() 115 assert(peer_b->peer == bio); in bio_destroy_pair() 117 peer_b->peer = NULL; in bio_destroy_pair() 123 b->peer = NULL; in bio_destroy_pair() 140 if (b->peer) { in bio_free() 163 assert(b->peer != NULL); in bio_read() 164 peer_b = b->peer->ptr; in bio_read() 246 assert(b->peer != NULL); in bio_write() 315 if (b1->peer != NULL || b2->peer != NULL) { in bio_make_pair() [all …]
|