Lines Matching defs:index

211  * Given an array index[0..num-1] of pointers to strings of the form
218 * If 'rvP' is non-NULL, the searchable columns from the 'index'
221 * and object attributes. Names/values supplied in 'index' override
225 createQuery(int num, char **index, __nis_table_mapping_t *t,
264 if ((value = strchr(index[n], '=')) == 0) {
267 myself, index[n]);
275 if (strcmp(index[n], t->column[a]) == 0) {
278 if (addSCol2RuleValue(index[n], value, rvq)) {
290 myself, NIL(index[n]));
295 * Find out if any of the columns specified via the 'index'
323 * There are four possible combinations of 'index' and NIS+ data:
325 * (1) Only single-valued 'index' columns, and at most one NIS+
328 * (2) Single-valued 'index' columns, but multiple NIS+ entries.
330 * expansion of 'index' column values to array elements is
333 * (3) At least one multi-valued 'index', and multiple NIS+
337 * (4) At least one multi-valued 'index', but at most one NIS+
409 * Increment the repeat index 'r'. If >=
411 * value index 'j'. If 'j' >=
507 * Remember the largest index.
533 * they both have a value for a certain index, the values are the same.
550 /* Same index ? */
613 * Remove those queries in 'q' that don't match t->index.
906 int index;
908 /* Find column index */
909 for (index = 0; index < t->numColumns;
910 index++) {
911 if (strncmp(t->column[index],
916 if (index >= t->numColumns) {
965 * this 'index' ?
970 which_index == index)
981 which_index = index;
1027 /* Should we filter on index or input query ? */
1029 if (t->index.numIndexes > 0)
1211 * 'index' in 'q'.
1217 queryFromComponent(db_query *q, int index, db_query *qbuf) {
1219 if (q == 0 || index < 0 || index >= q->components.components_len ||
1224 qbuf->components.components_val = &q->components.components_val[index];