/device/google/cuttlefish/guest/hals/rild/ |
D | rild_cuttlefish.c | 55 (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/ |
D | rild_goldfish.c | 59 (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/ |
D | execns.cpp | 208 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/ |
D | main.cpp | 26 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/ |
D | sensortest.cpp | 93 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/ |
D | debug-hifi.c | 31 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/ |
D | getopt.c | 13 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/ |
D | main.cpp | 59 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/ |
D | nanoapp_cmd.c | 445 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/ |
D | main_test.cpp | 21 int main(int argc, char** argv) { in main() argument 22 ::testing::InitGoogleTest(&argc, argv); in main()
|
/device/google/cuttlefish/host/commands/adbshell/ |
D | main.cpp | 84 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/ |
D | main.cpp | 27 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/ |
D | main.cpp | 22 int main(int argc, char* argv[]) { in main() argument 23 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | main.cpp | 29 int main(int argc, char* argv[]) { in main() argument 31 google::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/linaro/dragonboard/qcom/qrtr/src/ |
D | cfg.c | 25 int main(int argc, char **argv) in main() argument 34 if (argc != 2) in main()
|
/device/google/cuttlefish/host/commands/config_server/ |
D | main.cpp | 29 int main(int argc, char** argv) { in main() argument 31 google::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/guest/hals/keymaster/remote/ |
D | service4.cpp | 34 int main(int argc, char** argv) { in main() argument 36 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/guest/hals/gatekeeper/remote/ |
D | service.cpp | 38 int main(int argc, char** argv) { in main() argument 40 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/host/commands/metrics/ |
D | metrics.cc | 26 int main(int argc, char** argv) { in main() argument 28 google::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/guest/commands/rename_netiface/ |
D | main.cpp | 26 int main(int argc, char *argv[]) { in main() argument 27 if (argc != 3) { in main()
|
/device/google/cuttlefish/host/commands/log_tee/ |
D | log_tee.cpp | 27 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/ |
D | assemble_cvd.cc | 47 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/ |
D | main.cpp | 32 int main(int argc, char** argv) { in main() argument 34 google::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/host/frontend/adb_connector/ |
D | main.cpp | 80 int main(int argc, char* argv[]) { in main() argument 82 gflags::ParseCommandLineFlags(&argc, &argv, true); in main()
|
/device/google/cuttlefish/host/commands/tombstone_receiver/ |
D | main.cpp | 58 int main(int argc, char** argv) { in main() argument 60 google::ParseCommandLineFlags(&argc, &argv, true); in main()
|