Searched refs:lopts (Results 1 – 6 of 6) sorted by relevance
163 find_long(struct option *lopts, int ch) in find_long() argument167 for (i = 0; lopts[i].val != ch && lopts[i].name != NULL; i++) in find_long()177 struct option *lopts; in arg_parse() local187 lopts = malloc((n + 2) * sizeof(struct option)); in arg_parse()188 if (lopts == NULL) in arg_parse()195 lopts[i].name = opts[i].long_arg; in arg_parse()196 lopts[i].has_arg = opts[i].at == arg_none ? no_argument : required_argument; in arg_parse()197 lopts[i].flag = NULL; in arg_parse()198 lopts[i].val = opts[i].short_arg; in arg_parse()201 if (lopts[i].has_arg) in arg_parse()[all …]
185 args->lopts |= MTX_NEW; in hashalloc()190 args->lopts |= RW_NEW; in hashalloc()195 args->lopts |= SX_NEW; in hashalloc()200 args->lopts |= RM_NEW; in hashalloc()241 args->lopts); in hashalloc()245 args->lopts); in hashalloc()249 args->lopts); in hashalloc()253 args->lopts); in hashalloc()
151 int lopts; /* lock opts */ member
76 struct option lopts[] = { in main() local90 while ((option = getopt_long(argc, argv, shopts, lopts, NULL)) != -1) { in main()
116 static struct option lopts[] = { variable223 "AaBb:C:cdDe:EFfhk:L:l:NnOo:pTt:u:v", lopts, NULL)) != -1) { in parse_args()
1454 ha.lopts = MTX_DEF | MTX_DUPOK; in pf_initialize()1457 ha.lopts = MTX_DEF; in pf_initialize()1480 ha.lopts = MTX_DEF; in pf_initialize()1500 ha.lopts = MTX_DEF | MTX_DUPOK; in pf_initialize()