Lines Matching refs:num_entries

421   unsigned num_entries;  member
445 hol->num_entries = 0; in make_hol()
459 hol->num_entries++; in make_hol()
464 hol->entries = malloc (sizeof (struct hol_entry) * hol->num_entries); in make_hol()
469 assert (hol->num_entries <= SIZE_MAX / sizeof (struct hol_entry)); in make_hol()
541 if (hol->num_entries > 0) in hol_free()
639 unsigned num_entries = hol->num_entries; in hol_find_entry() local
641 while (num_entries-- > 0) in hol_find_entry()
910 if (hol->num_entries > 0) in hol_sort()
911 qsort (hol->entries, hol->num_entries, sizeof (struct hol_entry), in hol_sort()
932 if (more->num_entries > 0) in hol_append()
934 if (hol->num_entries == 0) in hol_append()
936 hol->num_entries = more->num_entries; in hol_append()
939 more->num_entries = 0; /* Mark MORE's fields as invalid. */ in hol_append()
948 unsigned num_entries = hol->num_entries + more->num_entries; in hol_append() local
950 malloc (num_entries * sizeof (struct hol_entry)); in hol_append()
957 assert (num_entries <= SIZE_MAX / sizeof (struct hol_entry)); in hol_append()
961 hol->num_entries * sizeof (struct hol_entry)), in hol_append()
963 more->num_entries * sizeof (struct hol_entry)); in hol_append()
968 for (e = entries, left = hol->num_entries; left > 0; e++, left--) in hol_append()
976 for (left = more->num_entries; left > 0; e++, left--) in hol_append()
1005 hol->num_entries = num_entries; in hol_append()
1344 for (entry = hol->entries, num = hol->num_entries; num > 0; entry++, num--) in hol_help()
1449 if (hol->num_entries > 0) in hol_usage()
1457 for (entry = hol->entries, nentries = hol->num_entries in hol_usage()
1469 for (entry = hol->entries, nentries = hol->num_entries in hol_usage()
1476 for (entry = hol->entries, nentries = hol->num_entries in hol_usage()
1727 if (hol->num_entries > 0) in _help()
1766 if (hol->num_entries > 0) in _help()