Lines Matching refs:iter
69 struct json_object_iterator iter;
79 iter.opaque_ = pTable->head;
80 return iter;
89 struct json_object_iterator iter;
94 iter.opaque_ = kObjectEndIterValue;
96 return iter;
103 json_object_iter_next(struct json_object_iterator* iter)
105 JASSERT(NULL != iter);
106 JASSERT(kObjectEndIterValue != iter->opaque_);
108 iter->opaque_ = ((struct lh_entry *)iter->opaque_)->next;
116 json_object_iter_peek_name(const struct json_object_iterator* iter)
118 JASSERT(NULL != iter);
119 JASSERT(kObjectEndIterValue != iter->opaque_);
121 return (const char*)(((struct lh_entry *)iter->opaque_)->k);
129 json_object_iter_peek_value(const struct json_object_iterator* iter)
131 JASSERT(NULL != iter);
132 JASSERT(kObjectEndIterValue != iter->opaque_);
134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v);
158 struct json_object_iterator iter;
165 iter.opaque_ = NULL;
167 return iter;