Lines Matching refs:item

507  * Return the value of the specified item.
510 getMappingItemVal(__nis_mapping_item_t *item, __nis_mapping_item_type_t native,
519 if (item == 0)
526 switch (item->type) {
529 if (item->searchSpec.obj.index.numIndexes <= 0 &&
530 item->searchSpec.obj.name == 0) {
561 if (item->searchSpec.triple.scope == LDAP_SCOPE_UNKNOWN) {
571 } else if (item->searchSpec.triple.base == 0 &&
572 item->searchSpec.triple.scope ==
574 item->searchSpec.triple.attrs == 0 &&
575 item->searchSpec.triple.element == 0) {
604 cmp = strcasecmp(item->name, name[i]);
606 cmp = strcmp(item->name, name[i]);
619 val->repeat = item->repeat;
624 * item-> name. So set
640 if (item->type == mit_ldap) {
646 * If item->searchSpec.triple.base is NULL, or ends
651 * if item->searchSpec.triple.base ends in a comma,
654 if (yp2ldap && item->searchSpec.triple.base &&
655 strlen(item->searchSpec.triple.base) > 0) {
660 triple.base = appendBase(item->searchSpec.triple.base,
663 triple.scope = item->searchSpec.triple.scope;
664 triple.attrs = item->searchSpec.triple.attrs;
666 item->searchSpec.triple.element;
667 val = lookupLDAP(&triple, item->name, rv, 0,
701 if (item->exItem)
702 exVal = getMappingItemVal(item->exItem, native, rv,
1059 __nis_mapping_item_t *item = arg;
1061 ((item != 0) ? &item[ia] : 0), &ia);
1547 freeMappingItem(__nis_mapping_item_t *item, int numItems) {
1550 if (item == 0)
1554 sfree(item[i].name);
1555 freeTripleOrObj(item[i].type, &item[i].searchSpec, FALSE);
1557 sfree(item);
1648 splitMappingItem(__nis_mapping_item_t *item, char delim,
1650 __nis_value_t *val = getMappingItem(item, mit_any,
1673 /* If the item has multiple values, we split each one independently */
1735 * val Pointer to where an item value (if any) should be returned
1788 * In order to find the end of the item value, we must look
1794 * Since an item match is somewhat like an any match, in that
2064 * array being the new value of the first matched item, element one the
2065 * value of the second matched item, etc. In the example above, we'd
2208 * and assuming 'name' is an item with the value "some.thing", the
2212 extractMappingItem(__nis_mapping_item_t *item, __nis_mapping_format_t *f,
2214 __nis_value_t *val = getMappingItem(item, mit_any,
2252 /* If the item has multiple values, we extract each one independently */
2263 * the item before exhausting all format elements. By doing
2350 val = getMappingItem(&e->element.item, mit_any, rv, 0,
2357 e->element.print.item);
2362 val = splitMappingItem(&e->element.split.item,
2367 val = extractMappingItem(&e->element.extract.item,
2397 val = getMappingItem(&e->element.item, native, rv, 0, NULL);
2448 val = splitMappingItem(&e->element.split.item,
2460 val = extractMappingItem(&e->element.extract.item,