Lines Matching refs:children

62   /* Language info for this variable and its children */
85 convenience when constructing this object's children. */
100 /* The number of (immediate) children this variable has */
106 /* A list of this object's children */
107 struct varobj_child *children;
109 /* Description of the root variable. Points to root variable for children. */
119 /* Every variable keeps a linked list of its children, described
249 static void cplus_class_num_children (struct type *type, int children[3]);
291 /* The number of children of PARENT. */
390 /* Is the variable X one of our "fake" children? */
398 /* Creates a varobj (not its children) */
600 /* Deletes a varobj and all its children if only_children == 0,
601 otherwise deletes only the children; returns a malloc'ed list of all the
616 /* Delete only the variable children */
617 delcount = delete_variable (&result, var, 1 /* only the children */ );
619 /* Delete the variable and all its children */
620 delcount = delete_variable (&result, var, 0 /* parent+children */ );
683 /* Creates a list of the immediate children of a variable object;
684 the return code is the number of such children or -1 on error */
702 /* List of children */
858 /* Update the values for a variable and its children. This is a
861 through its children, reconstructing them and noting if they've
866 Otherwise it is the number of children + parent changed
942 variable expression, or we lose the updated children! */
949 /* Push the root's children */
950 if ((*varp)->children != NULL)
953 for (c = (*varp)->children; c != NULL; c = c->next)
957 /* Walk through the children, reconstructing them all. */
961 /* Push any children */
962 if (v->children != NULL)
965 for (c = v->children; c != NULL; c = c->next)
983 /* We must always keep new values, since children depend on it. */
1055 /* Delete the variable object VAR and its children */
1067 /* Delete any children of this variable, too. */
1068 for (vc = var->children; vc != NULL; vc = next)
1077 /* if we were called to delete only the children we are done here */
1233 for (vc = var->children; vc != NULL; vc = vc->next)
1280 vc = parent->children;
1281 parent->children =
1284 parent->children->next = vc;
1285 parent->children->child = child;
1289 /* Remove the CHILD from the PARENT's list of children. */
1297 for (vc = parent->children; vc != NULL;)
1306 parent->children = vc->next;
1333 var->children = NULL;
1589 /* Return the number of children for a given variable.
1591 implementation. The number of children returned by this function
1592 is the number of children that the user will see in the variable
1768 int children;
1772 children = 0;
1779 children = TYPE_LENGTH (type) / TYPE_LENGTH (target);
1781 children = -1;
1786 children = TYPE_NFIELDS (type);
1792 dereference for the user and function ptrs, which have no children.
1803 children = TYPE_NFIELDS (target);
1808 children = 0;
1812 children = 1;
1817 /* Other types have no children */
1821 return children;
2030 /* This should not happen as only the above types have children */
2031 warning ("Child of parent whose type does not allow children");
2065 children instead of "{...}" */
2118 int children, dont_know;
2121 children = 0;
2134 children++;
2136 children++;
2138 children++;
2141 children += TYPE_N_BASECLASSES (type);
2144 /* FIXME: save children in var */
2155 children = kids[v_public];
2157 children = kids[v_private];
2159 children = kids[v_protected];
2164 children = c_number_of_children (var);
2166 return children;
2173 cplus_class_num_children (struct type *type, int children[3])
2177 children[v_public] = 0;
2178 children[v_private] = 0;
2179 children[v_protected] = 0;
2188 children[v_protected]++;
2190 children[v_private]++;
2192 children[v_public]++;
2210 /* Looking for children of public, private, or protected. */
2278 int children[3];
2279 cplus_class_num_children(type, children);
2284 The special "fake" children are always output by varobj in
2290 if (children[v_public] > 0)
2292 else if (children[v_private] > 0)
2298 if (children[v_public] > 0)
2300 if (children[v_private] > 0)
2305 else if (children[v_private] > 0)