/external/clang/lib/Lex/ |
D | Preprocessor.cpp | 62 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor 145 Preprocessor::~Preprocessor() { in ~Preprocessor() 176 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize() 191 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile() 203 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile() 209 void Preprocessor::setPTHManager(PTHManager* pm) { in setPTHManager() 214 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken() 238 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation() 242 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 251 void Preprocessor::PrintStats() { in PrintStats() [all …]
|
D | PPCaching.cpp | 26 void Preprocessor::EnableBacktrackAtThisPos() { in EnableBacktrackAtThisPos() 32 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens() 40 void Preprocessor::Backtrack() { in Backtrack() 48 void Preprocessor::CachingLex(Token &Result) { in CachingLex() 77 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode() 86 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead() 97 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens() 120 bool Preprocessor::IsPreviousCachedToken(const Token &Tok) const { in IsPreviousCachedToken() 138 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken()
|
D | Pragma.cpp | 43 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma() 78 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() 105 void Preprocessor::HandlePragmaDirective(SourceLocation IntroducerLoc, in HandlePragmaDirective() 128 Preprocessor &PP; 135 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion, in LexingFor_PragmaRAII() 165 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma() 307 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma() 356 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce() 367 void Preprocessor::HandlePragmaMark() { in HandlePragmaMark() 378 void Preprocessor::HandlePragmaPoison(Token &PoisonTok) { in HandlePragmaPoison() [all …]
|
D | PPLexerChange.cpp | 36 bool Preprocessor::isInPrimaryFile() const { in isInPrimaryFile() 52 PreprocessorLexer *Preprocessor::getCurrentFileLexer() const { in getCurrentFileLexer() 72 bool Preprocessor::EnterSourceFile(FileID FID, const DirectoryLookup *CurDir, in EnterSourceFile() 111 void Preprocessor::EnterSourceFileWithLexer(Lexer *TheLexer, in EnterSourceFileWithLexer() 137 void Preprocessor::EnterSourceFileWithPTH(PTHLexer *PL, in EnterSourceFileWithPTH() 162 void Preprocessor::EnterMacro(Token &Tok, SourceLocation ILEnd, in EnterMacro() 191 void Preprocessor::EnterTokenStream(const Token *Toks, unsigned NumToks, in EnterTokenStream() 256 void Preprocessor::PropagateLineStartLeadingSpaceInfo(Token &Result) { in PropagateLineStartLeadingSpaceInfo() 275 const char *Preprocessor::getCurLexerEndPos() { in getCurLexerEndPos() 295 bool Preprocessor::HandleEndOfFile(Token &Result, bool isEndOfMacro) { in HandleEndOfFile() [all …]
|
D | PPDirectives.cpp | 41 MacroInfo *Preprocessor::AllocateMacroInfo() { in AllocateMacroInfo() 48 MacroInfo *Preprocessor::AllocateMacroInfo(SourceLocation L) { in AllocateMacroInfo() 54 MacroInfo *Preprocessor::AllocateDeserializedMacroInfo(SourceLocation L, in AllocateDeserializedMacroInfo() 70 DefMacroDirective *Preprocessor::AllocateDefMacroDirective(MacroInfo *MI, in AllocateDefMacroDirective() 76 Preprocessor::AllocateUndefMacroDirective(SourceLocation UndefLoc) { in AllocateUndefMacroDirective() 81 Preprocessor::AllocateVisibilityMacroDirective(SourceLocation Loc, in AllocateVisibilityMacroDirective() 88 void Preprocessor::DiscardUntilEndOfDirective() { in DiscardUntilEndOfDirective() 123 static MacroDiag shouldWarnOnMacroDef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroDef() 135 static MacroDiag shouldWarnOnMacroUndef(Preprocessor &PP, IdentifierInfo *II) { in shouldWarnOnMacroUndef() 222 bool Preprocessor::CheckMacroName(Token &MacroNameTok, MacroUse isDefineUndef, in CheckMacroName() [all …]
|
/external/llvm-project/clang/lib/Lex/ |
D | PPCaching.cpp | 25 void Preprocessor::EnableBacktrackAtThisPos() { in EnableBacktrackAtThisPos() 32 void Preprocessor::CommitBacktrackedTokens() { in CommitBacktrackedTokens() 40 void Preprocessor::Backtrack() { in Backtrack() 48 void Preprocessor::CachingLex(Token &Result) { in CachingLex() 82 void Preprocessor::EnterCachingLexMode() { in EnterCachingLexMode() 98 void Preprocessor::EnterCachingLexModeUnchecked() { in EnterCachingLexModeUnchecked() 105 const Token &Preprocessor::PeekAhead(unsigned N) { in PeekAhead() 116 void Preprocessor::AnnotatePreviousCachedTokens(const Token &Tok) { in AnnotatePreviousCachedTokens() 139 bool Preprocessor::IsPreviousCachedToken(const Token &Tok) const { in IsPreviousCachedToken() 157 void Preprocessor::ReplacePreviousCachedToken(ArrayRef<Token> NewToks) { in ReplacePreviousCachedToken()
|
D | Preprocessor.cpp | 79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts, in Preprocessor() function in Preprocessor 173 Preprocessor::~Preprocessor() { in ~Preprocessor() 199 void Preprocessor::Initialize(const TargetInfo &Target, in Initialize() 217 void Preprocessor::InitializeForModelFile() { in InitializeForModelFile() 229 void Preprocessor::FinalizeForModelFile() { in FinalizeForModelFile() 235 void Preprocessor::DumpToken(const Token &Tok, bool DumpFlags) const { in DumpToken() 259 void Preprocessor::DumpLocation(SourceLocation Loc) const { in DumpLocation() 263 void Preprocessor::DumpMacro(const MacroInfo &MI) const { in DumpMacro() 272 void Preprocessor::PrintStats() { in PrintStats() 310 Preprocessor::macro_iterator [all …]
|
D | Pragma.cpp | 66 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma() 106 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() 135 Preprocessor &Self; 166 void Preprocessor::HandlePragmaDirective(PragmaIntroducer Introducer) { in HandlePragmaDirective() 188 void Preprocessor::Handle_Pragma(Token &Tok) { in Handle_Pragma() 341 void Preprocessor::HandleMicrosoft__pragma(Token &Tok) { in HandleMicrosoft__pragma() 400 void Preprocessor::HandlePragmaOnce(Token &OnceTok) { in HandlePragmaOnce() 415 void Preprocessor::HandlePragmaMark() { in HandlePragmaMark() 421 void Preprocessor::HandlePragmaPoison() { in HandlePragmaPoison() 463 void Preprocessor::HandlePragmaSystemHeader(Token &SysHeaderTok) { in HandlePragmaSystemHeader() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/compiler/ |
D | object_accessor_test.cc | 48 TEST(Preprocessor, CornerCases) { in TEST() argument 56 TEST(Preprocessor, ReadFromBuffer) { in TEST() argument 67 TEST(Preprocessor, ReadFromBufferLinear) { in TEST() argument 78 TEST(Preprocessor, ReadFromBufferByIndex) { in TEST() argument 92 TEST(Preprocessor, ReadFromTexture) { in TEST() argument 104 TEST(Preprocessor, ReadFromTexture1D) { in TEST() argument 115 TEST(Preprocessor, WriteToBuffer) { in TEST() argument 127 TEST(Preprocessor, WriteToBufferByIndex) { in TEST() argument 141 TEST(Preprocessor, WriteToTexture) { in TEST() argument 152 TEST(Preprocessor, WriteToTexture1D) { in TEST() argument [all …]
|
D | preprocessor_test.cc | 54 TEST(Preprocessor, CornerCases) { in TEST() argument 60 TEST(Preprocessor, One) { in TEST() argument 65 TEST(Preprocessor, More) { in TEST() argument 80 TEST(Preprocessor, RewriteCornerCases) { in TEST() argument 86 TEST(Preprocessor, RewriteOne) { in TEST() argument 91 TEST(Preprocessor, RewriteMore) { in TEST() argument 109 TEST(Preprocessor, KeepUnknownRewrites) { in TEST() argument 118 TEST(Preprocessor, KeepUnknownRewrites_Fail) { in TEST() argument
|
/external/swiftshader/src/OpenGL/compiler/preprocessor/ |
D | Preprocessor.cpp | 48 Preprocessor::Preprocessor(Diagnostics *diagnostics, in Preprocessor() function in pp::Preprocessor 55 Preprocessor::~Preprocessor() in ~Preprocessor() 60 bool Preprocessor::init(size_t count, const char *const string[], const int length[]) in init() 73 void Preprocessor::predefineMacro(const char *name, int value) in predefineMacro() 78 void Preprocessor::lex(Token *token) in lex() 107 void Preprocessor::setMaxTokenSize(size_t maxTokenSize) in setMaxTokenSize()
|
D | Preprocessor.h | 36 class Preprocessor 39 Preprocessor(Diagnostics *diagnostics, 42 ~Preprocessor(); 63 PP_DISALLOW_COPY_AND_ASSIGN(Preprocessor);
|
/external/angle/src/compiler/preprocessor/ |
D | Preprocessor.cpp | 41 Preprocessor::Preprocessor(Diagnostics *diagnostics, in Preprocessor() function in angle::pp::Preprocessor 48 Preprocessor::~Preprocessor() in ~Preprocessor() 53 bool Preprocessor::init(size_t count, const char *const string[], const int length[]) in init() 66 void Preprocessor::predefineMacro(const char *name, int value) in predefineMacro() 71 void Preprocessor::lex(Token *token) in lex() 100 void Preprocessor::setMaxTokenSize(size_t maxTokenSize) in setMaxTokenSize()
|
/external/llvm-project/clang/include/clang/Lex/ |
D | MacroArgs.h | 24 class Preprocessor; variable 68 bool VarargsElided, Preprocessor &PP); 72 void destroy(Preprocessor &PP); 76 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const; 91 getPreExpArgument(unsigned Arg, Preprocessor &PP); 117 bool invokedWithVariadicArgument(const MacroInfo *const MI, Preprocessor &PP); 125 Preprocessor &PP, bool Charify,
|
D | TokenLexer.h | 23 class Preprocessor; variable 31 friend class Preprocessor; variable 41 Preprocessor &PP; 109 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer() 118 bool ownsTokens, bool isReinject, Preprocessor &pp) in TokenLexer() 238 Preprocessor &PP);
|
D | PreprocessorLexer.h | 27 class Preprocessor; variable 33 friend class Preprocessor; 36 Preprocessor *PP = nullptr; 78 PreprocessorLexer(Preprocessor *pp, FileID fid); 144 Preprocessor *getPP() const { return PP; } in getPP()
|
/external/clang/include/clang/Lex/ |
D | MacroArgs.h | 24 class Preprocessor; variable 66 bool VarargsElided, Preprocessor &PP); 70 void destroy(Preprocessor &PP); 74 bool ArgNeedsPreexpansion(const Token *ArgTok, Preprocessor &PP) const; 89 getPreExpArgument(unsigned Arg, const MacroInfo *MI, Preprocessor &PP); 93 const Token &getStringifiedArgument(unsigned ArgNo, Preprocessor &PP, 115 Preprocessor &PP, bool Charify,
|
D | TokenLexer.h | 21 class Preprocessor; variable 41 Preprocessor &PP; 52 friend class Preprocessor; variable 110 MacroArgs *ActualArgs, Preprocessor &pp) in TokenLexer() 126 bool ownsTokens, Preprocessor &pp) in TokenLexer() 198 Preprocessor &PP);
|
D | PreprocessorLexer.h | 25 class Preprocessor; variable 30 Preprocessor *PP; // Preprocessor object controlling lexing. 74 friend class Preprocessor; variable 76 PreprocessorLexer(Preprocessor *pp, FileID fid); 151 Preprocessor *getPP() const { return PP; } in getPP()
|
D | Pragma.h | 23 class Preprocessor; variable 67 virtual void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 81 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 117 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
|
/external/clang/include/clang/Frontend/ |
D | Utils.h | 50 class Preprocessor; variable 66 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts, 71 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream* OS, 81 virtual void attachToPreprocessor(Preprocessor &PP); 116 Preprocessor &PP, const DependencyOutputOptions &Opts); 140 void attachToPreprocessor(Preprocessor &PP) override; 152 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, 167 void AttachHeaderIncludeGen(Preprocessor &PP, 174 void CacheTokens(Preprocessor &PP, raw_pwrite_stream *OS);
|
/external/llvm-project/clang/include/clang/Frontend/ |
D | Utils.h | 52 class Preprocessor; variable 64 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts, 69 void DoPrintPreprocessedInput(Preprocessor &PP, raw_ostream *OS, 80 virtual void attachToPreprocessor(Preprocessor &PP); 121 void attachToPreprocessor(Preprocessor &PP) override; 172 void attachToPreprocessor(Preprocessor &PP) override; 181 void AttachDependencyGraphGen(Preprocessor &PP, StringRef OutputFile, 196 void AttachHeaderIncludeGen(Preprocessor &PP,
|
/external/clang/include/clang/Rewrite/Frontend/ |
D | Rewriters.h | 20 class Preprocessor; variable 24 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS); 27 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS); 30 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
|
/external/llvm-project/clang/include/clang/Rewrite/Frontend/ |
D | Rewriters.h | 19 class Preprocessor; variable 23 void RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS); 26 void DoRewriteTest(Preprocessor &PP, raw_ostream *OS); 29 void RewriteIncludesInInput(Preprocessor &PP, raw_ostream *OS,
|
/external/angle/src/tests/preprocessor_tests/ |
D | PreprocessorTest.cpp | 15 pp::Preprocessor *preprocessor) in preprocess() 37 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, settings); in preprocess() 53 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in preprocess() 64 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in lexSingleToken() 74 pp::Preprocessor preprocessor(&mDiagnostics, &mDirectiveHandler, in lexSingleToken()
|