/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
D | RobolectricConfigTest.java | 70 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_ALLOW_BACKUP)); in shouldReadFlagsFromAndroidManifest() 71 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_ALLOW_CLEAR_USER_DATA)); in shouldReadFlagsFromAndroidManifest() 72 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_ALLOW_TASK_REPARENTING)); in shouldReadFlagsFromAndroidManifest() 73 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_DEBUGGABLE)); in shouldReadFlagsFromAndroidManifest() 74 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_HAS_CODE)); in shouldReadFlagsFromAndroidManifest() 75 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_KILL_AFTER_RESTORE)); in shouldReadFlagsFromAndroidManifest() 76 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_PERSISTENT)); in shouldReadFlagsFromAndroidManifest() 77 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_RESIZEABLE_FOR_SCREENS)); in shouldReadFlagsFromAndroidManifest() 78 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_RESTORE_ANY_VERSION)); in shouldReadFlagsFromAndroidManifest() 79 assertTrue(hasFlag(config.getApplicationFlags(), FLAG_SUPPORTS_LARGE_SCREENS)); in shouldReadFlagsFromAndroidManifest() [all …]
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 193 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount() 225 return !O.hasFlag(options::NoForward) && in forwardToGCC() 226 !O.hasFlag(options::DriverOption) && in forwardToGCC() 227 !O.hasFlag(options::LinkerInput); in forwardToGCC() 1100 if (Args.hasFlag(options::OPT_fno_altivec, options::OPT_faltivec, false)) { in AddPPCTargetArgs() 1105 if (Args.hasFlag(options::OPT_mno_qpx, options::OPT_mqpx, false)) { in AddPPCTargetArgs() 1207 if (!Args.hasFlag(options::OPT_mred_zone, in AddX86TargetArgs() 1384 Args.hasFlag(options::OPT_fobjc_exceptions, in addExceptionArgs() 1425 return !Args.hasFlag(options::OPT_fdwarf2_cfi_asm, in ShouldDisableCFI() 1432 bool UseDwarfDirectory = Args.hasFlag(options::OPT_fdwarf_directory_asm, in ShouldDisableDwarfDirectory() [all …]
|
D | ToolChain.cpp | 42 return Args.hasFlag(options::OPT_integrated_as, in useIntegratedAs() 209 Args.hasFlag(options::OPT_mthumb, options::OPT_mno_thumb, ThumbDefault)) in ComputeLLVMTriple()
|
D | Driver.cpp | 88 if (A->getOption().hasFlag(options::Unsupported)) { in ParseArgStrings() 266 CCCUsePCH = Args->hasFlag(options::OPT_ccc_pch_is_pch, in BuildCompilation() 994 } else if (A->getOption().hasFlag(options::LinkerInput)) { in BuildInputs() 1143 if (!Args.hasFlag(options::OPT_frewrite_includes, in ConstructPhaseAction() 1190 Args.hasFlag(options::OPT_flto, options::OPT_fno_lto, false)) in IsUsingLTO() 1263 if (A->getOption().hasFlag(options::NoArgumentUnused)) in BuildJobs()
|
D | ArgList.cpp | 203 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() function in ArgList
|
D | ToolChains.cpp | 644 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) { in TranslateArgs() 658 if (A->getOption().hasFlag(options::LinkerInput)) { in TranslateArgs() 2287 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NSErrorChecker.cpp | 172 static bool hasFlag(SVal val, ProgramStateRef state) { in REGISTER_TRAIT_WITH_PROGRAMSTATE() 246 bool isNSError = hasFlag<NSErrorOut>(loc, state); in checkEvent() 249 isCFError = hasFlag<CFErrorOut>(loc, state); in checkEvent()
|
/external/llvm/lib/MC/ |
D | SubtargetFeature.cpp | 30 static inline bool hasFlag(const StringRef Feature) { in hasFlag() function 41 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag() 59 if (hasFlag(Feature)) in PrependFlag()
|
/external/clang/include/clang/Driver/ |
D | Option.h | 159 bool hasFlag(unsigned Val) const { in hasFlag() function
|
D | ArgList.h | 240 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
|
/external/llvm/include/llvm/Option/ |
D | Option.h | 148 bool hasFlag(unsigned Val) const { in hasFlag() function
|
D | ArgList.h | 223 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 312 if (Args.hasFlag(OPT_flimit_debug_info, OPT_fno_limit_debug_info, true)) in ParseCodeGenArgs() 498 Opts.ShowColumn = Args.hasFlag(OPT_fshow_column, in ParseDiagnosticArgs() 1118 Opts.GNUKeywords = Args.hasFlag(OPT_fgnu_keywords, OPT_fno_gnu_keywords, in ParseLangArgs() 1204 Opts.DollarIdents = Args.hasFlag(OPT_fdollars_in_identifiers, in ParseLangArgs() 1215 Opts.ConstStrings = Args.hasFlag(OPT_fconst_strings, OPT_fno_const_strings, in ParseLangArgs() 1284 Opts.Deprecated = Args.hasFlag(OPT_fdeprecated_macro, in ParseLangArgs() 1536 if (!(*I)->getOption().hasFlag(options::CC1Option)) { in CreateFromArgs()
|
/external/llvm/lib/Option/ |
D | ArgList.cpp | 203 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() function in ArgList
|