Home
last modified time | relevance | path

Searched refs:snapshot_file (Results 1 – 2 of 2) sorted by relevance

/external/v8/test/cctest/
Dtest-serialize.cc119 explicit FileByteSink(const char* snapshot_file) { in FileByteSink() argument
120 fp_ = v8::base::OS::FOpen(snapshot_file, "wb"); in FileByteSink()
121 file_name_ = snapshot_file; in FileByteSink()
123 PrintF("Unable to write to snapshot file \"%s\"\n", snapshot_file); in FileByteSink()
179 static bool WriteToFile(Isolate* isolate, const char* snapshot_file) { in WriteToFile() argument
180 FileByteSink file(snapshot_file); in WriteToFile()
276 v8::Isolate* InitializeFromFile(const char* snapshot_file) { in InitializeFromFile() argument
278 byte* str = ReadBytes(snapshot_file, &len); in InitializeFromFile()
284 ReserveSpaceForSnapshot(&deserializer, snapshot_file); in InitializeFromFile()
/external/v8/src/
Dmksnapshot.cc37 explicit SnapshotWriter(const char* snapshot_file) in SnapshotWriter() argument
38 : fp_(GetFileDescriptorOrDie(snapshot_file)) in SnapshotWriter()