Home
last modified time | relevance | path

Searched refs:StartupData (Results 1 – 20 of 20) sorted by relevance

/third_party/node/deps/v8/src/snapshot/
Dsnapshot.h68 static v8::StartupData Create(
77 static v8::StartupData Create(
108 V8_EXPORT_PRIVATE static bool VerifyChecksum(const v8::StartupData* data);
109 static bool ExtractRehashability(const v8::StartupData* data);
110 static bool VersionIsValid(const v8::StartupData* data);
113 static const v8::StartupData* DefaultSnapshotBlob();
116 static bool SnapshotIsValid(const v8::StartupData* snapshot_blob);
122 V8_EXPORT_PRIVATE v8::StartupData CreateSnapshotDataBlobInternal(
128 V8_EXPORT_PRIVATE v8::StartupData WarmUpSnapshotDataBlobInternal(
129 v8::StartupData cold_snapshot_blob, const char* warmup_source);
[all …]
Dsnapshot.cc40 static v8::StartupData CreateSnapshotBlob(
47 static uint32_t ExtractNumContexts(const v8::StartupData* data);
48 static uint32_t ExtractContextOffset(const v8::StartupData* data,
51 const v8::StartupData* data);
53 const v8::StartupData* data);
55 const v8::StartupData* data);
57 const v8::StartupData* data, uint32_t index);
59 static uint32_t GetHeaderValue(const v8::StartupData* data, uint32_t offset) { in GetHeaderValue()
68 static void CheckVersion(const v8::StartupData* data);
102 const v8::StartupData* data) { in ChecksummedContent()
[all …]
Dsnapshot-empty.cc18 void SetNativesFromFile(StartupData* data) { UNREACHABLE(); } in SetNativesFromFile()
19 void SetSnapshotFromFile(StartupData* data) { UNREACHABLE(); } in SetSnapshotFromFile()
24 const v8::StartupData* Snapshot::DefaultSnapshotBlob() { return nullptr; } in DefaultSnapshotBlob()
Dmksnapshot.cc37 void WriteSnapshot(v8::StartupData blob) const { in WriteSnapshot()
152 v8::StartupData CreateSnapshotDataBlob(v8::Isolate* isolate, in CreateSnapshotDataBlob()
157 v8::StartupData result = i::CreateSnapshotDataBlobInternal( in CreateSnapshotDataBlob()
170 v8::StartupData WarmUpSnapshotDataBlob(v8::StartupData cold_snapshot_blob, in WarmUpSnapshotDataBlob()
175 v8::StartupData result = in WarmUpSnapshotDataBlob()
267 v8::StartupData blob; in main()
297 v8::StartupData cold = blob; in main()
Dsnapshot-external.cc22 static v8::StartupData external_startup_blob = {nullptr, 0};
24 void SetSnapshotFromFile(StartupData* snapshot_blob) { in SetSnapshotFromFile()
35 const v8::StartupData* Snapshot::DefaultSnapshotBlob() { in DefaultSnapshotBlob()
Dcontext-serializer.cc219 bool DataIsEmpty(const StartupData& data) { return data.raw_size == 0; } in DataIsEmpty()
237 std::vector<StartupData> serialized_data; in SerializeJSObjectWithEmbedderFields()
259 StartupData data = serialize_embedder_fields_.callback( in SerializeJSObjectWithEmbedderFields()
295 StartupData data = serialized_data[i]; in SerializeJSObjectWithEmbedderFields()
/third_party/node/deps/v8/include/
Dv8-snapshot.h16 class V8_EXPORT StartupData {
43 using CallbackFunction = StartupData (*)(Local<Object> holder, int index,
61 StartupData payload, void* data);
65 void (*callback)(Local<Object> holder, int index, StartupData payload,
94 StartupData* existing_blob = nullptr);
105 StartupData* existing_blob = nullptr);
167 StartupData CreateBlob(FunctionCodeHandling function_code_handling);
Dv8-initialization.h75 static void SetSnapshotDataBlob(StartupData* startup_blob);
Dv8-isolate.h35 class StartupData; variable
229 StartupData* snapshot_blob = nullptr;
/third_party/node/deps/v8/src/init/
Dstartup-data-util.cc26 v8::StartupData g_snapshot;
28 void ClearStartupData(v8::StartupData* data) { in ClearStartupData()
33 void DeleteStartupData(v8::StartupData* data) { in DeleteStartupData()
42 void Load(const char* blob_file, v8::StartupData* startup_data, in Load()
43 void (*setter_fn)(v8::StartupData*)) { in Load() argument
Dv8.h13 class StartupData; variable
44 static void SetSnapshotBlob(StartupData* snapshot_blob);
Dv8.cc311 void V8::SetSnapshotBlob(StartupData* snapshot_blob) { in SetSnapshotBlob()
/third_party/node/src/
Dnode_snapshotable.cc43 using v8::StartupData;
439 v8::StartupData SnapshotDeserializer::Read() { in Read()
450 return v8::StartupData{buf.release(), raw_size}; in Read()
454 size_t SnapshotSerializer::Write(const v8::StartupData& data) { in Write()
853 written_total += w.Write<v8::StartupData>(v8_snapshot_blob_data); in ToBlob()
893 out->v8_snapshot_blob_data = r.Read<v8::StartupData>(); in FromBlob()
1088 const_cast<v8::StartupData*>(&(data->v8_snapshot_blob_data)); in InitializeIsolateParams()
1325 StartupData payload, in DeserializeNodeInternalFields()
1380 StartupData SerializeNodeContextInternalFields(Local<Object> holder, in SerializeNodeContextInternalFields()
1390 return StartupData{nullptr, 0}; in SerializeNodeContextInternalFields()
[all …]
Dnode_snapshotable.h128 v8::StartupData SerializeNodeContextInternalFields(v8::Local<v8::Object> holder,
133 v8::StartupData payload,
Denv.h500 v8::StartupData v8_snapshot_blob_data{nullptr, 0};
/third_party/cef/libcef/browser/alloy/
Dchrome_browser_process_alloy.h96 StartupData* startup_data() override;
Dchrome_browser_process_alloy.cc338 StartupData* ChromeBrowserProcessAlloy::startup_data() { in startup_data()
/third_party/node/deps/v8/src/runtime/
Druntime-debug.cc914 v8::StartupData blob = CreateSnapshotDataBlobInternal( in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/api/
Dapi.cc354 void V8::SetSnapshotDataBlob(StartupData* snapshot_blob) { in SetSnapshotDataBlob()
458 StartupData* existing_snapshot) { in SnapshotCreator()
465 const StartupData* blob = existing_snapshot in SnapshotCreator()
480 StartupData* existing_snapshot) in SnapshotCreator()
588 StartupData SnapshotCreator::CreateBlob( in CreateBlob()
686 bool StartupData::CanBeRehashed() const { in CanBeRehashed()
691 bool StartupData::IsValid() const { return i::Snapshot::VersionIsValid(this); } in IsValid()
/third_party/node/deps/v8/src/execution/
Disolate.h492 V(const v8::StartupData*, snapshot_blob, nullptr) \