Lines Matching refs:PreparseDataConstants
47 preamble_[PreparseDataConstants::kMagicOffset] =
48 PreparseDataConstants::kMagicNumber;
49 preamble_[PreparseDataConstants::kVersionOffset] =
50 PreparseDataConstants::kCurrentVersion;
51 preamble_[PreparseDataConstants::kHasErrorOffset] = false;
52 preamble_[PreparseDataConstants::kFunctionsSizeOffset] = 0;
53 preamble_[PreparseDataConstants::kSymbolCountOffset] = 0;
54 preamble_[PreparseDataConstants::kSizeOffset] = 0;
55 ASSERT_EQ(6, PreparseDataConstants::kHeaderSize);
67 preamble_[PreparseDataConstants::kHasErrorOffset] = true;
69 STATIC_ASSERT(PreparseDataConstants::kMessageStartPos == 0);
71 STATIC_ASSERT(PreparseDataConstants::kMessageEndPos == 1);
73 STATIC_ASSERT(PreparseDataConstants::kMessageArgCountPos == 2);
75 STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3);
94 int total_size = PreparseDataConstants::kHeaderSize + function_size;
96 preamble_[PreparseDataConstants::kFunctionsSizeOffset] = function_size;
97 preamble_[PreparseDataConstants::kSymbolCountOffset] = 0;
99 int symbol_start = PreparseDataConstants::kHeaderSize + function_size;
101 function_store_.WriteTo(data.SubVector(PreparseDataConstants::kHeaderSize,
147 symbol_store_.AddBlock(padding, PreparseDataConstants::kNumberTerminator);
149 int total_size = PreparseDataConstants::kHeaderSize + function_size
152 preamble_[PreparseDataConstants::kFunctionsSizeOffset] = function_size;
153 preamble_[PreparseDataConstants::kSymbolCountOffset] = symbol_id_;
155 int symbol_start = PreparseDataConstants::kHeaderSize + function_size;
157 function_store_.WriteTo(data.SubVector(PreparseDataConstants::kHeaderSize,