Home
last modified time | relevance | path

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

/external/robolectric/v1/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/unittests/Driver/
DMultilibTest.cpp169 static bool hasFlag(const Multilib &M, StringRef Flag) { in hasFlag() function
210 .Case("", hasFlag(*I, "-sof")) in TEST()
211 .Case("/sof", hasFlag(*I, "+sof")) in TEST()
212 .Case("/el", hasFlag(*I, "-sof")) in TEST()
213 .Case("/sof/el", hasFlag(*I, "+sof")) in TEST()
217 .Case("", hasFlag(*I, "-EL")) in TEST()
218 .Case("/sof", hasFlag(*I, "-EL")) in TEST()
219 .Case("/el", hasFlag(*I, "+EL")) in TEST()
220 .Case("/sof/el", hasFlag(*I, "+EL")) in TEST()
/external/llvm/lib/MC/
DSubtargetFeature.cpp31 static inline bool hasFlag(StringRef Feature) { in hasFlag() function
42 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag()
68 Features.push_back(hasFlag(String) ? String.lower() in AddFeature()
201 assert(hasFlag(Feature)); in ApplyFeatureFlag()
/external/clang/lib/Driver/
DTools.cpp254 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount()
270 !O.hasFlag(options::DriverOption) && !O.hasFlag(options::LinkerInput); in forwardToGCC()
999 if (!Args.hasFlag(options::OPT_mimplicit_float, in AddARMTargetArgs()
1037 if (!Args.hasFlag(options::OPT_mred_zone, options::OPT_mno_red_zone, true) || in AddAArch64TargetArgs()
1042 if (!Args.hasFlag(options::OPT_mimplicit_float, in AddAArch64TargetArgs()
1485 HasQPX = Args.hasFlag(options::OPT_mqpx, options::OPT_mno_qpx, HasQPX); in AddPPCTargetArgs()
2026 if (!Args.hasFlag(options::OPT_mred_zone, options::OPT_mno_red_zone, true) || in AddX86TargetArgs()
2397 bool EH = Args.hasFlag(options::OPT_fexceptions, options::OPT_fno_exceptions, in addExceptionArgs()
2403 Args.hasFlag(options::OPT_fobjc_exceptions, in addExceptionArgs()
2457 return !Args.hasFlag(options::OPT_fautolink, options::OPT_fno_autolink, in ShouldDisableAutolink()
[all …]
DToolChain.cpp83 return Args.hasFlag(options::OPT_fintegrated_as, in useIntegratedAs()
313 if (Args.hasFlag(options::OPT_fprofile_arcs, options::OPT_fno_profile_arcs, in needsProfileRT()
483 if ((InputType != types::TY_PP_Asm && Args.hasFlag(options::OPT_mthumb, in ComputeLLVMTriple()
DDriver.cpp137 if (A->getOption().hasFlag(options::Unsupported)) { in ParseArgStrings()
375 if (!Args.hasFlag(options::OPT_flto, options::OPT_flto_EQ, in setLTOMode()
444 Args.hasFlag(options::OPT_ccc_pch_is_pch, options::OPT_ccc_pch_is_pth); in BuildCompilation()
1252 } else if (A->getOption().hasFlag(options::LinkerInput)) { in BuildInputs()
1557 if (!Args.hasFlag(options::OPT_frewrite_includes, in ConstructPhaseAction()
1690 if (A->getOption().hasFlag(options::NoArgumentUnused)) in BuildJobs()
2406 return Args.hasFlag(options::OPT_Ofast, options::OPT_O_Group, false); in isOptimizationLevelFast()
DToolChains.cpp248 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount()
804 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) { in TranslateArgs()
818 if (A->getOption().hasFlag(options::LinkerInput)) { in TranslateArgs()
2433 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
4251 } else if (XarchArg->getOption().hasFlag(options::DriverOption)) { in TranslateArgs()
4454 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
DSanitizerArgs.cpp444 CfiCrossDso = Args.hasFlag(options::OPT_fsanitize_cfi_cross_dso, in SanitizerArgs()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSErrorChecker.cpp174 static bool hasFlag(SVal val, ProgramStateRef state) { in REGISTER_TRAIT_WITH_PROGRAMSTATE()
248 bool isNSError = hasFlag<NSErrorOut>(loc, state); in checkEvent()
251 isCFError = hasFlag<CFErrorOut>(loc, state); in checkEvent()
/external/llvm/include/llvm/Option/
DOption.h159 bool hasFlag(unsigned Val) const { in hasFlag() function
DArgList.h248 bool hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default=true) const;
254 bool hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg,
/external/clang/lib/Frontend/
DCompilerInvocation.cpp446 Args.hasFlag(OPT_funroll_loops, OPT_fno_unroll_loops, in ParseCodeGenArgs()
458 Args.hasFlag(OPT_fcoverage_mapping, OPT_fno_coverage_mapping, false); in ParseCodeGenArgs()
524 Opts.FunctionSections = Args.hasFlag(OPT_ffunction_sections, in ParseCodeGenArgs()
526 Opts.DataSections = Args.hasFlag(OPT_fdata_sections, in ParseCodeGenArgs()
528 Opts.UniqueSectionNames = Args.hasFlag(OPT_funique_section_names, in ParseCodeGenArgs()
633 Args.hasFlag(OPT_femulated_tls, OPT_fno_emulated_tls, false); in ParseCodeGenArgs()
762 Opts.ShowColumn = Args.hasFlag(OPT_fshow_column, in ParseDiagnosticArgs()
1477 Opts.GNUKeywords = Args.hasFlag(OPT_fgnu_keywords, OPT_fno_gnu_keywords, in ParseLangArgs()
1619 Args.hasFlag(OPT_ftrigraphs, OPT_fno_trigraphs, Opts.Trigraphs); in ParseLangArgs()
1621 Opts.DollarIdents = Args.hasFlag(OPT_fdollars_in_identifiers, in ParseLangArgs()
[all …]
/external/llvm/lib/Option/
DOptTable.cpp226 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg()
228 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg()
DArgList.cpp221 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier Neg, bool Default) const { in hasFlag() function in ArgList
227 bool ArgList::hasFlag(OptSpecifier Pos, OptSpecifier PosAlias, OptSpecifier Neg, in hasFlag() function in ArgList