Home
last modified time | relevance | path

Searched refs:optind (Results 1 – 8 of 8) sorted by relevance

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dodsp_api_test.c144 --optind; in main()
145 if (optind + set_param_req_arg > argc) { in main()
149 param_id = strtol(argv[optind], NULL, 0); in main()
150 optind++; in main()
151 param_val = strtol(argv[optind], NULL, 0); in main()
152 optind++; in main()
153 inst_id = strtol(argv[optind], NULL, 0); in main()
154 optind++; in main()
155 block_id = strtol(argv[optind], NULL, 0); in main()
156 optind++; in main()
[all …]
Ddump_debug_info.c580 --optind; in main()
581 if ((optind + log_lvl_req_arg_get) != argc && in main()
582 (optind + log_lvl_req_arg_set) != argc) { in main()
586 module_id = strtol(argv[optind], NULL, 0); in main()
588 if ((optind + log_lvl_req_arg_set) == argc) { in main()
590 optind++; in main()
591 log_level = strtol(argv[optind], NULL, 0); in main()
592 optind++; in main()
598 --optind; in main()
599 if ((optind + mode_req_arg_get) != argc && in main()
[all …]
/hardware/google/gfxstream/codegen/generic-apigen/
Dgetopt.c9 int optind = 1; variable
17 if (optind >= argc) in getopt()
20 const char* arg = argv[optind]; in getopt()
53 optind++; in getopt()
61 } else if (argc > ++optind) { in getopt()
62 optarg = (char *)argv[optind++]; in getopt()
Dgetopt.h8 extern int optind;
Dmain.cpp80 if (optind >= argc) { in main()
93 std::string baseName = std::string(argv[optind]); in main()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c568 for (idx = optind - 1; idx < argc; idx++) { in mm_jpeg_test_get_input()
574 optind = idx -1; in mm_jpeg_test_get_input()
578 for (idx = optind - 1; idx < argc; idx++) { in mm_jpeg_test_get_input()
584 optind = idx -1; in mm_jpeg_test_get_input()
/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c596 if (optind > argc - 1) { in main()
600 strlcpy(filename, argv[optind++], 30); in main()
Daplay.c649 if (optind > argc - 1) { in main()
653 strlcpy(filename, argv[optind++], 30); in main()