/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
D | arguments_parser_test.cpp | 73 int argc = 1; in initArgv() local 79 argv[argc] = mutableCommandLine + i; in initArgv() 80 ++argc; in initArgv() 86 argv[argc] = nullptr; in initArgv() 87 return argc; in initArgv() 105 const int argc = initArgv(kMutableCommandLine, argv); in TEST() local 106 ASSERT_EQ(2, argc); in TEST() 108 argc, argv, false /* printErrorMessages */); in TEST() 117 const int argc = initArgv(kArgumentBuffer, argv); in TEST() local 118 ASSERT_EQ(4, argc); in TEST() [all …]
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
D | dict_toolkit_main.cpp | 22 void usage(int argc, char **argv) { in usage() argument 23 fprintf(stderr, "Usage: %s <command> [arguments]\n", argc > 0 ? argv[0] : "dicttoolkit"); in usage() 26 int main(int argc, char **argv) { in main() argument 27 if (argc < MIN_ARG_COUNT) { in main() 28 usage(argc, argv); in main() 38 return executor(argc - 1, argv + 1); in main()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 71 const int argc, 83 int main(int argc, char* argv[]) in main() argument 103 if (argc < 2) { in main() 117 for (int c = 1; c < argc; c++) in main() 122 …parse_cmd_line(cmdline, argc, progname, image_list_file_name, nr_corners, max_disparity, motion_mo… in main() 305 const int argc, in parse_cmd_line() argument 317 int c = argc; in parse_cmd_line()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | arguments_parser.cpp | 92 const ArgumentsAndOptions ArgumentsParser::parseArguments(const int argc, char **argv, in parseArguments() argument 94 if (argc <= 0) { in parseArguments() 95 AKLOGE("Invalid argc (%d).", argc); in parseArguments() 110 for (int i = 1; i < argc; ++i) { in parseArguments() 125 if (i >= argc) { in parseArguments()
|
D | arguments_parser.h | 104 const ArgumentsAndOptions parseArguments(const int argc, char **argv,
|
/packages/services/Car/tools/keventreader/server/ |
D | main.cpp | 47 int main(int argc, const char** argv) { in main() argument 48 if (argc < 2 || argv[1] == nullptr || argv[1][0] == 0) { in main() 52 EventGatherer gatherer(argc, argv); in main()
|
D | eventgatherer.cpp | 22 EventGatherer::EventGatherer(int argc, const char** argv) { in EventGatherer() argument 23 for (auto i = 1; i < argc; ++i) { in EventGatherer()
|
D | eventgatherer.h | 30 EventGatherer(int argc, const char** argv);
|
/packages/services/Car/evs/manager/ |
D | service.cpp | 63 int main(int argc, char** argv) { in main() argument 69 for (int i=1; i< argc; i++) { in main() 74 if (i >= argc) { in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | perftest.cpp | 17 int main(int argc, char **argv) { in main() argument 22 ::testing::InitGoogleTest(&argc, argv); in main()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | unittest.cpp | 18 int main(int argc, char **argv) { in main() argument 19 ::testing::InitGoogleTest(&argc, argv); in main()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/ |
D | makedict_executor.cpp | 26 /* static */ int MakedictExecutor::run(const int argc, char **argv) { in run() argument 28 getArgumentsParser().parseArguments(argc, argv, true /* printErrorMessages */); in run()
|
D | help_executor.h | 29 static int run(const int argc, char **argv);
|
D | diff_executor.h | 30 static int run(const int argc, char **argv);
|
D | info_executor.h | 30 static int run(const int argc, char **argv);
|
D | header_executor.h | 30 static int run(const int argc, char **argv);
|
D | makedict_executor.h | 30 static int run(const int argc, char **argv);
|
D | help_executor.cpp | 34 /* static */ int HelpExecutor::run(const int argc, char **argv) { in run() argument
|
D | header_executor.cpp | 26 /* static */ int HeaderExecutor::run(const int argc, char **argv) { in run() argument
|
D | diff_executor.cpp | 26 /* static */ int DiffExecutor::run(const int argc, char **argv) { in run() argument
|
D | info_executor.cpp | 29 /* static */ int InfoExecutor::run(const int argc, char **argv) { in run() argument
|
/packages/services/Car/evs/app/ |
D | evs_app.cpp | 69 int main(int argc, char** argv) in main() argument 77 for (int i=1; i< argc; i++) { in main()
|
/packages/apps/Test/connectivity/sl4n/ |
D | main.cpp | 107 int main(int argc, char **argv) { in main() argument
|