/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RTDyldMemoryManager.cpp | 150 #define ARM_MATH_IMPORTS(PP) \ argument 151 PP(__aeabi_d2f) \ 152 PP(__aeabi_d2iz) \ 153 PP(__aeabi_d2lz) \ 154 PP(__aeabi_d2uiz) \ 155 PP(__aeabi_d2ulz) \ 156 PP(__aeabi_dadd) \ 157 PP(__aeabi_dcmpeq) \ 158 PP(__aeabi_dcmpge) \ 159 PP(__aeabi_dcmpgt) \ [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RTDyldMemoryManager.cpp | 163 #define ARM_MATH_IMPORTS(PP) \ argument 164 PP(__aeabi_d2f) \ 165 PP(__aeabi_d2iz) \ 166 PP(__aeabi_d2lz) \ 167 PP(__aeabi_d2uiz) \ 168 PP(__aeabi_d2ulz) \ 169 PP(__aeabi_dadd) \ 170 PP(__aeabi_dcmpeq) \ 171 PP(__aeabi_dcmpge) \ 172 PP(__aeabi_dcmpgt) \ [all …]
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 30 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 36 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 42 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 48 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 54 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 60 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 66 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 72 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 78 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, 85 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, [all …]
|
D | Parser.cpp | 36 bool HandleComment(Preprocessor &PP, SourceRange Comment) override { in HandleComment() argument 66 Ident__except = PP.getIdentifierInfo("__except"); in getSEHExceptKeyword() 72 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), in Parser() 89 PP.addCommentHandler(CommentSemaHandler.get()); in Parser() 91 PP.setCodeCompletionHandler(*this); in Parser() 110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume() 189 << PP.getSpelling(Tok) in ExpectAndConsumeSemi() 434 PP.removeCommentHandler(CommentSemaHandler.get()); in ~Parser() 436 PP.clearCodeCompletionHandler(); in ~Parser() [all …]
|
/external/clang/lib/Lex/ |
D | Pragma.cpp | 43 void EmptyPragmaHandler::HandlePragma(Preprocessor &PP, in HandlePragma() argument 78 void PragmaNamespace::HandlePragma(Preprocessor &PP, in HandlePragma() argument 83 PP.LexUnexpandedToken(Tok); in HandlePragma() 91 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma() 96 Handler->HandlePragma(PP, Introducer, Tok); in HandlePragma() 128 Preprocessor &PP; member in __anonfbb82d950111::LexingFor_PragmaRAII 135 LexingFor_PragmaRAII(Preprocessor &PP, bool InMacroArgPreExpansion, in LexingFor_PragmaRAII() argument 137 : PP(PP), InMacroArgPreExpansion(InMacroArgPreExpansion), in LexingFor_PragmaRAII() 141 PP.EnableBacktrackAtThisPos(); in LexingFor_PragmaRAII() 148 PP.CommitBacktrackedTokens(); in ~LexingFor_PragmaRAII() [all …]
|
D | PPExpressions.cpp | 65 Preprocessor &PP); 89 bool ValueLive, Preprocessor &PP) { in EvaluateDefined() argument 94 PP.LexUnexpandedNonComment(PeekTok); in EvaluateDefined() 101 PP.LexUnexpandedNonComment(PeekTok); in EvaluateDefined() 105 if (PP.getCodeCompletionHandler()) in EvaluateDefined() 106 PP.getCodeCompletionHandler()->CodeCompleteMacroName(false); in EvaluateDefined() 107 PP.setCodeCompletionReached(); in EvaluateDefined() 108 PP.LexUnexpandedNonComment(PeekTok); in EvaluateDefined() 112 if (PP.CheckMacroName(PeekTok, MU_Other)) in EvaluateDefined() 117 MacroDefinition Macro = PP.getMacroDefinition(II); in EvaluateDefined() [all …]
|
D | MacroArgs.cpp | 27 bool VarargsElided, Preprocessor &PP) { in create() argument 35 for (MacroArgs **Entry = &PP.MacroArgCache; *Entry; in create() 73 void MacroArgs::destroy(Preprocessor &PP) { in destroy() argument 82 ArgCache = PP.MacroArgCache; in destroy() 83 PP.MacroArgCache = this; in destroy() 132 Preprocessor &PP) const { in ArgNeedsPreexpansion() 148 Preprocessor &PP) { in getPreExpArgument() argument 158 SaveAndRestore<bool> PreExpandingMacroArgs(PP.InMacroArgPreExpansion, true); in getPreExpArgument() 167 PP.EnterTokenStream(AT, NumToks, false /*disable expand*/, in getPreExpArgument() 174 PP.Lex(Tok); in getPreExpArgument() [all …]
|
D | TokenLexer.cpp | 47 SourceManager &SM = PP.getSourceManager(); in Init() 118 if (ActualArgs) ActualArgs->destroy(PP); in destroy() 123 unsigned MacroArgNo, Preprocessor &PP) { in MaybeRemoveCommaBeforeVaArgs() argument 131 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat) in MaybeRemoveCommaBeforeVaArgs() 139 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode in MaybeRemoveCommaBeforeVaArgs() 149 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma); in MaybeRemoveCommaBeforeVaArgs() 200 Res = ActualArgs->getStringifiedArgument(ArgNo, PP, in ExpandFunctionArguments() 206 PP, true, in ExpandFunctionArguments() 259 Macro, ArgNo, PP)) in ExpandFunctionArguments() 271 if (ActualArgs->ArgNeedsPreexpansion(ArgTok, PP)) in ExpandFunctionArguments() [all …]
|
D | LiteralSupport.cpp | 509 Preprocessor &PP) in NumericLiteralParser() argument 510 : PP(PP), ThisTokBegin(TokSpelling.begin()), ThisTokEnd(TokSpelling.end()) { in NumericLiteralParser() 563 if (!PP.getLangOpts().Half) break; in NumericLiteralParser() 605 if (PP.getLangOpts().MicrosoftExt) { in NumericLiteralParser() 644 if (*s == 'i' && PP.getLangOpts().CPlusPlus14) in NumericLiteralParser() 661 if (isValidUDSuffix(PP.getLangOpts(), UDSuffixBuf)) { in NumericLiteralParser() 677 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, SuffixBegin - ThisTokBegin), in NumericLiteralParser() 685 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, in NumericLiteralParser() 700 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, s-ThisTokBegin), in ParseDecimalOrOctalCommon() 726 PP.Diag(PP.AdvanceToTokenCharacter(TokLoc, Exponent-ThisTokBegin), in ParseDecimalOrOctalCommon() [all …]
|
D | TokenConcatenation.cpp | 49 const LangOptions &LangOpts = PP.getLangOpts(); in IsIdentifierStringPrefix() 54 SourceManager &SM = PP.getSourceManager(); in IsIdentifierStringPrefix() 63 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 70 TokenConcatenation::TokenConcatenation(Preprocessor &pp) : PP(pp) { in TokenConcatenation() 90 if (PP.getLangOpts().CPlusPlus11) { in TokenConcatenation() 103 if (PP.getLangOpts().CPlusPlus1z) in TokenConcatenation() 125 static char GetFirstChar(Preprocessor &PP, const Token &Tok) { in GetFirstChar() argument 133 SourceManager &SM = PP.getSourceManager(); in GetFirstChar() 139 PP.getSpelling(Tok, TokPtr); in GetFirstChar() [all …]
|
D | PPMacroExpansion.cpp | 278 static IdentifierInfo *RegisterBuiltinMacro(Preprocessor &PP, const char *Name){ in RegisterBuiltinMacro() argument 280 IdentifierInfo *Id = PP.getIdentifierInfo(Name); in RegisterBuiltinMacro() 283 MacroInfo *MI = PP.AllocateMacroInfo(SourceLocation()); in RegisterBuiltinMacro() 285 PP.appendDefMacroDirective(Id, MI); in RegisterBuiltinMacro() 344 Preprocessor &PP) { in isTrivialSingleTokenExpansion() argument 353 PP.getExternalSource()->updateOutOfDateIdentifier(*II); in isTrivialSingleTokenExpansion() 357 if (auto *ExpansionMI = PP.getMacroInfo(II)) in isTrivialSingleTokenExpansion() 610 static bool GenerateNewArgTokens(Preprocessor &PP, in GenerateNewArgTokens() argument 661 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens() 679 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/data/external/ |
D | world_bank_data.csv | 3 Afghanistan,AFG,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,..,..,19202168208.0175,21252… 5 Albania,ALB,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,12811632389.5263,14065584344.906… 7 Algeria,DZA,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,239902565103.632,258154158879.52… 9 American Samoa,ASM,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,..,..,..,..,..,..,..,..,.… 11 Andorra,AND,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,..,..,..,..,..,..,..,..,..,..,..… 13 Angola,AGO,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,30548627728.153,32935156925.3232,… 15 Antigua and Barbuda,ATG,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,1185528868.57469,118… 17 Argentina,ARG,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,426027857759.807,415584811228.… 19 Armenia,ARM,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,7312962664.13328,8216359860.0902… 21 Aruba,ABW,"GNI, PPP (current international $)",NY.GNP.MKTP.PP.CD,..,..,..,..,..,..,..,..,..,..,..,.… [all …]
|
/external/libcxx/benchmarks/ |
D | filesystem.bench.cpp | 13 path PP; in BM_PathConstructString() local 15 PP /= Part; in BM_PathConstructString() 16 benchmark::DoNotOptimize(PP.native().data()); in BM_PathConstructString() 18 const path P(PP.native()); in BM_PathConstructString() 31 path PP; in BM_PathConstructCStr() local 33 PP /= Part; in BM_PathConstructCStr() 34 benchmark::DoNotOptimize(PP.native().data()); in BM_PathConstructCStr() 36 const path P(PP.native().c_str()); in BM_PathConstructCStr() 49 path PP; in BM_PathConstructIter() local 51 PP /= Part; in BM_PathConstructIter() [all …]
|
/external/clang/lib/Frontend/ |
D | PrintPreprocessedOutput.cpp | 36 Preprocessor &PP, raw_ostream &OS) { in PrintMacroDefinition() argument 71 OS << PP.getSpelling(T, SpellingBuffer); in PrintMacroDefinition() 81 Preprocessor &PP; member in __anon8cbb82610111::PrintPPOutputPPCallbacks 101 : PP(pp), SM(PP.getSourceManager()), ConcatInfo(PP), OS(os), in PrintPPOutputPPCallbacks() 329 if (PP.getLangOpts().ObjC2) { in InclusionDirective() 370 PrintMacroDefinition(*MacroNameTok.getIdentifierInfo(), *MI, PP, OS); in MacroDefined() 584 void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer, in HandlePragma() 597 PP.EnterTokenStream(std::move(Toks), /*NumToks=*/1, in HandlePragma() 599 PP.Lex(PragmaTok); in HandlePragma() 611 std::string TokSpell = PP.getSpelling(PragmaTok); in HandlePragma() [all …]
|
D | CompilerInstance.cpp | 98 void CompilerInstance::setPreprocessor(Preprocessor *Value) { PP = Value; } in setPreprocessor() 312 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor() 315 PP->Initialize(getTarget(), getAuxTarget()); in createPreprocessor() 321 PTHMgr->setPreprocessor(&*PP); in createPreprocessor() 322 PP->setPTHManager(PTHMgr); in createPreprocessor() 326 PP->createPreprocessingRecord(); in createPreprocessor() 329 InitializeFileRemapping(PP->getDiagnostics(), PP->getSourceManager(), in createPreprocessor() 330 PP->getFileManager(), PPOpts); in createPreprocessor() 333 InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(), in createPreprocessor() 337 ApplyHeaderSearchOptions(PP->getHeaderSearchInfo(), getHeaderSearchOpts(), in createPreprocessor() [all …]
|
/external/libcxx/src/filesystem/ |
D | operations.cpp | 89 PathParser PP(P, PS_BeforeBegin); in CreateBegin() local 90 PP.increment(); in CreateBegin() 91 return PP; in CreateBegin() 95 PathParser PP(P, PS_AtEnd); in CreateEnd() local 96 return PP; in CreateEnd() 1227 auto PP = PathParser::CreateEnd(p.native()); in __weakly_canonical() local 1228 --PP; in __weakly_canonical() 1231 while (PP.State != PathParser::PS_BeforeBegin) { in __weakly_canonical() 1232 tmp.assign(createView(p.native().data(), &PP.RawEntry.back())); in __weakly_canonical() 1241 DNEParts.push_back(*PP); in __weakly_canonical() [all …]
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 127 Preprocessor &PP, in isExpandedFromConfigurationMacro() argument 139 SourceManager &SM = PP.getSourceManager(); in isExpandedFromConfigurationMacro() 141 StringRef MacroName = PP.getImmediateMacroName(TopL); in isExpandedFromConfigurationMacro() 150 static bool isConfigurationValue(const ValueDecl *D, Preprocessor &PP); 160 Preprocessor &PP, in isConfigurationValue() argument 173 return isConfigurationValue(PE->getSubExpr(), PP, SilenceableCondVal, in isConfigurationValue() 188 return isConfigurationValue(cast<DeclRefExpr>(S)->getDecl(), PP); in isConfigurationValue() 198 return WrappedInParens || isExpandedFromConfigurationMacro(E, PP, IgnoreYES_NO); in isConfigurationValue() 203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP); in isConfigurationValue() 212 return isConfigurationValue(B->getLHS(), PP, SilenceableCondVal, in isConfigurationValue() [all …]
|
/external/clang/unittests/Tooling/ |
D | CommentHandlerTest.cpp | 31 CommentHandlerVisitor() : base(), PP(nullptr), Verified(false) {} in CommentHandlerVisitor() 37 bool HandleComment(Preprocessor &PP, SourceRange Loc) override { in HandleComment() argument 38 assert(&PP == this->PP && "Preprocessor changed!"); in HandleComment() 41 SourceManager &SM = PP.getSourceManager(); in HandleComment() 64 Preprocessor *PP; member in clang::CommentHandlerVisitor 77 V->PP = &CI.getPreprocessor(); in BeginSourceFileAction() 78 V->PP->addCommentHandler(V); in BeginSourceFileAction() 85 V->PP->removeCommentHandler(V); in EndSourceFileAction() 93 Preprocessor *PP; member in clang::CommentVerifier 96 CommentVerifier(const CommentList &Comments, Preprocessor *PP) in CommentVerifier() argument [all …]
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteMacros.cpp | 62 static void LexRawTokensFromMainFile(Preprocessor &PP, in LexRawTokensFromMainFile() argument 64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile() 82 PP.LookUpIdentifierInfo(RawTok); in LexRawTokensFromMainFile() 90 void clang::RewriteMacrosInInput(Preprocessor &PP, raw_ostream *OS) { in RewriteMacrosInInput() argument 91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput() 94 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput() 98 LexRawTokensFromMainFile(PP, RawTokens); in RewriteMacrosInInput() 104 PP.EnterMainSourceFile(); in RewriteMacrosInInput() 106 PP.Lex(PPTok); in RewriteMacrosInInput() [all …]
|
D | InclusionRewriter.cpp | 38 Preprocessor &PP; ///< Used to find inclusion directives. member in __anon3c1c130d0111::InclusionRewriter 53 InclusionRewriter(Preprocessor &PP, raw_ostream &OS, bool ShowLineMarkers, 93 InclusionRewriter::InclusionRewriter(Preprocessor &PP, raw_ostream &OS, in InclusionRewriter() argument 96 : PP(PP), SM(PP.getSourceManager()), OS(OS), MainEOL("\n"), in InclusionRewriter() 321 PP.LookUpIdentifierInfo(RawToken); in NextIdentifierName() 353 PP.LookUpIdentifierInfo(Tok); in HandleHasInclude() 358 StringRef TmpName = PP.getSpelling(Tok, TmpBuffer, &Invalid); in HandleHasInclude() 374 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid); in HandleHasInclude() 386 bool isAngled = PP.GetIncludeFilenameSpelling(Tok.getLocation(), Filename); in HandleHasInclude() 388 const FileEntry *FileEnt = PP.getSourceManager().getFileEntryForID(FileId); in HandleHasInclude() [all …]
|
D | HTMLPrint.cpp | 36 Preprocessor &PP; member in __anon75e031270111::HTMLPrinter 42 : Out(OS), PP(pp), SyntaxHighlight(_SyntaxHighlight), in HTMLPrinter() 51 Preprocessor &PP, in CreateHTMLPrinter() argument 54 return llvm::make_unique<HTMLPrinter>(OS, PP, SyntaxHighlight, in CreateHTMLPrinter() 63 if (PP.getDiagnostics().hasErrorOccurred()) in HandleTranslationUnit() 85 if (SyntaxHighlight) html::SyntaxHighlight(R, FID, PP); in HandleTranslationUnit() 86 if (HighlightMacros) html::HighlightMacros(R, FID, PP); in HandleTranslationUnit()
|
/external/skia/gm/ |
D | mandoline.cpp | 66 SkPoint P[3] = {fLastPt, p1, p2}, PP[5]; in sliceQuadratic() local 67 SkChopQuadAt(P, PP, T); in sliceQuadratic() 68 this->sliceQuadratic(PP[1], PP[2], numSubdivisions - 1); in sliceQuadratic() 69 this->sliceQuadratic(PP[3], PP[4], numSubdivisions - 1); in sliceQuadratic() 86 SkPoint P[4] = {fLastPt, p1, p2, p3}, PP[7]; in sliceCubic() local 87 SkChopCubicAt(P, PP, T); in sliceCubic() 88 this->sliceCubic(PP[1], PP[2], PP[3], numSubdivisions - 1); in sliceCubic() 89 this->sliceCubic(PP[4], PP[5], PP[6], numSubdivisions - 1); in sliceCubic()
|
/external/skqp/gm/ |
D | mandoline.cpp | 66 SkPoint P[3] = {fLastPt, p1, p2}, PP[5]; in sliceQuadratic() local 67 SkChopQuadAt(P, PP, T); in sliceQuadratic() 68 this->sliceQuadratic(PP[1], PP[2], numSubdivisions - 1); in sliceQuadratic() 69 this->sliceQuadratic(PP[3], PP[4], numSubdivisions - 1); in sliceQuadratic() 86 SkPoint P[4] = {fLastPt, p1, p2, p3}, PP[7]; in sliceCubic() local 87 SkChopCubicAt(P, PP, T); in sliceCubic() 88 this->sliceCubic(PP[1], PP[2], PP[3], numSubdivisions - 1); in sliceCubic() 89 this->sliceCubic(PP[4], PP[5], PP[6], numSubdivisions - 1); in sliceCubic()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 171 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader, in InclusionDirectiveFilenameRange() local 174 PP.Initialize(*Target); in InclusionDirectiveFilenameRange() 176 PP.addPPCallbacks(std::unique_ptr<PPCallbacks>(Callbacks)); in InclusionDirectiveFilenameRange() 179 PP.EnterMainSourceFile(); in InclusionDirectiveFilenameRange() 183 PP.Lex(Tok); in InclusionDirectiveFilenameRange() 205 Preprocessor PP(new PreprocessorOptions(), Diags, OpenCLLangOpts, SourceMgr, in PragmaOpenCLExtensionCall() local 208 PP.Initialize(*Target); in PragmaOpenCLExtensionCall() 214 PP.getIdentifierTable(), PP.getSelectorTable(), in PragmaOpenCLExtensionCall() 215 PP.getBuiltinInfo()); in PragmaOpenCLExtensionCall() 219 Sema S(PP, Context, Consumer); in PragmaOpenCLExtensionCall() [all …]
|
/external/clang/lib/Serialization/ |
D | GeneratePCH.cpp | 27 const Preprocessor &PP, StringRef OutputFile, in PCHGenerator() argument 32 : PP(PP), OutputFile(OutputFile), Module(Module), isysroot(isysroot.str()), in PCHGenerator() 44 if (PP.getModuleLoader().HadFatalFailure) in HandleTranslationUnit() 47 bool hasErrors = PP.getDiagnostics().hasErrorOccurred(); in HandleTranslationUnit() 57 PP.getDiagnostics().hasUncompilableErrorOccurred()); in HandleTranslationUnit()
|