Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 90) sorted by relevance

1234

/arkcompiler/ets_frontend/es2panda/compiler/core/
DregScope.h38 void *operator new(size_t) = delete;
39 void *operator new[](size_t) = delete;
56 void *operator new(size_t) = delete;
57 void *operator new[](size_t) = delete;
70 void *operator new(size_t) = delete;
71 void *operator new[](size_t) = delete;
84 void *operator new(size_t) = delete;
85 void *operator new[](size_t) = delete;
/arkcompiler/ets_runtime/test/quickfix/class_mem_var/
Dexpect_output.txt18 print patch new :a
20 print patch new :undefined
23 print patch new :a
25 print patch new :a
34 print patch new :a
36 print patch new :a
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch721 +let qq2 = new cls();
724 new file mode 100644
742 new file mode 100644
773 + let qq1 = new C();
781 + let qq1 = new C();
796 +let qq1 = new C();
798 new file mode 100644
810 new file mode 100644
818 new file mode 100644
829 new file mode 100644
[all …]
/arkcompiler/ets_frontend/ts2panda/templates/
DbuiltinsMap.ts.erb53 … throw new Error("Intrinsic getSubCode subcode(" + ins.mnemonic + ") ir = " + ins.toString());
56 let codeImm = new ir.Imm(ir.ResultType.Int, code);
75 throw new Error("<%= i-2%> parameters must be Imm <" + ins.toString() + ">");
80 throw new Error("<%= i-2%> parameters must be VReg <" + ins.toString() + ">");
85 throw new Error("<%= i-2%> parameters must be string <" + ins.toString() + ">");
90 throw new Error("<%= i-2%> parameters must be string <" + ins.toString() + ">");
100 newNode = new ir.<%= insn2node(instr)%>(codeImm, imm, <ir.VReg[]>operands);
103 newNode = new ir.<%= insn2node(instr)%>(codeImm<%= parameters%>);
109 … throw new Error("Intrinsic can't found subcode(" + ins.mnemonic + ") ir = " + ins.toString());
Dirnodes.ts.erb120 % ops = Array.new
121 % ctor_args = Array.new
298 public debugPosInfo: DebugPosInfo = new DebugPosInfo();
486 this.operands[0] = new Imm(256);
490 this.operands[0] = new Imm(icSize);
494 this.operands[0] = new Imm(icSize);
497 this.operands[0] = new Imm(invalid);
506 this.operands[0] = new Imm(invalid);
509 this.operands[0] = new Imm(icSize);
513 this.operands[0] = new Imm(invalid);
/arkcompiler/runtime_core/libpandabase/utils/
Dsmall_vector.h243 new (&buffer_.data[i]) T(other.buffer_.data[i]); in SmallVector()
247 new (&vector_) VectorType(other.vector_); in SmallVector()
259 new (&buffer_.data[i]) T(std::move(other.buffer_.data[i])); in SmallVector()
263 new (&vector_) VectorType(std::move(other.vector_)); in SmallVector()
288 new (&buffer_.data[i]) T(other.buffer_.data[i]);
292 new (&vector_) VectorType(other.vector_);
308 new (&buffer_.data[i]) T(std::move(other.buffer_.data[i]));
312 new (&vector_) VectorType(std::move(other.vector_));
423 new (&buffer_.data[buffer_.size++]) T(value); in push_back()
434 new (&buffer_.data[buffer_.size++]) T(std::move(value)); in push_back()
[all …]
/arkcompiler/runtime_core/tests/cts-assembly/
Dobj-14.pa20 # String[] v6 = new String[5];
32 # String[] v1 = new String[1];
49 # String[] v1 = new String[1];
57 # v1 = new String[v0]
72 # v6 = new String[v0]
Darrays-06.pa40 # int *arr = new int[n];
50 # int *arr = new int[n];
62 # int *arr = new int[n];
74 # int *arr = new int[n];
Dobj-13.pa22 # Obj* newObj = new Obj();
30 # Obj* head = new Obj();
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/
Dcompare.py45 if not os.path.exists(args.new):
46 print("Input file (%s) does not exists." % args.new)
49 with open(args.old, 'r') as old_fp, open(args.new, 'r') as new_fp:
DREADME.md131 usage: Compare benchmark results [-h] --old JSON_FILE_PATH --new JSON_FILE_PATH --failed JSON_FILE_…
136 --new JSON_FILE_PATH Benchmark result to be compared with the reference
144 bytecode_optimizer/tests/benchmark/compare.py --old=reference.json --new=new.json --failed=error.js…
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgate_meta_data_builder.h139 return new (chunk_) JSBytecodeMetaData(valuesIn, opcode, pcOffset, flags); in JSBytecode()
144 return new (chunk_) TypedBinaryMetaData(value, binOp, type); in TypedBinaryOp()
149 return new (chunk_) TypedCallTargetCheckMetaData(numIns, value, checkOp); in TypedCallTargetCheckOp()
159 auto meta = new (chunk_) GateMetaData(other->opcode_, other->GetFlags(), in NewGateMetaData()
167 return new (chunk_) StringMetaData(chunk_, str); in ConstString()
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dnew-expression-expected.txt1 SyntaxError: Unexpected token [new-expression.js:17:8]
/arkcompiler/ets_frontend/es2panda/test/hotfix/hotfix-throwerror/add-two-anon-function/
Dexpected.txt14 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#2883375060…
15 [Patch] Found new anonymous, special(containing '.' or '\') or duplicate name function .#3272928923…
/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist-long.txt15 built-ins/Date/prototype/setFullYear/new-value-time-clip.js
16 built-ins/Date/prototype/setHours/new-value-time-clip.js
17 built-ins/Date/prototype/setMinutes/new-value-time-clip.js
18 built-ins/Date/prototype/setMonth/new-value-time-clip.js
19 built-ins/Date/prototype/setSeconds/new-value-time-clip.js
24 built-ins/TypedArray/prototype/map/return-new-typedarray-conversion-operation.js
/arkcompiler/ets_frontend/testTs/expect/parser/ecmascript5/RegressionTests/
Dparser645484.txt1 {'lb': [{'t': 2, 'v': 6}, {'t': 2, 'v': 1}, {'t': 5, 'v': 'new'}, {'t': 25, 'v': 0}], 'k': '_1'}
/arkcompiler/ets_runtime/ecmascript/mem/
Dchunk.h67 new (p) T(std::forward<Args>(args)...); in New()
102 void *operator new(size_t size, Chunk* chunk) in new() function
Dnative_area_allocator.h65 new (p) T(std::forward<Args>(args)...); // NOLINT(bugprone-throw-keyword-missing) in New()
137 return new (mem) Area(begin, capacity); in AllocateSpace()
Dcaddress_allocator.h90 ::new (static_cast<void *>(p)) U(std::forward<Args>(args)...); in construct()
120 new (p) S(std::forward<Args>(args)...); in New()
Dregion.h112 lock_ = new os::memory::Mutex(); in Region()
382 … freeObjectSets_ = Span<FreeObjectSet *>(new FreeObjectSet *[FreeObjectList::NumberOfSets()](), in InitializeFreeObjectSets()
398 freeObjectSets_[type] = new FreeObjectSet(type); in GetFreeObjectSet()
529 markGCBitset_ = new (ToVoidPtr(begin)) GCBitset(); in PackedData()
/arkcompiler/runtime_core/libpandabase/events/
Devents_gen.h.erb105 …auto event = new EventRecord(<%= event.name.camelize %>Event{<%= event.fields.map(&:name).join(', …
206 pevents = new events::EventsCsv(std::forward<Args>(args)...);
208 pevents = new events::EventsMemory;
210 pevents = new events::EventsLog;
219 pevents = new events::EventsCsv(std::forward<Args>(args)...);
221 pevents = new events::EventsMemory;
223 pevents = new events::EventsLog;
/arkcompiler/runtime_core/compiler/tests/
Dunit_test.h79 allocator_ = new ArenaAllocator(SpaceType::SPACE_TYPE_COMPILER); in CommonTest()
80 object_allocator_ = new ArenaAllocator(SpaceType::SPACE_TYPE_OBJECT); in CommonTest()
81 local_allocator_ = new ArenaAllocator(SpaceType::SPACE_TYPE_COMPILER); in CommonTest()
82 builder_ = new IrConstructor(); in CommonTest()
/arkcompiler/runtime_core/isa/
DChangeLog.md11 + Introduced new backward compatibility policy.
/arkcompiler/ets_frontend/test262/
DdynamicImport_tests.txt4 nested-block-no-new-call-expression.js
6 nested-async-gen-await-no-new-call-expression.js
12 nested-with-expression-no-new-call-expression.js
14 nested-async-arrow-function-await-no-new-call-expression.js
15 nested-else-braceless-no-new-call-expression.js
18 nested-async-function-return-await-no-new-call-expression.js
25 nested-else-no-new-call-expression.js
36 nested-arrow-no-new-call-expression.js
37 nested-with-no-new-call-expression.js
40 nested-async-function-no-new-call-expression.js
[all …]
/arkcompiler/ets_runtime/test/aottest/new/
DBUILD.gn16 host_aot_test_action("new") {

1234