Searched refs:iter (Results 1 - 25 of 66) sorted by relevance

123

/bind-9.11.3/lib/isc/win32/
H A Dinterfaceiter.c104 isc_interfaceiter_t *iter; local
113 iter = isc_mem_get(mctx, sizeof(*iter));
114 if (iter == NULL)
119 iter->mctx = mctx;
120 iter->buf4 = NULL;
121 iter->buf6 = NULL;
122 iter->pos4 = NULL;
123 iter->pos6 = 0;
124 iter
309 internal_current(isc_interfaceiter_t *iter) argument
368 internal_current6(isc_interfaceiter_t *iter) argument
442 internal_next(isc_interfaceiter_t *iter) argument
468 internal_next6(isc_interfaceiter_t *iter) argument
477 isc_interfaceiter_current(isc_interfaceiter_t *iter, isc_interface_t *ifdata) argument
485 isc_interfaceiter_first(isc_interfaceiter_t *iter) argument
499 isc_interfaceiter_next(isc_interfaceiter_t *iter) argument
527 isc_interfaceiter_t *iter; local
[all...]
/bind-9.11.3/lib/isc/unix/
H A Difiter_getifaddrs.c46 isc_interfaceiter_t *iter; local
54 iter = isc_mem_get(mctx, sizeof(*iter));
55 if (iter == NULL)
58 iter->mctx = mctx;
59 iter->buf = NULL;
60 iter->bufsize = 0;
61 iter->ifaddrs = NULL;
68 iter->proc = fopen("/proc/net/if_inet6", "r");
70 iter
117 internal_current(isc_interfaceiter_t *iter) argument
190 internal_next(isc_interfaceiter_t *iter) argument
206 internal_destroy(isc_interfaceiter_t *iter) argument
219 internal_first(isc_interfaceiter_t *iter) argument
[all...]
H A Difiter_sysctl.c62 isc_interfaceiter_t *iter; local
72 iter = isc_mem_get(mctx, sizeof(*iter));
73 if (iter == NULL)
76 iter->mctx = mctx;
77 iter->buf = 0;
95 iter->bufsize = bufsize;
97 iter->buf = isc_mem_get(iter->mctx, iter
146 internal_current(isc_interfaceiter_t *iter) argument
271 internal_next(isc_interfaceiter_t *iter) argument
286 internal_destroy(isc_interfaceiter_t *iter) argument
294 internal_first(isc_interfaceiter_t *iter) argument
[all...]
H A Difiter_ioctl.c104 getbuf4(isc_interfaceiter_t *iter) { argument
107 iter->bufsize = IFCONF_BUFSIZE_INITIAL;
110 iter->buf = isc_mem_get(iter->mctx, iter->bufsize);
111 if (iter->buf == NULL)
114 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len));
115 iter->ifc.ifc_len = iter
177 getbuf6(isc_interfaceiter_t *iter) argument
283 isc_interfaceiter_t *iter; local
398 internal_current_clusteralias(isc_interfaceiter_t *iter) argument
423 internal_current4(isc_interfaceiter_t *iter) argument
619 internal_current6(isc_interfaceiter_t *iter) argument
782 internal_current(isc_interfaceiter_t *iter) argument
805 internal_next4(isc_interfaceiter_t *iter) argument
834 internal_next6(isc_interfaceiter_t *iter) argument
861 internal_next(isc_interfaceiter_t *iter) argument
889 internal_destroy(isc_interfaceiter_t *iter) argument
905 internal_first(isc_interfaceiter_t *iter) argument
[all...]
H A Dinterfaceiter.c144 static void linux_if_inet6_first(isc_interfaceiter_t *iter);
157 linux_if_inet6_first(isc_interfaceiter_t *iter) { argument
158 if (iter->proc != NULL) {
159 rewind(iter->proc);
160 (void)linux_if_inet6_next(iter);
162 iter->valid = ISC_R_NOMORE;
166 linux_if_inet6_next(isc_interfaceiter_t *iter) { argument
167 if (iter->proc != NULL &&
168 fgets(iter->entry, sizeof(iter
176 linux_if_inet6_current(isc_interfaceiter_t *iter) argument
242 isc_interfaceiter_current(isc_interfaceiter_t *iter, isc_interface_t *ifdata) argument
251 isc_interfaceiter_first(isc_interfaceiter_t *iter) argument
270 isc_interfaceiter_next(isc_interfaceiter_t *iter) argument
291 isc_interfaceiter_t *iter; local
[all...]
/bind-9.11.3/unit/atf-src/tools/
H A Dexpand.hpp71 for (typename T::const_iterator iter = candidates.begin();
72 iter != candidates.end(); iter++)
73 if (matches_glob(glob, *iter))
74 exps.push_back(*iter);
H A Drequirements.cpp71 for (std::vector< std::string >::const_iterator iter = dirs.begin();
72 !found && iter != dirs.end(); iter++) {
73 const tools::fs::path& p = tools::fs::path(*iter) / program;
88 for (std::vector< std::string >::const_iterator iter = v.begin();
89 iter != v.end(); iter++) {
90 if ((*iter) == tools::config::get("atf_arch"))
105 for (std::vector< std::string >::const_iterator iter = v.begin();
106 iter !
242 const vars_map::const_iterator iter = config.find( local
313 const vars_map::const_iterator iter = config.find( local
[all...]
H A Dexpand.cpp51 for (std::string::const_iterator iter = glob.begin(); iter != glob.end();
52 iter++) {
53 switch (*iter) {
56 default: regex += *iter;
H A Datf-report.cpp309 for (std::map< std::string, std::string >::const_iterator iter =
310 xfails.begin(); iter != xfails.end(); iter++) {
311 const std::string& name = (*iter).first;
312 const std::string& reason = (*iter).second;
396 for (std::string::const_iterator iter = str.begin();
397 iter != str.end(); iter++) {
398 const int character = static_cast< unsigned char >(*iter);
514 for (outs_vector::iterator iter
[all...]
H A Dtext.hpp65 typename T::const_iterator iter = words.begin(); local
66 bool done = iter == words.end();
68 str += *iter;
69 iter++;
70 if (iter != words.end())
H A Dui.cpp99 for (std::vector< std::string >::const_iterator iter = words.begin();
100 iter != words.end(); iter++) {
101 const std::string& word = *iter;
103 if (iter != words.begin() && maxcol > 0 &&
110 } else if (iter != words.begin()) {
151 for (std::vector< std::string >::const_iterator iter = lines.begin();
152 iter != lines.end(); iter++) {
153 const std::string& line = *iter;
[all...]
H A Datf-config.cpp117 for (std::map< std::string, std::string >::const_iterator iter =
118 cv.begin(); iter != cv.end(); iter++)
119 std::cout << format_var((*iter).first, (*iter).second) << "\n";
/bind-9.11.3/unit/atf-src/atf-c/detail/
H A Dmap.c120 atf_map_iter_key(const atf_map_iter_t iter) argument
122 const struct map_entry *me = iter.m_entry;
128 atf_map_iter_data(const atf_map_iter_t iter) argument
130 const struct map_entry *me = iter.m_entry;
136 atf_map_iter_next(const atf_map_iter_t iter) argument
140 newiter = iter;
141 newiter.m_listiter = atf_list_iter_next(iter.m_listiter);
204 atf_list_iter_t iter; local
206 atf_list_for_each(iter, &m->m_list) {
207 struct map_entry *me = atf_list_iter_data(iter);
224 atf_map_iter_t iter; local
244 atf_map_iter_t iter; local
254 atf_map_citer_t iter; local
264 atf_list_iter_t iter; local
284 atf_list_citer_t iter; local
311 atf_map_citer_t iter; local
351 atf_map_iter_t iter; local
[all...]
H A Dlist.h102 #define atf_list_for_each(iter, list) \
103 for (iter = atf_list_begin(list); \
104 !atf_equal_list_iter_list_iter((iter), atf_list_end(list)); \
105 iter = atf_list_iter_next(iter))
106 #define atf_list_for_each_c(iter, list) \
107 for (iter = atf_list_begin_c(list); \
108 !atf_equal_list_citer_list_citer((iter), atf_list_end_c(list)); \
109 iter = atf_list_citer_next(iter))
[all...]
H A Dmap.h105 #define atf_map_for_each(iter, map) \
106 for (iter = atf_map_begin(map); \
107 !atf_equal_map_iter_map_iter((iter), atf_map_end(map)); \
108 iter = atf_map_iter_next(iter))
109 #define atf_map_for_each_c(iter, map) \
110 for (iter = atf_map_begin_c(map); \
111 !atf_equal_map_citer_map_citer((iter), atf_map_end_c(map)); \
112 iter = atf_map_citer_next(iter))
[all...]
H A Dmap_test.c84 atf_map_citer_t iter; local
89 iter = atf_map_find_c(&map, "K1");
90 ATF_REQUIRE(!atf_equal_map_citer_map_citer(iter, atf_map_end_c(&map)));
91 ATF_REQUIRE(strcmp(atf_map_citer_key(iter), "K1") == 0);
92 ATF_REQUIRE(strcmp(atf_map_citer_data(iter), "V1") == 0);
94 iter = atf_map_find_c(&map, "K2");
95 ATF_REQUIRE(!atf_equal_map_citer_map_citer(iter, atf_map_end_c(&map)));
96 ATF_REQUIRE(strcmp(atf_map_citer_key(iter), "K2") == 0);
97 ATF_REQUIRE(strcmp(atf_map_citer_data(iter), "V2") == 0);
127 atf_map_iter_t iter; local
165 atf_map_citer_t iter; local
243 atf_map_citer_t iter; local
283 atf_map_iter_t iter; local
324 atf_map_citer_t iter; local
371 atf_map_citer_t iter; local
[all...]
H A Dlist.c50 atf_list_citer_t iter; local
51 iter.m_list = l;
52 iter.m_entry = le;
53 return iter;
60 atf_list_iter_t iter; local
61 iter.m_list = l;
62 iter.m_entry = le;
63 return iter;
158 atf_list_iter_data(const atf_list_iter_t iter) argument
160 const struct list_entry *le = iter
166 atf_list_iter_next(const atf_list_iter_t iter) argument
276 atf_list_iter_t iter; local
295 atf_list_citer_t iter; local
322 atf_list_citer_t iter; local
[all...]
H A Dtext.c97 const char *iter; local
105 iter = str;
106 while (iter < end) {
109 INV(iter != NULL);
110 ptr = strstr(iter, delim);
114 INV(ptr >= iter);
115 if (ptr > iter) {
118 err = atf_dynstr_init_raw(&word, iter, ptr - iter);
127 iter
[all...]
/bind-9.11.3/lib/isc/include/isc/
H A Dinterfaceiter.h78 isc_interfaceiter_first(isc_interfaceiter_t *iter);
88 isc_interfaceiter_current(isc_interfaceiter_t *iter,
103 isc_interfaceiter_next(isc_interfaceiter_t *iter);
/bind-9.11.3/unit/atf-src/atf-c++/
H A Dutils.hpp53 for (typename Collection::const_iterator iter = collection.begin();
54 iter != collection.end(); ++iter) {
55 if (grep_string(regexp, *iter))
/bind-9.11.3/unit/atf-src/atf-c++/detail/
H A Dtext.hpp61 typename T::const_iterator iter = words.begin(); local
62 bool done = iter == words.end();
64 str += *iter;
65 iter++;
66 if (iter != words.end())
/bind-9.11.3/bin/tests/
H A Dinter_test.c24 isc_interfaceiter_t *iter = NULL; local
34 result = isc_interfaceiter_create(mctx, &iter);
37 result = isc_interfaceiter_first(iter);
39 result = isc_interfaceiter_current(iter, &ifdata);
70 result = isc_interfaceiter_next(iter);
77 isc_interfaceiter_destroy(&iter);
81 result = isc_interfaceiter_create(mctx, &iter);
84 result = isc_interfaceiter_first(iter);
86 result = isc_interfaceiter_current(iter, &ifdata);
117 result = isc_interfaceiter_next(iter);
[all...]
/bind-9.11.3/lib/dns/tests/
H A Ddbiterator_test.c51 dns_dbiterator_t *iter = NULL; local
60 result = dns_db_createiterator(db, 0, &iter);
63 dns_dbiterator_destroy(&iter);
91 dns_dbiterator_t *iter = NULL; local
109 result = dns_db_createiterator(db, 0, &iter);
112 for (result = dns_dbiterator_first(iter);
114 result = dns_dbiterator_next(iter)) {
115 result = dns_dbiterator_current(iter, &node, name);
125 dns_dbiterator_destroy(&iter);
154 dns_dbiterator_t *iter local
215 dns_dbiterator_t *iter = NULL; local
290 dns_dbiterator_t *iter = NULL; local
347 dns_dbiterator_t *iter = NULL; local
[all...]
/bind-9.11.3/unit/atf-src/atf-c/
H A Dtp.c53 atf_list_citer_t iter; local
56 atf_list_for_each_c(iter, &tp->pimpl->m_tcs) {
58 tc2 = atf_list_citer_data(iter);
104 atf_list_iter_t iter; local
108 atf_list_for_each(iter, &tp->pimpl->m_tcs) {
109 atf_tc_t *tc = atf_list_iter_data(iter);
146 atf_list_citer_t iter; local
155 atf_list_for_each_c(iter, &tp->pimpl->m_tcs) {
156 array[i] = atf_list_citer_data(iter);
/bind-9.11.3/lib/isc/tests/
H A Dht_test.c192 isc_ht_iter_t * iter = NULL; local
220 result = isc_ht_iter_create(ht, &iter);
223 for (result = isc_ht_iter_first(iter);
225 result = isc_ht_iter_next(iter))
227 isc_ht_iter_current(iter, &v);
228 isc_ht_iter_currentkey(iter, &tkey, &tksize);
241 result = isc_ht_iter_first(iter);
243 isc_ht_iter_current(iter, &v);
244 isc_ht_iter_currentkey(iter, &tkey, &tksize);
251 result = isc_ht_iter_delcurrent_next(iter);
[all...]

Completed in 90 milliseconds

123