/external/python/cpython2/Lib/test/ |
pyclbr_input.py | 30 def sm(self): pass member in class:C
|
/external/python/cpython3/Lib/test/ |
pyclbr_input.py | 30 def sm(self): pass member in class:C
|
test_difflib.py | 10 sm = difflib.SequenceMatcher(None, 'b' * 100, 'a' + 'b' * 100) 11 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 12 self.assertEqual(list(sm.get_opcodes()), 15 self.assertEqual(sm.bpopular, set()) 16 sm = difflib.SequenceMatcher(None, 'b' * 100, 'b' * 50 + 'a' + 'b' * 50) 17 self.assertAlmostEqual(sm.ratio(), 0.995, places=3) 18 self.assertEqual(list(sm.get_opcodes()), 22 self.assertEqual(sm.bpopular, set()) 25 sm = difflib.SequenceMatcher(None, 'a' * 40 + 'c' + 'b' * 40, 'a' * 40 + 'b' * 40) 26 self.assertAlmostEqual(sm.ratio(), 0.994, places=3 [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tnc.c | 73 static void * eap_tnc_init(struct eap_sm *sm) 87 data->fragment_size = sm->fragment_size > 100 ? 88 sm->fragment_size - 98 : 1300; 94 static void eap_tnc_reset(struct eap_sm *sm, void *priv) 104 static struct wpabuf * eap_tnc_build_start(struct eap_sm *sm, 126 static struct wpabuf * eap_tnc_build(struct eap_sm *sm, 174 static struct wpabuf * eap_tnc_build_recommendation(struct eap_sm *sm, 196 return eap_tnc_build(sm, data); 280 static struct wpabuf * eap_tnc_buildReq(struct eap_sm *sm, void *priv, u8 id) 287 return eap_tnc_build_start(sm, data, id) [all...] |
eap_server_pwd.c | 85 static void * eap_pwd_init(struct eap_sm *sm) 89 if (sm->user == NULL || sm->user->password == NULL || 90 sm->user->password_len == 0) { 100 data->group_num = sm->pwd_group; 109 data->password = os_malloc(sm->user->password_len); 117 data->password_len = sm->user->password_len; 118 os_memcpy(data->password, sm->user->password, data->password_len); 119 data->password_hash = sm->user->password_hash; 121 data->salt_len = sm->user->salt_len [all...] |
/frameworks/av/media/audioserver/ |
main_audioserver.cpp | 111 sp<IServiceManager> sm = defaultServiceManager(); local 112 sp<IBinder> binder = sm->getService(String16("media.log")); 137 sp<IServiceManager> sm = defaultServiceManager(); local 138 ALOGI("ServiceManager: %p", sm.get());
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tls_common.c | 35 static int eap_tls_check_blob(struct eap_sm *sm, const char **name, 43 blob = eap_get_config_blob(sm, *name + 7); 156 static int eap_tls_params_from_conf(struct eap_sm *sm, 162 if (sm->workaround && data->eap_type != EAP_TYPE_FAST) { 207 if (eap_tls_check_blob(sm, ¶ms->ca_cert, ¶ms->ca_cert_blob, 209 eap_tls_check_blob(sm, ¶ms->client_cert, 212 eap_tls_check_blob(sm, ¶ms->private_key, 215 eap_tls_check_blob(sm, ¶ms->dh_file, ¶ms->dh_blob, 223 sm->ext_cert_check = !!(params->flags & TLS_CONN_EXT_CERT_CHECK); 229 static int eap_tls_init_connection(struct eap_sm *sm, [all...] |
eap_aka.c | 92 static void * eap_aka_init(struct eap_sm *sm) 95 const char *phase1 = eap_get_config_phase1(sm); 96 struct eap_peer_config *config = eap_get_config(sm); 114 data->use_pseudonym = !sm->init_phase2; 136 static void * eap_aka_prime_init(struct eap_sm *sm) 138 struct eap_aka_data *data = eap_aka_init(sm); 162 static void eap_aka_deinit(struct eap_sm *sm, void *priv) 177 static int eap_aka_ext_sim_req(struct eap_sm *sm, struct eap_aka_data *data) 190 eap_sm_request_sim(sm, req); 195 static int eap_aka_ext_sim_result(struct eap_sm *sm, struct eap_aka_data *data [all...] |
eap_proxy_qmi_oc.c | 102 static void eap_proxy_eapol_sm_set_bool(struct eap_proxy_sm *sm, 107 static Boolean eap_proxy_eapol_sm_get_bool(struct eap_proxy_sm *sm, 120 static int eap_proxy_is_state_changed(struct eap_proxy_sm *sm); 1022 struct eap_proxy_sm *sm = (struct eap_proxy_sm *)ind_cb_data; local [all...] |
eap_sake.c | 65 static void eap_sake_deinit(struct eap_sm *sm, void *priv); 68 static void * eap_sake_init(struct eap_sm *sm) 74 password = eap_get_config_password(sm, &password_len); 86 identity = eap_get_config_identity(sm, &identity_len); 90 eap_sake_deinit(sm, data); 105 static void eap_sake_deinit(struct eap_sm *sm, void *priv) 140 static struct wpabuf * eap_sake_process_identity(struct eap_sm *sm, 183 static struct wpabuf * eap_sake_process_challenge(struct eap_sm *sm, 281 static struct wpabuf * eap_sake_process_confirm(struct eap_sm *sm, 366 static struct wpabuf * eap_sake_process(struct eap_sm *sm, void *priv [all...] |
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ie.c | 111 struct wpa_sm *sm) 120 (sm->cur_pmksa ? 2 + PMKID_LEN : 0)) { 221 if (sm->mfp) 223 if (sm->mfp == 2) 226 if (sm->ocv) 231 if (sm->cur_pmksa) { 236 os_memcpy(pos, sm->cur_pmksa->pmkid, PMKID_LEN); 242 if (!sm->cur_pmksa) { 323 * @sm: Pointer to WPA state machine data from wpa_sm_init() 328 int wpa_gen_wpa_ie(struct wpa_sm *sm, u8 *wpa_ie, size_t wpa_ie_len [all...] |
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2460/ |
poc.cpp | 33 sp<IServiceManager> sm = defaultServiceManager(); local 34 sp<IBinder> MeidaPlayerService = sm->checkService(String16("media.player"));
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13232/ |
poc.cpp | 75 sp<IServiceManager> sm = defaultServiceManager(); local 76 sp<IBinder> binder = sm->getService(String16("media.audio_policy"));
|
/cts/tests/tests/view/src/android/view/cts/ |
OrientationEventListenerTest.java | 63 SensorManager sm = (SensorManager)mContext.getSystemService(Context.SENSOR_SERVICE); local 65 boolean hasSensor = (sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null);
|
/external/linux-kselftest/tools/testing/selftests/zram/ |
zram01.sh | 63 for sm in $zram_sizes; do 64 local s=$(echo $sm | sed 's/M//')
|
/external/ltp/testcases/kernel/device-drivers/zram/ |
zram01.sh | 80 for sm in $zram_sizes; do 81 local s=$(echo $sm | sed 's/M//')
|
/frameworks/av/media/libstagefright/ |
VideoFrameScheduler.cpp | 44 sp<IServiceManager> sm = defaultServiceManager(); local 45 mComposer = interface_cast<ISurfaceComposer>(sm->checkService(name));
|
/frameworks/base/cmds/bootanimation/ |
BootAnimationUtil.cpp | 58 sp<IServiceManager> sm = defaultServiceManager(); local 63 while (sm->checkService(name) == nullptr) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
funcobject.c | 770 sm_dealloc(staticmethod *sm)
772 _PyObject_GC_UNTRACK((PyObject *)sm);
773 Py_XDECREF(sm->sm_callable);
774 Py_TYPE(sm)->tp_free((PyObject *)sm);
778 sm_traverse(staticmethod *sm, visitproc visit, void *arg)
780 Py_VISIT(sm->sm_callable);
785 sm_clear(staticmethod *sm)
787 Py_XDECREF(sm->sm_callable);
788 sm->sm_callable = NULL; 796 staticmethod *sm = (staticmethod *)self; local 810 staticmethod *sm = (staticmethod *)self; local 890 staticmethod *sm = (staticmethod *) local [all...] |
/external/autotest/client/common_lib/cros/ |
policy.py | 143 def push_policy_and_verify(policy_string, sm): 151 @param sm: a connected SessionManagerInterface. 158 sm.StorePolicyEx(descriptor, 162 retrieved_policy = sm.RetrievePolicyEx(descriptor, byte_arrays=True) 167 def get_policy(sm): 172 @param sm: a connected SessionManagerInterface. 176 return sm.RetrievePolicyEx(session_manager.make_device_policy_descriptor(),
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
special_math_test.py | 50 sm = special_math variable 170 actual = self.evaluate(sm.log_ndtr(grid)) 196 actual = self.evaluate(sm.ndtr(grid)) 228 _grid32 = GridSpec(min=-100., max=sm.LOGNDTR_FLOAT32_LOWER, shape=[100]) 229 _grid64 = GridSpec(min=-100., max=sm.LOGNDTR_FLOAT64_LOWER, shape=[100]) 241 min=sm.LOGNDTR_FLOAT32_LOWER, max=sm.LOGNDTR_FLOAT32_UPPER, shape=[100]) 243 min=sm.LOGNDTR_FLOAT64_LOWER, max=sm.LOGNDTR_FLOAT64_UPPER, shape=[100]) 252 min=sm.LOGNDTR_FLOAT32_UPPER [all...] |
/external/tensorflow/tensorflow/python/training/ |
session_manager_test.py | 45 sm = session_manager.SessionManager( 47 sess = sm.prepare_session( 55 sm = session_manager.SessionManager( 57 sess = sm.prepare_session( 66 sm = session_manager.SessionManager( 68 sess = sm.prepare_session( 85 sm = session_manager.SessionManager( 88 sess = sm.prepare_session( 111 sess = sm.prepare_session( 122 sess = sm.prepare_session [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
funcobject.c | 770 sm_dealloc(staticmethod *sm)
772 _PyObject_GC_UNTRACK((PyObject *)sm);
773 Py_XDECREF(sm->sm_callable);
774 Py_TYPE(sm)->tp_free((PyObject *)sm);
778 sm_traverse(staticmethod *sm, visitproc visit, void *arg)
780 Py_VISIT(sm->sm_callable);
785 sm_clear(staticmethod *sm)
787 Py_CLEAR(sm->sm_callable);
794 staticmethod *sm = (staticmethod *)self; local 808 staticmethod *sm = (staticmethod *)self; local 888 staticmethod *sm = (staticmethod *) local [all...] |
/external/python/cpython2/Objects/ |
funcobject.c | 770 sm_dealloc(staticmethod *sm) 772 _PyObject_GC_UNTRACK((PyObject *)sm); 773 Py_XDECREF(sm->sm_callable); 774 Py_TYPE(sm)->tp_free((PyObject *)sm); 778 sm_traverse(staticmethod *sm, visitproc visit, void *arg) 780 Py_VISIT(sm->sm_callable); 785 sm_clear(staticmethod *sm) 787 Py_CLEAR(sm->sm_callable); 794 staticmethod *sm = (staticmethod *)self local 808 staticmethod *sm = (staticmethod *)self; local 889 staticmethod *sm = (staticmethod *) local [all...] |
/external/clang/test/OpenMP/ |
threadprivate_codegen.cpp | 122 // CHECK-DAG: [[SM:@.+]] = internal global [[SMAIN]] zeroinitializer 123 // CHECK-DAG: [[SM]].cache. = common global i8** null 136 // 8 caches created (for Static::s, gs1, gs3, arr_x, main::sm, ST<int>::st, 141 // CHECK-DEBUG-DAG: [[SM:@.+]] = internal global [[SMAIN]] zeroinitializer 170 // CHECK-TLS-DAG: [[SM:@.+]] = internal thread_local global [[SMAIN]] zeroinitializer 334 static Smain sm(gs1.a); 338 // CHECK: call {{.*}}void @__kmpc_threadprivate_register([[IDENT]]* [[DEFAULT_LOC]], i8* bitcast ([[SMAIN]]* [[SM]] to i8*), i8* (i8*)* [[SM_CTOR:@\.__kmpc_global_ctor_\..+]], i8* (i8*, i8*)* null, void (i8*)* [[SM_DTOR:@\.__kmpc_global_dtor_\..+]]) 343 // CHECK-NEXT: invoke {{.*}} [[SMAIN_CTOR:.*]]([[SMAIN]]* [[SM]], [[INT]] {{.*}}[[GS1_A]]) 350 // CHECK-DEBUG: call {{.*}}void @__kmpc_threadprivate_register([[IDENT]]* [[KMPC_LOC_ADDR]], i8* bitcast ([[SMAIN]]* [[SM]] to i8*), i8* (i8*)* [[SM_CTOR:@\.__kmpc_global_ctor_\..+]], i8* (i8*, i8*)* null, void (i8*)* [[SM_DTOR:@\.__kmpc_global_dtor_\..+]]) 357 // CHECK-DEBUG-NEXT: invoke {{.*}} [[SMAIN_CTOR:.*]]([[SMAIN]]* [[SM]], [[INT]] {{.*}}[[GS1_A]] [all...] |