Lines Matching defs:iterator
534 * 'dbiterator' contains a iterator for the database. If we are creating
4370 dns_rdatasetiter_t *iterator = NULL;
4379 result = dns_db_allrdatasets(db, node, version, 0, &iterator);
4389 for (result = dns_rdatasetiter_first(iterator);
4391 result = dns_rdatasetiter_next(iterator)) {
4392 dns_rdatasetiter_current(iterator, &rdataset);
4433 result = dns_rdatasetiter_first(iterator);
4435 dns_rdatasetiter_current(iterator, &rdataset);
4458 result = dns_rdatasetiter_next(iterator);
4467 if (iterator != NULL)
4468 dns_rdatasetiter_destroy(&iterator);
4871 dns_rdatasetiter_t *iterator = NULL;
4936 * We keep pulling nodes off each iterator in turn until
5015 result = dns_db_allrdatasets(db, node, version, 0, &iterator);
5023 for (result = dns_rdatasetiter_first(iterator);
5025 result = dns_rdatasetiter_next(iterator)) {
5026 dns_rdatasetiter_current(iterator, &rdataset);
5040 dns_rdatasetiter_destroy(&iterator);
5211 result = dns_db_allrdatasets(db, node, version, 0, &iterator);
5219 for (result = dns_rdatasetiter_first(iterator);
5221 result = dns_rdatasetiter_next(iterator)) {
5222 dns_rdatasetiter_current(iterator, &rdataset);
5236 dns_rdatasetiter_destroy(&iterator);
5550 if (iterator != NULL)
5551 dns_rdatasetiter_destroy(&iterator);
5582 dns_rdatasetiter_t *iterator = NULL;
5585 result = dns_db_allrdatasets(db, node, version, 0, &iterator);
5593 for (result = dns_rdatasetiter_first(iterator);
5595 result = dns_rdatasetiter_next(iterator)) {
5596 dns_rdatasetiter_current(iterator, &rdataset);
5638 dns_rdatasetiter_destroy(&iterator);
5731 * We keep pulling nodes off each iterator in turn until