| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/example/ |
| D | strings.sts | 17 //! 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/ |
| D | heap_tracker_third_test.cpp | 229 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/ |
| D | test_class_methods.sts | 65 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/ |
| D | test_class_methods.ts | 36 testString: string; property 168 testString: string; property in TestClass 170 constructor(testNumber: number, testString: string) { 172 this.testString = testString; 192 testString: 'Test',
|
| D | test_class_methods.js | 219 constructor(testNumber, testString) { argument 221 this.testString = testString; 243 testString: 'Test', property
|
| D | test_class_methods.sts | 265 testClassVal.testString as string == 'Test' 276 testVal.testString as string == 'Test'
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/jsfile/ |
| D | script1.js | 75 const testString = "A man, a plan, a canal: Panama"; constant 76 const isPalindromic = isPalindrome(testString);
|
| /arkcompiler/ets_frontend/es2panda/test/optimizer/js/branch-elimination/ |
| D | test-branch-elimination.js | 80 function testString() { function 128 testString();
|
| D | test-branch-elimination-expected.pa.txt | 64 .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/ |
| D | types-string-01.pa | 22 .function void EtsNapiTests.testString() { 36 call.short EtsNapiTests.testString
|
| D | types-string-02.pa | 22 .function void EtsNapiTests.testString() { 38 call.short EtsNapiTests.testString
|
| D | types-string-03.pa | 22 .function void EtsNapiTests.testString() { 40 call.short EtsNapiTests.testString
|
| D | types-string-04.pa | 22 .function void EtsNapiTests.testString() { 42 call.short EtsNapiTests.testString
|
| D | types-string-05.pa | 22 .function void EtsNapiTests.testString() { 44 call.short EtsNapiTests.testString
|
| D | types-string-06.pa | 22 .function void EtsNapiTests.testString() { 46 call.short EtsNapiTests.testString
|
| D | types-string-07.pa | 22 .function void EtsNapiTests.testString() { 48 call.short EtsNapiTests.testString
|
| D | types-string-08.pa | 22 .function void EtsNapiTests.testString() { 50 call.short EtsNapiTests.testString
|
| D | types-string-10.pa | 22 .function void EtsNapiTests.testString() { 54 call.short EtsNapiTests.testString
|
| D | types-string-09.pa | 22 .function void EtsNapiTests.testString() { 52 call.short EtsNapiTests.testString
|
| D | types-string-11.pa | 22 .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/ |
| D | test_function_return_class.js | 24 ASSERT_EQ(testClassVal.testString, 'Test');
|
| D | test_function_return_interface.js | 28 ASSERT_EQ(testInterfaceVal.testString, 'Test');
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | template_string_test.cpp | 48 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/ |
| D | jsnapi_first_tests.cpp | 326 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 …]
|
| D | jsnapi_second_tests.cpp | 998 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()
|