Searched refs:short_opts (Results 1 – 7 of 7) sorted by relevance
98 } short_opts[] = { in decide_subcmd() local126 for (j = 0; j < ARRAY_SIZE(short_opts); ++j) { in decide_subcmd()127 if (*pos == short_opts[j].c) { in decide_subcmd()128 *subcmd = short_opts[j].subcmd; in decide_subcmd()152 } short_opts[] = { in decide_direction() local180 for (j = 0; j < ARRAY_SIZE(short_opts); ++j) { in decide_direction()181 if (*pos == short_opts[j].c) { in decide_direction()182 *direction = short_opts[j].direction; in decide_direction()
261 static const char *short_opts = "CPhvqd:s:f:c:r:t:IV:i"; in xfer_options_parse_args() local296 s_opts = malloc(strlen(data->s_opts) + strlen(short_opts) + 1); in xfer_options_parse_args()300 strcpy(s_opts + strlen(s_opts), short_opts); in xfer_options_parse_args()301 s_opts[strlen(data->s_opts) + strlen(short_opts)] = '\0'; in xfer_options_parse_args()
70 self.short_opts = []139 self.short_opts = []207 self.short_opts.append(short)231 short_opts = ' '.join(self.short_opts)233 opts, args = getopt.getopt(args, short_opts, self.long_opts)
103 uint8_t short_opts[COAP_OPT_FILTER_SHORT]; member
457 if (((of->mask & nr) > 0) && (of->short_opts[lindex] == (number & 0xff))) { in coap_option_filter_op()482 of->short_opts[lindex - COAP_OPT_FILTER_LONG - 1] = (uint8_t)number; in coap_option_filter_op()
353 short_opts = [self._short_opt_fmt % (sopt, metavar)358 short_opts = option._short_opts362 opts = short_opts + long_opts364 opts = long_opts + short_opts
202 const char *const short_opts = ":n:e:p:a:s:r:w:"; in ProcessArgs() local223 const auto opt = getopt_long(argc, argv, short_opts, long_opts, &option_indxex); in ProcessArgs()