Home
last modified time | relevance | path

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

1234

/third_party/node/deps/v8/src/wasm/
Dstruct-types.h93 buffer_(zone->NewArray<ValueType>(static_cast<int>(field_count))), in Builder()
94 mutabilities_(zone->NewArray<bool>(static_cast<int>(field_count))) {} in Builder()
104 uint32_t* offsets = zone_->NewArray<uint32_t>(field_count_); in Build()
Dlocal-decl-encoder.cc21 byte* buffer = zone->NewArray<byte, LocalDeclEncoderBuffer>(Size() + size); in Prepend()
/third_party/node/deps/v8/src/utils/
Dallocation.h42 T* NewArray(size_t size) { in NewArray() function
54 T* NewArray(size_t size, T default_val) { in NewArray() function
55 T* result = reinterpret_cast<T*>(NewArray<uint8_t>(sizeof(T) * size)); in NewArray()
84 V8_INLINE T* NewArray(size_t length) { in NewArray() function
Dbit-vector.h104 data_.ptr_ = zone->NewArray<uintptr_t>(data_length_); in BitVector()
115 data_.ptr_ = zone->NewArray<uintptr_t>(data_length_); in BitVector()
153 data_.ptr_ = zone->NewArray<uintptr_t>(new_data_length); in Resize()
Dutils.cc94 result = NewArray<char>(len + 1); in ReadLine()
98 char* new_result = NewArray<char>(new_len); in ReadLine()
/third_party/node/deps/v8/src/zone/
Dzone.h118 T* NewArray(size_t length) { in NewArray() function
297 V8_INLINE T* NewArray(size_t length) { in NewArray() function
298 return zone()->NewArray<T, TypeTag>(length); in NewArray()
Dzone-utils.h22 T* data = zone->NewArray<T>(length); in CloneVector()
Dzone-allocator.h60 T* allocate(size_t length) { return zone_->NewArray<T>(length); } in allocate()
/third_party/node/deps/v8/src/codegen/
Dinterface-descriptors.cc54 NewArray<MachineType>(types_length, MachineType::AnyTagged()); in InitializeTypes()
57 machine_types_ = NewArray<MachineType>(types_length); in InitializeTypes()
/third_party/node/deps/v8/src/compiler/
Dvalue-numbering-reducer.cc36 entries_ = temp_zone()->NewArray<Node*>(kInitialCapacity); in Reduce()
156 entries_ = temp_zone()->NewArray<Node*>(capacity_); in Grow()
Dloop-unrolling.cc104 Node** merge_inputs = tmp_zone->NewArray<Node*>(iteration_count); in UnrollLoop()
127 tmp_zone->NewArray<Node*>(iteration_count + 1); in UnrollLoop()
/third_party/node/deps/v8/src/profiler/
Dstrings-storage.cc91 auto str_result = NewArray<char>(str_length); in GetSymbol()
123 char* cons_result = NewArray<char>(cons_length); in GetConsName()
/third_party/node/deps/v8/src/snapshot/
Dsnapshot-data.cc15 data_ = NewArray<byte>(size); in AllocateData()
/third_party/node/deps/v8/src/strings/
Dstring-stream.cc22 space_ = NewArray<char>(bytes); in allocate()
225 char* str = NewArray<char>(length_ + 1); in ToCString()
460 char* new_space = NewArray<char>(new_bytes); in grow()
/third_party/skia/third_party/externals/icu/source/common/unicode/
Duobject.h120 static void * NewArray(int size, int count);
/third_party/icu/icu4c/source/common/unicode/
Duobject.h120 static void * NewArray(int size, int count);
/third_party/node/deps/icu-small/source/common/unicode/
Duobject.h120 static void * NewArray(int size, int count);
/third_party/node/deps/v8/src/compiler-dispatcher/
Doptimizing-compile-dispatcher.h35 input_queue_ = NewArray<TurbofanCompilationJob*>(input_queue_capacity_); in OptimizingCompileDispatcher()
/third_party/node/deps/v8/src/maglev/
Dmaglev-interpreter-frame-state.h80 info.zone()->NewArray<ValueNode*>(SizeFor(info, liveness))), in CompactInterpreterFrameState()
253 predecessors_(info.zone()->NewArray<BasicBlock*>(predecessor_count)), in MergePointInterpreterFrameState()
264 predecessors_(info.zone()->NewArray<BasicBlock*>(predecessor_count)), in MergePointInterpreterFrameState()
Dmaglev-register-frame-array.h33 info.zone()->NewArray<T>(last_local.index() - last_param.index() + 1); in RegisterFrameArray()
/third_party/node/deps/v8/src/regexp/
Dregexp-stack.cc77 byte* new_memory = NewArray<byte>(size); in EnsureCapacity()
/third_party/node/deps/v8/src/handles/
Dlocal-handles.cc81 Address* block = NewArray<Address>(kHandleBlockSize); in AddBlock()
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental.cc233 output_registers = NewArray<int32_t>(output_register_count); in Exec()
298 output_registers = NewArray<int32_t>(output_register_count); in OneshotExec()
/third_party/node/deps/v8/src/base/
Dhashmap.h25 V8_INLINE T* NewArray(size_t length) { in NewArray() function
200 impl_.map_ = impl_.allocator().template NewArray<Entry>(capacity()); in TemplateHashMapImpl()
401 impl_.map_ = impl_.allocator().template NewArray<Entry>(capacity); in Initialize()
/third_party/node/deps/v8/src/compiler/backend/
Dspill-placer.cc215 zone_->NewArray<Entry>(data()->code()->instruction_blocks().size()); in GetOrCreateIndexForLatestVreg()
219 vreg_numbers_ = zone_->NewArray<int>(kValueIndicesPerEntry); in GetOrCreateIndexForLatestVreg()

1234