Home
last modified time | relevance | path

Searched refs:startup_data (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/
Dstartup-data-util.cc46 void Load(const char* blob_file, v8::StartupData* startup_data, in Load() argument
48 ClearStartupData(startup_data); in Load()
59 startup_data->raw_size = static_cast<int>(ftell(file)); in Load()
62 startup_data->data = new char[startup_data->raw_size]; in Load()
63 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), in Load()
64 1, startup_data->raw_size, file)); in Load()
67 if (startup_data->raw_size == read_size) { in Load()
68 (*setter_fn)(startup_data); in Load()
/external/v8/src/snapshot/
Dstartup-deserializer.h17 StartupDeserializer(const SnapshotData* startup_data, in StartupDeserializer() argument
19 : Deserializer(startup_data, false), builtin_data_(builtin_data) {} in StartupDeserializer()
Dsnapshot-common.cc47 Vector<const byte> startup_data = ExtractStartupData(blob); in Initialize() local
48 SnapshotData startup_snapshot_data(startup_data); in Initialize()
57 int bytes = startup_data.length(); in Initialize()
578 const byte* startup_data = in ExtractStartupData() local
580 return Vector<const byte>(startup_data, startup_length); in ExtractStartupData()