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
107 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match()108 arg.argv_step = def->has_val ? 2 : 1; in arg_match()122 if (arg.name && !arg.val && def->has_val) in arg_match()125 if (arg.name && arg.val && !def->has_val) in arg_match()128 if (arg.name && (arg.val || !def->has_val)) { in arg_match()156 char *short_val = def->has_val ? " <arg>" : ""; in arg_show_usage()157 char *long_val = def->has_val ? "=<arg>" : ""; in arg_show_usage()160 char *comma = def->has_val ? "," : ", "; in arg_show_usage()
38 int has_val; member
965 if (item.has_val) { in GetRetvals()979 if (rets_[i].has_val) { in ConsumeRetvals()1010 if (!item->has_val) { in SetRetval()1011 item->has_val = true; in SetRetval()
300 bool has_val = false; member