OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CommandUtils
(Results
1 - 4
of
4
) sorted by null
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
command_utils_test.cpp
26
EXPECT_EQ(
CommandUtils
::getCommandType(""), CommandType::Unknown);
27
EXPECT_EQ(
CommandUtils
::getCommandType("abc"), CommandType::Unknown);
28
EXPECT_EQ(
CommandUtils
::getCommandType("info"), CommandType::Info);
29
EXPECT_EQ(
CommandUtils
::getCommandType("diff"), CommandType::Diff);
30
EXPECT_EQ(
CommandUtils
::getCommandType("makedict"), CommandType::Makedict);
31
EXPECT_EQ(
CommandUtils
::getCommandType("header"), CommandType::Header);
32
EXPECT_EQ(
CommandUtils
::getCommandType("help"), CommandType::Help);
/packages/inputmethods/LatinIME/native/dicttoolkit/
dict_toolkit_main.cpp
32
const CommandType commandType =
CommandUtils
::getCommandType(argv[1]);
34
CommandUtils
::printCommandUnknownMessage(argv[0], argv[1]);
37
const auto executor =
CommandUtils
::getCommandExecutor(commandType);
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
command_utils.h
38
class
CommandUtils
{
46
DISALLOW_IMPLICIT_CONSTRUCTORS(
CommandUtils
);
command_utils.cpp
30
/* static */ CommandType
CommandUtils
::getCommandType(const std::string &commandName) {
46
/* static */ void
CommandUtils
::printCommandUnknownMessage(const std::string &programName,
52
/* static */ std::function<int(int, char **)>
CommandUtils
::getCommandExecutor(
Completed in 585 milliseconds