| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/checked/example/ |
| D | strings.ets | 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_PAOC 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 | 217 std::string testString = "Hello!"; in HWTEST_F_L0() local 218 int strSize = testString.size(); in HWTEST_F_L0() 219 bool isFileStream = testFileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0() 225 testString = "Hello!"; in HWTEST_F_L0() 226 strSize = testString.size(); in HWTEST_F_L0() 227 isFileStream = tmpFileStream.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 = fileStream.WriteChunk(testString.data(), strSize); in HWTEST_F_L0()
|
| /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/runtime_core/static_core/plugins/ets/tests/napi/bridges/pa/ |
| D | types-string-02.pa | 23 .function void EtsNapiTests.testString() { 39 call.short EtsNapiTests.testString
|
| D | types-string-01.pa | 23 .function void EtsNapiTests.testString() { 37 call.short EtsNapiTests.testString
|
| D | types-string-03.pa | 23 .function void EtsNapiTests.testString() { 41 call.short EtsNapiTests.testString
|
| D | types-string-05.pa | 23 .function void EtsNapiTests.testString() { 45 call.short EtsNapiTests.testString
|
| D | types-string-04.pa | 23 .function void EtsNapiTests.testString() { 43 call.short EtsNapiTests.testString
|
| D | types-string-07.pa | 23 .function void EtsNapiTests.testString() { 49 call.short EtsNapiTests.testString
|
| D | types-string-06.pa | 23 .function void EtsNapiTests.testString() { 47 call.short EtsNapiTests.testString
|
| D | types-string-08.pa | 23 .function void EtsNapiTests.testString() { 51 call.short EtsNapiTests.testString
|
| D | types-string-09.pa | 23 .function void EtsNapiTests.testString() { 53 call.short EtsNapiTests.testString
|
| D | types-string-11.pa | 23 .function void EtsNapiTests.testString() { 57 call.short EtsNapiTests.testString
|
| D | types-string-10.pa | 23 .function void EtsNapiTests.testString() { 55 call.short EtsNapiTests.testString
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | template_string_test.cpp | 72 JSHandle<EcmaString> testString = factory->NewFromASCII("bar2bazJavaScriptbaz"); in HWTEST_F_L0() local 114 …StringAccessor::StringsAreEqual(reinterpret_cast<EcmaString *>(result.GetRawData()), *testString)); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_first_tests.cpp | 318 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local 320 EXPECT_EQ(testString->Utf8Length(vm_), 12); // 12 : length of testString("Hello World") in HWTEST_F_L0() 322 EXPECT_EQ(testString->WriteUtf8(buffer, 12), 12); // 12 : length of testString("Hello World") in HWTEST_F_L0() 340 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local 342 EXPECT_EQ(testString->Utf8Length(vm_), 4); // 4 : length of testString("年") in HWTEST_F_L0() 344 EXPECT_EQ(testString->WriteUtf8(buffer, 4), 4); // 4 : length of testString("年") in HWTEST_F_L0() 389 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local 391 EXPECT_EQ(testString->Length(), 1U); in HWTEST_F_L0() 393 EXPECT_EQ(testString->WriteLatin1(buffer, 1), 1); in HWTEST_F_L0() 411 Local<StringRef> testString = StringRef::NewFromUtf8(vm_, test.c_str()); in HWTEST_F_L0() local [all …]
|
| D | jsnapi_second_tests.cpp | 1002 Local<StringRef> testString = StringRef::NewFromUtf16(vm_, test); in HWTEST_F_L0() local 1003 EXPECT_EQ(testString->Length(), 2); // 2 : length of testString("年度") in HWTEST_F_L0() 1005 EXPECT_EQ(testString->WriteUtf16(buffer, 2), 2); // 2 : length of testString("年度") in HWTEST_F_L0() 1022 Local<StringRef> testString = StringRef::NewFromUtf16(vm_, test); in HWTEST_F_L0() local 1024 EXPECT_EQ(testString->Length(), 14); in HWTEST_F_L0() 1026 … EXPECT_EQ(testString->WriteUtf16(buffer, 14), 14); // 14 : length of testString("hello world!!!") in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | JsonTest.ets | 45 function testString(): int { 142 failures += testString()
|