Lines Matching refs:BackingStore

40 class V8_EXPORT BackingStore : public v8::internal::BackingStoreBase {
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::DeleterCallback instead.
234 std::shared_ptr<BackingStore> backing_store);
237 * Returns a new standalone BackingStore that is allocated using the array
245 static std::unique_ptr<BackingStore> NewBackingStore(Isolate* isolate,
248 * Returns a new standalone BackingStore that takes over the ownership of
249 * the given buffer. The destructor of the BackingStore invokes the given
255 static std::unique_ptr<BackingStore> NewBackingStore(
256 void* data, size_t byte_length, v8::BackingStore::DeleterCallback deleter,
260 * Returns a new resizable standalone BackingStore that is allocated using the
271 static std::unique_ptr<BackingStore> NewResizableBackingStore(
319 std::shared_ptr<BackingStore> GetBackingStore();
457 Isolate* isolate, std::shared_ptr<BackingStore> backing_store);
460 * Returns a new standalone BackingStore that is allocated using the array
468 static std::unique_ptr<BackingStore> NewBackingStore(Isolate* isolate,
471 * Returns a new standalone BackingStore that takes over the ownership of
472 * the given buffer. The destructor of the BackingStore invokes the given
478 static std::unique_ptr<BackingStore> NewBackingStore(
479 void* data, size_t byte_length, v8::BackingStore::DeleterCallback deleter,
488 std::shared_ptr<BackingStore> GetBackingStore();