Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 26) sorted by relevance

12

/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/
Darguments_parser_test.cpp73 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/
Ddict_toolkit_main.cpp22 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/modules/DnsResolver/
DDnsProxyListener.cpp80 void logArguments(int argc, char** argv) { in logArguments() argument
82 for (int i = 0; i < argc; i++) { in logArguments()
793 int argc, char **argv) { in runCommand() argument
794 logArguments(argc, argv); in runCommand()
796 if (argc != 8) { in runCommand()
798 asprintf( &msg, "Invalid number of arguments to getaddrinfo: %i", argc); in runCommand()
855 int DnsProxyListener::ResNSendCommand::runCommand(SocketClient* cli, int argc, char** argv) { in runCommand() argument
856 logArguments(argc, argv); in runCommand()
859 if (argc != 4) { in runCommand()
861 << ", invalid number of arguments to resnsend: " << argc; in runCommand()
[all …]
DDnsProxyListener.h45 int runCommand(SocketClient* c, int argc, char** argv) override;
74 int runCommand(SocketClient* c, int argc, char** argv) override;
101 int runCommand(SocketClient* c, int argc, char** argv) override;
129 int runCommand(SocketClient* c, int argc, char** argv) override;
153 int runCommand(SocketClient* c, int argc, char** argv) override;
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
Ddbregtest.cpp71 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/
Darguments_parser.cpp92 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()
/packages/services/Car/tools/keventreader/server/
Dmain.cpp47 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()
Deventgatherer.cpp22 EventGatherer::EventGatherer(int argc, const char** argv) { in EventGatherer() argument
23 for (auto i = 1; i < argc; ++i) { in EventGatherer()
Deventgatherer.h30 EventGatherer(int argc, const char** argv);
/packages/services/Car/evs/manager/
Dservice.cpp63 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/
Dperftest.cpp17 int main(int argc, char **argv) { in main() argument
22 ::testing::InitGoogleTest(&argc, argv); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dunittest.cpp18 int main(int argc, char **argv) { in main() argument
19 ::testing::InitGoogleTest(&argc, argv); in main()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/
Dmakedict_executor.cpp26 /* static */ int MakedictExecutor::run(const int argc, char **argv) { in run() argument
28 getArgumentsParser().parseArguments(argc, argv, true /* printErrorMessages */); in run()
Dhelp_executor.h29 static int run(const int argc, char **argv);
Dmakedict_executor.h30 static int run(const int argc, char **argv);
Dinfo_executor.h30 static int run(const int argc, char **argv);
Ddiff_executor.h30 static int run(const int argc, char **argv);
Dheader_executor.h30 static int run(const int argc, char **argv);
Dhelp_executor.cpp34 /* static */ int HelpExecutor::run(const int argc, char **argv) { in run() argument
Dheader_executor.cpp26 /* static */ int HeaderExecutor::run(const int argc, char **argv) { in run() argument
Ddiff_executor.cpp26 /* static */ int DiffExecutor::run(const int argc, char **argv) { in run() argument
Dinfo_executor.cpp29 /* static */ int InfoExecutor::run(const int argc, char **argv) { in run() argument
/packages/modules/DnsResolver/tests/
Dpbtxt2pb_converter_host.cpp66 int main(int argc, char const* const* argv) { in main() argument
72 for (int i = 1; i < argc; i++) { in main()
/packages/services/Car/evs/app/
Devs_app.cpp69 int main(int argc, char** argv) in main() argument
77 for (int i=1; i< argc; i++) { in main()
/packages/apps/Test/connectivity/sl4n/
Dmain.cpp107 int main(int argc, char **argv) { in main() argument

12