Lines Matching refs:child

516 	phpdbg_watch_element *child;  local
521 child = emalloc(sizeof(*child));
522 child->flags = PHPDBG_WATCH_RECURSIVE;
524child->str = strpprintf(0, (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[%s]" : "%.*s->%s", (int) …
526child->str = strpprintf(0, (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[" ZEND_LONG_FMT "]" : "%.…
531 child->name_in_parent = str;
532 child->parent = element;
533 child->child = NULL;
534 child->parent_container = HT_WATCH_HT(element->watch);
535 zend_hash_add_ptr(&element->child_container, child->str, child);
536 phpdbg_add_bucket_watch_element((Bucket *) zv, child);
540 phpdbg_watch_element *child; local
550 if (element->child) {
551 phpdbg_remove_watch_element_recursively(element->child);
556 if (element->child) {
557 phpdbg_free_watch_element(element->child);
558 element->child = NULL;
563 if (element->child) {
564 child = element->child;
566 child = emalloc(sizeof(*child));
567 child->flags = PHPDBG_WATCH_RECURSIVE;
568 child->str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str));
569 child->name_in_parent = NULL;
570 child->parent = element;
571 child->child = NULL;
572 element->child = child;
574 zend_hash_init(&child->child_container, 8, NULL, NULL, 0);
575 phpdbg_add_ht_watch_element(zv, child);
648 phpdbg_watch_element *child = prev; local
650 if (child == element) {
653 child = child->child;
654 } while (child);
692 if (!phpdbg_try_readding_watch_element(next, element->child)) {
710 phpdbg_watch_element *child = element; local
711 while (child->child && !(child->flags & PHPDBG_WATCH_RECURSIVE_ROOT)) {
712 child = child->child;
715 …as been removed, removing watchpoint%s", (int) ZSTR_LEN(child->str), ZSTR_VAL(child->str), (child-…
716 zend_hash_index_del(&PHPDBG_G(watch_elements), child->id);
762 if (element->child) {
763 phpdbg_remove_watch_element_recursively(element->child);
764 phpdbg_free_watch_element(element->child);
765 element->child = NULL;
767 phpdbg_watch_element *child; local
768 ZEND_HASH_FOREACH_PTR(&element->child_container, child) {
769 phpdbg_remove_watch_element_recursively(child);
770 phpdbg_free_watch_element(child);
780 phpdbg_watch_element *parent = element->parent, *child = element->child; local
787 while (child) {
788 phpdbg_watch_element *cur = child;
789 child = child->child;
792 child = NULL;
813 phpdbg_watch_element *child = element; local
822 while (child->child != until) {
823 child = child->child;
824 if (child->flags & PHPDBG_WATCH_RECURSIVE_ROOT) {
825 phpdbg_backup_watch_element(child);
826 phpdbg_remove_watch_element_recursively(child);
827 child->child = NULL;
830 if (child->child == NULL || (child->flags & PHPDBG_WATCH_RECURSIVE_ROOT)) {
831 phpdbg_backup_watch_element(child);
833 phpdbg_clean_watch_element(child);
836 if (element->child == NULL) {
844 phpdbg_watch_element *parent = element->parent, *child = element->child; local
851 while (child) {
852 phpdbg_watch_element *cur = child;
853 child = child->child;
861 phpdbg_watch_element *child = element->child; local
862 while (child->flags & PHPDBG_WATCH_IMPLICIT) {
863 child = child->child;
875 element->parent->child = NULL;
943 phpdbg_update_watch_element_watch(element->child);
1209 element->child = new;
1220 element->child = NULL;
1234 element->child = NULL;
1245 PHPDBG_G(watch_tmp)->child = element;
1248 if (element->child) {
1249 element = element->child;
1288 PHPDBG_G(watch_tmp)->child = element;