Lines Matching refs:element

34 ZEND_API void zend_llist_add_element(zend_llist *l, const void *element)  in zend_llist_add_element()  argument
46 memcpy(tmp->data, element, l->size); in zend_llist_add_element()
52 ZEND_API void zend_llist_prepend_element(zend_llist *l, const void *element) in zend_llist_prepend_element() argument
64 memcpy(tmp->data, element, l->size); in zend_llist_prepend_element()
88 ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, v… in zend_llist_del_element() argument
93 if (compare(current->data, element)) { in zend_llist_del_element()
166 zend_llist_element *element, *next; in zend_llist_apply_with_del() local
168 element=l->head; in zend_llist_apply_with_del()
169 while (element) { in zend_llist_apply_with_del()
170 next = element->next; in zend_llist_apply_with_del()
171 if (func(element->data)) { in zend_llist_apply_with_del()
172 DEL_LLIST_ELEMENT(element, l); in zend_llist_apply_with_del()
174 element = next; in zend_llist_apply_with_del()
181 zend_llist_element *element; in zend_llist_apply() local
183 for (element=l->head; element; element=element->next) { in zend_llist_apply()
184 func(element->data); in zend_llist_apply()
201 zend_llist_element *element, **ptr; in zend_llist_sort() local
211 for (element=l->head; element; element=element->next) { in zend_llist_sort()
212 *ptr++ = element; in zend_llist_sort()
233 zend_llist_element *element; in zend_llist_apply_with_argument() local
235 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_argument()
236 func(element->data, arg); in zend_llist_apply_with_argument()
243 zend_llist_element *element; in zend_llist_apply_with_arguments() local
247 for (element=l->head; element; element=element->next) { in zend_llist_apply_with_arguments()
248 func(element->data, num_args, args); in zend_llist_apply_with_arguments()