/ndk/sources/cxx-stl/llvm-libc++/test/re/re.submatch/re.submatch.members/ |
length.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 assert(sm.length() == 0); 27 sm.first = s; 28 sm.second = s + 3; 29 sm.matched = true; 30 assert(sm.length() == 3); 34 typedef std::sub_match<const CharT*> SM; 35 SM sm = SM(); local [all...] |
compare_string_type.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 typedef SM::string_type string; 25 SM sm = SM(); local 26 SM sm2 = SM(); 27 assert(sm.compare(string()) == 0); 29 sm.first = s; 30 sm.second = s + 3 39 SM sm = SM(); local [all...] |
compare_value_type_ptr.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM sm2 = SM(); 26 assert(sm.compare("") == 0); 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true 37 SM sm = SM(); local [all...] |
operator_string.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM::string_type str = sm; 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true; 31 str = sm; 37 SM sm = SM(); local [all...] |
str.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM::string_type str = sm.str(); 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true; 31 str = sm.str() 37 SM sm = SM(); local [all...] |
default.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm; local 25 assert(sm.matched == false); 29 typedef std::sub_match<const CharT*> SM; 30 SM sm; local 31 assert(sm.matched == false);
|
compare_sub_match.pass.cpp | 23 typedef std::sub_match<const CharT*> SM; 24 SM sm = SM(); local 25 SM sm2 = SM(); 26 assert(sm.compare(sm2) == 0); 28 sm.first = s; 29 sm.second = s + 3; 30 sm.matched = true 40 SM sm = SM(); local [all...] |
/external/wpa_supplicant_8/src/eapol_supp/ |
eapol_supp_sm.c | 147 static void eapol_sm_txLogoff(struct eapol_sm *sm); 148 static void eapol_sm_txStart(struct eapol_sm *sm); 149 static void eapol_sm_processKey(struct eapol_sm *sm); 150 static void eapol_sm_getSuppRsp(struct eapol_sm *sm); 151 static void eapol_sm_txSuppRsp(struct eapol_sm *sm); 152 static void eapol_sm_abortSupp(struct eapol_sm *sm); 153 static void eapol_sm_abort_cached(struct eapol_sm *sm); 155 static void eapol_sm_set_port_authorized(struct eapol_sm *sm); 156 static void eapol_sm_set_port_unauthorized(struct eapol_sm *sm); 163 struct eapol_sm *sm = timeout_ctx local 1721 struct eapol_sm *sm = ctx; local 1728 struct eapol_sm *sm = ctx; local 1738 struct eapol_sm *sm = ctx; local 1768 struct eapol_sm *sm = ctx; local 1805 struct eapol_sm *sm = ctx; local 1819 struct eapol_sm *sm = ctx; local 1835 struct eapol_sm *sm = ctx; local 1846 struct eapol_sm *sm = ctx; local 1859 struct eapol_sm *sm = ctx; local 1876 struct eapol_sm *sm = ctx; local 1889 struct eapol_sm *sm = ctx; local 1899 struct eapol_sm *sm = ctx; local 1908 struct eapol_sm *sm = ctx; local 1943 struct eapol_sm *sm; local [all...] |
eapol_supp_sm.h | 258 void eapol_sm_deinit(struct eapol_sm *sm); 259 void eapol_sm_step(struct eapol_sm *sm); 260 int eapol_sm_get_status(struct eapol_sm *sm, char *buf, size_t buflen, 262 int eapol_sm_get_mib(struct eapol_sm *sm, char *buf, size_t buflen); 263 void eapol_sm_configure(struct eapol_sm *sm, int heldPeriod, int authPeriod, 265 int eapol_sm_rx_eapol(struct eapol_sm *sm, const u8 *src, const u8 *buf, 267 void eapol_sm_notify_tx_eapol_key(struct eapol_sm *sm); 268 void eapol_sm_notify_portEnabled(struct eapol_sm *sm, Boolean enabled); 269 void eapol_sm_notify_portValid(struct eapol_sm *sm, Boolean valid); 270 void eapol_sm_notify_eap_success(struct eapol_sm *sm, Boolean success) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server.c | 32 static int eap_sm_calculateTimeout(struct eap_sm *sm, int retransCount, 35 static void eap_sm_parseEapResp(struct eap_sm *sm, const struct wpabuf *resp); 37 static struct wpabuf * eap_sm_buildSuccess(struct eap_sm *sm, u8 id); 38 static struct wpabuf * eap_sm_buildFailure(struct eap_sm *sm, u8 id); 39 static int eap_sm_nextId(struct eap_sm *sm, int id); 40 static void eap_sm_Policy_update(struct eap_sm *sm, const u8 *nak_list, 42 static EapType eap_sm_Policy_getNextMethod(struct eap_sm *sm, int *vendor); 43 static int eap_sm_Policy_getDecision(struct eap_sm *sm); 44 static Boolean eap_sm_Policy_doPickUp(struct eap_sm *sm, EapType method); 82 * @sm: Pointer to EAP state machine allocated with eap_server_sm_init( 1236 struct eap_sm *sm; local [all...] |
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_dump.c | 122 struct eapol_state_machine *sm) 126 sm->aWhile, sm->quietWhile, sm->reAuthWhen); 135 prefix, _SB(sm->authAbort), _SB(sm->authFail), 136 port_state_txt(sm->authPortStatus), _SB(sm->authStart), 137 prefix, _SB(sm->authTimeout), _SB(sm->authSuccess) [all...] |
eapol_auth_sm.c | 23 #define STATE_MACHINE_ADDR sm->addr 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 35 #define txCannedFail() eapol_auth_tx_canned_eap(sm, 0) 36 #define txCannedSuccess() eapol_auth_tx_canned_eap(sm, 1) 37 #define txReq() eapol_auth_tx_req(sm) 763 struct eapol_state_machine *sm; local 956 struct eapol_state_machine *sm = eloop_ctx; local 1001 struct eapol_state_machine *sm = ctx; local 1009 struct eapol_state_machine *sm = ctx; local [all...] |
/external/openssl/crypto/store/ |
str_meth.c | 86 int STORE_method_set_initialise_function(STORE_METHOD *sm, STORE_INITIALISE_FUNC_PTR init_f) 88 sm->init = init_f; 92 int STORE_method_set_cleanup_function(STORE_METHOD *sm, STORE_CLEANUP_FUNC_PTR clean_f) 94 sm->clean = clean_f; 98 int STORE_method_set_generate_function(STORE_METHOD *sm, STORE_GENERATE_OBJECT_FUNC_PTR generate_f) 100 sm->generate_object = generate_f; 104 int STORE_method_set_get_function(STORE_METHOD *sm, STORE_GET_OBJECT_FUNC_PTR get_f) 106 sm->get_object = get_f; 110 int STORE_method_set_store_function(STORE_METHOD *sm, STORE_STORE_OBJECT_FUNC_PTR store_f) 112 sm->store_object = store_f [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap.c | 38 static Boolean eap_sm_allowMethod(struct eap_sm *sm, int vendor, 40 static struct wpabuf * eap_sm_buildNak(struct eap_sm *sm, int id); 41 static void eap_sm_processIdentity(struct eap_sm *sm, 43 static void eap_sm_processNotify(struct eap_sm *sm, const struct wpabuf *req); 45 static void eap_sm_parseEapReq(struct eap_sm *sm, const struct wpabuf *req); 53 static Boolean eapol_get_bool(struct eap_sm *sm, enum eapol_bool_var var) 55 return sm->eapol_cb->get_bool(sm->eapol_ctx, var); 59 static void eapol_set_bool(struct eap_sm *sm, enum eapol_bool_var var, 62 sm->eapol_cb->set_bool(sm->eapol_ctx, var, value) 1307 struct eap_sm *sm = ctx; local 1376 struct eap_sm *sm; local [all...] |
eap.h | 286 void eap_peer_sm_deinit(struct eap_sm *sm); 287 int eap_peer_sm_step(struct eap_sm *sm); 288 void eap_sm_abort(struct eap_sm *sm); 289 int eap_sm_get_status(struct eap_sm *sm, char *buf, size_t buflen, 291 const char * eap_sm_get_method_name(struct eap_sm *sm); 292 struct wpabuf * eap_sm_buildIdentity(struct eap_sm *sm, int id, int encrypted); 293 void eap_sm_request_identity(struct eap_sm *sm); 294 void eap_sm_request_password(struct eap_sm *sm); 295 void eap_sm_request_new_password(struct eap_sm *sm); 296 void eap_sm_request_pin(struct eap_sm *sm); [all...] |
eap_proxy_dummy.c | 27 int eap_proxy_key_available(struct eap_proxy_sm *sm) 33 const u8 * eap_proxy_get_eapKeyData(struct eap_proxy_sm *sm, size_t *len) 39 struct wpabuf * eap_proxy_get_eapRespData(struct eap_proxy_sm *sm) 45 int eap_proxy_sm_step(struct eap_proxy_sm *sm, struct eap_sm *eap_sm) 59 int eap_proxy_sm_get_status(struct eap_proxy_sm *sm, char *buf, size_t buflen, 72 int eap_proxy_notify_config(struct eap_proxy_sm *sm,
|
/external/wpa_supplicant_8/src/rsn_supp/ |
preauth.h | 16 void pmksa_candidate_free(struct wpa_sm *sm); 17 int rsn_preauth_init(struct wpa_sm *sm, const u8 *dst, 19 void rsn_preauth_deinit(struct wpa_sm *sm); 20 int rsn_preauth_scan_results(struct wpa_sm *sm); 21 void rsn_preauth_scan_result(struct wpa_sm *sm, const u8 *bssid, 23 void pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, 25 void rsn_preauth_candidate_process(struct wpa_sm *sm); 26 int rsn_preauth_get_status(struct wpa_sm *sm, char *buf, size_t buflen, 28 int rsn_preauth_in_progress(struct wpa_sm *sm); 32 static inline void pmksa_candidate_free(struct wpa_sm *sm) [all...] |
wpa_i.h | 128 static inline void wpa_sm_set_state(struct wpa_sm *sm, enum wpa_states state) 130 WPA_ASSERT(sm->ctx->set_state); 131 sm->ctx->set_state(sm->ctx->ctx, state); 134 static inline enum wpa_states wpa_sm_get_state(struct wpa_sm *sm) 136 WPA_ASSERT(sm->ctx->get_state); 137 return sm->ctx->get_state(sm->ctx->ctx); 140 static inline void wpa_sm_deauthenticate(struct wpa_sm *sm, int reason_code) 142 WPA_ASSERT(sm->ctx->deauthenticate) [all...] |
preauth.c | 35 * @sm: Pointer to WPA state machine data from wpa_sm_init() 37 void pmksa_candidate_free(struct wpa_sm *sm) 41 if (sm == NULL) 44 dl_list_for_each_safe(entry, n, &sm->pmksa_candidates, 55 struct wpa_sm *sm = ctx; local 60 if (sm->preauth_eapol == NULL || 61 is_zero_ether_addr(sm->preauth_bssid) || 62 os_memcmp(sm->preauth_bssid, src_addr, ETH_ALEN) != 0) { 69 eapol_sm_rx_eapol(sm->preauth_eapol, src_addr, buf, len); 76 struct wpa_sm *sm = ctx local 118 struct wpa_sm *sm = eloop_ctx; local 130 struct wpa_sm *sm = ctx; local [all...] |
wpa.c | 28 * @sm: Pointer to WPA state machine data from wpa_sm_init() 37 void wpa_eapol_key_send(struct wpa_sm *sm, const u8 *kck, 41 if (is_zero_ether_addr(dest) && is_zero_ether_addr(sm->bssid)) { 46 if (wpa_sm_get_bssid(sm, sm->bssid) < 0) { 47 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG, 51 dest = sm->bssid; 52 wpa_dbg(sm->ctx->msg_ctx, MSG_DEBUG, 60 wpa_msg(sm->ctx->msg_ctx, MSG_ERROR, 68 wpa_sm_ether_send(sm, dest, proto, msg, msg_len) 455 struct wpa_sm *sm = eloop_ctx; local 506 struct wpa_sm *sm = eloop_ctx; local 1940 struct wpa_sm *sm = ctx; local 1988 struct wpa_sm *sm; local [all...] |
wpa.h | 100 void wpa_sm_deinit(struct wpa_sm *sm); 101 void wpa_sm_notify_assoc(struct wpa_sm *sm, const u8 *bssid); 102 void wpa_sm_notify_disassoc(struct wpa_sm *sm); 103 void wpa_sm_set_pmk(struct wpa_sm *sm, const u8 *pmk, size_t pmk_len); 104 void wpa_sm_set_pmk_from_pmksa(struct wpa_sm *sm); 105 void wpa_sm_set_fast_reauth(struct wpa_sm *sm, int fast_reauth); 106 void wpa_sm_set_scard_ctx(struct wpa_sm *sm, void *scard_ctx); 107 void wpa_sm_set_config(struct wpa_sm *sm, struct rsn_supp_config *config); 108 void wpa_sm_set_own_addr(struct wpa_sm *sm, const u8 *addr); 109 void wpa_sm_set_ifname(struct wpa_sm *sm, const char *ifname [all...] |
wpa_ft.c | 21 int wpa_derive_ptk_ft(struct wpa_sm *sm, const unsigned char *src_addr, 28 if (sm->xxkey_len == 0) { 34 wpa_derive_pmk_r0(sm->xxkey, sm->xxkey_len, sm->ssid, 35 sm->ssid_len, sm->mobility_domain, 36 sm->r0kh_id, sm->r0kh_id_len, sm->own_addr [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth.c | 30 #define STATE_MACHINE_ADDR sm->addr 34 static int wpa_sm_step(struct wpa_state_machine *sm); 39 static void wpa_request_new_ptk(struct wpa_state_machine *sm); 135 int (*cb)(struct wpa_state_machine *sm, void *ctx), 199 static int wpa_use_aes_cmac(struct wpa_state_machine *sm) 203 if (wpa_key_mgmt_ft(sm->wpa_key_mgmt)) 207 if (wpa_key_mgmt_sha256(sm->wpa_key_mgmt)) 258 struct wpa_state_machine *sm = timeout_ctx; local 260 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG, "rekeying PTK"); 261 wpa_request_new_ptk(sm); 513 struct wpa_state_machine *sm; local 1200 struct wpa_state_machine *sm = timeout_ctx; local 2647 struct wpa_state_machine *sm = eloop_ctx; local [all...] |
/external/wpa_supplicant_8/src/utils/ |
state_machine.h | 33 static void sm_ ## machine ## _ ## state ## _Enter(STATE_MACHINE_DATA *sm, \ 47 if (!global || sm->machine ## _state != machine ## _ ## state) { \ 48 sm->changed = TRUE; \ 52 sm->machine ## _state = machine ## _ ## state; 66 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 67 sm->changed = TRUE; \ 71 sm->data ## _ ## state = machine ## _ ## _state; 84 if (!global || sm->data ## _ ## state != machine ## _ ## _state) { \ 85 sm->changed = TRUE; \ 90 sm->data ## _ ## state = machine ## _ ## _state [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/re/re.submatch/re.submatch.op/ |
stream.pass.cpp | 27 typedef std::sub_match<typename string::const_iterator> SM; 29 SM sm; local 30 sm.first = s.begin(); 31 sm.second = s.end(); 32 sm.matched = true; 34 os << sm; local
|