Home
last modified time | relevance | path

Searched refs:GetStaticp_method (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
Dcalling_methods_test_3.cpp128 ets_method voidId = env_->GetStaticp_method(cls, "void_method", "I:V"); in TEST_F()
130 ets_method objectId = env_->GetStaticp_method(cls, "object_method", ":LA;"); in TEST_F()
132 ets_method booleanId = env_->GetStaticp_method(cls, "boolean_method", "Z:Z"); in TEST_F()
134 ets_method byteId = env_->GetStaticp_method(cls, "byte_method", "B:B"); in TEST_F()
136 ets_method charId = env_->GetStaticp_method(cls, "char_method", "C:C"); in TEST_F()
138 ets_method shortId = env_->GetStaticp_method(cls, "short_method", "S:S"); in TEST_F()
140 ets_method intId = env_->GetStaticp_method(cls, "int_method", ":I"); in TEST_F()
142 ets_method longId = env_->GetStaticp_method(cls, "long_method", "J:J"); in TEST_F()
144 ets_method floatId = env_->GetStaticp_method(cls, "float_method", "F:F"); in TEST_F()
146 ets_method doubleId = env_->GetStaticp_method(cls, "double_method", "D:D"); in TEST_F()
[all …]
Dregister_native_allocation_test.cpp61 ets_method allocMethod = env_->GetStaticp_method(testClass, "allocate_object", ":I"); in TEST_F()
71 ets_method mainMethod = env_->GetStaticp_method(testClass, "main_method", ":I"); in TEST_F()
Dstack_trace_test.cpp65 auto method = env->GetStaticp_method(klass, "invokeException", ":V"); in TEST_F()
96 auto method = env->GetStaticp_method(klass, "invokeUnhandledException", ":V"); in TEST_F()
Dregistering_native_methods_test.cpp97 ets_method foo_id = env_->GetStaticp_method(cls, "foo", ":I"); in TEST_F()
101 ets_method long_foo_id = env_->GetStaticp_method(cls, "long_foo", ":J"); in TEST_F()
Dstack_reference_check_test.cpp85 … ets_method method = env->GetStaticp_method(cls_A, "NativeRefStringCheck", "Lstd/core/String;:Z"); in TEST_F()
135 … ets_method method = env->GetStaticp_method(cls_A, "NativeRefMultiStringCheck", signature.c_str()); in TEST_F()
Dcalling_methods_test_6.cpp384 EXPECT_DEATH(env_->GetStaticp_method(nullptr, nullptr, nullptr), ""); in TEST_F()
385 EXPECT_DEATH(env_->GetStaticp_method(nullptr, "foo", nullptr), ""); in TEST_F()
386 EXPECT_DEATH(env_->GetStaticp_method(nullptr, nullptr, "I:I"), ""); in TEST_F()
387 EXPECT_DEATH(env_->GetStaticp_method(nullptr, "foo", "I:I"), ""); in TEST_F()
391 EXPECT_DEATH(env_->GetStaticp_method(aCls, nullptr, nullptr), ""); in TEST_F()
392 EXPECT_DEATH(env_->GetStaticp_method(aCls, nullptr, "I:I"), ""); in TEST_F()
Deffective_types_test.cpp108 ets_method method = env->GetStaticp_method(testClass, "main", ":I"); in TEST_F()
Dclinit_native_test.cpp82 ets_method method = env->GetStaticp_method(testClass, "smethod", ":I"); in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/native/native_methods/
Dregister_native_methods_test.cpp69 auto method = env_->GetStaticp_method(cls, GENERIC_NATIVE_METHOD_NAME, SIGNATURE_FUNC0); in TEST_F()
95 auto method = env_->GetStaticp_method(cls, FAST_NATIVE_METHOD_NAME, "I:Z"); in TEST_F()
123 auto method = env_->GetStaticp_method(cls, FAST_NATIVE_METHOD_NAME, "I:Z"); in TEST_F()
149 auto method = env_->GetStaticp_method(cls, CRITICAL_NATIVE_METHOD_NAME, "JJ:J"); in TEST_F()
180 auto method = env_->GetStaticp_method(cls, CRITICAL_NATIVE_METHOD_NAME, "JJ:J"); in TEST_F()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/sampler/
DSamplerNapiTest.cpp50 ets_method method = env->GetStaticp_method(cls, "SlowETSFunction", "I:I"); in ETS_ETSGLOBAL_NativeNAPISlowFunction()
57 ets_method method = env->GetStaticp_method(cls, "FastETSFunction", ":I"); in ETS_ETSGLOBAL_NativeNAPIFastFunction()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/lib/
DInterfaceNativeTest.cpp24 ets_method method = env->GetStaticp_method(cls, "staticLongMethod", "I:J"); in ETS_InterfaceNativeTest_callMethod()
34 ets_method method = env->GetStaticp_method(cls, "staticVoidMethod", "C:V"); in ETS_InterfaceNativeTest_testChar()
51 method = env->GetStaticp_method(cls, "staticFloatMethod", "I:F"); in ETS_InterfaceNativeTest_testFloat()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/native/
Dnative_test_helper.h33 ets_method fn = env_->GetStaticp_method(cls, methodName.data(), nullptr); in CallEtsFuntion()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/common/bouncing_peas/
Dbouncing_peas_unit_napi.cpp351 auto method = env_->GetStaticp_method(klass, "main", ":I"); in ExecuteMain()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi.h312 ets_method (*GetStaticp_method)(EtsEnv *env, ets_class cls, const char *name, const char *sig); member
1031 ets_method GetStaticp_method(ets_class cls, const char *name, const char *sig) in GetStaticp_method() function
1033 return native_interface->GetStaticp_method(this, cls, name, sig); in GetStaticp_method()
Dets_napi_native_interface.cpp1488 NO_UB_SANITIZE static ets_method GetStaticp_method(EtsEnv *env, ets_class cls, const char *name, co… in GetStaticp_method() function
2883 GetStaticp_method,