Lines Matching refs:child

515 	phpdbg_watch_element *child;  local
520 child = emalloc(sizeof(*child));
521 child->flags = PHPDBG_WATCH_RECURSIVE;
523child->str = strpprintf(0, (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[%s]" : "%.*s->%s", (int) …
525child->str = strpprintf(0, (element->flags & PHPDBG_WATCH_ARRAY) ? "%.*s[" ZEND_LONG_FMT "]" : "%.…
530 child->name_in_parent = str;
531 child->parent = element;
532 child->child = NULL;
533 child->parent_container = HT_WATCH_HT(element->watch);
534 zend_hash_add_ptr(&element->child_container, child->str, child);
535 phpdbg_add_bucket_watch_element((Bucket *) zv, child);
539 phpdbg_watch_element *child; local
549 if (element->child) {
550 phpdbg_remove_watch_element_recursively(element->child);
555 if (element->child) {
556 phpdbg_free_watch_element(element->child);
557 element->child = NULL;
562 if (element->child) {
563 child = element->child;
565 child = emalloc(sizeof(*child));
566 child->flags = PHPDBG_WATCH_RECURSIVE;
567 child->str = strpprintf(0, "%.*s[]", (int) ZSTR_LEN(element->str), ZSTR_VAL(element->str));
568 child->name_in_parent = NULL;
569 child->parent = element;
570 child->child = NULL;
571 element->child = child;
573 zend_hash_init(&child->child_container, 8, NULL, NULL, 0);
574 phpdbg_add_ht_watch_element(zv, child);
647 phpdbg_watch_element *child = prev; local
649 if (child == element) {
652 child = child->child;
653 } while (child);
691 if (!phpdbg_try_readding_watch_element(next, element->child)) {
709 phpdbg_watch_element *child = element; local
710 while (child->child && !(child->flags & PHPDBG_WATCH_RECURSIVE_ROOT)) {
711 child = child->child;
714 if (zend_hash_index_del(&PHPDBG_G(watch_elements), child->id) == SUCCESS) {
715 …as been removed, removing watchpoint%s", (int) ZSTR_LEN(child->str), ZSTR_VAL(child->str), (child-…
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);
1210 element->child = new;
1221 element->child = NULL;
1235 element->child = NULL;
1246 PHPDBG_G(watch_tmp)->child = element;
1249 if (element->child) {
1250 element = element->child;
1291 PHPDBG_G(watch_tmp)->child = element;