Lines Matching refs:item

510  * Return the value of the specified item.
513 getMappingItemVal(__nis_mapping_item_t *item, __nis_mapping_item_type_t native,
522 if (item == 0)
529 switch (item->type) {
532 if (item->searchSpec.obj.index.numIndexes <= 0 &&
533 item->searchSpec.obj.name == 0) {
564 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
574 } else if (item->searchSpec.triple.base == 0 &&
575 item->searchSpec.triple.scope ==
577 item->searchSpec.triple.attrs == 0 &&
578 item->searchSpec.triple.element == 0) {
607 cmp = strcasecmp(item->name, name[i]);
609 cmp = strcmp(item->name, name[i]);
622 val->repeat = item->repeat;
635 * item-> name. So set
651 if (item->type == mit_ldap) {
657 * If item->searchSpec.triple.base is NULL, or ends
662 * if item->searchSpec.triple.base ends in a comma,
665 if (yp2ldap && item->searchSpec.triple.base &&
666 strlen(item->searchSpec.triple.base) > 0) {
671 triple.base = appendBase(item->searchSpec.triple.base,
674 triple.scope = item->searchSpec.triple.scope;
675 triple.attrs = item->searchSpec.triple.attrs;
677 item->searchSpec.triple.element;
678 val = lookupLDAP(&triple, item->name, rv, 0,
712 if (item->exItem)
713 exVal = getMappingItemVal(item->exItem, native, rv,
1070 __nis_mapping_item_t *item = arg;
1072 ((item != 0) ? &item[ia] : 0), &ia);
1558 freeMappingItem(__nis_mapping_item_t *item, int numItems) {
1561 if (item == 0)
1565 sfree(item[i].name);
1566 freeTripleOrObj(item[i].type, &item[i].searchSpec, FALSE);
1568 sfree(item);
1659 splitMappingItem(__nis_mapping_item_t *item, char delim,
1661 __nis_value_t *val = getMappingItem(item, mit_any,
1684 /* If the item has multiple values, we split each one independently */
1746 * val Pointer to where an item value (if any) should be returned
1800 * In order to find the end of the item value, we must look
1806 * Since an item match is somewhat like an any match, in that
2076 * array being the new value of the first matched item, element one the
2077 * value of the second matched item, etc. In the example above, we'd
2220 * and assuming 'name' is an item with the value "some.thing", the
2224 extractMappingItem(__nis_mapping_item_t *item, __nis_mapping_format_t *f,
2226 __nis_value_t *val = getMappingItem(item, mit_any,
2264 /* If the item has multiple values, we extract each one independently */
2275 * the item before exhausting all format elements. By doing
2362 val = getMappingItem(&e->element.item, mit_any, rv, 0,
2369 e->element.print.item);
2374 val = splitMappingItem(&e->element.split.item,
2379 val = extractMappingItem(&e->element.extract.item,
2409 val = getMappingItem(&e->element.item, native, rv, 0, NULL);
2460 val = splitMappingItem(&e->element.split.item,
2472 val = extractMappingItem(&e->element.extract.item,