Home
last modified time | relevance | path

Searched refs:BackingStore (Results 1 – 25 of 64) sorted by relevance

123

/third_party/node/deps/v8/src/objects/
Dbacking-store.h43 class V8_EXPORT_PRIVATE BackingStore : public BackingStoreBase {
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> EmptyBackingStore(SharedFlag shared);
124 std::unique_ptr<BackingStore> CopyWasmMemory(Isolate* isolate,
[all …]
Dbacking-store.cc160 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::SetAllocatorFromIsolate(Isolate* isolate) { in SetAllocatorFromIsolate()
362 std::unique_ptr<BackingStore> BackingStore::TryAllocateWasmMemory( in TryAllocateWasmMemory()
382 std::unique_ptr<BackingStore> BackingStore::TryAllocateAndPartiallyCommitMemory( in TryAllocateAndPartiallyCommitMemory()
492 auto result = new BackingStore(buffer_start, // start in TryAllocateAndPartiallyCommitMemory()
[all …]
Djs-array-buffer.h91 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> RemoveBackingStore() { in RemoveBackingStore()
212 void set_backing_store(std::shared_ptr<BackingStore> backing_store) { in set_backing_store()
[all …]
Djs-array-buffer.cc48 std::shared_ptr<BackingStore> backing_store) { in Setup()
71 void JSArrayBuffer::Attach(std::shared_ptr<BackingStore> backing_store) { 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()
Delements.cc162 using BackingStore = FixedArrayBase; typedef in v8::internal::__anon03ee373d0111::ElementsKindTraits
170 using BackingStore = Store; \
573 using BackingStore = typename ElementsTraitsParam::BackingStore; typedef in v8::internal::__anon03ee373d0111::ElementsAccessorBase
646 return handle(BackingStore::cast(backing_store).get(entry.as_int()), in GetImpl()
760 BackingStore::cast(*backing_store) in SetLengthImpl()
765 BackingStore::cast(*backing_store).FillWithHoles(length, old_length); in SetLengthImpl()
1349 !BackingStore::cast(backing_store) in GetEntryForIndexImpl()
1896 using BackingStore = typename KindTraits::BackingStore; typedef in v8::internal::__anon03ee373d0111::FastElementsAccessor
1919 if (BackingStore::cast(*store).is_the_hole(isolate, i)) continue; in NormalizeImpl()
1937 Handle<BackingStore> backing_store, uint32_t entry) { in DeleteAtEnd()
[all …]
/third_party/node/deps/v8/include/
Dv8-array-buffer.h40 class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase {
42 ~BackingStore();
74 static std::unique_ptr<BackingStore> Reallocate(
75 v8::Isolate* isolate, std::unique_ptr<BackingStore> backing_store,
102 BackingStore();
213 std::shared_ptr<BackingStore> backing_store);
224 static std::unique_ptr<BackingStore> NewBackingStore(Isolate* isolate,
234 static std::unique_ptr<BackingStore> NewBackingStore(
235 void* data, size_t byte_length, v8::BackingStore::DeleterCallback deleter,
265 std::shared_ptr<BackingStore> GetBackingStore();
[all …]
/third_party/node/deps/v8/src/builtins/
Dbuiltins-arraybuffer.cc67 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()
/third_party/node/src/quic/
Ddata.h30 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/execution/
Dfutex-emulation.cc36 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()
920 std::shared_ptr<BackingStore> backing_store = array_buffer->GetBackingStore(); in NumWaitersForTesting()
933 std::shared_ptr<BackingStore> node_backing_store = in NumWaitersForTesting()
965 std::shared_ptr<BackingStore> backing_store = array_buffer->GetBackingStore(); in NumUnresolvedAsyncPromisesForTesting()
974 std::shared_ptr<BackingStore> node_backing_store = in NumUnresolvedAsyncPromisesForTesting()
Dfutex-emulation.h38 class BackingStore; variable
64 FutexWaitListNode(const std::shared_ptr<BackingStore>& backing_store,
103 std::weak_ptr<BackingStore> backing_store_;
/third_party/node/src/crypto/
Dcrypto_cipher.cc16 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> out; in Init()
Dcrypto_sig.cc15 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()
Dcrypto_cipher.h64 std::unique_ptr<v8::BackingStore>* out);
65 bool Final(std::unique_ptr<v8::BackingStore>* out);
118 std::unique_ptr<v8::BackingStore>* out);
Dcrypto_sig.h55 std::unique_ptr<v8::BackingStore> signature;
59 std::unique_ptr<v8::BackingStore>&& sig = nullptr)
Dcrypto_util.cc25 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()
Dcrypto_random.cc15 using v8::BackingStore;
76 std::shared_ptr<BackingStore> store = in EncodeOutput()
/third_party/node/src/
Dnode_buffer.cc56 using v8::BackingStore;
120 std::unique_ptr<BackingStore> bs = in CreateTrackedArrayBuffer()
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> bs = in EncodeUtf8String()
1277 std::unique_ptr<BackingStore> backing = in GetZeroFillToggle()
1298 std::shared_ptr<BackingStore> store = buf->GetBackingStore(); in DetachArrayBuffer()
Dstream_pipe.cc8 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()
Dnode_messaging.h84 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_;
Dnode_blob.h22 std::shared_ptr<v8::BackingStore> store;
138 std::shared_ptr<v8::BackingStore> destination_;
Dmemory_tracker.h16 class BackingStore; variable
226 const v8::BackingStore* value,
Daliased_struct.h54 std::shared_ptr<v8::BackingStore> store_;
/third_party/node/benchmark/napi/function_args/
Dbinding.cc8 using v8::BackingStore;
107 std::shared_ptr<BackingStore> bs = buffer->GetBackingStore(); in CallWithTypedarray()
/third_party/node/deps/v8/src/d8/
Dd8.h30 class BackingStore; variable
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_;
/third_party/node/deps/v8/src/snapshot/
Ddeserializer.h114 std::shared_ptr<BackingStore> backing_store(size_t i) { in backing_store()
226 std::vector<std::shared_ptr<BackingStore>> backing_stores_;

123