Lines Matching refs:ids
135 has_id(u_int id, u_int *ids, u_int nids) in has_id() argument
144 if (ids[i] == id) in has_id()
153 u_int id, i, n = 0, *ids = NULL; in collect_ids_from_glob() local
165 if (has_id(id, ids, n)) in collect_ids_from_glob()
167 ids = xrecallocarray(ids, n, n + 1, sizeof(*ids)); in collect_ids_from_glob()
168 ids[n++] = id; in collect_ids_from_glob()
170 *idsp = ids; in collect_ids_from_glob()
192 u_int id, i, n = 0, *ids = NULL; in collect_ids_from_dirents() local
204 if (has_id(id, ids, n)) in collect_ids_from_dirents()
206 ids = xrecallocarray(ids, n, n + 1, sizeof(*ids)); in collect_ids_from_dirents()
207 ids[n++] = id; in collect_ids_from_dirents()
209 *idsp = ids; in collect_ids_from_dirents()