Home
last modified time | relevance | path

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

/external/v8/src/snapshot/
Dsnapshot-common.cc176 int startup_length = startup_data.length(); in CreateSnapshotBlob() local
178 int context_offset = ContextOffset(startup_length); in CreateSnapshotBlob()
186 memcpy(data + kStartupLengthOffset, &startup_length, kInt32Size); in CreateSnapshotBlob()
187 memcpy(data + kStartupDataOffset, startup_data.begin(), startup_length); in CreateSnapshotBlob()
196 startup_length, context_length); in CreateSnapshotBlob()
211 int startup_length; in ExtractStartupData() local
212 memcpy(&startup_length, data->data + kStartupLengthOffset, kInt32Size); in ExtractStartupData()
213 DCHECK_LT(startup_length, data->raw_size); in ExtractStartupData()
216 return Vector<const byte>(startup_data, startup_length); in ExtractStartupData()
222 int startup_length; in ExtractContextData() local
[all …]
Dsnapshot.h80 static int ContextOffset(int startup_length) { in ContextOffset() argument
81 return kStartupDataOffset + startup_length; in ContextOffset()