/external/v8/preparser/ |
preparser-process.cc | 151 int beg_pos() { function in class:PreparseDataInterpreter 225 : throws(false), type(NULL), beg_pos(-1), end_pos(-1) { } 228 int beg_pos; member in struct:ExceptionExpectation 248 expects->type, actual_message, reader.beg_pos(), reader.end_pos()); 251 if (expects->beg_pos >= 0) { 252 if (expects->beg_pos != reader.beg_pos()) { 254 expects->beg_pos, reader.beg_pos()); 266 message, reader.beg_pos(), reader.end_pos()) [all...] |
/external/v8/src/ |
json-parser.h | 354 int beg_pos = position_; local 393 int length = position_ - beg_pos; 396 Vector<const char> chars(seq_source_->GetChars() + beg_pos, length); 403 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); 562 int beg_pos = position_; local 572 beg_pos, 577 beg_pos, 581 int length = position_ - beg_pos; 585 beg_pos, 590 String::WriteToFlat(*source_, dest, beg_pos, position_) [all...] |
scanner.h | 302 Location(int b, int e) : beg_pos(b), end_pos(e) { } 303 Location() : beg_pos(0), end_pos(0) { } 306 return beg_pos >= 0 && end_pos >= beg_pos; 311 int beg_pos; member in struct:v8::internal::Scanner::Location 356 int source_length = (location.end_pos - location.beg_pos);
|
preparser.cc | 64 int start_position = scanner_->peek_location().beg_pos; 128 // Checks whether octal literal last seen is between beg_pos and end_pos. 130 void PreParser::CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { 132 if (beg_pos <= octal.beg_pos && octal.end_pos <= end_pos) { 276 ReportMessageAt(start_location.beg_pos, end_location.end_pos, 405 ReportMessageAt(location.beg_pos, location.end_pos, 422 ReportMessageAt(location.beg_pos, location.end_pos, 431 ReportMessageAt(location.beg_pos, location.end_pos, 826 ReportMessageAt(before.beg_pos, after.end_pos [all...] |
scanner.cc | 233 next_.location.beg_pos = pos; 358 next_.location.beg_pos = source_pos(); 596 if (pos == next_.location.beg_pos) return; 999 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1);
|
preparser.h | 491 int start_position = scanner_->peek_location().beg_pos; 507 log_->LogMessage(location.beg_pos, location.end_pos, type, name_opt); 516 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 639 void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
|
parser.cc | 372 int beg_pos = Read(PreparseDataConstants::kMessageStartPos); local 374 return Scanner::Location(beg_pos, end_pos); 622 int beg_loc = scanner().location().beg_pos; 774 source_location.beg_pos, 792 source_location.beg_pos, [all...] |
scopes.cc | 706 int beg_pos = scope->start_position(); local 708 ASSERT(beg_pos >= 0 && end_pos >= 0); 709 if (beg_pos <= position && position < end_pos) { [all...] |
parser.h | 754 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
|
/external/chromium_org/v8/src/ |
json-parser.h | 502 int beg_pos = position_; local 541 int length = position_ - beg_pos; 544 Vector<const uint8_t> chars(seq_source_->GetChars() + beg_pos, length); 551 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); 718 int beg_pos = position_; local 721 beg_pos, 777 int beg_pos = position_; local 787 beg_pos, 792 beg_pos, 796 int length = position_ - beg_pos; [all...] |
preparser.h | 80 int position() { return scanner_->location().beg_pos; } 81 int peek_position() { return scanner_->peek_location().beg_pos; } 134 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 247 int start_position = scanner()->peek_location().beg_pos; 584 log_->LogMessage(location.beg_pos, location.end_pos, type, name_opt); 676 void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
|
scanner.h | 341 Location(int b, int e) : beg_pos(b), end_pos(e) { } 342 Location() : beg_pos(0), end_pos(0) { } 345 return beg_pos >= 0 && end_pos >= beg_pos; 350 int beg_pos; member in struct:v8::internal::Scanner::Location 397 int source_length = (location.end_pos - location.beg_pos);
|
preparser.cc | 269 ReportMessageAt(start_location.beg_pos, end_location.end_pos, 402 ReportMessageAt(location.beg_pos, location.end_pos, 419 ReportMessageAt(location.beg_pos, location.end_pos, 428 ReportMessageAt(location.beg_pos, location.end_pos, 840 ReportMessageAt(before.beg_pos, after.end_pos, 934 ReportMessageAt(before.beg_pos, after.end_pos, 957 ReportMessageAt(before.beg_pos, after.end_pos, [all...] |
scanner.cc | 238 next_.location.beg_pos = pos; 363 next_.location.beg_pos = source_pos(); 601 if (pos == next_.location.beg_pos) return; 1025 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1); [all...] |
parser.cc | 376 int beg_pos = Read(PreparseDataConstants::kMessageStartPos); local 378 return Scanner::Location(beg_pos, end_pos); 653 int beg_pos = scanner().location().beg_pos; local 656 CheckOctalLiteral(beg_pos, scanner().location().end_pos, &ok); 822 source_location.beg_pos, 840 source_location.beg_pos, 900 token_loc.end_pos - token_loc.beg_pos == [all...] |
scopes.cc | 769 int beg_pos = scope->start_position(); local 771 ASSERT(beg_pos >= 0 && end_pos >= 0); 772 if (beg_pos <= position && position < end_pos) { [all...] |
/external/chromium_org/v8/tools/ |
lexer-shell.cc | 130 Token::Value Next(int* beg_pos, int* end_pos) { 132 *beg_pos = scanner_->location().beg_pos;
|
/external/v8/test/cctest/ |
test-parsing.cc | 230 CHECK_EQ(10, error_location.beg_pos); [all...] |
/external/chromium_org/v8/test/cctest/ |
test-parsing.cc | 234 CHECK_EQ(10, error_location.beg_pos); [all...] |