Lines Matching refs:child

574 	phpdbg_watch_element *child;  local
579 child = emalloc(sizeof(*child));
580 child->flags = PHPDBG_WATCH_RECURSIVE;
582child->str = strpprintf(0, (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[%s]" : "%.*s->%s", (int) …
584child->str = strpprintf(0, (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[" ZEND_LONG_FMT "]" : "%.…
589 child->name_in_parent = str;
590 child->parent = element;
591 child->child = NULL;
592 child->parent_container = HT_WATCH_HT(element->watch);
593 zend_hash_add_ptr(&element->child_container, child->str, child);
594 phpdbg_add_bucket_watch_element((Bucket *) zv, child);
598 phpdbg_watch_element *child; local
608 if (element->child) {
609 phpdbg_remove_watch_element_recursively(element->child);
614 if (element->child) {
615 phpdbg_free_watch_element(element->child);
616 element->child = NULL;
621 if (element->child) {
622 child = element->child;
624 child = emalloc(sizeof(*child));
625 child->flags = PHPDBG_WATCH_RECURSIVE;
626 child->str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str));
627 child->name_in_parent = NULL;
628 child->parent = element;
629 child->child = NULL;
630 element->child = child;
632 zend_hash_init(&child->child_container, 8, NULL, NULL, 0);
633 phpdbg_add_ht_watch_element(zv, child);
700 phpdbg_watch_element *child = prev; local
702 if (child == element) {
705 child = child->child;
706 } while (child);
744 if (!phpdbg_try_re_adding_watch_element(next, element->child)) {
762 phpdbg_watch_element *child = element; local
763 while (child->child && !(child->flags & PHPDBG_WATCH_RECURSIVE_ROOT)) {
764 child = child->child;
767 if (zend_hash_index_del(&PHPDBG_G(watch_elements), child->id) == SUCCESS) {
768 …as been removed, removing watchpoint%s", (int) ZSTR_LEN(child->str), ZSTR_VAL(child->str), (child-…
815 if (element->child) {
816 phpdbg_remove_watch_element_recursively(element->child);
817 phpdbg_free_watch_element(element->child);
818 element->child = NULL;
820 phpdbg_watch_element *child; local
821 ZEND_HASH_MAP_FOREACH_PTR(&element->child_container, child) {
822 phpdbg_remove_watch_element_recursively(child);
823 phpdbg_free_watch_element(child);
833 phpdbg_watch_element *parent = element->parent, *child = element->child; local
840 while (child) {
841 phpdbg_watch_element *cur = child;
842 child = child->child;
845 child = NULL;
866 phpdbg_watch_element *child = element; local
875 while (child->child != until) {
876 child = child->child;
877 if (child->flags & PHPDBG_WATCH_RECURSIVE_ROOT) {
878 phpdbg_backup_watch_element(child);
879 phpdbg_remove_watch_element_recursively(child);
880 child->child = NULL;
883 if (child->child == NULL || (child->flags & PHPDBG_WATCH_RECURSIVE_ROOT)) {
884 phpdbg_backup_watch_element(child);
886 phpdbg_clean_watch_element(child);
889 if (element->child == NULL) {
897 phpdbg_watch_element *parent = element->parent, *child = element->child; local
904 while (child) {
905 phpdbg_watch_element *cur = child;
906 child = child->child;
914 phpdbg_watch_element *child = element->child; local
915 while (child->flags & PHPDBG_WATCH_IMPLICIT) {
916 child = child->child;
928 element->parent->child = NULL;
999 phpdbg_update_watch_element_watch(element->child);
1276 element->child = new;
1287 element->child = NULL;
1301 element->child = NULL;
1312 PHPDBG_G(watch_tmp)->child = element;
1315 if (element->child) {
1316 element = element->child;
1357 PHPDBG_G(watch_tmp)->child = element;