Home
last modified time | relevance | path

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

1234

/device/google/cuttlefish/guest/hals/rild/
Drild_cuttlefish.c55 (const struct RIL_Env *, int, char **), RIL_SOCKET_TYPE socketType, int argc, char **argv);
97 int main(int argc, char **argv) { in main() argument
123 RLOGD("**RILd param count=%d**", argc); in main()
126 for (i = 1; i < argc ;) { in main()
127 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main()
134 } else if (0 == strcmp(argv[i], "-c") && (argc - i > 1)) { in main()
199 argc = argc -i + 1; in main()
205 argc = make_argv(args, rilArgv); in main()
208 rilArgv[argc++] = "-c"; in main()
209 rilArgv[argc++] = (char*)clientId; in main()
[all …]
/device/generic/goldfish/radio/rild/
Drild_goldfish.c59 (const struct RIL_Env *, int, char **), RIL_SOCKET_TYPE socketType, int argc, char **argv);
101 int main(int argc, char **argv) { in main() argument
126 RLOGD("**RILd param count=%d**", argc); in main()
129 for (i = 1; i < argc ;) { in main()
130 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main()
137 } else if (0 == strcmp(argv[i], "-c") && (argc - i > 1)) { in main()
197 argc = argc -i + 1; in main()
203 argc = make_argv(args, rilArgv); in main()
206 rilArgv[argc++] = "-c"; in main()
207 rilArgv[argc++] = (char*)clientId; in main()
[all …]
/device/generic/goldfish/wifi/execns/
Dexecns.cpp208 static int execCommand( int argc, char** argv) { in execCommand() argument
209 if (argc <= 0 || argv == nullptr || argv[0] == nullptr) { in execCommand()
216 arguments.insert(arguments.begin(), argv, argv + argc); in execCommand()
229 for (int i = 1; i < argc; ++i) { in execCommand()
251 int main(int argc, char* argv[]) { in main() argument
259 for (int i = 1; i < argc; ++i) { in main()
261 if (user || i + 1 >= argc) { in main()
267 if (group || i + 1 >= argc) { in main()
275 if (i + 1 < argc) { in main()
308 return execCommand(argc - execArg, &argv[execArg]); in main()
/device/generic/goldfish/dhcp/client/
Dmain.cpp26 int main(int argc, char* argv[]) { in main() argument
27 if (argc < 3) { in main()
34 for (int i = 1; i < argc; ++i) { in main()
36 if (i + 1 < argc) { in main()
/device/google/contexthub/util/sensortest/
Dsensortest.cpp93 bool parseArguments(int argc, char **argv) in parseArguments() argument
101 while (currArgumentIndex < argc) { in parseArguments()
108 if (currArgumentIndex + 2 >= argc) { in parseArguments()
141 if (currArgumentIndex + 3 >= argc) { in parseArguments()
196 int main(int argc, char **argv) { in main() argument
204 if ((argc == 1) || !parseArguments(argc, argv)) { in main()
/device/linaro/hikey/hifi/debug-hifi/
Ddebug-hifi.c31 int main(int argc, char *argv[]) in main() argument
42 if (argc > 1) in main()
44 if (argc > 2) in main()
/device/generic/opengl-transport/host/commands/emugen/
Dgetopt.c13 int getopt(int argc, char* const argv[], const char* ostr) { in getopt() argument
17 if (optind >= argc) in getopt()
61 } else if (argc > ++optind) { in getopt()
/device/generic/goldfish/network/netmgr/
Dmain.cpp59 int main(int argc, char* argv[]) { in main() argument
63 for (int i = 1; i < argc; ++i) { in main()
64 if (strcmp(argv[i], "--if-prefix") == 0 && i + 1 < argc) { in main()
66 } else if (strcmp(argv[i], "--bridge") == 0 && i + 1 < argc) { in main()
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c445 int main(int argc, char *argv[]) in main() argument
453 if (argc < 3 && (argc < 2 || strcmp(argv[1], "download") != 0)) { in main()
474 if (argc != 6 && argc != 7) { in main()
478 if (argc == 7) { in main()
513 if (argc != 5) { in main()
530 if (argc != 3) { in main()
543 if (argc != 3) { in main()
556 if (argc != 3) { in main()
563 if (argc != 3) { in main()
570 if (argc != 3) { in main()
[all …]
/device/google/cuttlefish/host/commands/modem_simulator/unittest/
Dmain_test.cpp21 int main(int argc, char** argv) { in main() argument
22 ::testing::InitGoogleTest(&argc, argv); in main()
/device/google/cuttlefish/host/commands/adbshell/
Dmain.cpp84 int main(int argc, char* argv[]) { in main() argument
99 if (argc == 1) { in main()
106 for (int i = 1; i < argc; ++i) { in main()
/device/google/cuttlefish/guest/commands/ip_link_add/
Dmain.cpp27 int main(int argc, char *argv[]) { in main() argument
28 if (!((argc == 5 && std::string(argv[1]) == "vlan") || in main()
29 (argc == 4 && std::string(argv[1]) == "virt_wifi"))) { in main()
/device/google/cuttlefish/guest/commands/vsoc_input_service/
Dmain.cpp22 int main(int argc, char* argv[]) { in main() argument
23 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/host/frontend/vnc_server/
Dmain.cpp29 int main(int argc, char* argv[]) { in main() argument
31 google::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/linaro/dragonboard/qcom/qrtr/src/
Dcfg.c25 int main(int argc, char **argv) in main() argument
34 if (argc != 2) in main()
/device/google/cuttlefish/host/commands/config_server/
Dmain.cpp29 int main(int argc, char** argv) { in main() argument
31 google::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dservice4.cpp34 int main(int argc, char** argv) { in main() argument
36 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dservice.cpp38 int main(int argc, char** argv) { in main() argument
40 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/host/commands/metrics/
Dmetrics.cc26 int main(int argc, char** argv) { in main() argument
28 google::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/guest/commands/rename_netiface/
Dmain.cpp26 int main(int argc, char *argv[]) { in main() argument
27 if (argc != 3) { in main()
/device/google/cuttlefish/host/commands/log_tee/
Dlog_tee.cpp27 int main(int argc, char** argv) { in main() argument
29 google::ParseCommandLineFlags(&argc, &argv, /* remove_flags */ true); in main()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dassemble_cvd.cc47 int main(int argc, char** argv) { in main() argument
74 auto config = InitFilesystemAndCreateConfig(&argc, &argv, FindFetcherConfig(input_files)); in main()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp32 int main(int argc, char** argv) { in main() argument
34 google::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/host/frontend/adb_connector/
Dmain.cpp80 int main(int argc, char* argv[]) { in main() argument
82 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
/device/google/cuttlefish/host/commands/tombstone_receiver/
Dmain.cpp58 int main(int argc, char** argv) { in main() argument
60 google::ParseCommandLineFlags(&argc, &argv, true); in main()

1234