Searched defs:argc (Results 176 - 200 of 202) sorted by last modified time

123456789

/system/extras/tests/cpueater/
H A Dcpueater.c28 int main(int argc, char *argv[]) argument
H A Ddaemonize.c31 int main(int argc, char **argv) argument
39 if (argc < 2) {
/system/extras/tests/directiotest/
H A Ddirectiotest.c169 int main(int argc, const char *argv[]) argument
181 if (argc != 2) {
/system/extras/tests/ext4/
H A Dcorrupt_gdt_free_blocks.c12 int main(int argc, char *argv[]) argument
22 if (argc != 2) {
H A Drand_emmc_perf.c42 int main(int argc, char *argv[]) argument
52 while ((c = getopt(argc, argv, "+rwo")) != -1) {
79 if ((argc - optind) != 2) {
H A Dset_ext4_err_bit.c12 int main(int argc, char *argv[]) argument
18 if (argc != 2) {
/system/extras/tests/framebuffer/
H A Dfb_test.c257 int main(int argc, char **argv) { argument
263 if (argc > 1)
266 if (argc > 4)
271 if (argc > 3) {
H A Dmdp_test.c172 int main(int argc, const char *argv[]) argument
195 while ((opt = getopt(argc, argv, "s:d:f:t:u:v:")) != -1) {
H A Drefresh.c27 int main(int argc, char** argv) argument
/system/extras/tests/fstest/
H A Dperm_checker.c407 int main(int argc, char **argv) argument
412 if (argc > 2) {
415 config_file = (argc == 2) ? argv[1] : DEFAULT_CONFIG_FILE;
/system/extras/tests/memtest/
H A Dfptest.cpp126 int fp_test(int argc, char** argv) { argument
H A Dmemtest.cpp88 int cpufreq_test(int argc, char** argv);
89 int memcpy_test(int argc, char** argv);
90 int memset_test(int argc, char** argv);
91 int memcmp_test(int argc, char** argv);
92 int strlen_test(int argc, char** argv);
93 int malloc_test(int argc, char** argv);
94 int madvise_test(int argc, char** argv);
95 int crash_test(int argc, char** argv);
96 int stack_smasher_test(int argc, char** argv);
97 int crawl_test(int argc, cha
105 main(int argc, char** argv) argument
137 memcpy_test(int argc, char** argv) argument
266 memset_test(int argc, char** argv) argument
403 memcmp_test(int argc, char** argv) argument
516 strlen_test(int argc, char** argv) argument
593 malloc_test(int argc, char** argv) argument
624 madvise_test(int argc, char** argv) argument
673 cpufreq_test(int argc, char** argv) argument
718 crash_test(int argc, char** argv) argument
732 stack_smasher_test(int argc, char** argv) argument
763 crawl_test(int argc, char** argv) argument
[all...]
/system/extras/tests/schedtest/
H A Dschedtest.c23 int main(int argc, char **argv) { argument
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp149 void printHeader(int argc, char **argv, const TestCase& testCase) argument
152 for (int i = 0; i < argc; ++i)
202 // @param argc, argv have a wild guess.
204 void parseCmdLine(int argc, char **argv, TestCase *testCase)\ argument
213 c = getopt_long (argc, argv,
682 int main(int argc, char **argv) argument
688 parseCmdLine(argc, argv, &testCase);
689 printHeader(argc, argv, testCase);
/system/extras/tests/timetest/
H A Dtimetest.c58 int main(int argc, char **argv) argument
73 if(argc == 2) {
/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c125 main(int argc, char *argv[]) argument
140 while ((opt = getopt(argc, argv, "d:D:s:e:p:t:?")) != -1) {
250 if (argc != optind) {
/system/extras/timeinfo/
H A Dtimeinfo.cpp27 int main(int argc, char *argv[]) argument
/system/netd/
H A DBandwidthController.cpp44 extern "C" int logwrap(int argc, const char **argv);
171 int argc = 0; local
201 argc = 0;
203 argv[argc++] = tmp;
204 if (argc >= MAX_CMD_ARGS) {
210 argv[argc] = NULL;
211 res = logwrap(argc, argv);
H A DCommandListener.cpp223 int argc, char **argv) {
224 if (argc < 2) {
247 if (argc != 3) {
265 if (argc != 3) {
282 if (argc != 4 || (argc == 4 && (strcmp(argv[3], "rx") && (strcmp(argv[3], "tx"))))) {
308 if (argc != 5) {
323 if (argc < 4) {
328 rc = sInterfaceCtrl->interfaceCommand(argc, argv, &rbuf);
339 if (argc <
222 runCommand(SocketClient *cli, int argc, char **argv) argument
576 runCommand(SocketClient *cli, int argc, char **argv) argument
593 runCommand(SocketClient *cli, int argc, char **argv) argument
631 runCommand(SocketClient *cli, int argc, char **argv) argument
735 runCommand(SocketClient *cli, int argc, char **argv) argument
772 runCommand(SocketClient *cli, int argc, char **argv) argument
824 runCommand(SocketClient *cli, int argc, char **argv) argument
873 runCommand(SocketClient *cli, int argc, char **argv) argument
1002 runCommand(SocketClient *cli, int argc, char **argv) argument
1278 runCommand(SocketClient *cli, int argc, char **argv) argument
1357 runCommand(SocketClient *cli, int argc, char **argv) argument
[all...]
H A DDnsProxyListener.cpp109 int argc, char **argv) {
111 for (int i = 0; i < argc; i++) {
115 if (argc != 7) {
117 asprintf( &msg, "Invalid number of arguments to getaddrinfo: %i", argc);
174 int argc, char **argv) {
176 for (int i = 0; i < argc; i++) {
181 if (argc != 4) {
183 asprintf(&msg, "Invalid number of arguments to gethostbyaddr: %i", argc);
108 runCommand(SocketClient *cli, int argc, char **argv) argument
173 runCommand(SocketClient *cli, int argc, char **argv) argument
H A DInterfaceController.cpp95 int InterfaceController::interfaceCommand(int argc, char *argv[], char **rbuf) { argument
98 ret = sendCommand_(argc, argv, rbuf);
H A DMDnsSdListener.cpp130 void MDnsSdListener::Handler::stop(SocketClient *cli, int argc, char **argv, const char *str) { argument
131 if (argc != 3) {
393 int argc, char **argv) {
394 if (argc < 2) {
396 asprintf( &msg, "Invalid number of arguments to mdnssd: %i", argc);
406 if (argc != 4) {
416 stop(cli, argc, argv, "discover");
418 if (argc != 6) {
436 stop(cli, argc, argv, "register");
438 if (argc !
392 runCommand(SocketClient *cli, int argc, char **argv) argument
[all...]
H A DNatController.cpp97 int NatController::enableNat(const int argc, char **argv) { argument
112 if (argc < 5 + addrCount) {
218 int NatController::disableNat(const int argc, char **argv) { argument
232 if (argc < 5 + addrCount) {
H A DSoftapController.cpp129 int SoftapController::setSoftap(int argc, char *argv[]) { argument
138 if (argc < 4) {
148 if (argc > 3) {
158 if (argc > 4) {
224 int SoftapController::fwReloadSoftap(int argc, char *argv[]) argument
234 if (argc < 4) {
H A DTetherController.cpp219 int argc = 0; local
220 args[argc++] = "/system/bin/dhcpcd";
224 args[argc++] = "-h";
225 args[argc++] = host_name;
227 args[argc++] = (char*)iface;
228 args[argc] = NULL;

Completed in 151 milliseconds

123456789