Searched defs:sm (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/external/libcxx/test/std/re/re.submatch/re.submatch.members/
H A Ddefault.pass.cpp25 SM sm; local
26 assert(sm.matched == false);
31 SM sm; local
32 assert(sm.matched == false);
H A Dcompare_value_type_ptr.pass.cpp25 SM sm = SM(); local
26 assert(sm.compare("") == 0);
28 sm.first = s;
29 sm.second = s + 3;
30 sm.matched = true;
31 assert(sm.compare("") > 0);
32 assert(sm.compare("123") == 0);
37 SM sm = SM(); local
38 assert(sm.compare(L"") == 0);
40 sm
[all...]
H A Dlength.pass.cpp25 SM sm = SM(); local
26 assert(sm.length() == 0);
28 sm.first = s;
29 sm.second = s + 3;
30 sm.matched = true;
31 assert(sm.length() == 3);
36 SM sm = SM(); local
37 assert(sm.length() == 0);
39 sm.first = s;
40 sm
[all...]
H A Dcompare_string_type.pass.cpp26 SM sm = SM(); local
27 assert(sm.compare(string()) == 0);
29 sm.first = s;
30 sm.second = s + 3;
31 sm.matched = true;
32 assert(sm.compare(string()) > 0);
33 assert(sm.compare(string("123")) == 0);
39 SM sm = SM(); local
40 assert(sm.compare(string()) == 0);
42 sm
[all...]
H A Dcompare_sub_match.pass.cpp25 SM sm = SM(); local
27 assert(sm.compare(sm2) == 0);
29 sm.first = s;
30 sm.second = s + 3;
31 sm.matched = true;
32 assert(sm.compare(sm2) > 0);
36 assert(sm.compare(sm2) == 0);
41 SM sm = SM(); local
43 assert(sm.compare(sm2) == 0);
45 sm
[all...]
H A Doperator_string.pass.cpp25 SM sm = SM(); local
26 SM::string_type str = sm;
29 sm.first = s;
30 sm.second = s + 3;
31 sm.matched = true;
32 str = sm;
38 SM sm = SM(); local
39 SM::string_type str = sm;
42 sm.first = s;
43 sm
[all...]
H A Dstr.pass.cpp25 SM sm = SM(); local
26 SM::string_type str = sm.str();
29 sm.first = s;
30 sm.second = s + 3;
31 sm.matched = true;
32 str = sm.str();
38 SM sm = SM(); local
39 SM::string_type str = sm.str();
42 sm.first = s;
43 sm
[all...]
/external/libcxx/test/std/re/re.submatch/
H A Dtypes.pass.cpp41 SM sm; local
42 sm.first = nullptr;
43 sm.second = nullptr;
44 sm.matched = false;
54 SM sm; local
55 sm.first = nullptr;
56 sm.second = nullptr;
57 sm.matched = false;
/external/clang/unittests/CodeGen/
H A DBufferSourceTest.cpp73 clang::SourceManager &sm = compiler.getSourceManager(); local
74 sm.setMainFileID(sm.createFileID(
/external/skia/tests/
H A DSkSharedMutexTest.cpp14 SkSharedMutex sm; local
15 sm.acquire();
16 sm.assertHeld();
17 sm.release();
18 sm.acquireShared();
19 sm.assertHeldShared();
20 sm.releaseShared();
24 SkSharedMutex sm; local
34 sm.acquireShared();
35 sm
[all...]
/external/clang/include/clang/Basic/
H A DPrettyStackTrace.h32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) argument
33 : SM(sm), Loc(L), Message(Msg) {}
/external/libcxx/test/std/re/re.submatch/re.submatch.op/
H A Dstream.pass.cpp30 SM sm; local
31 sm.first = s.begin();
32 sm.second = s.end();
33 sm.matched = true;
35 os << sm; local
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
H A Deap_md5.c16 static void * eap_md5_init(struct eap_sm *sm) argument
24 static void eap_md5_deinit(struct eap_sm *sm, void *priv) argument
29 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, argument
38 password = eap_get_config_password(sm, &password_len);
41 eap_sm_request_password(sm);
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
H A Deap_md5.c16 static void * eap_md5_init(struct eap_sm *sm) argument
24 static void eap_md5_deinit(struct eap_sm *sm, void *priv) argument
29 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, argument
38 password = eap_get_config_password(sm, &password_len);
41 eap_sm_request_password(sm);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
H A Deap_md5.c16 static void * eap_md5_init(struct eap_sm *sm) argument
24 static void eap_md5_deinit(struct eap_sm *sm, void *priv) argument
29 static struct wpabuf * eap_md5_process(struct eap_sm *sm, void *priv, argument
38 password = eap_get_config_password(sm, &password_len);
41 eap_sm_request_password(sm);
/external/ltp/testcases/kernel/containers/sysvipc/
H A Dsem_comm.c62 struct sembuf sm; local
80 sm.sem_num = 0;
81 sm.sem_op = -1;
82 sm.sem_flg = IPC_NOWAIT;
83 if (semop(id, &sm, 1) == -1) {
92 sm.sem_op = 1;
93 semop(id, &sm, 1);
102 struct sembuf sm; local
124 sm.sem_num = 0;
125 sm
[all...]
/external/eigen/unsupported/test/
H A Dsparse_extra.cpp18 bool test_random_setter(SparseMatrix<Scalar,Options>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) argument
21 sm.setZero();
22 SetterType w(sm);
32 return sm.isApprox(ref);
36 bool test_random_setter(DynamicSparseMatrix<T>& sm, const DenseType& ref, const std::vector<Vector2i>& nonzeroCoords) argument
38 sm.setZero();
43 sm.coeffRef(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y());
47 return sm.isApprox(ref);
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DSTZInfo.java16 void setStart(int sm, int sdwm, int sdw, int st, int sdm, boolean sa) { argument
17 this.sm = sm;
38 if (sm != -1) {
40 stz.setStartRule(sm, sdwm, sdw, st);
42 stz.setStartRule(sm, sdm, st);
44 stz.setStartRule(sm, sdm, sdw, st, sa);
62 if (sm != -1) {
64 stz.setStartRule(sm, sdwm, sdw, st);
66 stz.setStartRule(sm, sd
83 int sm = -1, sdwm, sdw, st, sdm; field in class:STZInfo
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DSTZInfo.java15 void setStart(int sm, int sdwm, int sdw, int st, int sdm, boolean sa) { argument
16 this.sm = sm;
37 if (sm != -1) {
39 stz.setStartRule(sm, sdwm, sdw, st);
41 stz.setStartRule(sm, sdm, st);
43 stz.setStartRule(sm, sdm, sdw, st, sa);
61 if (sm != -1) {
63 stz.setStartRule(sm, sdwm, sdw, st);
65 stz.setStartRule(sm, sd
82 int sm = -1, sdwm, sdw, st, sdm; field in class:STZInfo
[all...]
/external/openssh/
H A Ded25519.c14 static void get_hram(unsigned char *hram, const unsigned char *sm, const unsigned char *pk, unsigned char *playground, unsigned long long smlen) argument
18 for (i = 0;i < 32;++i) playground[i] = sm[i];
20 for (i = 64;i < smlen;++i) playground[i] = sm[i];
52 unsigned char *sm,unsigned long long *smlen,
73 sm[64 + i] = m[i];
75 sm[32 + i] = extsk[32+i];
77 crypto_hash_sha512(hmg, sm+32, mlen+32); /* Generate k as h(extsk[32],...,extsk[63],m) */
86 sm[i] = r[i];
88 get_hram(hram, sm, sk+32, sm, mle
51 crypto_sign_ed25519( unsigned char *sm,unsigned long long *smlen, const unsigned char *m,unsigned long long mlen, const unsigned char *sk ) argument
103 crypto_sign_ed25519_open( unsigned char *m,unsigned long long *mlen, const unsigned char *sm,unsigned long long smlen, const unsigned char *pk ) argument
[all...]
H A Dssh-ed25519.c102 u_char *sm = NULL, *m = NULL; local
136 if ((sm = malloc(smlen)) == NULL || (m = malloc(mlen)) == NULL) {
140 memcpy(sm, sigblob, len);
141 memcpy(sm+len, data, datalen);
142 if ((ret = crypto_sign_ed25519_open(m, &mlen, sm, smlen,
155 if (sm != NULL) {
156 explicit_bzero(sm, smlen);
157 free(sm);
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dpeerkey_auth.c24 struct wpa_state_machine *sm; member in struct:wpa_stsl_search
28 static int wpa_stsl_select_sta(struct wpa_state_machine *sm, void *ctx) argument
31 if (os_memcmp(search->addr, sm->addr, ETH_ALEN) == 0) {
32 search->sm = sm;
40 struct wpa_state_machine *sm, const u8 *peer,
48 wpa_auth_logger(wpa_auth, sm->addr, LOGGER_DEBUG,
63 __wpa_send_eapol(wpa_auth, sm,
71 struct wpa_state_machine *sm, struct wpa_eapol_key *key,
91 /* Initiator = sm
39 wpa_smk_send_error(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *peer, u16 mui, u16 error_type) argument
70 wpa_smk_m1(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len) argument
133 wpa_send_smk_m4(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk) argument
186 wpa_send_smk_m5(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, struct wpa_eapol_ie_parse *kde, const u8 *smk, const u8 *peer) argument
243 wpa_smk_m3(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, struct wpa_eapol_key *key, const u8 *key_data, size_t key_data_len) argument
313 wpa_smk_error(struct wpa_authenticator *wpa_auth, struct wpa_state_machine *sm, const u8 *key_data, size_t key_data_len) argument
[all...]

Completed in 652 milliseconds

1234567891011>>