Home
last modified time | relevance | path

Searched refs:o2 (Results 1 – 25 of 49) sorted by relevance

12

/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
Ddebug_info_test.js17 function func1(o1, o2) { argument
18 console.log(o1 + o2);
23 let func3 = (o1, o2, o3, o4, o5) => { }; argument
25 function foo(o1, o2) { argument
31 } else if (o2.x < a + b) {
32 c = o2.x;
Ddefine_info_test.js22 function func2(o1, o2) { argument
45 func9(o1, o2, o3) { } argument
59 func15(o1, o2) { } argument
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DRuntime.ets35 * @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)) {
49 return o1!.equals(o2!);
57 * @param o2 second object to compare
61 public native isSameReference(o1: NullishType, o2: NullishType): boolean;
66 export function __runtimeEquals(o1: NullishType, o2: NullishType): boolean {
67 return runtime.equals(o1, o2)
[all …]
/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_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Dcfi.cpp34 #define CFI_DEFINE(k, sub, n, o0, o1, o2) {".cfi_" #k, n, {Operand::kOpd##o0, Operand::kOpd##o1, Op… argument
35 #define ARM_DIRECTIVES_DEFINE(k, sub, n, o0, o1, o2) \ argument
36 {"." #k, n, {Operand::kOpd##o0, Operand::kOpd##o1, Operand::kOpd##o2}},
Dcg_irbuilder.cpp41 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2) in BuildInsn() argument
44 return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2); in BuildInsn()
47 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3) in BuildInsn() argument
50 … return BuildInsn(opCode, tMd).AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3); in BuildInsn()
53 Insn &InsnBuilder::BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, … in BuildInsn() argument
57 return nI.AddOpndChain(o0).AddOpndChain(o1).AddOpndChain(o2).AddOpndChain(o3).AddOpndChain(o4); in BuildInsn()
Ddbg.cpp34 #define DBG_DEFINE(k, sub, n, o0, o1, o2) {#k, n, {Operand::kOpd##o0, Operand::kOpd##o1, Operand::k… argument
/arkcompiler/ets_runtime/test/moduletest/objectkeys/
Dobjectkeys.js73 let o2 = {1024: 1024}; variable
76 print(Object.keys(o2));
/arkcompiler/ets_runtime/test/moduletest/arraysort/
Darraysort.js233 const o2 = { variable
237 o2.sort();
238 print(o2[0]);
239 print(o2[1]);
240 print(o2[2]);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
Dx64_cgfunc.h189 …RegOperand *SelectVectorAddLong(PrimType rTy, Operand *o1, Operand *o2, PrimType oty, bool isLow) …
190 …RegOperand *SelectVectorAddWiden(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, bool isLo…
192 …RegOperand *SelectVectorBinOp(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, PrimType o…
194 …RegOperand *SelectVectorBitwiseOp(PrimType rType, Operand *o1, PrimType oty1, Operand *o2, PrimTyp…
197 … RegOperand *SelectVectorCompareZero(Operand *o1, PrimType oty1, Operand *o2, Opcode opc) override;
198 …RegOperand *SelectVectorCompare(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, Opcode opc…
202 …RegOperand *SelectVectorAbsSubL(PrimType rType, Operand *o1, Operand *o2, PrimType oTy, bool isLow…
203 …RegOperand *SelectVectorMadd(Operand *o1, PrimType oTyp1, Operand *o2, PrimType oTyp2, Operand *o3,
205 RegOperand *SelectVectorMerge(PrimType rTyp, Operand *o1, Operand *o2, int32 iNum) override;
206 …RegOperand *SelectVectorMull(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, PrimType oT…
[all …]
/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_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Dcg_irbuilder.h39 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2);
40 Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3);
41 …Insn &BuildInsn(MOperator opCode, Operand &o0, Operand &o1, Operand &o2, Operand &o3, Operand &o4);
Ddbg.h31 #define DBG_DEFINE(k, sub, n, o0, o1, o2) OP_DBG_##k##sub, argument
32 #define ARM_DIRECTIVES_DEFINE(k, sub, n, o0, o1, o2) OP_ARM_DIRECTIVES_##k##sub, argument
Dcgfunc.h369 …virtual RegOperand *SelectVectorAddLong(PrimType rTy, Operand *o1, Operand *o2, PrimType oty, bool…
370 …virtual RegOperand *SelectVectorAddWiden(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, b…
372 …virtual RegOperand *SelectVectorBinOp(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, Pr…
374 …rand *SelectVectorBitwiseOp(PrimType rType, Operand *o1, PrimType oty1, Operand *o2, PrimType oty2,
377 …virtual RegOperand *SelectVectorCompareZero(Operand *o1, PrimType oty1, Operand *o2, Opcode opc) =…
378 …virtual RegOperand *SelectVectorCompare(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, Op…
382 …virtual RegOperand *SelectVectorAbsSubL(PrimType rType, Operand *o1, Operand *o2, PrimType oTy, bo…
383 …virtual RegOperand *SelectVectorMadd(Operand *o1, PrimType oTyp1, Operand *o2, PrimType oTyp2, Ope…
385 virtual RegOperand *SelectVectorMerge(PrimType rTyp, Operand *o1, Operand *o2, int32 iNum) = 0;
386 …virtual RegOperand *SelectVectorMull(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, Pri…
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/
Dname_as_export_api_1_expected.txt32 class o2 {
36 export { m2, n2, o2 as t2, q2 };
/arkcompiler/ets_runtime/test/moduletest/jsonstringifier/
Djsonstringifier.js60 let o2 = {
68 print(JSON.stringify(o2))
/arkcompiler/runtime_core/static_core/runtime/mem/gc/g1/
Dref_updater.h44 bool IsSameRegion(ObjectHeader *o1, ObjectHeader *o2) const in IsSameRegion() argument
46 return panda::mem::IsSameRegion(o1, o2, regionSizeBits_); in IsSameRegion()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
Daarch64_proepilog.cpp879 …Operand *o2 = &aarchCGFunc.CreateStkTopOpnd(static_cast<uint32>(offset), GetPointerSize() * kBitsP… in AppendInstructionPushPair() local
884o2 = SplitStpLdpOffsetForCalleeSavedWithAddInstruction(cgFunc, *static_cast<MemOperand *>(o2), dat… in AppendInstructionPushPair()
886 Insn &pushInsn = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, o1, *o2); in AppendInstructionPushPair()
949 …MemOperand *o2 = aarchCGFunc.CreateStackMemOpnd(RSP, static_cast<int32>(fpToSpDistance), size * kB… in AppendInstructionForAllocateOrDeallocateCallFrame() local
950 Insn &insn1 = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, *o2); in AppendInstructionForAllocateOrDeallocateCallFrame()
953o2 = aarchCGFunc.CreateStackMemOpnd(RSP, static_cast<int32>(fpToSpDistance + size), size * kBitsPe… in AppendInstructionForAllocateOrDeallocateCallFrame()
954 Insn &insn2 = cgFunc.GetInsnBuilder()->BuildInsn(mOp, o1, *o2); in AppendInstructionForAllocateOrDeallocateCallFrame()
988 Operand *o2 = in CreateAndAppendInstructionForAllocateCallFrame() local
990 allocInsn = &cgFunc.GetInsnBuilder()->BuildInsn(mOp, o0, o1, *o2); in CreateAndAppendInstructionForAllocateCallFrame()
1050 MemOperand &o2 = in AppendInstructionAllocateCallFrame() local
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_cgfunc.cpp702 RegOperand *X64CGFunc::SelectVectorAddLong(PrimType rTy, Operand *o1, Operand *o2, PrimType oty, bo… in SelectVectorAddLong() argument
707 RegOperand *X64CGFunc::SelectVectorAddWiden(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2,… in SelectVectorAddWiden() argument
717 RegOperand *X64CGFunc::SelectVectorBinOp(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, … in SelectVectorBinOp() argument
723 …Func::SelectVectorBitwiseOp(PrimType rType, Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, in SelectVectorBitwiseOp() argument
729 RegOperand *X64CGFunc::SelectVectorCompareZero(Operand *o1, PrimType oty1, Operand *o2, Opcode opc) in SelectVectorCompareZero() argument
734 RegOperand *X64CGFunc::SelectVectorCompare(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, … in SelectVectorCompare() argument
754 RegOperand *X64CGFunc::SelectVectorAbsSubL(PrimType rType, Operand *o1, Operand *o2, PrimType oTy, … in SelectVectorAbsSubL() argument
759 RegOperand *X64CGFunc::SelectVectorMadd(Operand *o1, PrimType oTyp1, Operand *o2, PrimType oTyp2, O… in SelectVectorMadd() argument
765 RegOperand *X64CGFunc::SelectVectorMerge(PrimType rTyp, Operand *o1, Operand *o2, int32 iNum) in SelectVectorMerge() argument
770 RegOperand *X64CGFunc::SelectVectorMull(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, P… in SelectVectorMull() argument
[all …]
/arkcompiler/ets_runtime/test/perform/object/
Dobject.ts60 let o2 = { b: 2 };
65 res = Object.assign(o1, o2, o3);
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule38.ts22 let o2: C1 = {n: 42, s: "foo"} variable
/arkcompiler/ets_frontend/ets2panda/linter-4.2/test_rules/
Drule38.ts22 let o2: C1 = {n: 42, s: "foo"} variable
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
Daarch64_cgfunc.h220 … void SelectBxorShift(Operand &resOpnd, Operand *o0, Operand *o1, Operand &o2, PrimType primType);
319 …RegOperand *SelectVectorAddLong(PrimType rTy, Operand *o1, Operand *o2, PrimType oty, bool isLow) …
320 …RegOperand *SelectVectorAddWiden(Operand *o1, PrimType otyp1, Operand *o2, PrimType otyp2, bool is…
322 …RegOperand *SelectVectorBinOp(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, PrimType o…
326 …RegOperand *SelectVectorCompare(Operand *o1, PrimType oty1, Operand *o2, PrimType oty2, Opcode opc…
327 … RegOperand *SelectVectorCompareZero(Operand *o1, PrimType oty1, Operand *o2, Opcode opc) override;
334 …RegOperand *SelectVectorAbsSubL(PrimType rType, Operand *o1, Operand *o2, PrimType oTy, bool isLow…
335 …RegOperand *SelectVectorMadd(Operand *o1, PrimType oTyp1, Operand *o2, PrimType oTyp2, Operand *o3,
337 RegOperand *SelectVectorMerge(PrimType rTyp, Operand *o1, Operand *o2, int32 iNum) override;
338 …RegOperand *SelectVectorMull(PrimType rType, Operand *o1, PrimType oTyp1, Operand *o2, PrimType oT…
[all …]

12