Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 16 of 16) sorted by relevance

/device/moto/shamu/dataservices/rmnetctl/cli/
Drmnetcli.c258 static int rmnet_api_call(int argc, char *argv[]) in rmnet_api_call() argument
263 if ((!argc) || (!*argv)) { in rmnet_api_call()
268 if (!strcmp(*argv, "help")) { in rmnet_api_call()
280 if (!strcmp(*argv, "assocnetdev")) { in rmnet_api_call()
282 argv[1], &error_number, RMNETCTL_DEVICE_ASSOCIATE); in rmnet_api_call()
283 } else if (!strcmp(*argv, "unassocnetdev")) { in rmnet_api_call()
285 argv[1], &error_number, RMNETCTL_DEVICE_UNASSOCIATE); in rmnet_api_call()
286 } else if (!strcmp(*argv, "getnetdevassoc")) { in rmnet_api_call()
289 argv[1], &register_status, &error_number); in rmnet_api_call()
292 } else if (!strcmp(*argv, "getledf")) { in rmnet_api_call()
[all …]
/device/generic/goldfish/libqemu/
Dtest_guest_2.c48 int main(int argc, char** argv) in main() argument
65 char* p = strrchr(argv[0], '/'); in main()
67 progname = argv[0]; in main()
73 while (argc > 1 && argv[1][0] == '-') { in main()
74 char* arg = argv[1]; in main()
83 argv++; in main()
84 pipeName = argv[1]; in main()
91 argv++; in main()
92 tcpPort = argv[1]; in main()
99 argv++; in main()
[all …]
Dtest_host_1.c142 int main(int argc, char** argv) in main() argument
151 char* p = strrchr(argv[0], '/'); in main()
153 progname = argv[0]; in main()
159 while (argc > 1 && argv[1][0] == '-') { in main()
160 char* arg = argv[1]; in main()
169 argv++; in main()
170 path = argv[1]; in main()
177 argv++; in main()
178 tcpPort = argv[1]; in main()
184 argv++; in main()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c474 static int mm_jpeg_test_get_input(int argc, char *argv[], in mm_jpeg_test_get_input() argument
484 while ((c = getopt(argc, argv, "-I:O:W:H:F:BTx:y:Q:q:")) != -1) { in mm_jpeg_test_get_input()
492 if (argv[idx][0] == '-') { in mm_jpeg_test_get_input()
495 in_files[in_file_cnt++] = argv[idx]; in mm_jpeg_test_get_input()
502 if (argv[idx][0] == '-') { in mm_jpeg_test_get_input()
505 out_files[out_file_cnt++] = argv[idx]; in mm_jpeg_test_get_input()
617 int main(int argc, char* argv[]) in main() argument
628 ret = mm_jpeg_test_get_input(argc, argv, p_test_input); in main()
Dmm_jpegdec_test.c330 static int mm_jpegdec_test_get_input(int argc, char *argv[], in mm_jpegdec_test_get_input() argument
335 while ((c = getopt(argc, argv, "I:O:W:H:F:")) != -1) { in mm_jpegdec_test_get_input()
454 int main(int argc, char* argv[]) in main() argument
460 ret = mm_jpegdec_test_get_input(argc, argv, &dec_test_input); in main()
/device/lge/hammerhead/bdAddrLoader/
Daddrloader.c219 int main(int argc, char *argv[]) in main() argument
234 while((c=getopt(argc, argv, ":f:p:hsx")) != -1){ in main()
/device/asus/flo/bdAddrLoader/
Daddrloader.c227 int main(int argc, char *argv[]) in main() argument
242 while((c=getopt(argc, argv, ":f:p:hsx")) != -1){ in main()
/device/moto/shamu/bdAddrLoader/
Daddrloader.c219 int main(int argc, char *argv[]) in main() argument
234 while((c=getopt(argc, argv, ":f:p:hsx")) != -1){ in main()
/device/asus/flo/conn_init/
Dwfc_util_main.c67 int main(int argc, char **argv) in main() argument
/device/asus/fugu/recovery/
Drecovery_updater.c285 Value* FlashIfwiFuguFn(const char *name, State * state, int argc, Expr * argv[]) { in FlashIfwiFuguFn() argument
296 if (ReadArgs(state, argv, 1, &filename) < 0) { in FlashIfwiFuguFn()
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c751 int main(int argc, char **argv) in main() argument
761 while ((c = getopt(argc, argv, "tdh")) != -1) { in main()
771 printf("usage: %s [-t] [-d] \n", argv[0]); in main()
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c751 int main(int argc, char **argv) in main() argument
763 while ((c = getopt(argc, argv, "tdh")) != -1) { in main()
775 printf("usage: %s [-t] [-d] \n", argv[0]); in main()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c1325 int main(int argc, char **argv) in main() argument
1334 while ((c = getopt(argc, argv, "tdh")) != -1) { in main()
1357 printf("usage: %s [-m] [-u] [-o]\n", argv[0]); in main()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c323 int main(int argc, char* argv[]) in main() argument
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c321 int main(int argc, char* argv[]) in main() argument
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.cpp3458 int main(int argc, char *argv[]) in main() argument
3463 if ( ctx.AddScriptFromFile((const char *)argv[1]) ) { in main()