Home
last modified time | relevance | path

Searched refs:backing_store_ (Results 1 – 9 of 9) sorted by relevance

/third_party/node/deps/v8/src/parsing/
Dliteral-buffer.cc34 int min_capacity = std::max({kInitialCapacity, backing_store_.length()}); in ExpandBuffer()
38 MemCopy(new_store.begin(), backing_store_.begin(), position_); in ExpandBuffer()
40 backing_store_.Dispose(); in ExpandBuffer()
41 backing_store_ = new_store; in ExpandBuffer()
48 if (new_content_size >= backing_store_.length()) { in ConvertToTwoByte()
53 new_store = backing_store_; in ConvertToTwoByte()
55 uint8_t* src = backing_store_.begin(); in ConvertToTwoByte()
60 if (new_store.begin() != backing_store_.begin()) { in ConvertToTwoByte()
61 backing_store_.Dispose(); in ConvertToTwoByte()
62 backing_store_ = new_store; in ConvertToTwoByte()
[all …]
Dliteral-buffer.h18 LiteralBuffer() : backing_store_(), position_(0), is_one_byte_(true) {} in LiteralBuffer()
20 ~LiteralBuffer() { backing_store_.Dispose(); } in ~LiteralBuffer()
45 (memcmp(keyword.begin(), backing_store_.begin(), position_) == 0); in Equals()
61 reinterpret_cast<const Char*>(backing_store_.begin()), in literal()
90 if (position_ >= backing_store_.length()) ExpandBuffer(); in AddOneByteChar()
91 backing_store_[position_] = one_byte_char; in AddOneByteChar()
100 base::Vector<byte> backing_store_; variable
/third_party/node/deps/v8/src/objects/
Djs-array-buffer.h178 ArrayBufferExtension() : backing_store_(std::shared_ptr<BackingStore>()) {} in ArrayBufferExtension()
180 : backing_store_(backing_store) {} in ArrayBufferExtension()
193 std::shared_ptr<BackingStore> backing_store() { return backing_store_; } in backing_store()
194 BackingStore* backing_store_raw() { return backing_store_.get(); } in backing_store_raw()
209 return std::move(backing_store_); in RemoveBackingStore()
213 backing_store_ = std::move(backing_store); in set_backing_store()
216 void reset_backing_store() { backing_store_.reset(); } in reset_backing_store()
226 std::shared_ptr<BackingStore> backing_store_; variable
/third_party/node/src/
Dstream_base-inl.h158 CHECK(!backing_store_); in SetBackingStore()
159 backing_store_ = std::move(bs); in SetBackingStore()
Dnode_process.h88 std::shared_ptr<v8::BackingStore> backing_store_; variable
Dnode_process_methods.cc470 backing_store_ = ab->GetBackingStore(); in BindingData()
516 uint32_t* fields = static_cast<uint32_t*>(receiver->backing_store_->Data()); in NumberImpl()
526 uint64_t* fields = static_cast<uint64_t*>(receiver->backing_store_->Data()); in BigIntImpl()
Dstream_base.h109 std::unique_ptr<v8::BackingStore> backing_store_;
/third_party/node/deps/v8/src/execution/
Dfutex-emulation.cc390 node->backing_store_ = backing_store; in WaitSync()
512 backing_store_(backing_store), in FutexWaitListNode()
673 node->backing_store_.lock(); in Wake()
934 node->backing_store_.lock(); in NumWaitersForTesting()
975 node->backing_store_.lock(); in NumUnresolvedAsyncPromisesForTesting()
Dfutex-emulation.h103 std::weak_ptr<BackingStore> backing_store_; variable