Home
last modified time | relevance | path

Searched full:o2 (Results 1 – 25 of 118) sorted by relevance

12345

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DRuntime.sts35 * @param o2 second object to compare
39 public equals(o1: NullishType, o2: NullishType): boolean {
41 return this.isSameReference(o2, null)
44 return this.isSameReference(o2, undefined)
46 if (this.isSameReference(o2, null) || this.isSameReference(o2, undefined)) {
50 return o1 == o2
58 * @param o2 second object to compare
62 public sameValue(o1: NullishType, o2: NullishType): boolean {
64 return this.isSameReference(o2, null)
67 return this.isSameReference(o2, undefined)
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/shorthand/toplevelConfig/
DsomeSimilarGrammars2_expected.txt15 import o2 from 'assert';
20 o2(p2 === 1, 'success');
21 o2(q2 === 2, 'success');
26 o2(r2 === 2, 'success');
27 o2(s2 === 3, 'success');
28 o2(t2 === 4, 'success');
30 o2(u2.prop1 === 1, 'success');
31 o2(u2.prop2 === 2, 'success');
33 o2(v2 === 3, 'success');
34 o2(w2.prop4 === 4, 'success');
/arkcompiler/runtime_core/libark_defect_scan_aux/tests/unittest/
Dgraph_test.js32 function foo(o1, o2) { argument
35 if (o1 > o2) {
37 a = o2;
39 } else if (o1 < o2) {
40 c.Add(o2);
43 a = o1 + o2;
48 function func2(o1, o2) { argument
49 console.log(o1, o2);
58 return util.sum(res, o2);
Dcallee_info_test.js20 function func1(o1, o2) { } argument
23 function foo(o1, o2) { argument
25 func2(o2.x);
37 func1(2, o2.y);
38 o2.bar();
43 function foo1(o1, o2, o3) { argument
86 function func6(o1, o2) { argument
92 ns.sub(o2, o1);
112 function func10(o1, o2) { argument
Ddefine_info_test.js22 function func2(o1, o2) { argument
45 func9(o1, o2, o3) { } argument
59 func15(o1, o2) { } argument
Ddebug_info_test.js288 function func1(o1, o2) { argument
289 console.log(o1 + o2);
294 let func3 = (o1, o2, o3, o4, o5) => { }; argument
296 function foo(o1, o2) { argument
302 } else if (o2.x < a + b) {
303 c = o2.x;
/arkcompiler/ets_runtime/test/aottest/aot_type_test/polyaccess/
Dpolyaccess.ts28 function foo(o1: C | D, o2: C) {
35 print(o2.x);
38 function bar(o1: C, o2: C | D) {
43 print(o2.x);
44 o2.y = 33;
45 print(o2.y);
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dtype_variance1.sts55 class O2<T> {}
58 const o: O2<in Object> = new O2<Object>();
59 const o2: O2<in Object[]> = new O2<Object[]>();
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top/04_class_cases/02_class_declaration/
D05_abstract_expected.txt17 abstract o2(): number;
23 o2(): number {
28 assert(l2.o2() === 11, 'success');
31 o2(): number {
39 assert(n2.o2() === 111, 'success');
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top/04_class_cases/02_class_declaration/
D05_abstract_expected.txt17 abstract o2(): number;
23 o2(): number {
28 assert(l2.o2() === 11, 'success');
31 o2(): number {
39 assert(n2.o2() === 111, 'success');
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_proepilog.cpp91 Operand *o2 = &aarchCGFunc.CreateStkTopOpnd(static_cast<uint32>(offset), GetPointerBitSize()); in AppendInstructionPushPair() local
96o2 = SplitStpLdpOffsetForCalleeSavedWithAddInstruction(cgFunc, *static_cast<MemOperand *>(o2), dat… in AppendInstructionPushPair()
98 Insn &pushInsn = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, o1, *o2); in AppendInstructionPushPair()
148 …MemOperand *o2 = aarchCGFunc.CreateStackMemOpnd(RSP, static_cast<int32>(fpToSpDistance), size * kB… in AppendInstructionForAllocateOrDeallocateCallFrame() local
151 Insn &insn1 = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, *o2); in AppendInstructionForAllocateOrDeallocateCallFrame()
155o2 = aarchCGFunc.CreateStackMemOpnd(RSP, static_cast<int32>(fpToSpDistance + size), size * kBitsPe… in AppendInstructionForAllocateOrDeallocateCallFrame()
156 Insn &insn2 = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o1, *o2); in AppendInstructionForAllocateOrDeallocateCallFrame()
193 …Operand *o2 = aarchCGFunc.CreateStackMemOpnd(RSP, static_cast<int32>(fpToSpDistance), GetPointerBi… in CreateAndAppendInstructionForAllocateCallFrame() local
195 ? &cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, o1, *o2) in CreateAndAppendInstructionForAllocateCallFrame()
196 : &cgFunc.GetInsnBuilder()->BuildInsn(mOp, o1, *o2); in CreateAndAppendInstructionForAllocateCallFrame()
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Duse-hex-as-key.js18 0o2: 2,
23 print(a[0o2])
42 print(b[0o2])
/arkcompiler/ets_runtime/test/moduletest/storeicbyname/
Dstoreicbyname.js74 let o2 = new Object(-63); variable
75 if (o2) {
76 o["a"] = o2;
78 o2 = o["a"];
/arkcompiler/ets_runtime/test/aottest/pgo_storemiss/
Dpgo_storemiss.ts58 Object.defineProperty(o2,"d",{
66 var o2 = { variable
71 __proto__:o2,
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest_override1.ts17 class O2 { class
22 class O3 extends O2 {
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top+export/04_class_cases/02_class_declaration/
D04_class_expression_expected.txt22 s2(o2: number): number {
23 return o2 * 2 * this.q2;
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+top+export/04_class_cases/02_class_declaration/
D04_class_expression_expected.txt22 s2(o2: number): number {
23 return o2 * 2 * this.q2;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/
D15648_enum_is_assignable_to_object.sts34 let o2: object = c2;
35 assertTrue(checkInstanceOf(o2));
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/imports/
Dlib1.sts23 this.o2 = new Lib2Class2();
26 o2: Lib2Class2;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcfi.cpp31 #define CFI_DEFINE(k, sub, n, o0, o1, o2) {".cfi_" #k, n, {Operand::kOpd##o0, Operand::kOpd##o1, Op… argument
32 #define ARM_DIRECTIVES_DEFINE(k, sub, n, o0, o1, o2) \ argument
33 {"." #k, n, {Operand::kOpd##o0, Operand::kOpd##o1, Operand::kOpd##o2}},
Dcg_irbuilder.cpp39 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2) in BuildInsn() argument
42 return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2); in BuildInsn()
45 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3) in BuildInsn() argument
48 … return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3); in BuildInsn()
51 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, … in BuildInsn() argument
55 return nI.AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3).AddOpndChain(o4); in BuildInsn()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcg_irbuilder.h40 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2);
41 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3);
42 …Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, Operand &o4);
/arkcompiler/ets_runtime/test/aottest/object/object_assign/
Dobject_assign.ts22 const o2 = { b: 2 }; constant
25 const obj = Object.assign(o1, o2, o3);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top+export/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt47 import o2 from './export_default_15_object';
48 assert(o2 === 1);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt62 import o2 from './export_default_21_expression_02';
63 assert(o2 === 12);

12345