Searched refs:iter (Results 1 - 25 of 353) 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/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/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/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/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/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_fs.c63 struct ipoib_mcast_iter *iter; local
66 iter = ipoib_mcast_iter_init(file->private);
67 if (!iter)
71 if (ipoib_mcast_iter_next(iter)) {
72 kfree(iter);
77 return iter;
83 struct ipoib_mcast_iter *iter = iter_ptr; local
87 if (ipoib_mcast_iter_next(iter)) {
88 kfree(iter);
92 return iter;
102 struct ipoib_mcast_iter *iter = iter_ptr; local
162 struct ipoib_path_iter *iter; local
182 struct ipoib_path_iter *iter = iter_ptr; local
201 struct ipoib_path_iter *iter = iter_ptr; local
[all...]
/freebsd-head/contrib/atf/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))
/freebsd-head/crypto/openssl/crypto/asn1/
H A Dp5_pbe.c20 ASN1_SIMPLE(PBEPARAM, iter, ASN1_INTEGER)
27 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter,
39 if (iter <= 0)
40 iter = PKCS5_DEFAULT_ITER;
41 if (!ASN1_INTEGER_set(pbe->iter, iter)) {
81 X509_ALGOR *PKCS5_pbe_set(int alg, int iter,
91 if (PKCS5_pbe_set0_algor(ret, alg, iter, salt, saltlen))
/freebsd-head/sys/dev/drm2/
H A Ddrm_buffer.h133 int iter = buffer->iterator + offset * 4; local
134 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)];
147 int iter = buffer->iterator + offset; local
148 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)];
/freebsd-head/contrib/opencsd/decoder/source/
H A Docsd_lib_dcd_register.cpp137 std::map<const ocsd_trace_protocol_t, IDecoderMngr *>::const_iterator iter = m_typed_decoder_mngrs.begin(); local
138 while(iter != m_typed_decoder_mngrs.end())
140 IDecoderMngr *pMngr = iter->second;
143 iter++;
156 std::map<const std::string, IDecoderMngr *>::const_iterator iter = m_decoder_mngrs.find(name); local
157 if(iter == m_decoder_mngrs.end())
159 *p_decoder_mngr = iter->second;
176 std::map<const ocsd_trace_protocol_t, IDecoderMngr *>::const_iterator iter = m_typed_decoder_mngrs.find(decoderType); local
177 if (iter == m_typed_decoder_mngrs.end())
179 *p_decoder_mngr = m_pLastTypedDecoderMngr = iter
186 std::map<const std::string, IDecoderMngr *>::const_iterator iter = m_decoder_mngrs.find(name); local
194 std::map<const ocsd_trace_protocol_t, IDecoderMngr *>::const_iterator iter = m_typed_decoder_mngrs.find(decoderType); local
[all...]
/freebsd-head/tests/sys/cddl/zfs/tests/reservation/
H A Dreservation.kshlib97 typeset -i iter=0
102 while (( $iter < $count )); do
103 log_must $ZFS create ${FS_NAME}$iter
104 log_must $ZFS set mountpoint=${MNT_NAME}$iter ${FS_NAME}$iter
105 (( iter = iter + 1 ))
/freebsd-head/contrib/llvm/tools/lldb/source/Utility/
H A DBroadcaster.cpp333 collection::iterator iter = m_event_map.begin(), end_iter = m_event_map.end(); local
336 while (iter != end_iter &&
337 (iter = find_if(iter, end_iter,
340 available_bits &= ~((*iter).first.GetEventBits());
341 iter++;
369 collection::iterator iter, end_iter = m_event_map.end(); local
370 iter = find_if(m_event_map.begin(), end_iter, predicate);
371 if (iter == end_iter) {
374 uint32_t iter_event_bits = (*iter)
397 collection::const_iterator iter, end_iter = m_event_map.end(); local
409 listener_collection::iterator iter = m_listeners.begin(), local
417 collection::iterator iter, end_iter = m_event_map.end(); local
434 collection::iterator iter, end_iter = m_event_map.end(); local
447 collection::iterator iter = m_event_map.begin(), end_iter = m_event_map.end(); local
[all...]
/freebsd-head/contrib/atf/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())

Completed in 433 milliseconds

1234567891011>>