Home
last modified time | relevance | path

Searched refs:snapshot_data (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/v8/src/snapshot/
Dsnapshot-compression.cc23 SnapshotData snapshot_data; in Compress() local
36 snapshot_data.AllocateData( in Compress()
39 byte* compressed_data = const_cast<byte*>(snapshot_data.RawData().begin()); in Compress()
52 snapshot_data.Resize(static_cast<uint32_t>(compressed_data_size) + in Compress()
55 GetUncompressedSize(snapshot_data.RawData().begin())); in Compress()
61 return snapshot_data; in Compress()
66 SnapshotData snapshot_data; in Decompress() local
77 snapshot_data.AllocateData(uncompressed_payload_length); in Decompress()
82 bit_cast<Bytef*>(snapshot_data.RawData().begin()), in Decompress()
93 return snapshot_data; in Decompress()
Dsnapshot.cc123 const base::Vector<const byte>& snapshot_data) { in MaybeDecompress() argument
127 return SnapshotCompression::Decompress(snapshot_data); in MaybeDecompress()
129 return SnapshotData(snapshot_data); in MaybeDecompress()
208 SnapshotData snapshot_data(MaybeDecompress(isolate, context_data)); in NewContextFromSnapshot() local
211 isolate, &snapshot_data, can_rehash, global_proxy, in NewContextFromSnapshot()
/third_party/node/src/
Dnode_main_instance.cc60 NodeMainInstance::NodeMainInstance(const SnapshotData* snapshot_data, in NodeMainInstance() argument
72 snapshot_data_(snapshot_data) { in NodeMainInstance()
74 if (snapshot_data != nullptr) { in NodeMainInstance()
75 SnapshotBuilder::InitializeIsolateParams(snapshot_data, in NodeMainInstance()
80 isolate_params_.get(), event_loop, platform, snapshot_data != nullptr); in NodeMainInstance()
89 snapshot_data == nullptr ? nullptr : &(snapshot_data->isolate_data_info)); in NodeMainInstance()
Dnode_worker.h36 const SnapshotData* snapshot_data);
61 const SnapshotData* snapshot_data() const { return snapshot_data_; } in snapshot_data() function
Dnode.cc1251 const SnapshotData* snapshot_data = nullptr; in Start() local
1256 if (snapshot_data != nullptr && in Start()
1257 snapshot_data->data_ownership == SnapshotData::DataOwnership::kOwned) { in Start()
1258 delete snapshot_data; in Start()
1272 return GenerateAndWriteSnapshotData(&snapshot_data, result.get()); in Start()
1276 return LoadSnapshotDataAndRun(&snapshot_data, result.get()); in Start()
Dnode_worker.cc55 const SnapshotData* snapshot_data) in Worker() argument
63 snapshot_data_(snapshot_data) { in Worker()
155 NewIsolate(&params, &loop_, w->platform_, w->snapshot_data()); in WorkerThreadData()
585 const SnapshotData* snapshot_data = in New() local
595 snapshot_data); in New()
Dnode_main_instance.h52 NodeMainInstance(const SnapshotData* snapshot_data,
Dnode_contextify.cc120 const SnapshotData* snapshot_data = in New() local
129 if (!(CreateV8Context(env->isolate(), object_template, snapshot_data, queue) in New()
216 const SnapshotData* snapshot_data, in CreateV8Context() argument
221 if (snapshot_data == nullptr) { in CreateV8Context()
Dnode_contextify.h59 const SnapshotData* snapshot_data,
/third_party/node/deps/v8/src/runtime/
Druntime-test.cc1664 auto snapshot_data = std::make_shared<WebSnapshotData>(); in RUNTIME_FUNCTION() local
1666 if (!serializer.TakeSnapshot(object, block_list, *snapshot_data)) { in RUNTIME_FUNCTION()
1681 isolate, snapshot_data->buffer_size, snapshot_data); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/d8/
Dd8.cc805 i::WebSnapshotData snapshot_data; in ExecuteString() local
806 if (serializer.TakeSnapshot(context, exports, snapshot_data)) { in ExecuteString()
807 DCHECK_NOT_NULL(snapshot_data.buffer); in ExecuteString()
808 WriteChars(web_snapshot_output_file_name, snapshot_data.buffer, in ExecuteString()
809 snapshot_data.buffer_size); in ExecuteString()
1441 std::unique_ptr<uint8_t[]> snapshot_data( in ExecuteWebSnapshot() local
1448 i::WebSnapshotDeserializer deserializer(isolate, snapshot_data.get(), in ExecuteWebSnapshot()
2034 v8::Local<v8::Value> snapshot_data = snapshot_instance->GetInternalField(0); in RealmUseWebSnapshot() local
2035 i::Handle<i::Object> snapshot_data_handle = Utils::OpenHandle(*snapshot_data); in RealmUseWebSnapshot()
/third_party/node/doc/changelogs/
DCHANGELOG_V18.md2689 …github.com/nodejs/node/commit/94e6f08606)] - **src**: mark generated `snapshot_data` as `const` (A…