Home
last modified time | relevance | path

Searched refs:hasFlag (Results 1 – 12 of 12) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DRobolectricConfigTest.java70 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/
DTools.cpp196 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount()
231 !O.hasFlag(options::DriverOption) && in forwardToGCC()
232 !O.hasFlag(options::LinkerInput); in forwardToGCC()
835 if (!Args.hasFlag(options::OPT_mimplicit_float, in AddARMTargetArgs()
1162 if (Args.hasFlag(options::OPT_mno_qpx, options::OPT_mqpx, false)) { in AddPPCTargetArgs()
1297 if (!Args.hasFlag(options::OPT_mred_zone, in AddX86TargetArgs()
1483 Args.hasFlag(options::OPT_fobjc_exceptions, in addExceptionArgs()
1524 return !Args.hasFlag(options::OPT_fautolink, options::OPT_fno_autolink, in ShouldDisableAutolink()
1536 return !Args.hasFlag(options::OPT_fdwarf2_cfi_asm, in ShouldDisableCFI()
1543 bool UseDwarfDirectory = Args.hasFlag(options::OPT_fdwarf_directory_asm, in ShouldDisableDwarfDirectory()
[all …]
DToolChain.cpp40 return Args.hasFlag(options::OPT_integrated_as, in useIntegratedAs()
262 Args.hasFlag(options::OPT_mthumb, options::OPT_mno_thumb, ThumbDefault)) in ComputeLLVMTriple()
DDriver.cpp133 if (A->getOption().hasFlag(options::Unsupported)) { in ParseArgStrings()
314 CCCUsePCH = Args->hasFlag(options::OPT_ccc_pch_is_pch, in BuildCompilation()
1122 } else if (A->getOption().hasFlag(options::LinkerInput)) { in BuildInputs()
1269 if (!Args.hasFlag(options::OPT_frewrite_includes, in ConstructPhaseAction()
1318 Args.hasFlag(options::OPT_flto, options::OPT_fno_lto, false)) in IsUsingLTO()
1406 if (A->getOption().hasFlag(options::NoArgumentUnused)) in BuildJobs()
DToolChains.cpp633 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) { in TranslateArgs()
647 if (A->getOption().hasFlag(options::LinkerInput)) { in TranslateArgs()
2379 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp172 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/
DSubtargetFeature.cpp30 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/llvm/include/llvm/Option/
DArgList.h223 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
229 bool hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg,
DOption.h158 bool hasFlag(unsigned Val) const { in hasFlag() function
/external/llvm/lib/Option/
DOptTable.cpp220 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg()
222 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg()
DArgList.cpp203 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() function in ArgList
209 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() function in ArgList
/external/clang/lib/Frontend/
DCompilerInvocation.cpp323 if (Args.hasFlag(OPT_flimit_debug_info, OPT_fno_limit_debug_info, true)) in ParseCodeGenArgs()
535 Opts.ShowColumn = Args.hasFlag(OPT_fshow_column, in ParseDiagnosticArgs()
1161 Opts.GNUKeywords = Args.hasFlag(OPT_fgnu_keywords, OPT_fno_gnu_keywords, in ParseLangArgs()
1244 Opts.DollarIdents = Args.hasFlag(OPT_fdollars_in_identifiers, in ParseLangArgs()
1255 Opts.ConstStrings = Args.hasFlag(OPT_fconst_strings, OPT_fno_const_strings, in ParseLangArgs()
1327 Opts.Deprecated = Args.hasFlag(OPT_fdeprecated_macro, in ParseLangArgs()