Home
last modified time | relevance | path

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

12

/hardware/google/pixel/misc_writer/
Dmisc_writer_main.cpp115 LOG(WARNING) << "Overriding the vendor space offset in misc partition to " << optarg; in main()
117 if (!android::base::ParseUint(optarg, &offset)) { in main()
118 LOG(ERROR) << "Failed to parse the offset: " << optarg; in main()
124 if (!android::base::ParseInt(optarg, &orientation)) { in main()
125 LOG(ERROR) << "Failed to parse the orientation: " << optarg; in main()
129 LOG(ERROR) << "Orientation out of range: " << optarg; in main()
140 if (!android::base::ParseInt(optarg, &timeformat)) { in main()
141 LOG(ERROR) << "Failed to parse the timeformat: " << optarg; in main()
145 LOG(ERROR) << "Time format out of range: " << optarg; in main()
156 if (!android::base::ParseInt(optarg, &timeoffset)) { in main()
[all …]
/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_config_test.c582 if (NULL == optarg) { in main()
586 driver_param_id = oslo_driver_setting_lookup(optarg); in main()
587 plugin_param_id = oslo_plugin_setting_lookup(optarg); in main()
589 fprintf(stderr, "Invalid setting %s", optarg); in main()
597 if (NULL == optarg) { in main()
602 param_val = strtof(optarg, NULL); in main()
605 reg_val = strtoul(optarg, NULL, 0); in main()
608 param_val = strtof(optarg, NULL); in main()
617 if (NULL == optarg) { in main()
621 driver_param_id = oslo_driver_setting_lookup(optarg); in main()
[all …]
Dsensor_param_test.c140 if (NULL == optarg) { in main()
144 param_id = strtol(optarg, NULL, 0); in main()
149 if (NULL == optarg) { in main()
154 param_val = strtof(optarg, NULL); in main()
162 if (NULL == optarg) { in main()
166 param_id = strtol(optarg, NULL, 0); in main()
Dsetparamblk_test.c163 strcpy(file_path, optarg); in main()
167 param_blk_id = atoi(optarg); in main()
171 plugin_instance_id = atoi(optarg); in main()
175 proc_block_id = atoi(optarg); in main()
179 max_retries = atoi(optarg); in main()
183 response_data_size_in_words = atoi(optarg); in main()
Dplugin_status_test.c86 plugin_instance_id = atoi(optarg); in main()
90 enpoint_index = atoi(optarg); in main()
94 enpoint_dir = atoi(optarg); in main()
98 block_id = atoi(optarg); in main()
Doslo_data_injection_test.c210 if (NULL == optarg) { in main()
213 skip_frames = strtoul(optarg, NULL, 0); in main()
217 if (NULL == optarg) { in main()
220 max_inject_frames = strtoul(optarg, NULL, 0); in main()
Ddump_debug_info.c567 tunnel_id = atoi(optarg); in main()
571 channel_id = atoi(optarg); in main()
575 stream_id = atoi(optarg); in main()
/hardware/google/gfxstream/codegen/generic-apigen/
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;
/hardware/google/pixel/power-libperfmgr/utilities/
Dsendhint.cc122 boost = optarg; in main()
125 duration_ms = std::stoi(optarg); in main()
128 mode = optarg; in main()
131 enabled = std::stoi(optarg); in main()
/hardware/google/apf/
Dapf_run.c290 program_len = parse_hex(optarg, &program); in main()
304 packet = optarg; in main()
319 filename = optarg; in main()
322 data_len = parse_hex(optarg, &data); in main()
326 filter_age = strtoul(optarg, &endptr, 10); in main()
332 if (endptr == optarg) { in main()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tools/
DConfigVerifier.cc135 config_path = optarg; in main()
141 hint_name = optarg; in main()
144 hint_duration = strtoul(optarg, NULL, 10); in main()
/hardware/qcom/sm8150/display/libhistogram/
Dcolor_sampling_tool.cpp51 case 'o': output_filename = optarg; break; in main()
52 case 't': timeout = strtol(optarg, NULL, 10); break; in main()
/hardware/qcom/sm7250/display/libhistogram/
Dcolor_sampling_tool.cpp51 output_filename = optarg; in main()
54 timeout = strtol(optarg, NULL, 10); in main()
/hardware/qcom/audio/legacy/libalsa-intf/
Daplay.c602 device = optarg; in main()
605 rate = (int)strtol(optarg, NULL, 0); in main()
608 ch = (int)strtol(optarg, NULL, 0); in main()
611 printf("optarg = %s\n", optarg); in main()
612 format = get_format(optarg); in main()
615 period = (int)strtol(optarg, NULL, 0); in main()
619 printf("compressed codec type requested = %s\n", optarg); in main()
620 compr_codec = optarg; in main()
Darec.c554 device = optarg; in main()
557 rate = (int)strtol(optarg, NULL, 0); in main()
560 ch = (int)strtol(optarg, NULL, 0); in main()
563 duration = (int)strtol(optarg, NULL, 0); in main()
566 format = (int)get_format(optarg); in main()
569 period = (int)strtol(optarg, NULL, 0); in main()
/hardware/google/pixel/thermal/virtualtemp_estimator/
Dvirtualtemp_estimator_test.cpp435 mode = atoi(optarg); in main()
439 model_path = optarg; in main()
443 prev_samples_order = atoi(optarg); in main()
447 thermal_config_path = optarg; in main()
451 input = optarg; in main()
455 output = optarg; in main()
459 min_inference_count = atoi(optarg); in main()
463 inference_delay_sec = atoi(optarg); in main()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c588 p_test->width = atoi(optarg); in mm_jpeg_test_get_input()
592 p_test->height = atoi(optarg); in mm_jpeg_test_get_input()
596 p_test->col_fmt = color_formats[atoi(optarg)]; in mm_jpeg_test_get_input()
608 p_test->tmb_width = atoi(optarg); in mm_jpeg_test_get_input()
612 p_test->tmb_height = atoi(optarg); in mm_jpeg_test_get_input()
616 p_test->main_quality = atoi(optarg); in mm_jpeg_test_get_input()
620 p_test->thumb_quality = atoi(optarg); in mm_jpeg_test_get_input()
624 p_test->qtable_luma_file = optarg; in mm_jpeg_test_get_input()
629 p_test->qtable_chroma_file = optarg; in mm_jpeg_test_get_input()
634 p_test->client_cnt = atoi(optarg); in mm_jpeg_test_get_input()
Dmm_jpegdec_test.c348 p_test->out_filename = optarg; in mm_jpegdec_test_get_input()
353 p_test->filename = optarg; in mm_jpegdec_test_get_input()
357 p_test->width = atoi(optarg); in mm_jpegdec_test_get_input()
361 p_test->height = atoi(optarg); in mm_jpegdec_test_get_input()
366 format = atoi(optarg); in mm_jpegdec_test_get_input()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c611 trigger_name = optarg; in main()
624 num_loops = strtoul(optarg, &dummy, 10); in main()
627 timedelay = strtoul(optarg, &dummy, 10); in main()
630 buf_len = strtoul(optarg, &dummy, 10); in main()
/hardware/libhardware/modules/radio/
Dradio_hal_tool.c202 band_number = atoi(optarg); in main()
/hardware/google/pixel/pwrstats_util/
Dpwrstats_util.cpp73 opt.filePath = std::string(optarg); in parseArgs()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c236 num_loops = strtoul(optarg, &dummy, 10); in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c945 disable_delay = strtoul(optarg, &dummy, 10); in main()
948 enable_delay = strtoul(optarg, &dummy, 10); in main()

12