/bind-9.11.3/bin/tests/ |
H A D | inter_test.c | 24 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/unit/atf-src/atf-c++/ |
H A D | build.cpp | 50 atf_list_citer_t iter; local 51 atf_list_for_each_c(iter, l) 52 aux.push_back(static_cast< const char* >(atf_list_citer_data(iter)));
|
H A D | tests_test.cpp | 53 for (std::vector< std::string >::const_iterator iter = ws.begin(); 54 iter != ws.end(); iter++) 55 std::cout << ">>" << *iter << "<<\n"; local
|
H A D | build_test.cpp | 49 for (typename C::const_iterator iter = c.begin(); iter != c.end(); 50 iter++) 51 std::cout << " '" << *iter << "'"; local
|
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | text.hpp | 61 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/unit/atf-src/tools/ |
H A D | text.hpp | 65 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 D | requirements.cpp | 71 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 D | atf-run.cpp | 252 vars_map::const_iterator iter = af.props().find("test-suite"); local 253 assert(iter != af.props().end()); 254 test_suite_vars = tools::config_file::read_config_files((*iter).second); 258 for (std::vector< std::string >::const_iterator iter = af.tps().begin(); 259 iter != af.tps().end(); iter++) { 260 const bool result = run_test(tp / *iter, w, 402 for (std::map< std::string, vars_map >::const_iterator iter 403 = md.test_cases.begin(); iter != md.test_cases.end(); iter 541 vars_map::const_iterator iter = af.props().find("test-suite"); local [all...] |
H A D | atffile.cpp | 218 for (std::vector< std::string >::const_iterator iter = ms.begin(); 219 iter != ms.end(); iter++) 220 m_tps.push_back(*iter); 319 tools::fs::directory::iterator iter = dir.begin(); local 320 while (iter != dir.end()) { 321 const std::string& name = (*iter).first; 322 const tools::fs::file_info& fi = (*iter).second; 328 dir.erase(iter++); 330 iter [all...] |
H A D | parser.cpp | 206 attrs_map::const_iterator iter = m_attrs.find(n); local 207 assert(iter != m_attrs.end()); 208 return (*iter).second; 285 for (impl::attrs_map::const_iterator iter = as.begin(); iter != as.end(); 286 iter++) { 287 assert((*iter).second.find('\"') == std::string::npos); 288 line += "; " + (*iter).first + "=\"" + (*iter).second + "\""; 354 for (headers_map::const_iterator iter [all...] |
/bind-9.11.3/lib/isc/tests/ |
H A D | ht_test.c | 192 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...] |
/bind-9.11.3/lib/isc/unix/ |
H A D | ifiter_getifaddrs.c | 46 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 D | ifiter_sysctl.c | 62 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 D | interfaceiter.c | 144 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...] |
H A D | ifiter_ioctl.c | 104 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...] |
/bind-9.11.3/unit/atf-src/atf-c/detail/ |
H A D | text.c | 97 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...] |
H A D | list_test.c | 270 atf_list_iter_t iter; local 277 atf_list_for_each(iter, &list) { 292 atf_list_for_each(iter, &list) { 293 printf("Retrieved item: %d\n", *(int *)atf_list_iter_data(iter)); 309 atf_list_citer_t iter; local 316 atf_list_for_each_c(iter, &list) { 331 atf_list_for_each_c(iter, &list) { 333 *(const int *)atf_list_citer_data(iter));
|
H A D | map_test.c | 84 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 D | list.c | 50 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 D | map.c | 120 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...] |
/bind-9.11.3/unit/atf-src/atf-c/ |
H A D | tp.c | 53 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);
|
H A D | utils.c | 116 char *iter = buffer; local 118 while ((end = strchr(iter, '\n')) != NULL) { 120 printf("%s\n", iter); 122 iter = end + 1; 123 if (iter != buffer + count) 128 if (iter < buffer + count) { 129 printf("%s", iter);
|
/bind-9.11.3/lib/dns/tests/ |
H A D | dbiterator_test.c | 51 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/lib/isc/win32/ |
H A D | interfaceiter.c | 104 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/bin/named/ |
H A D | lwdgrbn.c | 71 dns_rdatasetiter_t *iter = NULL; local 77 result = dns_db_allrdatasets(db, node, NULL, 0, &iter); 88 for (result = dns_rdatasetiter_first(iter); 90 result = dns_rdatasetiter_next(iter)) 94 dns_rdatasetiter_current(iter, &set); 139 dns_rdatasetiter_destroy(&iter); 168 dns_rdatasetiter_destroy(&iter);
|