Home
last modified time | relevance | path

Searched refs:INITIAL_CAPACITY (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/serializer/
Dserialize_data.h24 constexpr size_t INITIAL_CAPACITY = 64; variable
127 if (bytes < INITIAL_CAPACITY) { in AllocateBuffer()
128 buffer_ = reinterpret_cast<uint8_t *>(malloc(INITIAL_CAPACITY)); in AllocateBuffer()
130 bufferCapacity_ = INITIAL_CAPACITY; in AllocateBuffer()
/arkcompiler/ets_runtime/ecmascript/
Djs_serializer.cpp45 constexpr size_t INITIAL_CAPACITY = 64; variable
189 if (bytes < INITIAL_CAPACITY) { in AllocateBuffer()
190 buffer_ = reinterpret_cast<uint8_t *>(malloc(INITIAL_CAPACITY)); in AllocateBuffer()
192 bufferCapacity_ = INITIAL_CAPACITY; in AllocateBuffer()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.h68 static constexpr int INITIAL_CAPACITY = ELEMENTS_LENGTH + 1; variable
Dts_manager.cpp34 JSHandle<TSModuleTable> mTable = factory_->NewTSModuleTable(TSModuleTable::INITIAL_CAPACITY); in TSManager()