Lines Matching defs:count

152  * Return the size of the list in 'count'. Return NULL if list is empty.
156 db_mindex::satisfy_query(db_query *q, long *count, bool_t *valid) {
157 return (satisfy_query(q, count, valid, FALSE));
161 db_mindex::satisfy_query(db_query *q, long *count, bool_t *valid,
172 *count = 0;
215 ret = satisfy_query_dbonly(q, count, fromLDAP ? TRUE : FALSE, valid);
246 ret = satisfy_query_dbonly(q, count, TRUE, valid);
248 ret = satisfy_query_dbonly(q, count, FALSE, valid);
255 ret = satisfy_query_dbonly(q, count, FALSE, valid);
264 db_mindex::satisfy_query_dbonly(db_query *q, long *count,
279 *count = 0;
289 *count = 0;
299 *count = 0;
306 *count = 0;
310 *count = num_old;
315 * Returns an array of size 'count' of 'entry_object_p's, pointing to
320 db_mindex::prepare_results(int count, db_index_entry_p res, db_status *statp)
324 entry_object_p * entries = new entry_object_p[count];
335 for (i = 0; i < count; i++) {
341 "db_mindex::prepare_results: incorrect count");
551 long count;
554 db_index_entry * rp = satisfy_query(q, &count, &valid_query, TRUE);
618 * Returns the number of answers find in 'count'.
623 db_mindex::lookup(db_query *q, long *count, entry_object_p **result)
626 db_index_entry * rp = satisfy_query(q, count, &valid_query, TRUE);
637 *result = prepare_results((int)*count, rp, &stat);
646 * Returns the number of answers find in 'count'.
651 db_mindex::all(long *count, entry_object_p **result)
688 * Set '*count' so that the caller avoids putting garbage
691 *count = 0;
706 *count = how_many;
831 long count = 0;
860 rp = satisfy_query(q, &count, &valid_query, FALSE);
868 if (count == 0) { /* not found */
872 } else if (count == 1) { /* found, update indices */
883 for (i = 0; i < count; i++) {
922 long count = 0;
936 rp = satisfy_query(q, &count, &valid, FALSE);
944 if (count == 1) { /* found, first delete */
952 count = 0; /* fall through to add */
955 if (count == 0) { /* not found, insert */
1190 long size, count, i;
1195 printf("count = %d\n", stats[2]);
1197 printf("free list count = %d\n", stats[4]);
1212 indices.indices_val[i].stats(&size, &count);
1213 printf("index table size = %d\ncount = %d\n", size, count);