Lines Matching refs:iter
120 atf_map_iter_key(const atf_map_iter_t iter)
122 const struct map_entry *me = iter.m_entry;
128 atf_map_iter_data(const atf_map_iter_t iter)
130 const struct map_entry *me = iter.m_entry;
136 atf_map_iter_next(const atf_map_iter_t iter)
140 newiter = iter;
141 newiter.m_listiter = atf_list_iter_next(iter.m_listiter);
204 atf_list_iter_t iter;
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;
225 iter.m_map = m;
226 iter.m_listiter = atf_list_begin(&m->m_list);
227 iter.m_entry = atf_list_iter_data(iter.m_listiter);
228 return iter;
244 atf_map_iter_t iter;
245 iter.m_map = m;
246 iter.m_entry = NULL;
247 iter.m_listiter = atf_list_end(&m->m_list);
248 return iter;
254 atf_map_citer_t iter;
255 iter.m_map = m;
256 iter.m_entry = NULL;
257 iter.m_listiter = atf_list_end_c(&m->m_list);
258 return iter;
264 atf_list_iter_t iter;
266 atf_list_for_each(iter, &m->m_list) {
267 struct map_entry *me = atf_list_iter_data(iter);
273 i.m_listiter = iter;
284 atf_list_citer_t iter;
286 atf_list_for_each_c(iter, &m->m_list) {
287 const struct map_entry *me = atf_list_citer_data(iter);
293 i.m_listiter = iter;
311 atf_map_citer_t iter;
319 atf_map_for_each_c(iter, l) {
320 array[i] = strdup(atf_map_citer_key(iter));
327 array[i + 1] = strdup((const char *)atf_map_citer_data(iter));
351 atf_map_iter_t iter;
353 iter = atf_map_find(m, key);
354 if (atf_equal_map_iter_map_iter(iter, atf_map_end(m))) {
368 me = iter.m_entry;