Searched refs:argc (Results 151 - 175 of 219) sorted by relevance

123456789

/system/extras/fatblock/
H A Dfatblock.c150 int main(int argc, char *argv[]) { argument
161 if (argc != 3)
/system/extras/tests/timetest/
H A Dtimetest.c58 int main(int argc, char **argv) argument
73 if(argc == 2) {
/system/bluetooth/tools/
H A Dsock_shutdown_bug_rfcomm.c27 int main(int argc, char **argv) { argument
/system/core/toolbox/
H A Did.c33 int id_main(int argc, char **argv) argument
H A Diftop.c226 int iftop_main(int argc, char *argv[]) argument
232 for (i = 1; i < argc; i++) {
234 if (i >= argc - 1) {
244 if (i >= argc - 1) {
H A Duptime.c74 int uptime_main(int argc, char *argv[]) argument
H A Dcat.c230 cat_main(int argc, char *argv[]) argument
235 while ((ch = getopt(argc, argv, "beflnstv")) != -1)
H A Dlsusb.c204 int lsusb_main(int argc, char **argv) argument
208 if (argc == 2 && !strcmp(argv[1], "-v"))
H A Dreadtty.c56 int readtty_main(int argc, char *argv[]) argument
76 c = getopt(argc, argv, "nt:fa:r:pe:");
H A Dwatchprops.c40 int watchprops_main(int argc, char *argv[]) argument
H A Ddu.c72 du_main(int argc, char *argv[]) argument
86 while ((ch = getopt(argc, argv, "HLPacd:ghkmnrsx")) != -1)
138 argc -= optind;
H A Dps.c203 int ps_main(int argc, char **argv) argument
214 while(argc > 1){
232 argc--;
/system/extras/showslab/
H A Dshowslab.c270 int main(int argc, char *argv[]) argument
278 if (argc > 1) {
280 if (argc == 3 && !strcmp(argv[1], "-n")) {
288 else if (argc == 3 && !strcmp(argv[1], "-s"))
/system/extras/tests/bionic/libc/bionic/
H A Dtest_pthread_cond.c67 int main(int argc, const char *argv[]) argument
/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) {
/system/netd/
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 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 DMDnsSdListener.h107 int runCommand(SocketClient *c, int argc, char** argv);
111 void stop(SocketClient *cli, int argc, char **argv, const char *str);
/system/vold/
H A DExt4.cpp45 extern "C" int logwrap(int argc, const char **argv, int background);
/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/showmap/
H A Dshowmap.c316 int main(int argc, char *argv[]) argument
325 for (argc--, argv++; argc > 0; argc--, argv++) {
339 if (argc != 1) {
/system/extras/tests/bionic/libstdc++/
H A Dtest_cstdio.cpp162 int main(int argc, char **argv) argument
/system/core/sh/
H A Dmiscbltin.c89 readcmd(int argc, char **argv) argument
214 umaskcmd(int argc, char **argv) argument
339 ulimitcmd(int argc, char **argv) argument
/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/bluetooth/brcm_patchram_plus/
H A Dbrcm_patchram_plus.c441 parse_cmd_line(int argc, char **argv) argument
471 c = getopt_long_only (argc, argv, "d", long_options,
512 if (optind < argc) {
785 main (int argc, char **argv) argument
791 if (parse_cmd_line(argc, argv)) {

Completed in 345 milliseconds

123456789