Lines Matching defs:i

36 	int		i;
42 for (i = 0; i < val->numVals; i++) {
43 c2buf(myself, val->val[i].value, val->val[i].length);
55 int i;
59 for (i = 0; i < val->numVals; i++) {
60 sc2buf(myself, val->val[i].value,
61 val->val[i].length);
73 printIndex(__nis_index_t *i) {
75 char *str = getIndex(i, &len);
103 printMappingItem(__nis_mapping_item_t *i, __nis_mapping_item_type_t native) {
104 __nis_value_t *val = getMappingItem(i, native, 0, 0, NULL);
111 if (i->repeat)
116 if (i->repeat)
124 int i;
134 for (i = 0; i < e->element.print.numItems; i++) {
136 printMappingItem(&e->element.print.item[i], native);
167 int i;
177 for (i = 0; i < e->element.print.numSubElements; i++) {
180 &e->element.print.subElement[i], native);
195 for (i = 0; i < e->element.match.numItems; i++) {
197 printMappingItem(&e->element.match.item[i], native);
216 int i;
221 for (i = 0; i < m->numElements; i++) {
222 printMappingElement(&m->element[i], native);
250 int i;
262 for (i = 0; i < o->numDbIds; i++) {
264 printMappingRule(o->dbId[i], mit_ldap, mit_nisplus);
278 int i;
294 for (i = 0; i < t->numRulesFromLDAP; i++) {
296 printMappingRule(t->ruleFromLDAP[i], mit_nisplus, mit_ldap);
302 for (i = 0; i < t->numRulesToLDAP; i++) {
304 printMappingRule(t->ruleToLDAP[i], mit_ldap, mit_nisplus);
311 int i, j;
320 for (i = 0; i < rv->numColumns; i++) {
321 bp2buf(myself, &b, "\t%s", NIL(rv->colName[i]));
322 if (rv->colVal[i].numVals == 1) {
324 if (rv->colVal[i].type == vt_string)
326 rv->colVal[i].val[0].value,
327 rv->colVal[i].val[0].length, &b);
330 rv->colVal[i].val[0].value,
331 rv->colVal[i].val[0].length, &b);
335 for (j = 0; j < rv->colVal[i].numVals; j++) {
337 if (rv->colVal[i].type == vt_string)
339 rv->colVal[i].val[j].value,
340 rv->colVal[i].val[j].length,
344 rv->colVal[i].val[j].value,
345 rv->colVal[i].val[j].length,
355 for (i = 0; i < rv->numAttrs; i++) {
356 bp2buf(myself, &b, "\t%s", NIL(rv->attrName[i]));
357 if (rv->attrVal[i].numVals == 1) {
359 if (rv->attrVal[i].type == vt_string)
361 rv->attrVal[i].val[0].value,
362 rv->attrVal[i].val[0].length,
366 rv->attrVal[i].val[0].value,
367 rv->attrVal[i].val[0].length,
372 for (j = 0; j < rv->attrVal[i].numVals; j++) {
374 if (rv->attrVal[i].type == vt_string)
376 rv->attrVal[i].val[j].value,
377 rv->attrVal[i].val[j].length,
381 rv->attrVal[i].val[j].value,
382 rv->attrVal[i].val[j].length,
446 int i;
451 for (i = 0; i < 4; i++) {
452 p2buf(msg, "%s", (a[i] & NIS_READ_ACC) ? "r" : "-");
453 p2buf(msg, "%s", (a[i] & NIS_MODIFY_ACC) ? "m" : "-");
454 p2buf(msg, "%s", (a[i] & NIS_CREATE_ACC) ? "c" : "-");
455 p2buf(msg, "%s", (a[i] & NIS_DESTROY_ACC) ? "d" : "-");