Home
last modified time | relevance | path

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

/external/v8/src/snapshot/
Dsnapshot-external.cc25 void SetSnapshotFromFile(StartupData* snapshot_blob) { in SetSnapshotFromFile() argument
28 DCHECK(snapshot_blob); in SetSnapshotFromFile()
29 DCHECK(snapshot_blob->data); in SetSnapshotFromFile()
30 DCHECK(snapshot_blob->raw_size > 0); in SetSnapshotFromFile()
32 DCHECK(Snapshot::SnapshotIsValid(snapshot_blob)); in SetSnapshotFromFile()
33 external_startup_blob = *snapshot_blob; in SetSnapshotFromFile()
Dsnapshot-common.cc20 bool Snapshot::SnapshotIsValid(v8::StartupData* snapshot_blob) { in SnapshotIsValid() argument
21 return Snapshot::ExtractNumContexts(snapshot_blob) > 0; in SnapshotIsValid()
28 return isolate->snapshot_blob() != NULL && in HaveASnapshotToStartFrom()
29 isolate->snapshot_blob()->data != NULL; in HaveASnapshotToStartFrom()
40 memcpy(&size, isolate->snapshot_blob()->data + offset, kInt32Size); in SizeOfFirstPage()
50 const v8::StartupData* blob = isolate->snapshot_blob(); in Initialize()
70 const v8::StartupData* blob = isolate->snapshot_blob(); in NewContextFromSnapshot()
Dsnapshot.h79 static bool SnapshotIsValid(v8::StartupData* snapshot_blob);
119 void SetSnapshotFromFile(StartupData* snapshot_blob);
/external/v8/src/
Dstartup-data-util.cc74 void LoadFromFiles(const char* natives_blob, const char* snapshot_blob) { in LoadFromFiles() argument
76 Load(snapshot_blob, &g_snapshot, v8::V8::SetSnapshotDataBlob); in LoadFromFiles()
98 const char* snapshot_blob) { in InitializeExternalStartupData() argument
100 LoadFromFiles(natives_blob, snapshot_blob); in InitializeExternalStartupData()
Dv8.cc124 void V8::SetSnapshotBlob(StartupData* snapshot_blob) { in SetSnapshotBlob() argument
126 base::CallOnce(&init_snapshot_once, &SetSnapshotFromFile, snapshot_blob); in SetSnapshotBlob()
Dstartup-data-util.h24 const char* snapshot_blob);
Dv8.h34 static void SetSnapshotBlob(StartupData* snapshot_blob);
Dbase.isolate21 '<(PRODUCT_DIR)/snapshot_blob.bin',
Dd8.h293 snapshot_blob(NULL) {} in ShellOptions()
320 const char* snapshot_blob; variable
Dv8.gyp123 'inputs': [ '<(PRODUCT_DIR)/snapshot_blob.bin', ],
134 '<(PRODUCT_DIR)/snapshot_blob.bin',
349 '<(PRODUCT_DIR)/snapshot_blob.bin',
354 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
362 '<(PRODUCT_DIR)/snapshot_blob.bin',
367 '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob.bin',
Dd8.cc1983 options.snapshot_blob = argv[i] + 16; in SetOptions()
2443 if (options.natives_blob || options.snapshot_blob) { in Main()
2445 options.snapshot_blob); in Main()
Disolate.h422 V(const v8::StartupData*, snapshot_blob, nullptr) \
Dapi.cc343 void V8::SetSnapshotDataBlob(StartupData* snapshot_blob) { in SetSnapshotDataBlob() argument
344 i::V8::SetSnapshotBlob(snapshot_blob); in SetSnapshotDataBlob()
5614 const char* snapshot_blob) { in InitializeExternalStartupData() argument
5615 i::InitializeExternalStartupData(natives_blob, snapshot_blob); in InitializeExternalStartupData()
7325 if (params.snapshot_blob != NULL) { in New()
7326 isolate->set_snapshot_blob(params.snapshot_blob); in New()
/external/pdfium/testing/
Dtest_support.cpp140 v8::StartupData* snapshot_blob, in InitializeV8ForPDFium() argument
145 if (!GetExternalData(exe_path, bin_dir, "snapshot_blob.bin", snapshot_blob)) in InitializeV8ForPDFium()
148 v8::V8::SetSnapshotDataBlob(snapshot_blob); in InitializeV8ForPDFium()
Dtest_support.h46 v8::StartupData* snapshot_blob,
/external/v8/test/cctest/
Dtest-serialize.cc620 params1.snapshot_blob = &data1; in TEST()
638 params2.snapshot_blob = &data2; in TEST()
682 params.snapshot_blob = &data; in TEST()
730 params1.snapshot_blob = &data1; in TEST()
761 params.snapshot_blob = &data; in TEST()
801 params.snapshot_blob = &warm; in TEST()
834 params.snapshot_blob = &warm; in TEST()
870 params.snapshot_blob = &data; in TEST()
1706 params.snapshot_blob = &data; in TEST()
1915 params.snapshot_blob = &blob; in TEST()
[all …]
/external/v8/
DBUILD.gn518 renaming_sources = [ "$root_out_dir/snapshot_blob.bin" ]
612 outputs += [ "$root_out_dir/snapshot_blob.bin" ]
615 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir),
/external/v8/include/
Dv8.h5527 snapshot_blob(nullptr), in CreateParams()
5557 StartupData* snapshot_blob; member
6749 const char* snapshot_blob);