Home
last modified time | relevance | path

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

/external/v8/src/snapshot/
Dsnapshot.h71 static const v8::StartupData* DefaultSnapshotBlob();
73 static v8::StartupData CreateSnapshotBlob(
78 static bool SnapshotIsValid(v8::StartupData* snapshot_blob);
82 static int ExtractNumContexts(const v8::StartupData* data);
83 static Vector<const byte> ExtractStartupData(const v8::StartupData* data);
84 static Vector<const byte> ExtractContextData(const v8::StartupData* data,
113 void SetSnapshotFromFile(StartupData* snapshot_blob);
Dsnapshot-common.cc20 bool Snapshot::SnapshotIsValid(v8::StartupData* snapshot_blob) { in SnapshotIsValid()
27 const v8::StartupData* blob = isolate->snapshot_blob(); in HasContextSnapshot()
39 const v8::StartupData* blob = isolate->snapshot_blob(); in Initialize()
59 const v8::StartupData* blob = isolate->snapshot_blob(); in NewContextFromSnapshot()
98 v8::StartupData Snapshot::CreateSnapshotBlob( in CreateSnapshotBlob()
134 v8::StartupData result = {data, total_length}; in CreateSnapshotBlob()
138 int Snapshot::ExtractNumContexts(const v8::StartupData* data) { in ExtractNumContexts()
145 Vector<const byte> Snapshot::ExtractStartupData(const v8::StartupData* data) { in ExtractStartupData()
159 Vector<const byte> Snapshot::ExtractContextData(const v8::StartupData* data, in ExtractContextData()
Dsnapshot-empty.cc18 void SetNativesFromFile(StartupData* data) { CHECK(false); } in SetNativesFromFile()
19 void SetSnapshotFromFile(StartupData* data) { CHECK(false); } in SetSnapshotFromFile()
25 const v8::StartupData* Snapshot::DefaultSnapshotBlob() { return NULL; } in DefaultSnapshotBlob()
Dsnapshot-external.cc23 static v8::StartupData external_startup_blob = {NULL, 0};
25 void SetSnapshotFromFile(StartupData* snapshot_blob) { in SetSnapshotFromFile()
37 const v8::StartupData* Snapshot::DefaultSnapshotBlob() { in DefaultSnapshotBlob()
Dnatives.h11 namespace v8 { class StartupData; } // Forward declaration. variable
64 void SetNativesFromFile(StartupData* natives_blob);
Dmksnapshot.cc38 void WriteSnapshot(v8::StartupData blob) const { in WriteSnapshot()
164 StartupData blob = v8::V8::CreateSnapshotDataBlob(embed_script); in main()
169 StartupData cold = blob; in main()
Dnatives-external.cc144 static StartupData* natives_blob_ = NULL;
168 void SetNativesFromFile(StartupData* natives_blob) { in SetNativesFromFile()
Dpartial-serializer.cc142 StartupData data = serialize_internal_fields_(v8::Utils::ToLocal(obj), i); in SerializeInternalFields()
/external/v8/src/
Dstartup-data-util.cc23 v8::StartupData g_natives;
24 v8::StartupData g_snapshot;
27 void ClearStartupData(v8::StartupData* data) { in ClearStartupData()
33 void DeleteStartupData(v8::StartupData* data) { in DeleteStartupData()
45 void Load(const char* blob_file, v8::StartupData* startup_data, in Load()
46 void (*setter_fn)(v8::StartupData*)) { in Load() argument
Dv8.h34 static void SetNativesBlob(StartupData* natives_blob);
35 static void SetSnapshotBlob(StartupData* snapshot_blob);
Dv8.cc117 void V8::SetNativesBlob(StartupData* natives_blob) { in SetNativesBlob()
126 void V8::SetSnapshotBlob(StartupData* snapshot_blob) { in SetSnapshotBlob()
Disolate.h418 V(const v8::StartupData*, snapshot_blob, nullptr) \
1464 friend v8::StartupData v8::V8::CreateSnapshotDataBlob(const char*);
1465 friend v8::StartupData v8::V8::WarmUpSnapshotDataBlob(v8::StartupData,
Dapi.cc403 void V8::SetNativesDataBlob(StartupData* natives_blob) { in SetNativesDataBlob()
408 void V8::SetSnapshotDataBlob(StartupData* snapshot_blob) { in SetSnapshotDataBlob()
473 StartupData* existing_snapshot) { in SnapshotCreator()
525 StartupData SnapshotCreator::CreateBlob( in CreateBlob()
587 StartupData result = in CreateBlob()
598 StartupData V8::CreateSnapshotDataBlob(const char* embedded_source) { in CreateSnapshotDataBlob()
601 StartupData result = {nullptr, 0}; in CreateSnapshotDataBlob()
628 StartupData V8::WarmUpSnapshotDataBlob(StartupData cold_snapshot_blob, in WarmUpSnapshotDataBlob()
638 StartupData result = {nullptr, 0}; in WarmUpSnapshotDataBlob()
/external/pdfium/testing/
Dtest_support.h82 v8::StartupData* natives_blob,
83 v8::StartupData* snapshot_blob,
Dtest_support.cpp46 v8::StartupData* result_data) { in GetExternalData()
156 v8::StartupData* natives_blob, in InitializeV8ForPDFium()
157 v8::StartupData* snapshot_blob, in InitializeV8ForPDFium()
Dembedder_test.cpp34 v8::StartupData* g_v8_natives = nullptr;
35 v8::StartupData* g_v8_snapshot = nullptr;
79 g_v8_natives = new v8::StartupData; in EmbedderTest()
80 g_v8_snapshot = new v8::StartupData; in EmbedderTest()
/external/pdfium/samples/
Dpdfium_test.cc947 v8::StartupData natives; in main()
948 v8::StartupData snapshot; in main()
/external/v8/include/
Dv8.h100 class StartupData; variable
6254 typedef StartupData (*SerializeInternalFieldsCallback)(Local<Object> holder,
6262 StartupData payload);
6312 StartupData* snapshot_blob;
7173 class V8_EXPORT StartupData {
7242 static void SetNativesDataBlob(StartupData* startup_blob);
7243 static void SetSnapshotDataBlob(StartupData* startup_blob);
7251 static StartupData CreateSnapshotDataBlob(const char* embedded_source = NULL);
7261 static StartupData WarmUpSnapshotDataBlob(StartupData cold_startup_blob,
7591 StartupData* existing_blob = nullptr);
[all …]