Home
last modified time | relevance | path

Searched refs:getOption (Results 1 – 25 of 160) sorted by relevance

1234567

/external/llvm/lib/Option/
DArgList.cpp29 const Option &O = (*Current)->getOption(); in SkipToNextArg()
43 [=](Arg *A) { return A->getOption().matches(Id); }), in eraseArg()
50 if ((*it)->getOption().matches(Id)) in getLastArgNoClaim()
58 if ((*it)->getOption().matches(Id0) || in getLastArgNoClaim()
59 (*it)->getOption().matches(Id1)) in getLastArgNoClaim()
68 if ((*it)->getOption().matches(Id0) || (*it)->getOption().matches(Id1) || in getLastArgNoClaim()
69 (*it)->getOption().matches(Id2)) in getLastArgNoClaim()
78 if ((*it)->getOption().matches(Id0) || (*it)->getOption().matches(Id1) || in getLastArgNoClaim()
79 (*it)->getOption().matches(Id2) || (*it)->getOption().matches(Id3)) in getLastArgNoClaim()
87 if ((*it)->getOption().matches(Id)) { in getLastArg()
[all …]
DOptTable.cpp122 getOption(i).dump(); in OptTable()
123 getOption(i + 1).dump(); in OptTable()
154 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption() function in OptTable
198 return new Arg(getOption(TheInputOptionID), Str, Index++, Str); in ParseOneArg()
243 return new Arg(getOption(TheInputOptionID), Str, Index++, Str); in ParseOneArg()
245 return new Arg(getOption(TheUnknownOptionID), Str, Index++, Str); in ParseOneArg()
292 const Option O = Opts.getOption(Id); in getOptionHelpName()
/external/deqp/framework/common/
DtcuCommandLine.cpp782 if (!m_cmdLine.getOption<opt::LogImages>()) in parse()
785 if (!m_cmdLine.getOption<opt::LogShaderSources>()) in parse()
788 if (!m_cmdLine.getOption<opt::LogFlush>()) in parse()
795 (m_cmdLine.getOption<opt::StdinCaseList>()?1:0) > 1) in parse()
831 const char* CommandLine::getLogFileName (void) const { return m_cmdLine.getOption<opt::LogFi… in getLogFileName()
833 RunMode CommandLine::getRunMode (void) const { return m_cmdLine.getOption<opt::RunMode>();… in getRunMode()
834 const char* CommandLine::getCaseListExportFile (void) const { return m_cmdLine.getOption<opt::… in getCaseListExportFile()
835 WindowVisibility CommandLine::getVisibility (void) const { return m_cmdLine.getOption<opt::Vis… in getVisibility()
836 bool CommandLine::isWatchDogEnabled (void) const { return m_cmdLine.getOption<opt::WatchDog>… in isWatchDogEnabled()
837 bool CommandLine::isCrashHandlingEnabled (void) const { return m_cmdLine.getOption<opt::Crash… in isCrashHandlingEnabled()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/options/
DPropertyOptions.java79 return getOption(URI); in isURI()
101 return getOption(HAS_QUALIFIERS); in getHasQualifiers()
124 return getOption(QUALIFIER); in isQualifier()
142 return getOption(HAS_LANGUAGE); in getHasLanguage()
160 return getOption(HAS_TYPE); in getHasType()
178 return getOption(STRUCT); in isStruct()
199 return getOption(ARRAY); in isArray()
220 return getOption(ARRAY_ORDERED); in isArrayOrdered()
241 return getOption(ARRAY_ALTERNATE); in isArrayAlternate()
263 return getOption(ARRAY_ALT_TEXT); in isArrayAltText()
[all …]
DParseOptions.java50 return getOption(REQUIRE_XMP_META); in getRequireXMPMeta()
70 return getOption(STRICT_ALIASING); in getStrictAliasing()
90 return getOption(FIX_CONTROL_CHARS); in getFixControlChars()
110 return getOption(ACCEPT_LATIN_1); in getAcceptLatin1()
130 return getOption(OMIT_NORMALIZATION); in getOmitNormalization()
DSerializeOptions.java108 return getOption(OMIT_PACKET_WRAPPER); in getOmitPacketWrapper()
128 return getOption(READONLY_PACKET); in getReadOnlyPacket()
148 return getOption(USE_COMPACT_FORMAT); in getUseCompactFormat()
167 return getOption(INCLUDE_THUMBNAIL_PAD); in getIncludeThumbnailPad()
187 return getOption(EXACT_PACKET_LENGTH); in getExactPacketLength()
207 return getOption(SORT); in getSort()
DIteratorOptions.java38 return getOption(JUST_CHILDREN); in isJustChildren()
47 return getOption(JUST_LEAFNAME); in isJustLeafname()
56 return getOption(JUST_LEAFNODES); in isJustLeafnodes()
65 return getOption(OMIT_QUALIFIERS); in isOmitQualifiers()
DAliasOptions.java69 return getOption(PROP_ARRAY); in isArray()
89 return getOption(PROP_ARRAY_ORDERED); in isArrayOrdered()
109 return getOption(PROP_ARRAY_ALTERNATE); in isArrayAlternate()
129 return getOption(PROP_ARRAY_ALT_TEXT); in isArrayAltText()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DAgentOptions.java267 return getOption(DESTFILE, DEFAULT_DESTFILE); in getDestfile()
286 return getOption(APPEND, true); in getAppend()
306 return getOption(INCLUDES, "*"); in getIncludes()
327 return getOption(EXCLUDES, ""); in getExcludes()
348 return getOption(EXCLCLASSLOADER, "sun.reflect.DelegatingClassLoader"); in getExclClassloader()
370 return getOption(INCLBOOTSTRAPCLASSES, false); in getInclBootstrapClasses()
391 return getOption(INCLNOLOCATIONCLASSES, false); in getInclNoLocationClasses()
411 return getOption(SESSIONID, null); in getSessionId()
430 return getOption(DUMPONEXIT, true); in getDumpOnExit()
452 return getOption(PORT, DEFAULT_PORT); in getPort()
[all …]
/external/clang/lib/Driver/
DSanitizerArgs.cpp129 if (Arg->getOption().matches(options::OPT_fsanitize_trap_EQ)) { in parseSanitizeTrapArgs()
140 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_trap_EQ)) { in parseSanitizeTrapArgs()
143 } else if (Arg->getOption().matches( in parseSanitizeTrapArgs()
148 } else if (Arg->getOption().matches( in parseSanitizeTrapArgs()
207 if (Arg->getOption().matches(options::OPT_fsanitize_EQ)) { in SanitizerArgs()
264 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) { in SanitizerArgs()
341 if (Arg->getOption().matches(options::OPT_fsanitize_recover)) { in SanitizerArgs()
346 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_recover)) { in SanitizerArgs()
351 } else if (Arg->getOption().matches(options::OPT_fsanitize_recover_EQ)) { in SanitizerArgs()
360 << Arg->getOption().getName() << toString(SetToDiagnose); in SanitizerArgs()
[all …]
DMSVCToolChain.cpp701 assert(A->getOption().matches(options::OPT__SLASH_O)); in TranslateOptArg()
715 DAL.AddFlagArg(A, Opts.getOption(options::OPT_O0)); in TranslateOptArg()
718 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "s"); in TranslateOptArg()
720 DAL.AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin)); in TranslateOptArg()
721 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "2"); in TranslateOptArg()
726 Opts.getOption(options::OPT_fomit_frame_pointer)); in TranslateOptArg()
729 Opts.getOption(options::OPT_ffunction_sections)); in TranslateOptArg()
737 DAL.AddFlagArg(A, Opts.getOption(options::OPT_fno_inline)); in TranslateOptArg()
740 DAL.AddFlagArg(A, Opts.getOption(options::OPT_finline_hint_functions)); in TranslateOptArg()
743 DAL.AddFlagArg(A, Opts.getOption(options::OPT_finline_functions)); in TranslateOptArg()
[all …]
DDriver.cpp94 getOpts().getOption(options::OPT_driver_mode).getPrefixedName(); in ParseDriverMode()
139 if (A->getOption().hasFlag(options::Unsupported)) { in ParseArgStrings()
145 if (A->getOption().matches(options::OPT_mcpu_EQ) && A->containsValue("")) { in ParseArgStrings()
205 Arg *A = new Arg(Opts->getOption(options::OPT_INPUT), Value, in MakeInputArg()
224 if ((A->getOption().matches(options::OPT_Wl_COMMA) || in TranslateInputArgs()
225 A->getOption().matches(options::OPT_Xlinker)) && in TranslateInputArgs()
228 DAL->AddFlagArg(A, Opts->getOption(options::OPT_Z_Xlinker__no_demangle)); in TranslateInputArgs()
233 DAL->AddSeparateArg(A, Opts->getOption(options::OPT_Xlinker), Val); in TranslateInputArgs()
241 if (A->getOption().matches(options::OPT_Wp_COMMA) && in TranslateInputArgs()
246 DAL->AddFlagArg(A, Opts->getOption(options::OPT_MD)); in TranslateInputArgs()
[all …]
/external/deqp/framework/delibs/decpp/
DdeCommandLine.cpp430 DE_TEST_ASSERT(cmdLine.getOption<TestNamedOpt>() == 1); in selfTest()
431 DE_TEST_ASSERT(cmdLine.getOption<TestBoolOpt>() == false); in selfTest()
432 DE_TEST_ASSERT(cmdLine.getOption<TestStringDefOpt>() == "foo"); in selfTest()
445 DE_TEST_ASSERT(cmdLine.getOption<TestStringOpt>() == "test value"); in selfTest()
446 DE_TEST_ASSERT(cmdLine.getOption<TestIntOpt>() == 9); in selfTest()
447 DE_TEST_ASSERT(cmdLine.getOption<TestBoolOpt>()); in selfTest()
448 DE_TEST_ASSERT(cmdLine.getOption<TestNamedOpt>() == ~0ull); in selfTest()
449 DE_TEST_ASSERT(cmdLine.getOption<TestStringDefOpt>() == "foo"); in selfTest()
462 DE_TEST_ASSERT(cmdLine.getOption<TestStringOpt>() == "foo"); in selfTest()
463 DE_TEST_ASSERT(cmdLine.getOption<TestBoolOpt>()); in selfTest()
[all …]
/external/llvm-project/clang/lib/Driver/
DSanitizerArgs.cpp180 if (Arg->getOption().matches(SCLOptionID)) { in parseSpecialCaseListArg()
189 } else if (Arg->getOption().matches(NoSCLOptionID)) { in parseSpecialCaseListArg()
219 if (Arg->getOption().matches(options::OPT_fsanitize_trap_EQ)) { in parseSanitizeTrapArgs()
230 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_trap_EQ)) { in parseSanitizeTrapArgs()
310 !OptLevel || OptLevel->getOption().matches(options::OPT_O0); in SanitizerArgs()
315 if (Arg->getOption().matches(options::OPT_fsanitize_EQ)) { in SanitizerArgs()
387 assert(NoRTTIArg->getOption().matches(options::OPT_fno_rtti) && in SanitizerArgs()
429 } else if (Arg->getOption().matches(options::OPT_fno_sanitize_EQ)) { in SanitizerArgs()
548 if (Arg->getOption().matches(options::OPT_fsanitize_recover_EQ)) { in SanitizerArgs()
557 << Arg->getOption().getName() << toString(SetToDiagnose); in SanitizerArgs()
[all …]
/external/llvm-project/clang/lib/Driver/ToolChains/Arch/
DMips.cpp158 if (A->getOption().matches(options::OPT_msoft_float)) in getMipsFloatABI()
160 else if (A->getOption().matches(options::OPT_mhard_float)) in getMipsFloatABI()
236 Option O = LastPICArg->getOption(); in getMIPSTargetFeatures()
250 !ABICallsArg || ABICallsArg->getOption().matches(options::OPT_mabicalls); in getMIPSTargetFeatures()
268 if (A->getOption().matches(options::OPT_mno_long_calls)) in getMIPSTargetFeatures()
277 if (A->getOption().matches(options::OPT_mxgot)) in getMIPSTargetFeatures()
309 << A->getOption().getName() << Val; in getMIPSTargetFeatures()
330 << A->getOption().getName() << Val; in getMIPSTargetFeatures()
352 if (A->getOption().matches(options::OPT_mfp32)) in getMIPSTargetFeatures()
354 else if (A->getOption().matches(options::OPT_mfpxx)) { in getMIPSTargetFeatures()
[all …]
DSystemZ.cpp31 if (A->getOption().matches(clang::driver::options::OPT_msoft_float)) in getSystemZFloatABI()
58 if (A->getOption().matches(options::OPT_mhtm)) in getSystemZTargetFeatures()
65 if (A->getOption().matches(options::OPT_mvx)) in getSystemZTargetFeatures()
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp178 cmdLine.serverBinOrAddress = opts.getOption<opt::StartServer>(); in parseCommandLine()
183 cmdLine.serverBinOrAddress = opts.getOption<opt::Host>(); in parseCommandLine()
188 cmdLine.inFile = opts.getOption<opt::ContinueFile>(); in parseCommandLine()
197 cmdLine.port = opts.getOption<opt::Port>(); in parseCommandLine()
198 cmdLine.caseListDir = opts.getOption<opt::CaseListDir>(); in parseCommandLine()
199 cmdLine.testset = opts.getOption<opt::TestSet>(); in parseCommandLine()
200 cmdLine.exclude = opts.getOption<opt::ExcludeSet>(); in parseCommandLine()
201 cmdLine.outFile = opts.getOption<opt::TestLogFile>(); in parseCommandLine()
202 cmdLine.infoFile = opts.getOption<opt::InfoLogFile>(); in parseCommandLine()
203 cmdLine.summary = opts.getOption<opt::Summary>(); in parseCommandLine()
[all …]
/external/llvm-project/clang/lib/Driver/ToolChains/
DClang.cpp165 StringRef Option = A.getOption().getName(); in getRefinementStep()
259 D.Diag(diag::err_drv_invalid_value) << A->getOption().getName() << Val; in ParseMRecip()
266 D.Diag(diag::err_drv_invalid_value) << A->getOption().getName() << Val; in ParseMRecip()
301 D.Diag(diag::err_drv_invalid_value) << A->getOption().getName() << Value; in ParseMPreferVectorWidth()
446 ExceptionArg->getOption().matches(options::OPT_fcxx_exceptions) || in addExceptionArgs()
447 ExceptionArg->getOption().matches(options::OPT_fexceptions); in addExceptionArgs()
492 assert(A.getOption().matches(options::OPT_gN_Group) && in DebugLevelToInfoKind()
494 if (A.getOption().matches(options::OPT_g0) || in DebugLevelToInfoKind()
495 A.getOption().matches(options::OPT_ggdb0)) in DebugLevelToInfoKind()
497 if (A.getOption().matches(options::OPT_gline_tables_only) || in DebugLevelToInfoKind()
[all …]
DMSVC.cpp500 if (A.getOption().matches(options::OPT_l)) { in ConstructJob()
644 CmdArgs.push_back(A->getOption().getID() == options::OPT_fbuiltin ? "/Oi" in GetCommand()
647 if (A->getOption().getID() == options::OPT_O0) { in GetCommand()
663 CmdArgs.push_back(A->getOption().getID() == options::OPT_fomit_frame_pointer in GetCommand()
682 CmdArgs.push_back(A->getOption().getID() == options::OPT_ffunction_sections in GetCommand()
688 A->getOption().getID() == options::OPT_fdata_sections ? "/Gw" : "/Gw-"); in GetCommand()
716 CmdArgs.push_back(A->getOption().getID() == options::OPT_fthreadsafe_statics in GetCommand()
1414 assert(A->getOption().matches(options::OPT__SLASH_O)); in TranslateOptArg()
1433 DAL.AddFlagArg(A, Opts.getOption(options::OPT_O0)); in TranslateOptArg()
1436 DAL.AddJoinedArg(A, Opts.getOption(options::OPT_O), "s"); in TranslateOptArg()
[all …]
DCommonArgs.cpp130 StringRef Name = A->getOption().getName(); in handleTargetFeaturesGroup()
260 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) in AddLinkerInputs()
262 else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) in AddLinkerInputs()
264 else if (A.getOption().matches(options::OPT_z)) { in AddLinkerInputs()
288 << A->getOption().getName() << V; in addLinkerCompressDebugSectionsOption()
297 if (A->getOption().matches(OnOpt)) in AddTargetFeature()
507 if (A->getOption().matches(options::OPT_O4) || in addLTOOptions()
508 A->getOption().matches(options::OPT_Ofast)) in addLTOOptions()
510 else if (A->getOption().matches(options::OPT_O)) { in addLTOOptions()
516 } else if (A->getOption().matches(options::OPT_O0)) in addLTOOptions()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktBuildPrograms.cpp628 deqpArgv.push_back(cmdLine.getOption<opt::Cases>().c_str()); in main()
634 deqpArgv.push_back(cmdLine.getOption<opt::ShaderCacheFilename>().c_str()); in main()
640 if (cmdLine.getOption<opt::ShaderCache>()) in main()
649 if (cmdLine.getOption<opt::ShaderCacheTruncate>()) in main()
658 if (cmdLine.getOption<opt::SpirvOptimize>()) in main()
667 deqpArgv.push_back(cmdLine.getOption<opt::SpirvOptimizationRecipe>().c_str()); in main()
680 …vk::SpirvVersion baselineSpirvVersion = vk::getBaselineSpirvVersion(cmdLine.getOption<opt::Vulkan… in main()
681 …vk::SpirvVersion maxSpirvVersion = vk::getMaxSpirvVersionForGlsl(cmdLine.getOption<opt::VulkanV… in main()
690 cmdLine.getOption<opt::DstPath>(), in main()
691 cmdLine.getOption<opt::Validate>(), in main()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java89 assertThat(allSet.getOption(OPTION_1)).isSameAs("value1"); in allWiths()
90 assertThat(allSet.getOption(OPTION_2)).isSameAs("value2"); in allWiths()
177 assertThat(opts.getOption(OPTION_1)).isEqualTo("default"); in withCustomOptionDefault()
183 assertThat(opts.getOption(OPTION_1)).isEqualTo("v1"); in withCustomOption()
189 assertThat(opts.getOption(OPTION_1)).isEqualTo("v2"); in withCustomOptionLastOneWins()
195 assertThat(opts.getOption(OPTION_1)).isEqualTo("v1"); in withMultipleCustomOption()
196 assertThat(opts.getOption(OPTION_2)).isEqualTo("v2"); in withMultipleCustomOption()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Option/
DArgList.cpp37 for (Option O = A->getOption().getUnaliasedOption(); O.isValid(); in append()
75 return A->getOption().matches(Pos); in hasFlag()
82 return A->getOption().matches(Pos) || A->getOption().matches(PosAlias); in hasFlag()
104 if (Arg->getOption().matches(Id)) { in AddAllArgsExcept()
111 if (Arg->getOption().matches(Id)) { in AddAllArgsExcept()
/external/llvm-project/llvm/lib/Option/
DArgList.cpp37 for (Option O = A->getOption().getUnaliasedOption(); O.isValid(); in append()
75 return A->getOption().matches(Pos); in hasFlag()
82 return A->getOption().matches(Pos) || A->getOption().matches(PosAlias); in hasFlag()
104 if (Arg->getOption().matches(Id)) { in AddAllArgsExcept()
111 if (Arg->getOption().matches(Id)) { in AddAllArgsExcept()
/external/llvm-project/lld/lib/Driver/
DDarwinLdDriver.cpp345 switch (kind->getOption().getID()) { in parse()
402 switch (minOS->getOption().getID()) { in parse()
707 if (mod->getOption().getID() == OPT_multi_module) in parse()
737 (pie->getOption().getID() == OPT_pie)) { in parse()
744 (pie->getOption().getID() == OPT_pie)) { in parse()
750 if (pie->getOption().getID() == OPT_no_pie) { in parse()
758 ctx.setPIE(pie->getOption().getID() == OPT_pie); in parse()
780 flagOn = arg->getOption().getID() == OPT_version_load_command; in parse()
781 flagOff = arg->getOption().getID() == OPT_no_version_load_command; in parse()
828 flagOn = arg->getOption().getID() == OPT_function_starts; in parse()
[all …]

1234567