| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/strings/ |
| D | string_api.sts | 72 assert str3.substring(0).equals("hello" as Object): "Substring from idx 0 must be 'hello'"; 73 assert str3.substring(3).equals("lo" as Object): "Substring from idx 3 must be 'lo'"; 74 assert str3.substring(0, 3).equals("hel" as Object): "Substring from idx 0 to 3 must be 'hel'"; 75 assert str3.substring(1, 3).equals("el" as Object): "Substring from idx 1 to 3 must be 'el'"; 76 assert str3.substring(4, 5).equals("o" as Object): "Substring from idx 4 to 5 must be 'o'"; 77 …assert str3.substring(4, 4).equals("" as Object): "Substring from idx 4 to 4 must be empty string"; 78 assert !str3.substring(3, 5).equals("o" as Object): "Substring from idx 3 to 4 must not be 'o'"; 80 …assert str3.concat(", world!").equals("hello, world!" as Object): "Strings must be equal after con… 82 …assert str3.replaceChar(c'e', c'a').equals("hallo" as Object): "Strings must be equal after replac… 83 …assert str3.replaceChar(c'l', c't').equals("hetto" as Object): "Strings must be equal after replac… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | string_split_test.sts | 32 assert arr[0].equals("It"): "First substring must be `It`"; 33 assert arr[1].equals("can't"): "Second substring must be `can't`"; 34 assert arr[2].equals("be"): "Third substring must be `be`"; 35 assert arr[3].equals("-"): "Third substring must be `-`"; 36 assert arr[4].equals("there"): "Third substring must be `there`"; 37 assert arr[5].equals("must"): "Third substring must be `must`"; 38 assert arr[6].equals("be"): "Third substring must be `be`"; 39 assert arr[7].equals("a"): "Third substring must be `a`"; 40 assert arr[8].equals("gap"): "Third substring must be `gap`";
|
| D | ets_string_substring.sts | 46 if(!runtime.equals(original, subs)) return 1; 48 if(!runtime.equals(original, subs1)) return 2; 50 if(!runtime.equals(original, subs2)) return 3;
|
| D | ets_runtime_equals.sts | 16 //! CHECKER Runtime equals JIT 25 //! CHECKER Runtime equals AOT
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/lookup_by_name/ |
| D | correct_case_ref.pa | 18 .function u1 std.core.String.equals(std.core.String a0, std.core.Object a1) <external> 47 call.short std.core.String.equals, v0, v1 69 call.short std.core.String.equals, v3, v4 77 call.short std.core.String.equals, v3, v4 85 call.short std.core.String.equals, v3, v4 93 call.short std.core.String.equals, v3, v4
|
| D | correct_case_ref_2.pa | 18 .function u1 std.core.String.equals(std.core.String a0, std.core.Object a1) <external> 58 call.short std.core.String.equals, v1, v2 92 call.short std.core.String.equals, v4, v5 101 call.short std.core.String.equals, v4, v5 110 call.short std.core.String.equals, v4, v5 119 call.short std.core.String.equals, v4, v5
|
| D | field_case_ref.pa | 18 .function u1 std.core.String.equals(std.core.String a0, std.core.Object a1) <external> 46 call.short std.core.String.equals, v2, v3 54 call.short std.core.String.equals, v2, v3
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/equals/ |
| D | CMakeLists.txt | 35 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${NAME}.pa 45 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${NAME}.pa 55 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${NAME}.pa 66 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${NAME}.pa 78 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${NAME}.pa 90 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${NAME}.pa 124 FILE ${PANDA_ETS_PLUGIN_SOURCE}/tests/equals/${ARG_FILE}.pa
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/05.evaluation_of_other_expressions/ |
| D | mcall.sts | 40 if (!a.meth("X").equals("XA")) return 1; 43 if (!a.meth("Y").equals("YAB")) return 1; 46 if (!i.meth("Z").equals("ZA")) return 1; 49 if (!i.meth("W").equals("WAB")) return 1;
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | RegisterSpiller.sts | 25 assert !a.equals(b); 26 assert a.equals(c); 27 assert !b.equals(c); 43 assert (s1 + s2 + s3 + s4).equals(s5);
|
| D | skippedTest.sts | 31 console.print(a.equals(b)); 33 console.print(a.equals(c)); 35 console.print(b.equals(c));
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | operand.cpp | 110 bool MemOperand::Equals(Operand &op) const in Equals() function in maplebe::MemOperand 115 return Equals(static_cast<MemOperand &>(op)); in Equals() 118 bool MemOperand::Equals(const MemOperand &op) const in Equals() function in maplebe::MemOperand 127 return (GetBaseRegister()->Equals(*op.GetBaseRegister()) && in Equals() 128 GetOffsetImmediate()->Equals(*op.GetOffsetImmediate())); in Equals() 130 return (GetBaseRegister()->Equals(*op.GetBaseRegister()) && in Equals() 131 GetIndexRegister()->Equals(*op.GetIndexRegister()) && in Equals() 136 …return (GetBaseRegister()->Equals(*op.GetBaseRegister()) && GetSymbolName() == op.GetSymbolName() … in Equals() 137 GetOffsetImmediate()->Equals(*op.GetOffsetImmediate())); in Equals()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_check_test_regexp_result.j2 | 25 console.println("isCorrect field of actual is not equals to expected") 32 console.println("index field of actual is not equals to expected") 39 console.println("size of result array of actual is not equals to expected") 46 if (!actual.result[i].equals(expected.result[i])) { 48 console.println("content of result array from actual is not equals to expected"); 61 console.println("content of result array from actual is not equals to expected");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | RegExpMatchAllTest.sts | 79 console.println("isCorrect field of actual is not equals to expected") 86 console.println("index field of actual is not equals to expected") 93 console.println("size of result array of actual is not equals to expected") 100 if (!actual.result[i].equals(expected.result[i])) { 102 console.println("content of result array from actual is not equals to expected"); 115 console.println("content of result array from actual is not equals to expected");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | TypeLambdaTypeTest.sts | 40 test(fooType.getResultType().equals(baseType), " Base result type") + 42 test(foo2Type.getParameter(0).getType().equals(baseType), " base type param") + 43 test(foo2Type.getResultType().equals(derivedType), " Derived result type")
|
| D | TypeMethodTest.sts | 96 … test(serializeMethodType.getReceiverType().equals(pt), " has Point receiver type") + 98 test(addMethodType.getParameter(0).getType().equals(pt), " Point parameter") + 99 … test(addMethodType.getResultType().equals(pt), " has Point result type") + 100 … test(addMethodType.getReceiverType().equals(pt), " has Point receiver type") + 104 … test(cType.getReceiverType().equals(hwt), " has HTMLWriter receiver type") + 107 … test(getterType.getReceiverType().equals(hwt), " has HTMLWriter receiver type") + 111 … test(setterType.getReceiverType().equals(hwt), " has HTMLWriter receiver type")
|
| D | TypeClassTypeTest.sts | 103 …failures += test(ct.getFieldByName(field.getName()).equals(field), " " + field.getName() + " fie… 113 failures += test(ct.getFieldByName(field.getName()).equals(field), " " + field.getName()) 133 … test(pt.getBaseType().equals(ObjectType), " base type is ObjectType") + 165 test(pt.getOwnField(0).equals(pt.getFieldByName("ZERO")), " ZERO field") + 166 test(pt.getOwnField(1).equals(pt.getFieldByName("z")), " z field") + 167 test(pt.getOwnField(2).equals(pt.getFieldByName("state")), " state field") +
|
| D | TypeInterfaceTypeTest.sts | 80 test(ict.getInterface(0).equals(iat), " A interface") + 92 test(idt.getInterface(0).equals(ibt), " B interface") + 93 test(idt.getInterface(1).equals(ict), " C interface") +
|
| D | TypeFieldTest.sts | 59 test(xf.getOwnerType().equals(Type.of(new Point())), " OwnerType: Point") + 66 … test(sf.getOwnerType().equals(pt), " OwnerType: Point3D") + 73 … test(zf.getOwnerType().equals(pt), " OwnerType: Point3D") +
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | Undefined.sts | 29 public equals(to: NullishType): boolean { 30 throw new Error("Internal error: undefined.equals was called!")
|
| D | Type.sts | 536 if (this.equals(other)) { 538 } else if (other.equals(ObjectType)) { 587 abstract equals(other: Type): boolean 654 public override equals(other: Type): boolean { 725 public override equals(other: Type): boolean { 796 public override equals(other: Type): boolean { 879 public override equals(other: Type): boolean { 885 if (!this.equals(objType)) { 962 override equals(other: Type): boolean { 968 if (!this.equals(objType)) { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/09.field_access_expressions/02.accessing_superclass_fields/ |
| D | super_in_object.sts | 36 public equals(to: Object): boolean { 37 return runtime.equals(this, to);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/07.reference_equality/ |
| D | reference_types_equality_operator.sts | 19 desc: The value equality operator a == b semantically equals a === null ? b === null a.equals(b) if…
|
| D | array_types_equality_operator.sts | 19 desc: "The value equality operator a == b semantically equals a === null ? b === null : a.equals(b)…
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ets/ |
| D | union_types_3.sts | 24 assert ((x0 as String) + "STR2").equals("STR1STR2"): "Error! Must be `STR1STR2`"; 27 assert (x1 as String).equals("AAA"): "Error! Must be `AAA`";
|