/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | dhdu_linux.c | 441 main(int argc, char **argv) in main() argument 454 av0 = argv[0]; in main() 456 argv++; in main() 458 if ((status = dhd_option(&argv, &ifname, &help)) == CMD_OPT) { in main() 463 if (*argv && strncmp (*argv, "--wince", strlen(*argv)) == 0) { in main() 465 argv++; in main() 469 if (*argv && strncmp (*argv, "--socket", strlen(*argv)) == 0) { in main() 470 argv++; in main() 474 if (!(*argv)) { in main() 479 if (!dhd_atoip(*argv, &temp)) { in main() [all …]
|
D | dhdu.c | 120 static int dhd_do_msglevel(void *dhd, cmd_t *cmd, char **argv, dbg_msg_t *dbg_msg); 369 char **argv = *pargv; in dhd_option() local 373 while (*argv) { in dhd_option() 375 if (!strcmp(*argv, "-a") || !strcmp(*argv, "-i")) { in dhd_option() 376 char *opt = *argv++; in dhd_option() 377 ifname = *argv; in dhd_option() 387 else if (!strcmp(*argv, "-d")) in dhd_option() 389 else if (!strcmp(*argv, "-u")) in dhd_option() 391 else if (!strcmp(*argv, "-x")) in dhd_option() 395 else if (!strcmp(*argv, "-h")) in dhd_option() [all …]
|
D | miniopt.c | 57 miniopt(miniopt_t *t, char **argv) in miniopt() argument 71 if (*argv == NULL) { in miniopt() 76 p = *argv++; in miniopt() 81 if (*argv == NULL) { in miniopt() 85 p = *argv++; in miniopt() 129 if (*argv == NULL) { in miniopt() 135 valstr = *argv; in miniopt() 136 argv++; in miniopt()
|
/hardware/ril/rild/ |
D | rild.c | 59 (const struct RIL_Env *, int, char **), RIL_SOCKET_TYPE socketType, int argc, char **argv); 87 static int make_argv(char * args, char ** argv) { in make_argv() argument 94 argv[count] = tok; in make_argv() 101 int main(int argc, char **argv) { in main() argument 130 if (0 == strcmp(argv[i], "-l") && (argc - i > 1)) { in main() 131 rilLibPath = argv[i + 1]; in main() 133 } else if (0 == strcmp(argv[i], "--")) { in main() 137 } else if (0 == strcmp(argv[i], "-c") && (argc - i > 1)) { in main() 138 clientId = argv[i+1]; in main() 141 usage(argv[0]); in main() [all …]
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
D | amix.c | 51 int main(int argc, char **argv) in main() argument 71 ctl = get_ctl(mixer, argv[1]); in main() 73 argv += 2; in main() 81 if (isdigit(argv[0][0])) in main() 82 r = mixer_ctl_set_value(ctl, argc, argv); in main() 84 r = mixer_ctl_select(ctl, argv[0]); in main()
|
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
D | supplicant_hidl_test_utils.h | 74 int initFromOptions(int argc, char** argv) { in initFromOptions() argument 79 while ((c = getopt_long(argc, argv, "P", options, NULL)) >= 0) { in initFromOptions() 85 usage(argv[0], argv[optind]); in initFromOptions() 91 usage(argv[0], argv[optind]); in initFromOptions()
|
D | VtsHalWifiSupplicantV1_0TargetTest.cpp | 43 int main(int argc, char** argv) { in main() argument 45 ::testing::InitGoogleTest(&argc, argv); in main() 46 gEnv->init(&argc, argv); in main() 47 int status = gEnv->initFromOptions(argc, argv); in main()
|
/hardware/interfaces/wifi/1.3/default/tests/ |
D | main.cpp | 22 int main(int argc, char** argv) { in main() argument 23 ::testing::InitGoogleTest(&argc, argv); in main() 24 ::testing::InitGoogleMock(&argc, argv); in main() 26 android::base::InitLogging(argv, android::base::StderrLogger); in main()
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_hidl_test_utils.h | 74 int initFromOptions(int argc, char** argv) { in initFromOptions() argument 80 while ((c = getopt_long(argc, argv, "NS", options, NULL)) >= 0) { in initFromOptions() 89 usage(argv[0], argv[optind]); in initFromOptions() 95 usage(argv[0], argv[optind]); in initFromOptions()
|
D | VtsHalWifiV1_0TargetTest.cpp | 40 int main(int argc, char** argv) { in main() argument 42 ::testing::InitGoogleTest(&argc, argv); in main() 43 gEnv->init(&argc, argv); in main() 44 int status = gEnv->initFromOptions(argc, argv); in main()
|
/hardware/google/pixel/perfstatsd/ |
D | main.cpp | 37 void help(char **argv) { in help() argument 38 std::string usage = argv[0]; in help() 114 int main(int argc, char **argv) { in main() argument 116 while ((c = getopt(argc, argv, "sdo:h")) != -1) { in main() 125 std::string key(argv[2]); in main() 126 std::string value(argv[3]); in main() 134 help(argv); in main()
|
/hardware/interfaces/wifi/1.1/vts/functional/ |
D | VtsHalWifiV1_1TargetTest.cpp | 40 int main(int argc, char** argv) { in main() argument 42 ::testing::InitGoogleTest(&argc, argv); in main() 43 gEnv->init(&argc, argv); in main() 44 int status = gEnv->initFromOptions(argc, argv); in main()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | main.c | 725 int main(int argc, char *argv[]) in main() argument 761 if(strcmp(argv[i], "-h") == 0 in main() 762 || strcmp(argv[i], "--help") == 0) { in main() 763 print_help(argv[0]); in main() 766 } else if(strcmp(argv[i], "-o") == 0 in main() 767 || strcmp(argv[i], "--output") == 0) { in main() 773 argv[i], output_filename_datetimestamp(end)); in main() 781 } else if(strcmp(argv[i], "-i") == 0 in main() 782 || strcmp(argv[i], "--input") == 0) { in main() 784 strncpy(input_filename, argv[i], sizeof(input_filename)); in main() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
D | venc_test.cpp | 1641 void parseArgs(int argc, char** argv) in parseArgs() argument 1646 usage(argv[0]); in parseArgs() 1648 else if (strcmp("PREVIEW", argv[1]) == 0 || in parseArgs() 1649 strcmp("preview", argv[1]) == 0) in parseArgs() 1654 usage(argv[0]); in parseArgs() 1657 else if (strcmp("DISPLAY", argv[1]) == 0 || in parseArgs() 1658 strcmp("display", argv[1]) == 0) in parseArgs() 1663 usage(argv[0]); in parseArgs() 1665 m_sProfile.cInFileName = argv[5]; in parseArgs() 1668 else if (strcmp("LIVE", argv[1]) == 0 || in parseArgs() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/ |
D | HidParserExample.cpp | 106 int main(int argc, char* argv[]) { in main() argument 111 printUsage(argv[0]); in main() 115 if (strcmp(argv[1], "parse") == 0) { in main() 117 } else if (strcmp(argv[1], "parse_filter") == 0) { in main() 119 } else if (strcmp(argv[1], "digest") == 0) { in main() 123 printUsage(argv[0]); in main()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/test/ |
D | venc_test.cpp | 1669 void parseArgs(int argc, char** argv) in parseArgs() argument 1674 usage(argv[0]); in parseArgs() 1675 } else if (strcmp("PREVIEW", argv[1]) == 0 || in parseArgs() 1676 strcmp("preview", argv[1]) == 0) { in parseArgs() 1680 usage(argv[0]); in parseArgs() 1682 } else if (strcmp("DISPLAY", argv[1]) == 0 || in parseArgs() 1683 strcmp("display", argv[1]) == 0) { in parseArgs() 1687 usage(argv[0]); in parseArgs() 1690 m_sProfile.cInFileName = argv[5]; in parseArgs() 1692 } else if (strcmp("LIVE", argv[1]) == 0 || in parseArgs() [all …]
|
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/ |
D | VtsHalWifiSupplicantV1_1TargetTest.cpp | 48 int main(int argc, char** argv) { in main() argument 50 ::testing::InitGoogleTest(&argc, argv); in main() 51 gEnv->init(&argc, argv); in main() 52 int status = gEnv->initFromOptions(argc, argv); in main()
|
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/ |
D | VtsHalWifiSupplicantV1_2TargetTest.cpp | 50 int main(int argc, char** argv) { in main() argument 52 ::testing::InitGoogleTest(&argc, argv); in main() 53 gEnv->init(&argc, argv); in main() 54 int status = gEnv->initFromOptions(argc, argv); in main()
|
/hardware/google/apf/ |
D | apf_run.c | 169 int main(int argc, char* argv[]) { in main() argument 171 print_usage(argv[0]); in main() 186 while ((opt = getopt_long_only(argc, argv, "h", long_options, NULL)) != -1) { in main() 194 "for more information\n", basename(argv[0])); in main() 199 "for more information\n", basename(argv[0])); in main() 208 "for more information\n", basename(argv[0])); in main() 214 "for more information\n", basename(argv[0])); in main() 240 print_usage(argv[0]); in main() 244 print_usage(argv[0]); in main()
|
/hardware/interfaces/radio/1.4/vts/functional/ |
D | VtsHalRadioV1_4TargetTest.cpp | 19 int main(int argc, char** argv) { in main() argument 21 ::testing::InitGoogleTest(&argc, argv); in main() 22 RadioHidlEnvironment::Instance()->init(&argc, argv); in main()
|
/hardware/interfaces/radio/config/1.1/vts/functional/ |
D | VtsHalRadioConfigV1_1TargetTest.cpp | 19 int main(int argc, char** argv) { in main() argument 21 ::testing::InitGoogleTest(&argc, argv); in main() 22 RadioConfigHidlEnvironment::Instance()->init(&argc, argv); in main()
|
/hardware/interfaces/radio/1.2/vts/functional/ |
D | VtsHalRadioV1_2TargetTest.cpp | 19 int main(int argc, char** argv) { in main() argument 21 ::testing::InitGoogleTest(&argc, argv); in main() 22 RadioHidlEnvironment::Instance()->init(&argc, argv); in main()
|
/hardware/interfaces/gnss/1.1/vts/functional/ |
D | VtsHalGnssV1_1TargetTest.cpp | 22 int main(int argc, char** argv) { in main() argument 24 ::testing::InitGoogleTest(&argc, argv); in main() 25 GnssHidlEnvironment::Instance()->init(&argc, argv); in main()
|
/hardware/interfaces/gnss/2.0/vts/functional/ |
D | VtsHalGnssV2_0TargetTest.cpp | 22 int main(int argc, char** argv) { in main() argument 24 ::testing::InitGoogleTest(&argc, argv); in main() 25 GnssHidlEnvironment::Instance()->init(&argc, argv); in main()
|
/hardware/interfaces/radio/config/1.2/vts/functional/ |
D | VtsHalRadioConfigV1_2TargetTest.cpp | 19 int main(int argc, char** argv) { in main() argument 21 ::testing::InitGoogleTest(&argc, argv); in main() 22 RadioConfigHidlEnvironment::Instance()->init(&argc, argv); in main()
|