Home
last modified time | relevance | path

Searched refs:optarg (Results 1 – 9 of 9) sorted by relevance

/device/generic/opengl-transport/host/commands/emugen/
Dgetopt.c11 char* optarg; variable
51 optarg = NULL; in getopt()
60 optarg = (char *)place; in getopt()
62 optarg = (char *)argv[optind++]; in getopt()
66 optarg = NULL; in getopt()
Dmain.cpp53 wrapperDir = std::string(optarg); in main()
63 encoderDir = std::string(optarg); in main()
66 decoderDir = std::string(optarg); in main()
69 inDir = std::string(optarg); in main()
Dgetopt.h9 extern char* optarg;
/device/google/contexthub/util/stm32_flash/
Dflash.c116 dev = optarg; in main()
119 sector = strtol(optarg, NULL, 0); in main()
122 write_filename = optarg; in main()
125 read_filename = optarg; in main()
128 length = strtol(optarg, NULL, 0); in main()
131 address = strtol(optarg, NULL, 0); in main()
137 type = strtol(optarg, NULL, 0); in main()
149 gpio_nreset = strtol(optarg, NULL, 0); in main()
/device/google/contexthub/util/nanotool/
Dnanotool.cpp318 args->command = StrToCommand(optarg); in ParseArgs()
320 fprintf(stderr, "%s: Invalid command '%s'\n", argv[0], optarg); in ParseArgs()
326 if (!ParseSensorArg(args->sensors, optarg, argv[0])) { in ParseArgs()
332 args->count = atoi(optarg); in ParseArgs()
341 if (optarg && optarg[0] == 'v') { in ParseArgs()
353 if (optarg) { in ParseArgs()
354 args->filename = std::string(optarg); in ParseArgs()
362 args->device_index = atoi(optarg); in ParseArgs()
/device/google/contexthub/contexthubhal/test/
Dmain.cpp234 msg = strtoul(optarg, &end, 16); in main()
237 cmd = strtol(optarg, &end, 10); in main()
240 appId = strtoull(optarg, &end, 16); in main()
243 appFileName = optarg; in main()
247 std::clog << "Invalid argument: " << optarg << std::endl; in main()
/device/generic/goldfish/radio/ril/
Dreference-ril.c4200 s_port = atoi(optarg);
4209 s_device_path = optarg;
4214 s_device_path = optarg;
4220 RLOGI("Client id received %s\n", optarg);
4255 s_port = atoi(optarg);
4263 s_device_path = optarg;
4268 s_device_path = optarg;
/device/linaro/dragonboard/qcom/rmtfs/
Drmtfs.c508 storage_root = optarg; in main()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c5601 s_port = atoi(optarg);
5610 s_device_path = optarg;
5615 s_device_path = optarg;
5621 RLOGI("Client id received %s\n", optarg);
5625 s_modem_simulator_port = strtoul(optarg, NULL, 10);
5662 s_port = atoi(optarg);
5670 s_device_path = optarg;
5675 s_device_path = optarg;