Searched refs:snapshot_file (Results 1 - 4 of 4) sorted by relevance

/external/v8/src/
H A Dsnapshot-common.cc47 bool Snapshot::Initialize(const char* snapshot_file) { argument
48 if (snapshot_file) {
50 byte* str = ReadBytes(snapshot_file, &len);
H A Dsnapshot.h38 // Initialize the VM from the given snapshot file. If snapshot_file is
41 static bool Initialize(const char* snapshot_file = NULL);
51 static bool WriteToFile(const char* snapshot_file);
H A Dmksnapshot.cc134 explicit CppByteSink(const char* snapshot_file) { argument
135 fp_ = i::OS::FOpen(snapshot_file, "wb");
137 i::PrintF("Unable to write to snapshot file \"%s\"\n", snapshot_file);
/external/v8/test/cctest/
H A Dtest-serialize.cc172 explicit FileByteSink(const char* snapshot_file) { argument
173 fp_ = OS::FOpen(snapshot_file, "wb");
174 file_name_ = snapshot_file;
176 PrintF("Unable to write to snapshot file \"%s\"\n", snapshot_file);
232 static bool WriteToFile(const char* snapshot_file) { argument
233 FileByteSink file(snapshot_file);

Completed in 74 milliseconds