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

1234567891011>>

/freebsd-head/contrib/ntp/lib/isc/unix/
H A Difiter_sysctl.c69 isc_interfaceiter_t *iter; local
79 iter = isc_mem_get(mctx, sizeof(*iter));
80 if (iter == NULL)
83 iter->mctx = mctx;
84 iter->buf = 0;
102 iter->bufsize = bufsize;
104 iter->buf = isc_mem_get(iter->mctx, iter
153 internal_current(isc_interfaceiter_t *iter) argument
296 internal_next(isc_interfaceiter_t *iter) argument
311 internal_destroy(isc_interfaceiter_t *iter) argument
319 internal_first(isc_interfaceiter_t *iter) argument
[all...]
H A Difiter_getifaddrs.c55 isc_interfaceiter_t *iter; local
64 iter = isc_mem_get(mctx, sizeof(*iter));
65 if (iter == NULL)
68 iter->mctx = mctx;
69 iter->buf = NULL;
70 iter->bufsize = 0;
71 iter->ifaddrs = NULL;
78 iter->proc = fopen("/proc/net/if_inet6", "r");
79 if (iter
140 internal_current(isc_interfaceiter_t *iter) argument
248 internal_next(isc_interfaceiter_t *iter) argument
264 internal_destroy(isc_interfaceiter_t *iter) argument
277 internal_first(isc_interfaceiter_t *iter) argument
[all...]
H A Difiter_ioctl.c132 getbuf4(isc_interfaceiter_t *iter) { argument
135 iter->bufsize = IFCONF_BUFSIZE_INITIAL;
138 iter->buf = isc_mem_get(iter->mctx, iter->bufsize);
139 if (iter->buf == NULL)
142 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len));
143 iter->ifc.ifc_len = iter
205 getbuf6(isc_interfaceiter_t *iter) argument
311 isc_interfaceiter_t *iter; local
426 internal_current_clusteralias(isc_interfaceiter_t *iter) argument
450 internal_current4(isc_interfaceiter_t *iter) argument
682 internal_current6(isc_interfaceiter_t *iter) argument
889 internal_current(isc_interfaceiter_t *iter) argument
912 internal_next4(isc_interfaceiter_t *iter) argument
941 internal_next6(isc_interfaceiter_t *iter) argument
968 internal_next(isc_interfaceiter_t *iter) argument
996 internal_destroy(isc_interfaceiter_t *iter) argument
1012 internal_first(isc_interfaceiter_t *iter) argument
[all...]
H A Dinterfaceiter.c157 static void linux_if_inet6_first(isc_interfaceiter_t *iter);
170 linux_if_inet6_first(isc_interfaceiter_t *iter) { argument
171 if (iter->proc != NULL) {
172 rewind(iter->proc);
173 (void)linux_if_inet6_next(iter);
175 iter->valid = ISC_R_NOMORE;
179 linux_if_inet6_next(isc_interfaceiter_t *iter) { argument
180 if (iter->proc != NULL &&
181 fgets(iter->entry, sizeof(iter
189 linux_if_inet6_current(isc_interfaceiter_t *iter) argument
266 isc_interfaceiter_current(isc_interfaceiter_t *iter, isc_interface_t *ifdata) argument
275 isc_interfaceiter_first(isc_interfaceiter_t *iter) argument
294 isc_interfaceiter_next(isc_interfaceiter_t *iter) argument
315 isc_interfaceiter_t *iter; local
[all...]
/freebsd-head/contrib/ntp/lib/isc/win32/
H A Dinterfaceiter.c119 isc_interfaceiter_t *iter; local
133 iter = isc_mem_get(mctx, sizeof(*iter));
134 if (iter == NULL)
139 iter->mctx = mctx;
140 iter->ipaa = NULL;
141 iter->buf4 = NULL;
142 iter->buf6 = NULL;
143 iter->pos4 = NULL;
144 iter
396 GAA_find_prefix(isc_interfaceiter_t *iter) argument
452 internal_current_GAA(isc_interfaceiter_t *iter) argument
512 internal_current(isc_interfaceiter_t *iter) argument
585 internal_current6(isc_interfaceiter_t *iter) argument
656 internal_next_GAA(isc_interfaceiter_t *iter) argument
681 internal_next(isc_interfaceiter_t *iter) argument
707 internal_next6(isc_interfaceiter_t *iter) argument
715 isc_interfaceiter_current(isc_interfaceiter_t *iter, isc_interface_t *ifdata) argument
723 isc_interfaceiter_first(isc_interfaceiter_t *iter) argument
745 isc_interfaceiter_next(isc_interfaceiter_t *iter) argument
784 isc_interfaceiter_t *iter; local
[all...]
/freebsd-head/sys/dev/mlx4/mlx4_core/
H A Dicm.h89 struct mlx4_icm_iter *iter)
91 iter->icm = icm;
92 iter->chunk = list_empty(&icm->chunk_list) ?
95 iter->page_idx = 0;
98 static inline int mlx4_icm_last(struct mlx4_icm_iter *iter) argument
100 return !iter->chunk;
103 static inline void mlx4_icm_next(struct mlx4_icm_iter *iter) argument
105 if (++iter->page_idx >= iter->chunk->nsg) {
106 if (iter
88 mlx4_icm_first(struct mlx4_icm *icm, struct mlx4_icm_iter *iter) argument
117 mlx4_icm_addr(struct mlx4_icm_iter *iter) argument
122 mlx4_icm_size(struct mlx4_icm_iter *iter) argument
[all...]
/freebsd-head/contrib/kyua/store/
H A Dschema_inttest.cpp94 store::results_iterator iter = transaction.get_results(); local
95 ATF_REQUIRE(!iter);
161 store::results_iterator iter = transaction.get_results(); local
162 ATF_REQUIRE(iter);
163 ATF_REQUIRE_EQ(test_program_1, *iter.test_program());
164 ATF_REQUIRE_EQ("main", iter.test_case_name());
165 ATF_REQUIRE_EQ(result_1, iter.result());
166 ATF_REQUIRE(iter.stdout_contents().empty());
167 ATF_REQUIRE(iter.stderr_contents().empty());
168 ATF_REQUIRE_EQ(1357643611000000LL, iter
281 store::results_iterator iter = transaction.get_results(); local
372 store::results_iterator iter = transaction.get_results(); local
[all...]
/freebsd-head/contrib/atf/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...]
/freebsd-head/contrib/ipfilter/lib/
H A Dprintpool_live.c21 ipflookupiter_t iter; local
38 obj.ipfo_ptr = &iter;
39 obj.ipfo_size = sizeof(iter);
41 iter.ili_data = &entry;
42 iter.ili_type = IPLT_POOL;
43 iter.ili_otype = IPFLOOKUPITER_NODE;
44 iter.ili_ival = IPFGENITER_LOOKUP;
45 iter.ili_unit = pool->ipo_unit;
46 strncpy(iter.ili_name, pool->ipo_name, FR_GROUPLEN);
68 (void) ioctl(fd,SIOCIPFDELTOK, &iter
[all...]
H A Dprinthash_live.c21 ipflookupiter_t iter; local
39 obj.ipfo_ptr = &iter;
40 obj.ipfo_size = sizeof(iter);
42 iter.ili_data = &entry;
43 iter.ili_type = IPLT_HASH;
44 iter.ili_otype = IPFLOOKUPITER_NODE;
45 iter.ili_ival = IPFGENITER_LOOKUP;
46 iter.ili_unit = hp->iph_unit;
47 strncpy(iter.ili_name, hp->iph_name, FR_GROUPLEN);
H A Dprintdstl_live.c25 ipflookupiter_t iter; local
52 obj.ipfo_ptr = &iter;
53 obj.ipfo_size = sizeof(iter);
55 iter.ili_data = entry;
56 iter.ili_type = IPLT_DSTLIST;
57 iter.ili_otype = IPFLOOKUPITER_NODE;
58 iter.ili_ival = IPFGENITER_LOOKUP;
59 iter.ili_unit = d->ipld_unit;
60 strncpy(iter.ili_name, d->ipld_name, FR_GROUPLEN);
74 (void) ioctl(fd, SIOCIPFDELTOK, &iter
[all...]
/freebsd-head/contrib/kyua/cli/
H A Dcmd_config.cpp58 for (config::properties_map::const_iterator iter = properties.begin();
59 iter != properties.end(); iter++)
60 ui->out(F("%s = %s") % (*iter).first % (*iter).second);
79 for (cmdline::args_vector::const_iterator iter = filters.begin();
80 iter != filters.end(); iter++) {
82 properties.find(*iter);
84 cmdline::print_warning(ui, F("'%s' is not defined.") % *iter);
[all...]
H A Dcmd_report.cpp173 iter = env.begin(); iter != env.end(); iter++) {
174 print_env_var(" ", (*iter).first, (*iter).second);
206 for (model::properties_map::const_iterator iter = props.begin();
207 iter != props.end(); ++iter) {
208 if ((*iter).second.empty()) {
209 _output << F(" %s is empty\n") % (*iter)
239 std::vector< result_data > >::const_iterator iter = local
305 got_result(store::results_iterator& iter) argument
[all...]
/freebsd-head/contrib/kyua/drivers/
H A Dreport_junit.cpp115 for (model::properties_map::const_iterator iter = props.begin();
116 iter != props.end(); ++iter) {
117 if ((*iter).second.empty()) {
118 output << F("%s is empty\n") % (*iter).first;
120 output << F("%s = %s\n") % (*iter).first % (*iter).second;
168 for (model::properties_map::const_iterator iter =
169 context.env().begin(); iter != context.env().end(); ++iter) {
182 got_result(store::results_iterator& iter) argument
[all...]
/freebsd-head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.freopen.ksh43 /++i == $iter/
60 while [ "$i" -lt "$iter" ]; do
75 iter=20
82 if [ -f $tmpfile.$iter ]; then
83 echo "$0: did not expect to find file: $tmpfile.$iter"
88 mv $tmpfile $tmpfile.$iter
89 let iter=iter+1
91 while [ "$i" -lt "$iter" ]; do
/freebsd-head/contrib/kyua/utils/config/
H A Dkeys.cpp66 for (tree_key::const_iterator iter = key.begin(); iter != key.end(); iter++)
67 if ((*iter).empty())
/freebsd-head/sys/dev/mthca/
H A Dmthca_memfree.h100 struct mthca_icm_iter *iter)
102 iter->icm = icm;
103 iter->chunk = list_empty(&icm->chunk_list) ?
106 iter->page_idx = 0;
109 static inline int mthca_icm_last(struct mthca_icm_iter *iter) argument
111 return !iter->chunk;
114 static inline void mthca_icm_next(struct mthca_icm_iter *iter) argument
116 if (++iter->page_idx >= iter->chunk->nsg) {
117 if (iter
99 mthca_icm_first(struct mthca_icm *icm, struct mthca_icm_iter *iter) argument
128 mthca_icm_addr(struct mthca_icm_iter *iter) argument
133 mthca_icm_size(struct mthca_icm_iter *iter) argument
[all...]
/freebsd-head/contrib/kyua/engine/
H A Drequirements.cpp64 for (model::strings_set::const_iterator iter = required_configs.begin();
65 iter != required_configs.end(); iter++) {
68 if ((*iter) == "unprivileged-user" || (*iter) == "unprivileged_user")
71 property = F("test_suites.%s.%s") % test_suite_name % (*iter);
75 (*iter);
161 for (model::paths_set::const_iterator iter = required_files.begin();
162 iter != required_files.end(); iter
[all...]
H A Dtap_helpers.cpp71 char** iter; local
72 for (iter = environ; *iter != NULL; ++iter) {
73 if (std::strstr(*iter, "TEST_ENV_") == *iter) {
74 vars.insert(*iter);
/freebsd-head/crypto/openssl/crypto/pkcs12/
H A Dp12_crpt.c25 int saltlen, iter, ret; local
30 int id, int iter, int n,
47 if (!pbe->iter)
48 iter = 1;
50 iter = ASN1_INTEGER_get(pbe->iter);
54 iter, EVP_CIPHER_key_length(cipher), key, md)) {
60 iter, EVP_CIPHER_iv_length(cipher), iv, md)) {
/freebsd-head/contrib/kyua/integration/helpers/
H A Ddump_env.cpp57 iter = env.begin(); iter != env.end(); ++iter) {
58 const std::string& name = (*iter).first;
60 (*iter).second, '\n');

Completed in 127 milliseconds

1234567891011>>