/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(StringRef Str, bool Charify) { in Stringify() [all …]
|
/external/llvm/lib/MC/MCParser/ |
D | AsmParser.cpp | 119 AsmLexer Lexer; member in __anon13c8422b0111::AsmParser 201 MCAsmLexer &getLexer() override { return Lexer; } in getLexer() 507 : Lexer(MAI), Ctx(Ctx), Out(Out), MAI(MAI), SrcMgr(SM), in AsmParser() 516 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in AsmParser() 578 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in enterIncludeFile() 583 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer()); in enterIncludeFile() 593 SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile); in processIncbinFile() 604 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(), in jumpToLoc() 609 const AsmToken *tok = &Lexer.Lex(); in Lex() 617 tok = &Lexer.Lex(); in Lex() [all …]
|
/external/clang/unittests/Lex/ |
D | LexerTest.cpp | 96 Lexer::getSourceText(CharSourceRange::getTokenRange(SourceRange( in getSourceText() 295 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); in TEST_F() 297 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts)); in TEST_F() 298 EXPECT_FALSE(Lexer::isAtEndOfMacroExpansion(idLoc, SourceMgr, LangOpts)); in TEST_F() 299 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)); in TEST_F() 302 CharSourceRange range = Lexer::makeFileCharRange( in TEST_F() 305 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(idLoc, rsqrLoc), in TEST_F() 308 range = Lexer::makeFileCharRange(CharSourceRange::getTokenRange(lsqrLoc, rsqrLoc), in TEST_F() 315 StringRef text = Lexer::getSourceText( in TEST_F() 327 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/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/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/llvm/lib/Target/Hexagon/AsmParser/ |
D | HexagonAsmParser.cpp | 733 MCAsmLexer &Lexer = getLexer(); in matchBundleOptions() local 737 Lexer.Lex(); in matchBundleOptions() 749 Lexer.Lex(); in matchBundleOptions() 1130 MCAsmLexer &Lexer = getLexer(); in parseOperand() local 1147 AsmToken MaybeDotNew = Lexer.getTok(); in parseOperand() 1163 AsmToken MaybeDotNew = Lexer.getTok(); in parseOperand() 1180 MCAsmLexer &Lexer = getLexer(); in isLabel() local 1181 AsmToken const &Second = Lexer.getTok(); in isLabel() 1182 AsmToken Third = Lexer.peekTok(); in isLabel() 1216 MCAsmLexer &Lexer = getLexer(); in ParseRegister() local [all …]
|
/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,
|
/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/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/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/llvm/tools/llvm-mc/ |
D | llvm-mc.cpp | 247 AsmLexer Lexer(MAI); in AsLexInput() local 248 Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer()); in AsLexInput() 251 while (Lexer.Lex().isNot(AsmToken::Eof)) { in AsLexInput() 252 AsmToken Tok = Lexer.getTok(); in AsLexInput() 256 SrcMgr.PrintMessage(Lexer.getLoc(), SourceMgr::DK_Warning, in AsLexInput() 264 OS << "identifier: " << Lexer.getTok().getString(); in AsLexInput() 267 OS << "int: " << Lexer.getTok().getString(); in AsLexInput() 270 OS << "real: " << Lexer.getTok().getString(); in AsLexInput() 273 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/smali/smalidea/src/main/java/org/jf/smalidea/ |
D | SmaliHighlighter.java | 34 import com.intellij.lexer.Lexer; 42 @NotNull @Override public Lexer getHighlightingLexer() { in getHighlightingLexer()
|
/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
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
D | SecurityVerifyParser.java | 41 import gov.nist.javax.sip.parser.Lexer; 56 protected SecurityVerifyParser(Lexer lexer) in SecurityVerifyParser()
|
D | AddressHeaderParser.java | 35 import gov.nist.javax.sip.parser.Lexer; 48 protected AddressHeaderParser(Lexer lexer) { in AddressHeaderParser()
|
D | SecurityServerParser.java | 41 import gov.nist.javax.sip.parser.Lexer; 57 protected SecurityServerParser(Lexer lexer) in SecurityServerParser()
|
D | PPreferredIdentityParser.java | 34 import gov.nist.javax.sip.parser.Lexer; 58 protected PPreferredIdentityParser(Lexer lexer) { in PPreferredIdentityParser()
|