Searched refs:PreparseDataConstants (Results 1 – 5 of 5) sorted by relevance
17 preamble_[PreparseDataConstants::kMagicOffset] = in CompleteParserRecorder()18 PreparseDataConstants::kMagicNumber; in CompleteParserRecorder()19 preamble_[PreparseDataConstants::kVersionOffset] = in CompleteParserRecorder()20 PreparseDataConstants::kCurrentVersion; in CompleteParserRecorder()21 preamble_[PreparseDataConstants::kHasErrorOffset] = false; in CompleteParserRecorder()22 preamble_[PreparseDataConstants::kFunctionsSizeOffset] = 0; in CompleteParserRecorder()23 preamble_[PreparseDataConstants::kSizeOffset] = 0; in CompleteParserRecorder()24 DCHECK_EQ(5, PreparseDataConstants::kHeaderSize); in CompleteParserRecorder()36 preamble_[PreparseDataConstants::kHasErrorOffset] = true; in LogMessage()38 STATIC_ASSERT(PreparseDataConstants::kMessageStartPos == 0); in LogMessage()[all …]
190 return static_cast<bool>(preamble_[PreparseDataConstants::kHasErrorOffset]); in HasError()201 unsigned preamble_[PreparseDataConstants::kHeaderSize];
13 struct PreparseDataConstants { struct
125 if (data_length < PreparseDataConstants::kHeaderSize) return false; in IsSane()126 if (Magic() != PreparseDataConstants::kMagicNumber) return false; in IsSane()127 if (Version() != PreparseDataConstants::kCurrentVersion) return false; in IsSane()135 PreparseDataConstants::kHeaderSize + functions_size; in IsSane()144 if (data_length >= PreparseDataConstants::kHeaderSize) { in Initialize()145 function_index_ = PreparseDataConstants::kHeaderSize; in Initialize()151 return Data()[PreparseDataConstants::kHasErrorOffset]; in HasError()156 return Data()[PreparseDataConstants::kMagicOffset]; in Magic()161 return Data()[PreparseDataConstants::kVersionOffset]; in Version()166 return static_cast<int>(Data()[PreparseDataConstants::kFunctionsSizeOffset]); in FunctionsSize()
1484 int message = data[i::PreparseDataConstants::kMessageTemplatePos]; in FormatMessage()1485 int arg_count = data[i::PreparseDataConstants::kMessageArgCountPos]; in FormatMessage()1491 ReadString(&data[i::PreparseDataConstants::kMessageArgPos]); in FormatMessage()