Searched refs:optionSpecs (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
D | arguments_parser_test.cpp | 27 std::unordered_map<std::string, OptionSpec> optionSpecs; in TEST() local 30 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)).validateSpecs()); in TEST() 33 std::unordered_map<std::string, OptionSpec> optionSpecs; in TEST() local 34 optionSpecs["a"] = OptionSpec::keyValueOption("valueName", "default", "description"); in TEST() 41 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)).validateSpecs()); in TEST() 91 std::unordered_map<std::string, OptionSpec> optionSpecs; in TEST() local 92 optionSpecs["a"] = OptionSpec::switchOption("description"); in TEST() 93 optionSpecs["b"] = OptionSpec::keyValueOption("valueName", "default", "description"); in TEST() 100 ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in TEST()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/ |
D | makedict_executor.cpp | 46 std::unordered_map<std::string, OptionSpec> optionSpecs; in getArgumentsParser() local 47 optionSpecs["o"] = OptionSpec::keyValueOption("format", "2", in getArgumentsParser() 49 optionSpecs["t"] = OptionSpec::keyValueOption("mode", "off", in getArgumentsParser() 57 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
|
D | header_executor.cpp | 38 std::unordered_map<std::string, OptionSpec> optionSpecs; in getArgumentsParser() local 39 optionSpecs["p"] = OptionSpec::switchOption("(plumbing) produce output suitable for a script"); in getArgumentsParser() 45 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
|
D | diff_executor.cpp | 37 std::unordered_map<std::string, OptionSpec> optionSpecs; in getArgumentsParser() local 38 optionSpecs["p"] = OptionSpec::switchOption("(plumbing) produce output suitable for a script"); in getArgumentsParser() 45 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
|
D | info_executor.cpp | 41 std::unordered_map<std::string, OptionSpec> optionSpecs; in getArgumentsParser() local 42 optionSpecs["p"] = OptionSpec::switchOption("(plumbing) produce output suitable for a script"); in getArgumentsParser() 50 return ArgumentsParser(std::move(optionSpecs), std::move(argumentSpecs)); in getArgumentsParser()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_parser.h | 100 ArgumentsParser(const std::unordered_map<std::string, OptionSpec> &&optionSpecs, in ArgumentsParser() argument 102 : mOptionSpecs(std::move(optionSpecs)), mArgumentSpecs(std::move(argumentSpecs)) {} in ArgumentsParser()
|