/external/clang/lib/Lex/ |
D | Lexer.cpp | 53 void Lexer::anchor() { } in anchor() 55 void Lexer::InitLexer(const char *BufStart, const char *BufPtr, in InitLexer() 109 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP) in Lexer() function in Lexer 120 void Lexer::resetExtendedTokenMode() { in resetExtendedTokenMode() 131 Lexer::Lexer(SourceLocation fileloc, const LangOptions &langOpts, in Lexer() function in Lexer 144 Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile, in Lexer() function in Lexer 146 : Lexer(SM.getLocForStartOfFile(FID), langOpts, FromFile->getBufferStart(), in Lexer() 164 Lexer *Lexer::Create_PragmaLexer(SourceLocation SpellingLoc, in Create_PragmaLexer() 173 Lexer *L = new Lexer(SpellingFID, InputFile, PP); in Create_PragmaLexer() 202 std::string Lexer::Stringify(const std::string &Str, bool Charify) { in Stringify() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 117 AsmLexer Lexer; member in __anon13c8422b0111::AsmParser 192 MCAsmLexer &getLexer() override { return Lexer; } in getLexer() 491 : Lexer(MAI), Ctx(Ctx), Out(Out), MAI(MAI), SrcMgr(SM), in AsmParser() 500 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in AsmParser() 558 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in enterIncludeFile() 563 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in enterIncludeFile() 573 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in processIncbinFile() 584 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), in jumpToLoc() 589 const AsmToken *tok = &Lexer.Lex(); in Lex() 597 tok = &Lexer.Lex(); in Lex() [all …]
|
/external/clang/unittests/Lex/ |
D | LexerTest.cpp | 97 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange( in getSourceText() 296 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); in TEST_F() 298 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts)); in TEST_F() 299 EXPECT_FALSE(Lexer::isAtEndOfMacroExpansion(idLoc, SourceMgr, LangOpts)); in TEST_F() 300 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)); in TEST_F() 303 CharSourceRange range = Lexer::makeFileCharRange( in TEST_F() 306 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(idLoc, rsqrLoc), in TEST_F() 309 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), in TEST_F() 316 StringRef text = Lexer::getSourceText( in TEST_F() 328 range = Lexer::makeFileCharRange( in TEST_F() [all …]
|
/external/clang/lib/AST/ |
D | CommentLexer.cpp | 13 void Token::dump(const Lexer &L, const SourceManager &SM) const { in dump() 49 StringRef Lexer::resolveHTMLNamedCharacterReference(StringRef Name) const { in resolveHTMLNamedCharacterReference() 61 StringRef Lexer::resolveHTMLDecimalCharacterReference(StringRef Name) const { in resolveHTMLDecimalCharacterReference() 71 StringRef Lexer::resolveHTMLHexCharacterReference(StringRef Name) const { in resolveHTMLHexCharacterReference() 82 void Lexer::skipLineStartingDecorations() { in skipLineStartingDecorations() 271 void Lexer::formTokenWithChars(Token &Result, const char *TokEnd, in formTokenWithChars() 284 void Lexer::lexCommentText(Token &T) { in lexCommentText() 441 void Lexer::setupAndLexVerbatimBlock(Token &T, in setupAndLexVerbatimBlock() 466 void Lexer::lexVerbatimBlockFirstLine(Token &T) { in lexVerbatimBlockFirstLine() 511 void Lexer::lexVerbatimBlockBody(Token &T) { in lexVerbatimBlockBody() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | URLParser.java | 50 this.lexer = new Lexer("sip_urlLexer", url); in URLParser() 54 public URLParser(Lexer lexer) { in URLParser() 76 return Lexer.isAlphaDigit(next) || isMark(next); in isUnreserved() 206 Lexer.isHexDigit(lexer.lookAhead(1)) && in isEscaped() 207 Lexer.isHexDigit(lexer.lookAhead(2)); in isEscaped() 222 && Lexer.isHexDigit(next1) in escaped() 223 && Lexer.isHexDigit(next2)) { in escaped() 261 return Lexer.charAsString(la); in uric() 264 return Lexer.charAsString(la); in uric() 293 return Lexer.charAsString(la); in uricNoSlash() [all …]
|
D | AddressParser.java | 40 public AddressParser(Lexer lexer) { in AddressParser() 46 this.lexer = new Lexer("charLexer", address); in AddressParser() 57 URLParser uriParser = new URLParser((Lexer) lexer); in nameAddr() 77 URLParser uriParser = new URLParser((Lexer) lexer); in nameAddr() 115 URLParser uriParser = new URLParser((Lexer) lexer); in address()
|
D | CallInfoParser.java | 55 protected CallInfoParser(Lexer lexer) { in CallInfoParser() 78 URLParser urlParser=new URLParser((Lexer)this.lexer); in parse() 95 urlParser=new URLParser((Lexer)this.lexer); in parse()
|
D | ParametersParser.java | 43 protected ParametersParser(Lexer lexer) { in ParametersParser() 44 super((Lexer) lexer); in ParametersParser()
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
D | Lexer.pm | 1 package Test::ANTLR::Runtime::Lexer; 6 use ANTLR::Runtime::Lexer; 14 my $lexer = ANTLR::Runtime::Lexer->new({ input => $input });
|
/external/clang/include/clang/AST/ |
D | CommentLexer.h | 28 class Lexer; variable 58 friend class Lexer; variable 218 void dump(const Lexer &L, const SourceManager &SM) const; 222 class Lexer { 224 Lexer(const Lexer &) = delete; 225 void operator=(const Lexer &) = delete; 346 Lexer(llvm::BumpPtrAllocator &Allocator, DiagnosticsEngine &Diags,
|
D | CommentBriefParser.h | 31 Lexer &L; 45 BriefParser(Lexer &L, const CommandTraits &Traits);
|
/external/clang/include/clang/Lex/ |
D | Lexer.h | 46 class Lexer : public PreprocessorLexer { 92 Lexer(const Lexer &) = delete; 93 void operator=(const Lexer &) = delete; 103 Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, Preprocessor &PP); 108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 114 Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, 120 static Lexer *Create_PragmaLexer(SourceLocation SpellingLoc,
|
D | Preprocessor.h | 277 std::unique_ptr<Lexer> CurLexer; 322 std::unique_ptr<Lexer> TheLexer; 331 std::unique_ptr<Lexer> &&TheLexer, in IncludeStackInfo() 1061 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 1073 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid); 1090 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid); 1105 return Lexer::getRawToken(Loc, Result, SourceMgr, LangOpts, IgnoreWhiteSpace); 1135 return Lexer::getImmediateMacroName(Loc, SourceMgr, getLangOpts()); in getImmediateMacroName() 1163 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); 1173 return Lexer::isAtStartOfMacroExpansion(loc, SourceMgr, LangOpts, [all …]
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
D | Lexer.js | 6 org.antlr.runtime.Lexer = function(input, state) { class in org.antlr.runtime 8 org.antlr.runtime.Lexer.superclass.constructor.call(this, state); 15 org.antlr.lang.extend(org.antlr.runtime.Lexer, org.antlr.runtime.BaseRecognizer, { 18 org.antlr.runtime.Lexer.superclass.reset.call(this); 242 msg = org.antlr.runtime.Lexer.superclass.getErrorMessage.call(this, e, tokenNames); 277 org.antlr.runtime.Lexer.superclass.traceIn.call(this, ruleName, ruleIndex, inputSymbol); 282 org.antlr.runtime.Lexer.superclass.traceOut.call(this, ruleName, ruleIndex, inputSymbol);
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestCommonTokenStream.java | 188 tokens[0].setChannel(Lexer.HIDDEN); in testOffChannel() 189 tokens[2].setChannel(Lexer.HIDDEN); in testOffChannel() 190 tokens[5].setChannel(Lexer.HIDDEN); in testOffChannel() 191 tokens[6].setChannel(Lexer.HIDDEN); in testOffChannel() 192 tokens[8].setChannel(Lexer.HIDDEN); in testOffChannel()
|
/external/nist-sip/java/gov/nist/core/ |
D | HostNameParser.java | 52 private static LexerCore Lexer; field in HostNameParser 225 int hostEnd = uriHeader.indexOf(Lexer.QUESTION); in isIPv6Address() 229 int semiColonIndex = uriHeader.indexOf(Lexer.SEMICOLON); in isIPv6Address() 242 int firstColonIndex = host.indexOf(Lexer.COLON); in isIPv6Address() 247 int secondColonIndex = host.indexOf(Lexer.COLON, firstColonIndex + 1); in isIPv6Address()
|
/external/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 243 AsmLexer Lexer(MAI); in AsLexInput() local 244 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); in AsLexInput() 247 while (Lexer.Lex().isNot(AsmToken::Eof)) { in AsLexInput() 248 AsmToken Tok = Lexer.getTok(); in AsLexInput() 252 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning, in AsLexInput() 260 OS << "identifier: " << Lexer.getTok().getString(); in AsLexInput() 263 OS << "int: " << Lexer.getTok().getString(); in AsLexInput() 266 OS << "real: " << Lexer.getTok().getString(); in AsLexInput() 269 OS << "string: " << Lexer.getTok().getString(); in AsLexInput()
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | LexerErrorInterface.java | 32 import org.antlr.runtime.Lexer; 40 …public abstract static class ANTLRLexerWithErrorInterface extends Lexer implements LexerErrorInter…
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
D | SyntaxTreeBuilder.java | 22 import com.google.clearsilver.jsilver.syntax.lexer.Lexer; 110 Lexer lexer = new Lexer(pushbackReader); in parse()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
D | AddressHeaderParser.java | 35 import gov.nist.javax.sip.parser.Lexer; 48 protected AddressHeaderParser(Lexer lexer) { in AddressHeaderParser()
|
D | SecurityVerifyParser.java | 41 import gov.nist.javax.sip.parser.Lexer; 56 protected SecurityVerifyParser(Lexer lexer) in SecurityVerifyParser()
|
D | SecurityServerParser.java | 41 import gov.nist.javax.sip.parser.Lexer; 57 protected SecurityServerParser(Lexer lexer) in SecurityServerParser()
|
D | PCalledPartyIDParser.java | 36 import gov.nist.javax.sip.parser.Lexer; 60 protected PCalledPartyIDParser(Lexer lexer) in PCalledPartyIDParser()
|
D | SecurityClientParser.java | 42 import gov.nist.javax.sip.parser.Lexer; 57 protected SecurityClientParser(Lexer lexer) in SecurityClientParser()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | Lexer.cs | 43 public abstract class Lexer : BaseRecognizer, ITokenSource { class 47 public Lexer() { in Lexer() method in Antlr.Runtime.Lexer 50 public Lexer(ICharStream input) { in Lexer() method in Antlr.Runtime.Lexer 54 public Lexer(ICharStream input, RecognizerSharedState state) in Lexer() method in Antlr.Runtime.Lexer
|