hol 440 maint/gnulib/lib/argp-help.c static struct hol * hol 448 maint/gnulib/lib/argp-help.c struct hol *hol = malloc (sizeof (struct hol)); hol 450 maint/gnulib/lib/argp-help.c assert (hol); hol 452 maint/gnulib/lib/argp-help.c hol->num_entries = 0; hol 453 maint/gnulib/lib/argp-help.c hol->clusters = 0; hol 466 maint/gnulib/lib/argp-help.c hol->num_entries++; hol 471 maint/gnulib/lib/argp-help.c hol->entries = malloc (sizeof (struct hol_entry) * hol->num_entries); hol 472 maint/gnulib/lib/argp-help.c hol->short_options = malloc (num_short_options + 1); hol 474 maint/gnulib/lib/argp-help.c assert (hol->entries && hol->short_options); hol 476 maint/gnulib/lib/argp-help.c assert (hol->num_entries <= SIZE_MAX / sizeof (struct hol_entry)); hol 479 maint/gnulib/lib/argp-help.c so = hol->short_options; hol 480 maint/gnulib/lib/argp-help.c for (o = opts, entry = hol->entries; ! oend (o); entry++) hol 497 maint/gnulib/lib/argp-help.c if (oshort (o) && ! find_char (o->key, hol->short_options, so)) hol 507 maint/gnulib/lib/argp-help.c return hol; hol 514 maint/gnulib/lib/argp-help.c hol_add_cluster (struct hol *hol, int group, const char *header, int index, hol 528 maint/gnulib/lib/argp-help.c cl->next = hol->clusters; hol 529 maint/gnulib/lib/argp-help.c hol->clusters = cl; hol 536 maint/gnulib/lib/argp-help.c hol_free (struct hol *hol) hol 538 maint/gnulib/lib/argp-help.c struct hol_cluster *cl = hol->clusters; hol 547 maint/gnulib/lib/argp-help.c if (hol->num_entries > 0) hol 549 maint/gnulib/lib/argp-help.c free (hol->entries); hol 550 maint/gnulib/lib/argp-help.c free (hol->short_options); hol 553 maint/gnulib/lib/argp-help.c free (hol); hol 644 maint/gnulib/lib/argp-help.c hol_find_entry (struct hol *hol, const char *name) hol 646 maint/gnulib/lib/argp-help.c struct hol_entry *entry = hol->entries; hol 647 maint/gnulib/lib/argp-help.c unsigned num_entries = hol->num_entries; hol 669 maint/gnulib/lib/argp-help.c hol_set_group (struct hol *hol, const char *name, int group) hol 671 maint/gnulib/lib/argp-help.c struct hol_entry *entry = hol_find_entry (hol, name); hol 916 maint/gnulib/lib/argp-help.c hol_sort (struct hol *hol) hol 918 maint/gnulib/lib/argp-help.c if (hol->num_entries > 0) hol 922 maint/gnulib/lib/argp-help.c for (i = 0, e = hol->entries; i < hol->num_entries; i++, e++) hol 925 maint/gnulib/lib/argp-help.c qsort (hol->entries, hol->num_entries, sizeof (struct hol_entry), hol 936 maint/gnulib/lib/argp-help.c hol_append (struct hol *hol, struct hol *more) hol 938 maint/gnulib/lib/argp-help.c struct hol_cluster **cl_end = &hol->clusters; hol 949 maint/gnulib/lib/argp-help.c if (hol->num_entries == 0) hol 951 maint/gnulib/lib/argp-help.c hol->num_entries = more->num_entries; hol 952 maint/gnulib/lib/argp-help.c hol->entries = more->entries; hol 953 maint/gnulib/lib/argp-help.c hol->short_options = more->short_options; hol 963 maint/gnulib/lib/argp-help.c unsigned num_entries = hol->num_entries + more->num_entries; hol 966 maint/gnulib/lib/argp-help.c unsigned hol_so_len = strlen (hol->short_options); hol 974 maint/gnulib/lib/argp-help.c __mempcpy (__mempcpy (entries, hol->entries, hol 975 maint/gnulib/lib/argp-help.c hol->num_entries * sizeof (struct hol_entry)), hol 979 maint/gnulib/lib/argp-help.c __mempcpy (short_options, hol->short_options, hol_so_len); hol 982 maint/gnulib/lib/argp-help.c for (e = entries, left = hol->num_entries; left > 0; e++, left--) hol 984 maint/gnulib/lib/argp-help.c = short_options + (e->short_options - hol->short_options); hol 1015 maint/gnulib/lib/argp-help.c free (hol->entries); hol 1016 maint/gnulib/lib/argp-help.c free (hol->short_options); hol 1018 maint/gnulib/lib/argp-help.c hol->entries = entries; hol 1019 maint/gnulib/lib/argp-help.c hol->num_entries = num_entries; hol 1020 maint/gnulib/lib/argp-help.c hol->short_options = short_options; hol 1029 maint/gnulib/lib/argp-help.c static struct hol * hol 1033 maint/gnulib/lib/argp-help.c struct hol *hol = make_hol (argp, cluster); hol 1040 maint/gnulib/lib/argp-help.c ? hol_add_cluster (hol, child->group, child->header, hol 1044 maint/gnulib/lib/argp-help.c hol_append (hol, argp_hol (child->argp, child_cluster)) ; hol 1047 maint/gnulib/lib/argp-help.c return hol; hol 1351 maint/gnulib/lib/argp-help.c hol_help (struct hol *hol, const struct argp_state *state, hol 1358 maint/gnulib/lib/argp-help.c for (entry = hol->entries, num = hol->num_entries; num > 0; entry++, num--) hol 1461 maint/gnulib/lib/argp-help.c hol_usage (struct hol *hol, argp_fmtstream_t stream) hol 1463 maint/gnulib/lib/argp-help.c if (hol->num_entries > 0) hol 1467 maint/gnulib/lib/argp-help.c char *short_no_arg_opts = alloca (strlen (hol->short_options) + 1); hol 1471 maint/gnulib/lib/argp-help.c for (entry = hol->entries, nentries = hol->num_entries hol 1483 maint/gnulib/lib/argp-help.c for (entry = hol->entries, nentries = hol->num_entries hol 1490 maint/gnulib/lib/argp-help.c for (entry = hol->entries, nentries = hol->num_entries hol 1680 maint/gnulib/lib/argp-help.c struct hol *hol = 0; hol 1704 maint/gnulib/lib/argp-help.c hol = argp_hol (argp, 0); hol 1707 maint/gnulib/lib/argp-help.c hol_set_group (hol, "help", -1); hol 1708 maint/gnulib/lib/argp-help.c hol_set_group (hol, "version", -1); hol 1710 maint/gnulib/lib/argp-help.c hol_sort (hol); hol 1744 maint/gnulib/lib/argp-help.c if (hol->num_entries > 0) hol 1751 maint/gnulib/lib/argp-help.c hol_usage (hol, fs); hol 1783 maint/gnulib/lib/argp-help.c if (hol->num_entries > 0) hol 1787 maint/gnulib/lib/argp-help.c hol_help (hol, state, fs); hol 1810 maint/gnulib/lib/argp-help.c if (hol) hol 1811 maint/gnulib/lib/argp-help.c hol_free (hol);