Lines Matching defs:iterator

199 static isc_result_t	dbiterator_first(dns_dbiterator_t *iterator);
200 static isc_result_t dbiterator_last(dns_dbiterator_t *iterator);
201 static isc_result_t dbiterator_seek(dns_dbiterator_t *iterator,
203 static isc_result_t dbiterator_prev(dns_dbiterator_t *iterator);
204 static isc_result_t dbiterator_next(dns_dbiterator_t *iterator);
205 static isc_result_t dbiterator_current(dns_dbiterator_t *iterator,
208 static isc_result_t dbiterator_pause(dns_dbiterator_t *iterator);
209 static isc_result_t dbiterator_origin(dns_dbiterator_t *iterator,
266 rdatasetiter_first(dns_rdatasetiter_t *iterator) {
267 sdlz_rdatasetiter_t *sdlziterator = (sdlz_rdatasetiter_t *)iterator;
268 dns_sdlznode_t *sdlznode = (dns_sdlznode_t *)iterator->node;
277 rdatasetiter_next(dns_rdatasetiter_t *iterator) {
278 sdlz_rdatasetiter_t *sdlziterator = (sdlz_rdatasetiter_t *)iterator;
288 rdatasetiter_current(dns_rdatasetiter_t *iterator, dns_rdataset_t *rdataset) {
289 sdlz_rdatasetiter_t *sdlziterator = (sdlz_rdatasetiter_t *)iterator;
291 list_tordataset(sdlziterator->current, iterator->db, iterator->node,
923 sdlz_rdatasetiter_t *iterator;
930 iterator = isc_mem_get(db->mctx, sizeof(sdlz_rdatasetiter_t));
931 if (iterator == NULL)
934 iterator->common.magic = DNS_RDATASETITER_MAGIC;
935 iterator->common.methods = &rdatasetiter_methods;
936 iterator->common.db = db;
937 iterator->common.node = NULL;
938 attachnode(db, node, &iterator->common.node);
939 iterator->common.version = version;
940 iterator->common.now = now;
942 *iteratorp = (dns_rdatasetiter_t *)iterator;
1087 dbiterator_first(dns_dbiterator_t *iterator) {
1088 sdlz_dbiterator_t *sdlziter = (sdlz_dbiterator_t *)iterator;
1098 dbiterator_last(dns_dbiterator_t *iterator) {
1099 sdlz_dbiterator_t *sdlziter = (sdlz_dbiterator_t *)iterator;
1109 dbiterator_seek(dns_dbiterator_t *iterator, dns_name_t *name) {
1110 sdlz_dbiterator_t *sdlziter = (sdlz_dbiterator_t *)iterator;
1122 dbiterator_prev(dns_dbiterator_t *iterator) {
1123 sdlz_dbiterator_t *sdlziter = (sdlz_dbiterator_t *)iterator;
1133 dbiterator_next(dns_dbiterator_t *iterator) {
1134 sdlz_dbiterator_t *sdlziter = (sdlz_dbiterator_t *)iterator;
1144 dbiterator_current(dns_dbiterator_t *iterator, dns_dbnode_t **nodep,
1147 sdlz_dbiterator_t *sdlziter = (sdlz_dbiterator_t *)iterator;
1149 attachnode(iterator->db, sdlziter->current, nodep);
1156 dbiterator_pause(dns_dbiterator_t *iterator) {
1157 UNUSED(iterator);
1162 dbiterator_origin(dns_dbiterator_t *iterator, dns_name_t *name) {
1163 UNUSED(iterator);