Searched refs:has_val (Results 1 – 6 of 6) sorted by relevance
46 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()47 arg.argv_step = def->has_val ? 2 : 1; in arg_match()61 if (arg.name && !arg.val && def->has_val) in arg_match()64 if (arg.name && arg.val && !def->has_val) in arg_match()67 if (arg.name && (arg.val || !def->has_val)) { in arg_match()95 char *short_val = def->has_val ? " <arg>" : ""; in arg_show_usage()96 char *long_val = def->has_val ? "=<arg>" : ""; in arg_show_usage()99 char *comma = def->has_val ? "," : ", "; in arg_show_usage()
37 int has_val; member
157 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()158 arg.argv_step = def->has_val ? 2 : 1; in arg_match()172 if (arg.name && !arg.val && def->has_val) in arg_match()175 if (arg.name && arg.val && !def->has_val) in arg_match()178 if (arg.name && (arg.val || !def->has_val)) { in arg_match()206 char *short_val = def->has_val ? " <arg>" : ""; in arg_show_usage()207 char *long_val = def->has_val ? "=<arg>" : ""; in arg_show_usage()210 char *comma = def->has_val ? "," : ", "; in arg_show_usage()
41 int has_val; member
1121 if (item.has_val) { in GetRetvals()1135 if (rets_[i].has_val) { in ConsumeRetvals()1166 if (!item->has_val) { in SetRetval()1167 item->has_val = true; in SetRetval()
325 bool has_val = false; member