PreparseDataConstants 126 preparser/preparser-process.cc i::PreparseDataConstants::kHeaderSize * sizeof(int); // NOLINT PreparseDataConstants 132 preparser/preparser-process.cc word(i::PreparseDataConstants::kHasErrorOffset) != 0; PreparseDataConstants 138 preparser/preparser-process.cc int text_pos = i::PreparseDataConstants::kHeaderSize + PreparseDataConstants 139 preparser/preparser-process.cc i::PreparseDataConstants::kMessageTextPos; PreparseDataConstants 153 preparser/preparser-process.cc return word(i::PreparseDataConstants::kHeaderSize + PreparseDataConstants 154 preparser/preparser-process.cc i::PreparseDataConstants::kMessageStartPos); PreparseDataConstants 159 preparser/preparser-process.cc return word(i::PreparseDataConstants::kHeaderSize + PreparseDataConstants 160 preparser/preparser-process.cc i::PreparseDataConstants::kMessageEndPos); PreparseDataConstants 314 src/parser.cc if (store_.length() < PreparseDataConstants::kHeaderSize) return false; PreparseDataConstants 315 src/parser.cc if (magic() != PreparseDataConstants::kMagicNumber) return false; PreparseDataConstants 316 src/parser.cc if (version() != PreparseDataConstants::kCurrentVersion) return false; PreparseDataConstants 319 src/parser.cc if (store_.length() <= PreparseDataConstants::kHeaderSize PreparseDataConstants 320 src/parser.cc + PreparseDataConstants::kMessageTextPos) { PreparseDataConstants 323 src/parser.cc if (Read(PreparseDataConstants::kMessageStartPos) > PreparseDataConstants 324 src/parser.cc Read(PreparseDataConstants::kMessageEndPos)) { PreparseDataConstants 327 src/parser.cc unsigned arg_count = Read(PreparseDataConstants::kMessageArgCountPos); PreparseDataConstants 328 src/parser.cc int pos = PreparseDataConstants::kMessageTextPos; PreparseDataConstants 330 src/parser.cc if (store_.length() <= PreparseDataConstants::kHeaderSize + pos) { PreparseDataConstants 337 src/parser.cc if (store_.length() < PreparseDataConstants::kHeaderSize + pos) { PreparseDataConstants 344 src/parser.cc static_cast<int>(store_[PreparseDataConstants::kFunctionsSizeOffset]); PreparseDataConstants 349 src/parser.cc static_cast<int>(store_[PreparseDataConstants::kSymbolCountOffset]); PreparseDataConstants 353 src/parser.cc PreparseDataConstants::kHeaderSize + functions_size; PreparseDataConstants 372 src/parser.cc int beg_pos = Read(PreparseDataConstants::kMessageStartPos); PreparseDataConstants 373 src/parser.cc int end_pos = Read(PreparseDataConstants::kMessageEndPos); PreparseDataConstants 379 src/parser.cc unsigned* start = ReadAddress(PreparseDataConstants::kMessageTextPos); PreparseDataConstants 385 src/parser.cc int arg_count = Read(PreparseDataConstants::kMessageArgCountPos); PreparseDataConstants 389 src/parser.cc int pos = PreparseDataConstants::kMessageTextPos + 1 PreparseDataConstants 390 src/parser.cc + Read(PreparseDataConstants::kMessageTextPos); PreparseDataConstants 401 src/parser.cc return store_[PreparseDataConstants::kHeaderSize + position]; PreparseDataConstants 406 src/parser.cc return &store_[PreparseDataConstants::kHeaderSize + position]; PreparseDataConstants 5913 src/parser.cc if (store_.length() >= PreparseDataConstants::kHeaderSize) { PreparseDataConstants 5914 src/parser.cc function_index_ = PreparseDataConstants::kHeaderSize; PreparseDataConstants 5915 src/parser.cc int symbol_data_offset = PreparseDataConstants::kHeaderSize PreparseDataConstants 5916 src/parser.cc + store_[PreparseDataConstants::kFunctionsSizeOffset]; PreparseDataConstants 5938 src/parser.cc if (input == PreparseDataConstants::kNumberTerminator) { PreparseDataConstants 130 src/parser.h return (store_.length() > PreparseDataConstants::kHeaderSize) PreparseDataConstants 131 src/parser.h ? store_[PreparseDataConstants::kSymbolCountOffset] PreparseDataConstants 136 src/parser.h bool has_error() { return store_[PreparseDataConstants::kHasErrorOffset]; } PreparseDataConstants 137 src/parser.h unsigned magic() { return store_[PreparseDataConstants::kMagicOffset]; } PreparseDataConstants 138 src/parser.h unsigned version() { return store_[PreparseDataConstants::kVersionOffset]; } PreparseDataConstants 47 src/preparse-data.cc preamble_[PreparseDataConstants::kMagicOffset] = PreparseDataConstants 48 src/preparse-data.cc PreparseDataConstants::kMagicNumber; PreparseDataConstants 49 src/preparse-data.cc preamble_[PreparseDataConstants::kVersionOffset] = PreparseDataConstants 50 src/preparse-data.cc PreparseDataConstants::kCurrentVersion; PreparseDataConstants 51 src/preparse-data.cc preamble_[PreparseDataConstants::kHasErrorOffset] = false; PreparseDataConstants 52 src/preparse-data.cc preamble_[PreparseDataConstants::kFunctionsSizeOffset] = 0; PreparseDataConstants 53 src/preparse-data.cc preamble_[PreparseDataConstants::kSymbolCountOffset] = 0; PreparseDataConstants 54 src/preparse-data.cc preamble_[PreparseDataConstants::kSizeOffset] = 0; PreparseDataConstants 55 src/preparse-data.cc ASSERT_EQ(6, PreparseDataConstants::kHeaderSize); PreparseDataConstants 67 src/preparse-data.cc preamble_[PreparseDataConstants::kHasErrorOffset] = true; PreparseDataConstants 69 src/preparse-data.cc STATIC_ASSERT(PreparseDataConstants::kMessageStartPos == 0); PreparseDataConstants 71 src/preparse-data.cc STATIC_ASSERT(PreparseDataConstants::kMessageEndPos == 1); PreparseDataConstants 73 src/preparse-data.cc STATIC_ASSERT(PreparseDataConstants::kMessageArgCountPos == 2); PreparseDataConstants 75 src/preparse-data.cc STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3); PreparseDataConstants 94 src/preparse-data.cc int total_size = PreparseDataConstants::kHeaderSize + function_size; PreparseDataConstants 96 src/preparse-data.cc preamble_[PreparseDataConstants::kFunctionsSizeOffset] = function_size; PreparseDataConstants 97 src/preparse-data.cc preamble_[PreparseDataConstants::kSymbolCountOffset] = 0; PreparseDataConstants 99 src/preparse-data.cc int symbol_start = PreparseDataConstants::kHeaderSize + function_size; PreparseDataConstants 101 src/preparse-data.cc function_store_.WriteTo(data.SubVector(PreparseDataConstants::kHeaderSize, PreparseDataConstants 147 src/preparse-data.cc symbol_store_.AddBlock(padding, PreparseDataConstants::kNumberTerminator); PreparseDataConstants 149 src/preparse-data.cc int total_size = PreparseDataConstants::kHeaderSize + function_size PreparseDataConstants 152 src/preparse-data.cc preamble_[PreparseDataConstants::kFunctionsSizeOffset] = function_size; PreparseDataConstants 153 src/preparse-data.cc preamble_[PreparseDataConstants::kSymbolCountOffset] = symbol_id_; PreparseDataConstants 155 src/preparse-data.cc int symbol_start = PreparseDataConstants::kHeaderSize + function_size; PreparseDataConstants 157 src/preparse-data.cc function_store_.WriteTo(data.SubVector(PreparseDataConstants::kHeaderSize, PreparseDataConstants 125 src/preparse-data.h return static_cast<bool>(preamble_[PreparseDataConstants::kHasErrorOffset]); PreparseDataConstants 135 src/preparse-data.h unsigned preamble_[PreparseDataConstants::kHeaderSize]; PreparseDataConstants 11587 test/cctest/test-api.cc const int kHeaderSize = i::PreparseDataConstants::kHeaderSize;