Searched refs:ParsedOptions (Results 1 – 4 of 4) sorted by relevance
/external/caliper/caliper/src/test/java/com/google/caliper/options/ |
D | ParsedOptionsTest.java | 67 ParsedOptions.from(new String[] {}, true); in testNoOptions_RequireBenchmarkClassName() 76 ParsedOptions.from(new String[] {"a", "b"}, true); in testTooManyArguments_RequireBenchmarkClassName() 85 ParsedOptions.from(new String[] {"a", "b"}, false); in testTooManyArguments_DoNotRequireBenchmarkClassName() 95 ParsedOptions.from(new String[] {"--help"}, true); in testHelp() 102 CaliperOptions options = ParsedOptions.from(new String[] {CLASS_NAME}, true); in testDefaults_RequireBenchmarkClassName() 109 CaliperOptions options = ParsedOptions.from(new String[] {}, false); in testDefaults_DoNotRequireBenchmarkClassName() 147 CaliperOptions options = ParsedOptions.from(args, true); in testKitchenSink()
|
/external/caliper/caliper/src/main/java/com/google/caliper/options/ |
D | ParsedOptions.java | 41 final class ParsedOptions implements CaliperOptions { class 43 public static ParsedOptions from(String[] args, boolean requireBenchmarkClassName) in from() 45 ParsedOptions options = new ParsedOptions(requireBenchmarkClassName); in from() 47 CommandLineParser<ParsedOptions> parser = CommandLineParser.forClass(ParsedOptions.class); in from() 62 private ParsedOptions(boolean requireBenchmarkClassName) { in ParsedOptions() method in ParsedOptions
|
D | OptionsModule.java | 77 return ParsedOptions.from(args, requireBenchmarkClassName); in provideOptions()
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyOptions.cpp | 362 llvm::ErrorOr<ClangTidyOptions> ParsedOptions = in tryReadConfigFile() local 364 if (!ParsedOptions) { in tryReadConfigFile() 365 if (ParsedOptions.getError()) in tryReadConfigFile() 367 << ParsedOptions.getError().message() << "\n"; in tryReadConfigFile() 370 return OptionsSource(*ParsedOptions, std::string(ConfigFile)); in tryReadConfigFile()
|