Searched refs:startup_data (Results 1 – 2 of 2) sorted by relevance
44 void Load(const char* blob_file, v8::StartupData* startup_data, in Load() argument46 ClearStartupData(startup_data); in Load()57 startup_data->raw_size = static_cast<int>(ftell(file)); in Load()60 startup_data->data = new char[startup_data->raw_size]; in Load()61 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), in Load()62 1, startup_data->raw_size, file)); in Load()65 if (startup_data->raw_size == read_size) { in Load()66 (*setter_fn)(startup_data); in Load()
55 Vector<const byte> startup_data = ExtractStartupData(blob); in Initialize() local56 SnapshotData snapshot_data(startup_data); in Initialize()61 int bytes = startup_data.length(); in Initialize()168 Vector<const byte> startup_data = startup_snapshot.RawData(); in CreateSnapshotBlob() local176 int startup_length = startup_data.length(); in CreateSnapshotBlob()187 memcpy(data + kStartupDataOffset, startup_data.begin(), startup_length); in CreateSnapshotBlob()214 const byte* startup_data = in ExtractStartupData() local216 return Vector<const byte>(startup_data, startup_length); in ExtractStartupData()