/arkcompiler/ets_runtime/test/aottest/logic_op/ |
D | logic_op.ts | 26 var str2: string = "hello"; 37 print(str1 == str2) 45 print(str1 != str2) 53 print(str1 < str2) 61 print(str1 <= str2) 69 print(str1 > str2) 77 print(str1 >= str2)
|
/arkcompiler/ets_frontend/arkguard/test/grammar/types_definition/ |
D | string_define.ts | 23 let str2 = 'def'; variable 25 assert(str2 === 'def', 'success'); 27 let str3 = `aa${str1}bb${str2}cc\${}`;
|
/arkcompiler/ets_frontend/arkguard/test/grammar/variable_declaration/ |
D | string_declaration.ts | 22 let str2 = 'def'; variable 24 assert(str2 === 'def', 'success'); 27 bb${str2}cc\${}`;
|
/arkcompiler/ets_runtime/test/moduletest/datecompare/ |
D | datecompare.js | 23 var str2 = Date.parse('2010-08-04') variable 26 var timer2 = new Date(str2)
|
/arkcompiler/ets_runtime/test/aottest/createregexpwithliteral/ |
D | createregexpwithliteral.ts | 19 var str2 = "ac"; 21 var res2 = re.test(str2);
|
/arkcompiler/ets_runtime/test/aottest/aot_type_test/typenotequal/ |
D | typenotequal.ts | 22 let str2:string = "b" 23 print(str1 != str2);
|
/arkcompiler/ets_runtime/test/aottest/aot_type_test/typeequal/ |
D | typeequal.ts | 22 let str2:string = "b" 23 print(str1 == str2);
|
/arkcompiler/ets_runtime/test/aottest/strictequal/ |
D | strictequal.ts | 22 let str2:any = "1"; 32 print(str1 === str2);
|
/arkcompiler/ets_runtime/test/aottest/strictnotequal/ |
D | strictnotequal.ts | 22 let str2:any = "1"; 32 print(str1 !== str2);
|
/arkcompiler/ets_runtime/test/moduletest/string/ |
D | string.js | 26 let str2 = tmp.substring(0, 111) + 'nsExpress3SF#123456789的' + tmp.substring(111 + 23,111 + 24) + '… variable 29 print((flag === str2).toString());
|
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string.cpp | 456 bool EcmaString::EqualToSplicedString(const EcmaString *str1, const EcmaString *str2) in EqualToSplicedString() argument 459 ASSERT(str1->IsLineOrConstantString() && str2->IsLineOrConstantString()); in EqualToSplicedString() 460 if (GetLength() != str1->GetLength() + str2->GetLength()) { in EqualToSplicedString() 464 if (str1->IsUtf8() && str2->IsUtf8()) { in EqualToSplicedString() 468 …return EcmaString::StringsAreEqualUtf16(str2, GetDataUtf16() + str1->GetLength(), str2->GetLength(… in EqualToSplicedString() 471 if (str1->IsUtf16() || str2->IsUtf16()) { in EqualToSplicedString() 477 concatData = Span<const uint8_t>(GetDataUtf8() + str1->GetLength(), str2->GetLength()); in EqualToSplicedString() 478 Span<const uint8_t> data2(str2->GetDataUtf8(), str2->GetLength()); in EqualToSplicedString() 486 bool EcmaString::StringsAreEqualSameUtfEncoding(EcmaString *str1, EcmaString *str2) in StringsAreEqualSameUtfEncoding() argument 492 const uint16_t *data2 = EcmaString::GetUtf16DataFlat(str2, buf2); in StringsAreEqualSameUtfEncoding() [all …]
|
D | ecma_string.h | 204 static bool StringsAreEquals(Span<const T> &str1, Span<const T> &str2) in StringsAreEquals() argument 206 ASSERT(str1.Size() <= str2.Size()); in StringsAreEquals() 210 if (str1[i] != str2[i]) { in StringsAreEquals() 216 return memcmp(str1.data(), str2.data(), size * sizeof(T)) == 0; in StringsAreEquals() 223 bool EqualToSplicedString(const EcmaString *str1, const EcmaString *str2); 225 …ingsAreEqual(const EcmaVM *vm, const JSHandle<EcmaString> &str1, const JSHandle<EcmaString> &str2); 227 static bool StringsAreEqual(EcmaString *str1, EcmaString *str2); 229 static bool StringsAreEqualSameUtfEncoding(EcmaString *str1, EcmaString *str2); 968 …ringsAreEqual(const EcmaVM *vm, const JSHandle<EcmaString> &str1, const JSHandle<EcmaString> &str2) in StringsAreEqual() argument 970 return EcmaString::StringsAreEqual(vm, str1, str2); in StringsAreEqual() [all …]
|
/arkcompiler/ets_runtime/test/moduletest/arrayjoin/ |
D | arrayjoin.js | 26 var str2 = JSON.stringify(new Array(3).join("0")); variable 27 print(str2);
|
/arkcompiler/ets_runtime/test/typeinfer/add2dyn/ |
D | add2dyn.ts | 34 let str2 : string = '2'; 35 let ans4 = str1 + str2;
|
/arkcompiler/ets_runtime/test/aottest/modules/ |
D | modules.ts | 21 let str2 = "YYY";
|
/arkcompiler/ets_frontend/ts2panda/tests/types/class/ |
D | class_static_fields.ts | 21 static str2: string = ""; property in A
|
D | class_fields.ts | 21 readonly str2: string = ""; property in A
|
/arkcompiler/ets_frontend/ts2panda/tests/types/array/ |
D | array_multi_same_primi.ts | 22 let str2: string[]; variable
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/classes/ |
D | test-ts-classes-10-expected.txt | 2 str2
|
D | test-ts-classes-11-expected.txt | 2 str2
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | es6ClassSuperCodegenBug.ts | 22 constructor(str1:string, str2:string) {}
|
D | privateNameMethodCallExpression.ts | 118 const str2 = this.getInstance().#method2`head${1}middle${2}tail`; constant 119 AssertType(str2, "void");
|
D | privateNameStaticMethodCallExpression.ts | 109 const str2 = AA.getClass().#method2`head${1}middle${2}tail`; constant 110 AssertType(str2, "void");
|
/arkcompiler/ets_runtime/test/typeinfer/builtins/ |
D | builtins.ts | 211 let str2 = String("str2"); 212 AssertType(str2.charAt(2), "string"); 213 AssertType(str2.endsWith("2"), "boolean"); 214 AssertType(str2.substring(2, 3), "string");
|
/arkcompiler/ets_runtime/ecmascript/regexp/tests/ |
D | regexp_test.cpp | 709 JSHandle<EcmaString> str2 = factory->NewFromASCII("ba"); in HWTEST_F_L0() local 711 ASSERT_TRUE(EcmaStringAccessor::Compare(instance, result.captures_[1].second, str2) == 0); in HWTEST_F_L0() 777 JSHandle<EcmaString> str2 = factory->NewFromASCII("z"); in HWTEST_F_L0() local 782 ASSERT_TRUE(EcmaStringAccessor::Compare(instance, result.captures_[1].second, str2) == 0); in HWTEST_F_L0() 1088 JSHandle<EcmaString> str2 = factory->NewFromASCII("aaa"); in HWTEST_F_L0() local 1090 ASSERT_TRUE(EcmaStringAccessor::Compare(instance, result.captures_[1].second, str2) == 0); in HWTEST_F_L0() 1194 JSHandle<EcmaString> str2 = factory->NewFromASCII("ab"); in HWTEST_F_L0() local 1196 ASSERT_TRUE(EcmaStringAccessor::Compare(instance, result.captures_[1].second, str2) == 0); in HWTEST_F_L0() 1328 JSHandle<EcmaString> str2 = factory->NewFromASCII("b"); in HWTEST_F_L0() local 1330 ASSERT_TRUE(EcmaStringAccessor::Compare(instance, result.captures_[1].second, str2) == 0); in HWTEST_F_L0() [all …]
|