/external/v8/src/ |
D | json-parser.cc | 523 int beg_pos = position_; in ParseJsonNumber() local 562 int length = position_ - beg_pos; in ParseJsonNumber() 565 Vector<const uint8_t> chars(seq_source_->GetChars() + beg_pos, length); in ParseJsonNumber() 571 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); in ParseJsonNumber() 729 int beg_pos = position_; in ScanJsonString() local 731 return SlowScanJsonString<SeqOneByteString, uint8_t>(source_, beg_pos, in ScanJsonString() 779 int beg_pos = position_; in ScanJsonString() local 788 return SlowScanJsonString<SeqTwoByteString, uc16>(source_, beg_pos, in ScanJsonString() 792 return SlowScanJsonString<SeqOneByteString, uint8_t>(source_, beg_pos, in ScanJsonString() 796 int length = position_ - beg_pos; in ScanJsonString() [all …]
|
D | objects-printer.cc | 1231 os << "\n - beg_pos: " << beg_pos(); in ModuleInfoEntryPrint()
|
D | objects.cc | 19780 MessageLocation new_loc(script, entry->beg_pos(), entry->end_pos()); in ResolveExport() 19825 MessageLocation new_loc(script, entry->beg_pos(), entry->end_pos()); in ResolveExportUsingStarExports() 19935 MessageLocation loc(script, entry->beg_pos(), entry->end_pos()); in Instantiate() 19955 MessageLocation loc(script, entry->beg_pos(), entry->end_pos()); in Instantiate()
|
D | objects-inl.h | 7934 SMI_ACCESSORS(ModuleInfoEntry, beg_pos, kBegPosOffset) in ACCESSORS()
|
/external/v8/src/parsing/ |
D | scanner.cc | 151 scanner_->current_.location.beg_pos == scanner_->next_.location.beg_pos); in Set() 154 : scanner_->location().beg_pos; in Set() 164 DCHECK_EQ(scanner_->location().beg_pos, static_cast<int>(bookmark_)); in Apply() 221 uc32 Scanner::ScanUnlimitedLengthHexNumber(int max_value, int beg_pos) { in ScanUnlimitedLengthHexNumber() argument 229 ReportScannerError(Location(beg_pos, source_pos() + 1), in ScanUnlimitedLengthHexNumber() 379 next_.location.beg_pos = current_.location.beg_pos; in Next() 396 next_.location.beg_pos = pos; in Next() 615 next_.location.beg_pos = source_pos(); in Scan() 924 if (pos == next_.location.beg_pos) return; in SeekForward() 1156 next_.location.beg_pos = source_pos(); in ScanTemplateStart() [all …]
|
D | scanner.h | 181 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() 182 Location() : beg_pos(0), end_pos(0) { } in Location() 185 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid() 190 int beg_pos; member 678 uc32 ScanUnlimitedLengthHexNumber(int max_value, int beg_pos); 720 int source_length = (location.end_pos - location.beg_pos); in LiteralContainsEscapes()
|
D | parser-base.h | 708 int position() const { return scanner_->location().beg_pos; } in position() 709 int peek_position() const { return scanner_->peek_location().beg_pos; } in peek_position() 833 void CheckStrictOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckStrictOctalLiteral() argument 835 if (octal.IsValid() && beg_pos <= octal.beg_pos && in CheckStrictOctalLiteral() 867 void CheckDestructuringElement(ExpressionT element, int beg_pos, int end_pos); 1291 ExpressionT expression, int beg_pos, int end_pos, 1294 ExpressionT expression, int beg_pos, int end_pos, 1744 int beg_pos = peek_position(); in ParsePrimaryExpression() local 1749 return impl()->ThisExpression(beg_pos); in ParsePrimaryExpression() 1758 return impl()->ExpressionFromLiteral(Next(), beg_pos); in ParsePrimaryExpression() [all …]
|
D | preparser.cc | 143 inner_scope->set_start_position(scanner()->location().beg_pos); in PreParseFunction() 244 int start_position = scanner()->location().beg_pos; in ParseFunctionLiteral()
|
D | parser.cc | 631 DCHECK_EQ(scanner_.peek_location().beg_pos, source->length()); in ParseProgram() 688 int beg_pos = scanner()->location().beg_pos; in DoParseProgram() local 720 scope->set_end_position(scanner()->peek_location().beg_pos); in DoParseProgram() 723 CheckStrictOctalLiteral(beg_pos, scanner()->location().end_pos, &ok); in DoParseProgram() 1409 return scope()->NewUnresolved(factory(), name, scanner()->location().beg_pos); in NewUnresolved() 1423 name, NORMAL_VARIABLE, scanner()->location().beg_pos); in DeclareVariable() 2358 int inner_var_proxy_pos = scanner()->location().beg_pos; in DesugarLexicalBindingsInForStatement() 2652 scope->set_start_position(scanner()->location().beg_pos); in ParseFunctionLiteral() 3513 int pos = scanner()->location().beg_pos; in AddTemplateSpan()
|
D | parser.h | 906 pending_error_handler_.ReportMessageAt(source_location.beg_pos, 922 pending_error_handler_.ReportMessageAt(source_location.beg_pos,
|
D | preparser.h | 922 int start_position = scanner()->peek_location().beg_pos; 1434 pending_error_handler_->ReportMessageAt(source_location.beg_pos,
|
/external/v8/src/ast/ |
D | modules.cc | 94 location.beg_pos, location.end_pos); in Serialize() 269 return (candidate->location.beg_pos > current_duplicate->location.beg_pos) in BetterDuplicate() 302 entry->location.beg_pos, entry->location.end_pos, in Validate() 314 entry->location.beg_pos, entry->location.end_pos, in Validate()
|
/external/v8/src/objects/ |
D | module-info.h | 101 DECL_INT_ACCESSORS(beg_pos) 109 int beg_pos, int end_pos);
|
D | scope-info.cc | 841 int beg_pos, int end_pos) { in New() argument 849 result->set_beg_pos(beg_pos); in New()
|
/external/v8/src/debug/ |
D | debug-scopes.cc | 858 int beg_pos = inner_scope->start_position(); in GetNestedScopeChain() local 860 DCHECK((beg_pos >= 0 && end_pos >= 0) || inner_scope->is_hidden()); in GetNestedScopeChain() 861 if (beg_pos <= position && position < end_pos) { in GetNestedScopeChain()
|