/third_party/node/deps/v8/src/objects/ |
H A D | backing-store.h | 35 // The {BackingStore} data structure stores all the low-level details about the 43 class V8_EXPORT_PRIVATE BackingStore : public BackingStoreBase { class 45 ~BackingStore(); 49 static std::unique_ptr<BackingStore> Allocate(Isolate* isolate, 56 static std::unique_ptr<BackingStore> AllocateWasmMemory(Isolate* isolate, 63 static std::unique_ptr<BackingStore> TryAllocateAndPartiallyCommitMemory( 73 static std::unique_ptr<BackingStore> WrapAllocation(Isolate* isolate, 79 static std::unique_ptr<BackingStore> WrapAllocation( 81 v8::BackingStore::DeleterCallback deleter, void* deleter_data, 85 static std::unique_ptr<BackingStore> EmptyBackingStor [all...] |
H A D | backing-store.cc | 160 void BackingStore::Clear() { in Clear() 172 BackingStore::BackingStore(void* buffer_start, size_t byte_length, in BackingStore() function in v8::internal::BackingStore 202 BackingStore::~BackingStore() { in ~BackingStore() 286 std::unique_ptr<BackingStore> BackingStore::Allocate( in Allocate() 329 auto result = new BackingStore(buffer_start, // start in Allocate() 344 return std::unique_ptr<BackingStore>(result); in Allocate() 347 void BackingStore [all...] |
H A D | js-array-buffer.h | 80 // An ArrayBuffer is empty if its BackingStore is empty or if there is none. 91 std::shared_ptr<BackingStore> backing_store); 95 V8_EXPORT_PRIVATE void Attach(std::shared_ptr<BackingStore> backing_store); 111 inline std::shared_ptr<BackingStore> GetBackingStore() const; 127 std::shared_ptr<BackingStore> RemoveExtension(); 178 ArrayBufferExtension() : backing_store_(std::shared_ptr<BackingStore>()) {} in ArrayBufferExtension() 179 explicit ArrayBufferExtension(std::shared_ptr<BackingStore> 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() 208 std::shared_ptr<BackingStore> RemoveBackingStor [all...] |
H A D | js-array-buffer.cc | 48 std::shared_ptr<BackingStore> backing_store) { in Setup() 71 void JSArrayBuffer::Attach(std::shared_ptr<BackingStore> backing_store) { in Attach() 89 // GSABs need to read their byte_length from the BackingStore. Maintain the in Attach() 122 std::shared_ptr<BackingStore> backing_store = RemoveExtension(); in Detach() 184 extension = new ArrayBufferExtension(std::shared_ptr<BackingStore>()); in EnsureExtension() 189 std::shared_ptr<BackingStore> JSArrayBuffer::RemoveExtension() { in RemoveExtension() 238 BackingStore::Allocate(isolate, byte_length, SharedFlag::kNotShared, in GetBuffer()
|
/third_party/node/deps/v8/include/ |
H A D | v8-array-buffer.h | 40 class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase { class 42 ~BackingStore(); 65 * internal BackingStore object. 74 static std::unique_ptr<BackingStore> Reallocate( 75 v8::Isolate* isolate, std::unique_ptr<BackingStore> backing_store, 79 * This callback is used only if the memory block for a BackingStore cannot be 81 * the BackingStore invokes the callback to free the memory block. 87 * If the memory block of a BackingStore is static or is managed manually, 102 BackingStore(); 106 // Use v8::BackingStore [all...] |
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-array-buffer.h | 40 class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase { class 42 ~BackingStore(); 81 * internal BackingStore object. 90 static std::unique_ptr<BackingStore> Reallocate( 91 v8::Isolate* isolate, std::unique_ptr<BackingStore> backing_store, 95 * This callback is used only if the memory block for a BackingStore cannot be 97 * the BackingStore invokes the callback to free the memory block. 103 * If the memory block of a BackingStore is static or is managed manually, 118 BackingStore(); 122 // Use v8::BackingStore [all...] |
/third_party/node/src/quic/ |
H A D | data.h | 30 Store(std::shared_ptr<v8::BackingStore> store, 33 Store(std::unique_ptr<v8::BackingStore> store, 60 std::shared_ptr<v8::BackingStore> store_;
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-arraybuffer.cc | 53 // Ensure that all fields are initialized because BackingStore::Allocate is in ConstructBuffer() 55 // after BackingStore::Allocate because of the spec. in ConstructBuffer() 67 std::unique_ptr<BackingStore> backing_store; in ConstructBuffer() 70 BackingStore::Allocate(isolate, byte_length, shared, initialized); in ConstructBuffer() 91 backing_store = BackingStore::TryAllocateAndPartiallyCommitMemory( in ConstructBuffer() 431 BackingStore::ResizeOrGrowResult::kSuccess) { in ResizeHelper() 443 if (result == BackingStore::ResizeOrGrowResult::kFailure) { in ResizeHelper() 449 if (result == BackingStore::ResizeOrGrowResult::kRace) { in ResizeHelper() 457 // BackingStore). in ResizeHelper()
|
/third_party/node/deps/v8/src/execution/ |
H A D | futex-emulation.h | 38 class BackingStore; 64 FutexWaitListNode(const std::shared_ptr<BackingStore>& backing_store, 103 std::weak_ptr<BackingStore> backing_store_; 109 // necessarily reconstruct it, because the BackingStore might get deleted
|
H A D | futex-emulation.cc | 36 static int8_t* ToWaitLocation(const BackingStore* backing_store, in ToWaitLocation() 386 std::shared_ptr<BackingStore> backing_store = in WaitSync() 509 const std::shared_ptr<BackingStore>& backing_store, size_t wait_addr, in FutexWaitListNode() 549 std::shared_ptr<BackingStore> backing_store = in WaitAsync() 659 std::shared_ptr<BackingStore> backing_store = array_buffer->GetBackingStore(); in Wake() 672 std::shared_ptr<BackingStore> node_backing_store = in Wake() 680 // against the case where the BackingStore of the node has been deleted and in Wake() 681 // a new BackingStore recreated in the same memory area. in Wake() 710 // a new BackingStore has been created in the same memory area where the in Wake() 711 // deleted BackingStore wa in Wake() [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_sig.cc | 15 using v8::BackingStore; 75 std::unique_ptr<BackingStore> Node_SignFinal(Environment* env, in ValidateDSAParameters() 89 std::unique_ptr<BackingStore> sig; in ValidateDSAParameters() 105 sig = BackingStore::Reallocate(env->isolate(), std::move(sig), sig_len); in ValidateDSAParameters() 151 std::unique_ptr<BackingStore> ConvertSignatureToP1363(Environment* env, in ValidateDSAParameters() 152 const ManagedEVPPKey& pkey, std::unique_ptr<BackingStore>&& signature) { in ValidateDSAParameters() 157 std::unique_ptr<BackingStore> buf; in ValidateDSAParameters() 401 std::unique_ptr<BackingStore> buffer = in SignFinal()
|
H A D | crypto_cipher.cc | 16 using v8::BackingStore; 792 std::unique_ptr<BackingStore>* out) { in Init() 838 *out = BackingStore::Reallocate(env()->isolate(), std::move(*out), buf_len); in Init() 853 std::unique_ptr<BackingStore> out; in Init() 890 bool CipherBase::Final(std::unique_ptr<BackingStore>* out) { in Init() 928 BackingStore::Reallocate(env()->isolate(), std::move(*out), out_len); in Init() 960 std::unique_ptr<BackingStore> out; in Init() 989 std::unique_ptr<BackingStore>* out) { in Init() 1031 *out = BackingStore::Reallocate(env->isolate(), std::move(*out), out_len); in Init() 1098 std::unique_ptr<BackingStore> ou in Init() [all...] |
H A D | crypto_cipher.h | 64 std::unique_ptr<v8::BackingStore>* out); 65 bool Final(std::unique_ptr<v8::BackingStore>* out); 118 std::unique_ptr<v8::BackingStore>* out);
|
H A D | crypto_sig.h | 55 std::unique_ptr<v8::BackingStore> signature; 59 std::unique_ptr<v8::BackingStore>&& sig = nullptr) in SignResult()
|
H A D | crypto_util.cc | 25 using v8::BackingStore; 352 std::unique_ptr<BackingStore> ByteSource::ReleaseToBackingStore() { in SetFipsCrypto() 356 std::unique_ptr<BackingStore> ptr = ArrayBuffer::NewBackingStore( in SetFipsCrypto() 370 std::unique_ptr<BackingStore> store = ReleaseToBackingStore(); in SetFipsCrypto() 718 std::shared_ptr<BackingStore> store = in SetFipsCrypto()
|
/third_party/node/src/ |
H A D | memory_tracker.h | 16 class BackingStore; 226 const v8::BackingStore* value,
|
H A D | node_blob.h | 22 std::shared_ptr<v8::BackingStore> store; 138 std::shared_ptr<v8::BackingStore> destination_;
|
H A D | aliased_struct.h | 54 std::shared_ptr<v8::BackingStore> store_;
|
H A D | stream_base.cc | 21 using v8::BackingStore; 244 std::unique_ptr<BackingStore> bs; in Writev() 397 std::unique_ptr<BackingStore> bs; in WriteString() 656 std::unique_ptr<BackingStore> bs = env->release_managed_buffer(buf_); in OnStreamRead() 665 bs = BackingStore::Reallocate(isolate, std::move(bs), nread); in OnStreamRead()
|
H A D | node_buffer.cc | 56 using v8::BackingStore; 120 std::unique_ptr<BackingStore> bs = in CreateTrackedArrayBuffer() 126 // V8 simply ignores the BackingStore deleter callback if data == nullptr, in CreateTrackedArrayBuffer() 166 // BackingStore deleter callback will do so later. in CleanupHook() 307 std::unique_ptr<BackingStore> store; in New() 327 store = BackingStore::Reallocate(isolate, std::move(store), actual); in New() 367 std::unique_ptr<BackingStore> bs = in New() 410 std::unique_ptr<BackingStore> bs = in Copy() 511 std::unique_ptr<BackingStore> bs = in New() 1175 std::unique_ptr<BackingStore> b in EncodeUtf8String() [all...] |
H A D | node_messaging.h | 84 void AddSharedArrayBuffer(std::shared_ptr<v8::BackingStore> backing_store); 113 std::vector<std::shared_ptr<v8::BackingStore>> array_buffers_; 114 std::vector<std::shared_ptr<v8::BackingStore>> shared_array_buffers_;
|
H A D | stream_pipe.cc | 8 using v8::BackingStore; 118 std::unique_ptr<BackingStore> bs = pipe->env()->release_managed_buffer(buf_); in OnStreamRead() 142 std::unique_ptr<BackingStore> bs) { in ProcessData()
|
H A D | stream_pipe.h | 49 void ProcessData(size_t nread, std::unique_ptr<v8::BackingStore> bs);
|
/third_party/node/benchmark/napi/function_args/ |
H A D | binding.cc | 8 using v8::BackingStore; 107 std::shared_ptr<BackingStore> bs = buffer->GetBackingStore(); in CallWithTypedarray()
|
/third_party/node/deps/v8/src/d8/ |
H A D | d8.h | 30 class BackingStore; 145 const std::vector<std::shared_ptr<v8::BackingStore>>& backing_stores() { in backing_stores() 148 const std::vector<std::shared_ptr<v8::BackingStore>>& sab_backing_stores() { in sab_backing_stores() 167 std::vector<std::shared_ptr<v8::BackingStore>> backing_stores_; 168 std::vector<std::shared_ptr<v8::BackingStore>> sab_backing_stores_;
|