Lines Matching defs:index
772 int index;
967 dni->index = idx + n;
1080 * In nis+2ldap, check if the query 'q' matches the selector index 'x->index'.
1083 * matches the selector index. If 'name' is NULL, then check if rule-value 'rv'
1084 * matches the index.
1085 * To match the selector index, all fieldspecs in the indexlist should match
1107 * index matches. This saves us from having matches in a
1117 if (x->index.numIndexes <= 0 || (!yp2ldap && q == 0))
1121 if (!(pass = am(myself, x->index.numIndexes * sizeof (char *))))
1124 x->index.numIndexes * sizeof (char *)))) {
1131 /* Check each index */
1132 for (i = 0; i < x->index.numIndexes; i++) {
1136 /* Skip NULL index names */
1137 if (x->index.name[i] == 0)
1143 if (strcasecmp(x->index.name[i], name) == 0)
1148 if (strcasecmp(x->index.name[i], N2LKEY) == 0 ||
1149 strcasecmp(x->index.name[i], N2LIPKEY)
1152 value = findVal(x->index.name[i], rv,
1156 if (value && verifyMappingMatch(x->index.value[i],
1158 pass[ppos++] = x->index.name[i];
1160 fail[fpos++] = x->index.name[i];
1166 /* Is the index name a known column ? */
1168 if (strcmp(x->index.name[i], x->column[j]) == 0) {
1201 !verifyMappingMatch(x->index.value[i],
1229 * have an index; if no such mapping exists, return NULL.
1329 if (x->index.numIndexes <= 0 ||
1354 if (x->index.numIndexes > 0)