Home
last modified time | relevance | path

Searched refs:testString (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/example/
Dstrings.sts17 //! RUN force_jit: true, entry: "testString", options: "--compiler-regex=ETSGLOBAL::testSt…
18 //! METHOD "testString"
25 //! RUN force_jit: true, entry: "testString", options: "--compiler-regex=ETSGLOBAL::testSt…
26 //! METHOD "testString"
43 //! RUN_AOT options: "--compiler-regex=ETSGLOBAL::testString --compiler-enable-fast-interop=fa…
44 //! METHOD "testString"
49 //! RUN entry: "testString"
53 //! RUN_PAOC options: "--compiler-regex=ETSGLOBAL::testString"
54 //! METHOD "testString"
69 //! RUN entry: "testString"
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
Dheap_tracker_third_test.cpp229 std::string testString = "Hello!"; in HWTEST_F_L0() local
230 int strSize = testString.size(); in HWTEST_F_L0()
231 bool isFileStream = testFileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
237 testString = "Hello!"; in HWTEST_F_L0()
238 strSize = testString.size(); in HWTEST_F_L0()
239 isFileStream = tmpFileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
249 testString = "Hello!"; in HWTEST_F_L0()
250 strSize = testString.size(); in HWTEST_F_L0()
251 isFileStream = fileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_class_methods_returning_values/ets_to_js/
Dtest_class_methods.sts65 testString: string;
67 constructor(testNumber: number, testString: string) {
69 this.testString = testString;
91 testString: string;
96 testString: 'Test'
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_class_methods_returning_values/js_to_ets/
Dtest_class_methods.ts36 testString: string; property
168 testString: string; property in TestClass
170 constructor(testNumber: number, testString: string) {
172 this.testString = testString;
192 testString: 'Test',
Dtest_class_methods.js219 constructor(testNumber, testString) { argument
221 this.testString = testString;
243 testString: 'Test', property
Dtest_class_methods.sts265 testClassVal.testString as string == 'Test'
276 testVal.testString as string == 'Test'
/arkcompiler/ets_frontend/arkguard/test/grammar/jsfile/
Dscript1.js75 const testString = "A man, a plan, a canal: Panama"; constant
76 const isPalindromic = isPalindrome(testString);
/arkcompiler/ets_frontend/es2panda/test/optimizer/js/branch-elimination/
Dtest-branch-elimination.js80 function testString() { function
128 testString();
Dtest-branch-elimination-expected.pa.txt64 .function any .#*#testString(any a0, any a1, any a2) {
277 definefunc 0x4, .#*#testString, 0x0
/arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/bridges/pa/
Dtypes-string-01.pa22 .function void EtsNapiTests.testString() {
36 call.short EtsNapiTests.testString
Dtypes-string-02.pa22 .function void EtsNapiTests.testString() {
38 call.short EtsNapiTests.testString
Dtypes-string-03.pa22 .function void EtsNapiTests.testString() {
40 call.short EtsNapiTests.testString
Dtypes-string-04.pa22 .function void EtsNapiTests.testString() {
42 call.short EtsNapiTests.testString
Dtypes-string-05.pa22 .function void EtsNapiTests.testString() {
44 call.short EtsNapiTests.testString
Dtypes-string-06.pa22 .function void EtsNapiTests.testString() {
46 call.short EtsNapiTests.testString
Dtypes-string-07.pa22 .function void EtsNapiTests.testString() {
48 call.short EtsNapiTests.testString
Dtypes-string-08.pa22 .function void EtsNapiTests.testString() {
50 call.short EtsNapiTests.testString
Dtypes-string-10.pa22 .function void EtsNapiTests.testString() {
54 call.short EtsNapiTests.testString
Dtypes-string-09.pa22 .function void EtsNapiTests.testString() {
52 call.short EtsNapiTests.testString
Dtypes-string-11.pa22 .function void EtsNapiTests.testString() {
56 call.short EtsNapiTests.testString
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/test_class_methods_returning_values/ets_to_js/js_suites/
Dtest_function_return_class.js24 ASSERT_EQ(testClassVal.testString, 'Test');
Dtest_function_return_interface.js28 ASSERT_EQ(testInterfaceVal.testString, 'Test');
/arkcompiler/ets_runtime/ecmascript/tests/
Dtemplate_string_test.cpp48 JSHandle<EcmaString> testString = factory->NewFromASCII("bar2bazJavaScriptbaz"); in HWTEST_F_L0() local
90 …StringAccessor::StringsAreEqual(reinterpret_cast<EcmaString *>(result.GetRawData()), *testString)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp326 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local
328 EXPECT_EQ(testString->Utf8Length(vm_), 12); // 12 : length of testString("Hello World") in HWTEST_F_L0()
330 … EXPECT_EQ(testString->WriteUtf8(vm_, buffer, 12), 12); // 12 : length of testString("Hello World") in HWTEST_F_L0()
348 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local
350 EXPECT_EQ(testString->Utf8Length(vm_), 4); // 4 : length of testString("年") in HWTEST_F_L0()
352 EXPECT_EQ(testString->WriteUtf8(vm_, buffer, 4), 4); // 4 : length of testString("年") in HWTEST_F_L0()
397 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local
399 EXPECT_EQ(testString->Length(vm_), 1U); in HWTEST_F_L0()
401 EXPECT_EQ(testString->WriteLatin1(vm_, buffer, 1), 1); in HWTEST_F_L0()
419 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local
[all …]
Djsnapi_second_tests.cpp998 Local<StringRef> testString = StringRef::NewFromUtf16(vm_, test); in HWTEST_F_L0() local
999 EXPECT_EQ(testString->Length(vm_), 2); // 2 : length of testString("年度") in HWTEST_F_L0()
1001 EXPECT_EQ(testString->WriteUtf16(vm_, buffer, 2), 2); // 2 : length of testString("年度") in HWTEST_F_L0()
1018 Local<StringRef> testString = StringRef::NewFromUtf16(vm_, test); in HWTEST_F_L0() local
1020 EXPECT_EQ(testString->Length(vm_), 14); in HWTEST_F_L0()
1022 …EXPECT_EQ(testString->WriteUtf16(vm_, buffer, 14), 14); // 14 : length of testString("hello world!… in HWTEST_F_L0()

12