Home
last modified time | relevance | path

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

/device/google/marlin/dataservices/datatop/src/
Ddatatop_opt.c93 clopts->priority = strtol(optarg, 0, 10); in dtop_parse_cli_opts()
102 clopts->poll_per = strtol(optarg, 0, 10); in dtop_parse_cli_opts()
111 clopts->poll_time = strtol(optarg, 0, 10); in dtop_parse_cli_opts()
121 if (dtop_check_writefile_access(optarg) == VALID) { in dtop_parse_cli_opts()
122 clopts->file_name = optarg; in dtop_parse_cli_opts()
130 if (dtop_check_writefile_access(optarg) == VALID) in dtop_parse_cli_opts()
131 clopts->snapshot_file = optarg; in dtop_parse_cli_opts()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dgetopt.py148 optarg = None
150 opt, optarg = opt[:i], opt[i+1:]
154 if optarg is None:
157 optarg, args = args[0], args[1:]
158 elif optarg is not None:
160 opts.append(('--' + opt, optarg or ''))
196 optarg, optstring = optstring, ''
198 optarg = ''
199 opts.append(('-' + opt, optarg))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dgetopt.py148 optarg = None
150 opt, optarg = opt[:i], opt[i+1:]
154 if optarg is None:
157 optarg, args = args[0], args[1:]
158 elif optarg is not None:
160 opts.append(('--' + opt, optarg or ''))
196 optarg, optstring = optstring, ''
198 optarg = ''
199 opts.append(('-' + opt, optarg))
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/
Dmain.c307 certs[BL2_CERT].bin = strdup(optarg); in main()
310 certs[BL30_CERT].bin = strdup(optarg); in main()
313 certs[BL31_CERT].bin = strdup(optarg); in main()
316 certs[BL32_CERT].bin = strdup(optarg); in main()
319 certs[BL33_CERT].bin = strdup(optarg); in main()
322 certs[BL2_CERT].fn = strdup(optarg); in main()
325 certs[TRUSTED_KEY_CERT].fn = strdup(optarg); in main()
328 certs[BL30_KEY_CERT].fn = strdup(optarg); in main()
331 certs[BL30_CERT].fn = strdup(optarg); in main()
334 certs[BL31_KEY_CERT].fn = strdup(optarg); in main()
[all …]
/device/google/contexthub/util/stm32_flash/
Dflash.c107 dev = optarg; in main()
110 sector = strtol(optarg, NULL, 0); in main()
113 write_filename = optarg; in main()
116 read_filename = optarg; in main()
119 length = strtol(optarg, NULL, 0); in main()
122 address = strtol(optarg, NULL, 0); in main()
128 type = strtol(optarg, NULL, 0); in main()
137 gpio_nreset = strtol(optarg, NULL, 0); in main()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dpp.py41 for option, optarg in optlist:
49 for line in optarg.split('\n'):
52 FS = optarg
/device/google/contexthub/util/nanotool/
Dnanotool.cpp317 args->command = StrToCommand(optarg); in ParseArgs()
319 fprintf(stderr, "%s: Invalid command '%s'\n", argv[0], optarg); in ParseArgs()
325 if (!ParseSensorArg(args->sensors, optarg, argv[0])) { in ParseArgs()
331 args->count = atoi(optarg); in ParseArgs()
340 if (optarg && optarg[0] == 'v') { in ParseArgs()
352 if (optarg) { in ParseArgs()
353 args->filename = std::string(optarg); in ParseArgs()
361 args->device_index = atoi(optarg); in ParseArgs()
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c582 p_test->width = atoi(optarg); in mm_jpeg_test_get_input()
586 p_test->height = atoi(optarg); in mm_jpeg_test_get_input()
590 p_test->col_fmt = color_formats[atoi(optarg)]; in mm_jpeg_test_get_input()
602 p_test->tmb_width = atoi(optarg); in mm_jpeg_test_get_input()
606 p_test->tmb_height = atoi(optarg); in mm_jpeg_test_get_input()
610 p_test->main_quality = atoi(optarg); in mm_jpeg_test_get_input()
614 p_test->thumb_quality = atoi(optarg); in mm_jpeg_test_get_input()
618 p_test->qtable_luma_file = optarg; in mm_jpeg_test_get_input()
623 p_test->qtable_chroma_file = optarg; in mm_jpeg_test_get_input()
628 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()
/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/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c340 p_test->out_filename = optarg; in mm_jpegdec_test_get_input()
345 p_test->filename = optarg; in mm_jpegdec_test_get_input()
349 p_test->width = atoi(optarg); in mm_jpegdec_test_get_input()
353 p_test->height = atoi(optarg); in mm_jpegdec_test_get_input()
358 format = atoi(optarg); in mm_jpegdec_test_get_input()
Dmm_jpeg_test.c514 p_test->width = atoi(optarg); in mm_jpeg_test_get_input()
518 p_test->height = atoi(optarg); in mm_jpeg_test_get_input()
522 p_test->col_fmt = color_formats[atoi(optarg)]; in mm_jpeg_test_get_input()
534 p_test->tmb_width = atoi(optarg); in mm_jpeg_test_get_input()
538 p_test->tmb_height = atoi(optarg); in mm_jpeg_test_get_input()
542 p_test->main_quality = atoi(optarg); in mm_jpeg_test_get_input()
546 p_test->thumb_quality = atoi(optarg); in mm_jpeg_test_get_input()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c340 p_test->out_filename = optarg; in mm_jpegdec_test_get_input()
345 p_test->filename = optarg; in mm_jpegdec_test_get_input()
349 p_test->width = atoi(optarg); in mm_jpegdec_test_get_input()
353 p_test->height = atoi(optarg); in mm_jpegdec_test_get_input()
358 format = atoi(optarg); in mm_jpegdec_test_get_input()
Dmm_jpeg_test.c514 p_test->width = atoi(optarg); in mm_jpeg_test_get_input()
518 p_test->height = atoi(optarg); in mm_jpeg_test_get_input()
522 p_test->col_fmt = color_formats[atoi(optarg)]; in mm_jpeg_test_get_input()
534 p_test->tmb_width = atoi(optarg); in mm_jpeg_test_get_input()
538 p_test->tmb_height = atoi(optarg); in mm_jpeg_test_get_input()
542 p_test->main_quality = atoi(optarg); in mm_jpeg_test_get_input()
546 p_test->thumb_quality = atoi(optarg); in mm_jpeg_test_get_input()
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
Dcompat.c100 char *optarg; variable
120 optarg = argv[optind] + 2; in getopt()
123 optarg = argv[optind + 1]; in getopt()
126 if (!optarg) in getopt()
127 optarg=""; in getopt()
130 optarg = NULL; in getopt()
/device/linaro/bootloader/edk2/AppPkg/Applications/OrderedCollectionTest/
DOrderedCollectionTest.c458 InputName = optarg; in SetupInputOutput()
462 OutputName = optarg; in SetupInputOutput()
/device/linaro/bootloader/edk2/StdLib/Include/
Dunistd.h41 extern char *optarg; /* getopt(3) external variables */
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dcheckappend.py56 for opt, optarg in opts:
/device/linaro/bootloader/arm-trusted-firmware/tools/fip_create/
Dfip_create.c562 if (optarg) { in parse_cmdline()
566 status = add_file_info_entry(lookup_entry, optarg); in parse_cmdline()
/device/linaro/bootloader/edk2/OvmfPkg/
DREADME215 "romfile=" optarg: