Searched defs:optarg (Results 1 - 11 of 11) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dgetopt.c38 char *optarg; variable
145 optarg = ( char * ) argument;
205 optarg = ( char * ) argument;
/vbox/src/VBox/RDP/client-1.8.3/
H A Dprinter.c46 printer_enum_devices(uint32 * id, char *optarg) argument
50 char *pos = optarg;
66 if (*optarg == ':')
67 optarg++;
69 while ((pos = next_arg(optarg, ',')) && *id < RDPDR_MAX_DEVICES)
82 pos2 = next_arg(optarg, '=');
83 if (*optarg == (char) 0x00)
87 pprinter_data->printer = xmalloc(strlen(optarg) + 1);
88 strcpy(pprinter_data->printer, optarg);
106 optarg
[all...]
H A Dcliprdr.c181 cliprdr_set_mode(const char *optarg) argument
183 ui_clip_set_mode(optarg);
H A Dparallel.c49 /* optarg looks like ':LPT1=/dev/lp0' */
52 parallel_enum_devices(uint32 * id, char *optarg) argument
56 char *pos = optarg;
61 optarg++;
62 while ((pos = next_arg(optarg, ',')) && *id < RDPDR_MAX_DEVICES)
66 pos2 = next_arg(optarg, '=');
67 strcpy(g_rdpdr_device[*id].name, optarg);
73 printf("PARALLEL %s to %s\n", optarg, pos2);
82 optarg = pos;
H A Ddisk.c319 /* optarg looks like ':h=/mnt/floppy,b=/mnt/usbdevice1' */
322 disk_enum_devices(uint32 * id, char *optarg) argument
324 char *pos = optarg;
329 optarg++;
330 while ((pos = next_arg(optarg, ',')) && *id < RDPDR_MAX_DEVICES)
332 pos2 = next_arg(optarg, '=');
334 strncpy(g_rdpdr_device[*id].name, optarg, sizeof(g_rdpdr_device[*id].name) - 1);
335 if (strlen(optarg) > (sizeof(g_rdpdr_device[*id].name) - 1))
336 fprintf(stderr, "share name %s truncated to %s\n", optarg,
345 optarg
[all...]
H A Drdpsnd.c726 rdpsnd_init(char *optarg) argument
753 if (optarg != NULL && strlen(optarg) > 0)
755 driver = options = optarg;
H A Dserial.c521 /* optarg looks like ':com1=/dev/ttyS0' */
525 serial_enum_devices(uint32 * id, char *optarg) argument
529 char *pos = optarg;
534 optarg++;
535 while ((pos = next_arg(optarg, ',')) && *id < RDPDR_MAX_DEVICES)
544 pos2 = next_arg(optarg, '=');
545 strcpy(g_rdpdr_device[*id].name, optarg);
559 optarg = pos;
H A Dxclip.c1150 ui_clip_set_mode(const char *optarg) argument
1154 if (str_startswith(optarg, "PRIMARYCLIPBOARD"))
1156 else if (str_startswith(optarg, "CLIPBOARD"))
1160 warning("Invalid clipboard mode '%s'.\n", optarg);
H A Dscard.c137 /* optarg looks like ':"ReaderName=ReaderAlias"' */
141 scard_enum_devices(uint32 * id, char *optarg) argument
143 char *name = optarg + 1;
197 if (*optarg == ':')
199 while ((optarg = next_arg(name, ',')) && *id < RDPDR_MAX_DEVICES)
249 name = optarg;
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java51 private String optarg = null; field in class:Getopt
252 return optarg;
372 optarg = null;
395 * of optarg as follows:
398 * argv, then optarg contains the next element of argv, and
403 * 2. Otherwise, optarg points to the string following the
418 optarg = args[optind++].substring(_sp + 1);
425 optarg = longoptarg.get();
430 optarg = null;
433 optarg
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Uefi/
H A Dcompat.c100 char *optarg; variable
120 optarg = argv[optind] + 2;
123 optarg = argv[optind + 1];
126 if (!optarg)
127 optarg="";
130 optarg = NULL;

Completed in 415 milliseconds