Home
last modified time | relevance | path

Searched refs:Scanner (Results 1 – 25 of 40) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DScannerTest.java47 import java.util.Scanner;
55 private Scanner s;
84 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File()
90 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File()
100 s = new Scanner(tmpFile); in test_ConstructorLjava_io_File()
105 s = new Scanner((File) null); in test_ConstructorLjava_io_File()
120 s = new Scanner(tmpFile, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
126 s = new Scanner(tmpFile, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
133 s = new Scanner(tmpFile, null); in test_ConstructorLjava_io_FileLjava_lang_String()
141 s = new Scanner(tmpFile, "invalid charset"); in test_ConstructorLjava_io_FileLjava_lang_String()
[all …]
DScannerParseLargeFileBenchmarkTest.java20 import java.util.Scanner;
33 Scanner scanner = new Scanner(reader).useDelimiter(delimiter); in testParseLargeFile()
DControlTest.java43 import java.util.Scanner;
597 Scanner scanner = new Scanner(file); in changeProperties()
/external/llvm/lib/Support/
DYAMLParser.cpp252 class Scanner { class
254 Scanner(const StringRef Input, SourceMgr &SM);
355 typedef StringRef::iterator (Scanner::*SkipWhileFunc)(StringRef::iterator);
541 Scanner scanner(Input, SM); in dumpTokens()
622 llvm::yaml::Scanner scanner(Input, SM); in scanTokens()
696 Scanner::Scanner(StringRef Input, SourceMgr &sm) in Scanner() function in Scanner
711 Token &Scanner::peekNext() { in peekNext()
738 Token Scanner::getNext() { in getNext()
753 StringRef::iterator Scanner::skip_nb_char(StringRef::iterator Position) { in skip_nb_char()
778 StringRef::iterator Scanner::skip_b_break(StringRef::iterator Position) { in skip_b_break()
[all …]
/external/v8/src/
Dscanner.cc41 Scanner::Scanner(UnicodeCache* unicode_cache) in Scanner() function in v8::internal::Scanner
48 void Scanner::Initialize(Utf16CharacterStream* source) { in Initialize()
61 uc32 Scanner::ScanHexNumber(int expected_length) { in ScanHexNumber()
224 Token::Value Scanner::Next() { in Next()
256 bool Scanner::SkipWhiteSpace() { in SkipWhiteSpace()
296 Token::Value Scanner::SkipSingleLineComment() { in SkipSingleLineComment()
312 Token::Value Scanner::SkipMultiLineComment() { in SkipMultiLineComment()
338 Token::Value Scanner::ScanHtmlComment() { in ScanHtmlComment()
353 void Scanner::Scan() { in Scan()
593 void Scanner::SeekForward(int pos) { in SeekForward()
[all …]
Dpreparser.h115 PreParser(i::Scanner* scanner, in PreParser()
125 strict_mode_violation_location_(i::Scanner::Location::invalid()), in PreParser()
140 static PreParseResult PreParseProgram(i::Scanner* scanner, in PreParseProgram()
504 void ReportMessageAt(i::Scanner::Location location, in ReportMessageAt()
635 void SetStrictModeViolation(i::Scanner::Location,
641 void StrictModeIdentifierViolation(i::Scanner::Location,
646 i::Scanner* scanner_;
650 i::Scanner::Location strict_mode_violation_location_;
Dpreparser.cc103 i::Scanner::Location source_location = scanner_->location(); in ReportUnexpectedToken()
131 i::Scanner::Location octal = scanner_->octal_position(); in CheckOctalLiteral()
272 i::Scanner::Location start_location = scanner_->peek_location(); in ParseStatement()
274 i::Scanner::Location end_location = scanner_->location(); in ParseStatement()
300 i::Scanner::Location location = scanner_->location(); in ParseFunctionDeclaration()
396 i::Scanner::Location location = scanner_->peek_location(); in ParseVariableDeclarations()
404 i::Scanner::Location location = scanner_->peek_location(); in ParseVariableDeclarations()
421 i::Scanner::Location location = scanner_->peek_location(); in ParseVariableDeclarations()
430 i::Scanner::Location location = scanner_->peek_location(); in ParseVariableDeclarations()
575 i::Scanner::Location location = scanner_->location(); in ParseWithStatement()
[all …]
Dparser.h52 ParserMessage(Scanner::Location loc, const char* message, in ParserMessage()
58 Scanner::Location location() { return loc_; } in location()
62 Scanner::Location loc_;
125 Scanner::Location MessageLocation();
446 void ReportMessageAt(Scanner::Location loc,
449 void ReportMessageAt(Scanner::Location loc,
563 Scanner& scanner() { return scanner_; } in scanner()
817 Scanner scanner_;
Dscanner.h277 class Scanner {
283 explicit LiteralScope(Scanner* self) in LiteralScope()
296 Scanner* scanner_;
320 explicit Scanner(UnicodeCache* scanner_contants);
Dparser.cc371 Scanner::Location ScriptDataImpl::MessageLocation() { in MessageLocation()
374 return Scanner::Location(beg_pos, end_pos); in MessageLocation()
759 Scanner::Location source_location = scanner().location(); in ReportMessage()
765 Scanner::Location source_location = scanner().location(); in ReportMessage()
770 void Parser::ReportMessageAt(Scanner::Location source_location, in ReportMessageAt()
788 void Parser::ReportMessageAt(Scanner::Location source_location, in ReportMessageAt()
1124 Scanner::Location token_loc = scanner().peek_location(); in ParseSourceElements()
3929 Scanner::Location loc,
3959 Scanner::Location loc, in CheckProperty()
4113 Scanner::Location loc = scanner().peek_location(); in ParseObjectLiteral()
[all …]
Dpreparser-api.cc191 internal::Scanner scanner(&unicode_cache); in Preparse()
/external/jmonkeyengine/engine/src/test/jme3test/math/
DTestHalfFloat.java36 import java.util.Scanner;
40 Scanner scan = new Scanner(System.in); in main()
/external/jmonkeyengine/engine/src/core/com/jme3/asset/
DAssetConfig.java38 import java.util.Scanner;
62 Scanner scan = new Scanner(in); in loadText()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java41 import java.util.Scanner;
76 parse(result, new Scanner(query), encoding); in parse()
101 parse(result, new Scanner(content), in parse()
133 final Scanner scanner, in parse()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSpelunker.java50 protected Scanner scanner;
78 scanner = new Scanner(br); in parse()
154 public static class Scanner { class in GrammarSpelunker
159 public Scanner(Reader input) throws IOException { in Scanner() method in GrammarSpelunker.Scanner
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DPYXScanner.java38 public class PYXScanner implements Scanner {
119 Scanner s = new PYXScanner(); in main()
DScanner.java26 public interface Scanner { interface
DHTMLScanner.java27 public class HTMLScanner implements Scanner, Locator {
633 Scanner s = new HTMLScanner(); in main()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
DMTLLoader.java49 import java.util.Scanner;
57 protected Scanner scan;
303 scan = new Scanner(in); in load()
/external/v8/test/cctest/
Dtest-parsing.cc67 i::Scanner scanner(&unicode_cache); in TEST()
78 i::Scanner scanner(&unicode_cache); in TEST()
89 i::Scanner scanner(&unicode_cache); in TEST()
99 i::Scanner scanner(&unicode_cache); in TEST()
227 i::Scanner::Location error_location = in TEST()
262 i::Scanner scanner(i::Isolate::Current()->unicode_cache()); in TEST()
298 i::Scanner scanner(i::Isolate::Current()->unicode_cache()); in TEST()
400 i::Scanner scanner(i::Isolate::Current()->unicode_cache()); in TEST()
620 i::Scanner scanner(i::Isolate::Current()->unicode_cache()); in TestStreamScanner()
701 i::Scanner scanner(i::Isolate::Current()->unicode_cache()); in TestScanRegExp()
[all …]
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/
Ddecoder.py6 from scanner import Scanner, pattern
194 JSONScanner = Scanner(ANYTHING)
226 _scanner = Scanner(ANYTHING)
Dscanner.py12 class Scanner(object): class
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMaterialLoader.java53 import java.util.Scanner;
108 Scanner lnScan = new Scanner(content); in readTextureImage()
/external/icu4c/test/intltest/
Dwbnf.cpp786 class Scanner{ class
787 friend int DumpScanner(Scanner & s, UBool dumb);
802 Scanner(const char *src/*[in] c-string*/ = NULL):source(src){ in Scanner() function in Scanner
945 Scanner s;
1278 int DumpScanner(Scanner & s, UBool dump = TRUE){ in DumpScanner()
1547 Scanner t(str); in TestScanner()
/external/llvm/include/llvm/Support/
DYAMLParser.h61 class Scanner; variable
95 OwningPtr<Scanner> scanner;

12