Lines Matching refs:zone_cursor
279 /* get rid of zone_cursor */
294 DBC *zone_cursor = NULL;
314 if (db->zone->cursor(db->zone, NULL, &zone_cursor, 0) != 0) {
321 while ((bdbres = zone_cursor->c_get(zone_cursor, &key, &data,
352 /* get rid of zone_cursor */
353 if (zone_cursor != NULL)
354 zone_cursor->c_close(zone_cursor);
401 DBC *zone_cursor = NULL;
418 if (db->zone->cursor(db->zone, NULL, &zone_cursor, 0) != 0) {
423 switch(zone_cursor->c_get(zone_cursor, &key, &data, DB_SET)) {
445 /* get rid of zone_cursor */
446 if (zone_cursor != NULL)
447 zone_cursor->c_close(zone_cursor);
459 DBC *zone_cursor = NULL;
483 if (db->zone->cursor(db->zone, NULL, &zone_cursor, 0) != 0) {
488 /* initialize zone_cursor with zone_key */
489 if (zone_cursor->c_get(zone_cursor, &key, &data, DB_SET) != 0) {
514 cur_arr[0] = zone_cursor;
552 /* get rid of zone_cursor */
553 if (zone_cursor != NULL)
554 zone_cursor->c_close(zone_cursor);