Home
last modified time | relevance | path

Searched refs:Substring (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dets_string_substring.ets18 //! CHECKER Equal Substring JIT
27 //! CHECKER Equal Substring AOT
37 //! CHECKER Equal Substring INT
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/strings/
Dstring_api.ets81 assert str3.substring(0).equals("hello" as Object): "Substring from idx 0 must be 'hello'";
82 assert str3.substring(3).equals("lo" as Object): "Substring from idx 3 must be 'lo'";
83 assert str3.substring(0, 3).equals("hel" as Object): "Substring from idx 0 to 3 must be 'hel'";
84 assert str3.substring(1, 3).equals("el" as Object): "Substring from idx 1 to 3 must be 'el'";
85 assert str3.substring(4, 5).equals("o" as Object): "Substring from idx 4 to 5 must be 'o'";
86 …assert str3.substring(4, 4).equals("" as Object): "Substring from idx 4 to 4 must be empty string";
87 assert !str3.substring(3, 5).equals("o" as Object): "Substring from idx 3 to 4 must not be 'o'";
/arkcompiler/runtime_core/static_core/tools/sampler/
DREADME.md38 | --substitute-source-str | {dir1}, {dir2} | Substring that will be repl…
39 | --substitute-destination-str | {dir_target1}, {dir_target2} | Substring that will be plac…
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.h90 V("substring", Substring, 2, StringSubstring) \
190 static JSTaggedValue Substring(EcmaRuntimeCallInfo *argv);
Dbuiltins_string.cpp1624 JSTaggedValue BuiltinsString::Substring(EcmaRuntimeCallInfo *argv) in Substring() function in panda::ecmascript::builtins::BuiltinsString
1627 BUILTINS_API_TRACE(argv->GetThread(), String, Substring); in Substring()
1963 BUILTINS_API_TRACE(argv->GetThread(), String, Substring); in At()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_string_stub_builder.h39 …void Substring(GateRef glue, GateRef thisValue, GateRef numArgs, Variable* res, Label *exit, Label…
Dbuiltins_stubs.cpp176 V(Substring, JS_ANY, IntToTaggedPtr(Int32(-1))) \
Dbuiltins_string_stub_builder.cpp339 void BuiltinsStringStubBuilder::Substring(GateRef glue, GateRef thisValue, GateRef numArgs, in Substring() function in panda::ecmascript::kungfu::BuiltinsStringStubBuilder
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_string_test.cpp827 JSTaggedValue result = BuiltinsString::Substring(ecmaRuntimeCallInfo); in HWTEST_F_L0()
847 JSTaggedValue result = BuiltinsString::Substring(ecmaRuntimeCallInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Druntime_call_id.h735 V(String, Substring) \
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp502 reinterpret_cast<uintptr_t>(BuiltinsString::Substring),