Lines Matching refs:child

574         # if param value is a SimObject, make it a child too, so that
584 def _add_cls_child(cls, name, child):
590 child.set_parent(cls, name)
591 if not isNullPointer(child):
592 cls._children[name] = child
640 # If RHS is a SimObject, it's an implicit child assignment.
1080 # (parent/child node relationships).
1123 child = self._children[keys]
1126 if not isSimObjectVector(child):
1129 flags_dict = child.enumerateParams(flags_dict,
1319 # if RHS is a SimObject, it's an implicit child assignment
1366 # clear out child with given name. This code is not likely to be exercised.
1369 child = self._children[name]
1370 child.clear_parent(self)
1373 # Add a new child to this object.
1374 def add_child(self, name, child):
1375 child = coerceSimObjectOrVector(child)
1376 if child.has_parent():
1377 warn("add_child('%s'): child '%s' already has parent", name,
1378 child.get_name())
1385 child.set_parent(self, name)
1386 if not isNullPointer(child):
1387 self._children[name] = child
1437 for child in self._children.values():
1439 if hasattr(child, '_visited'):
1440 visited = getattr(child, '_visited')
1442 if isinstance(child, ptype) and not visited:
1443 if found_obj != None and child != found_obj:
1446 (found_obj.path, child.path))
1447 found_obj = child
1462 for child in self._children.values():
1463 # a child could be a list, so ensure we visit each item
1464 if isinstance(child, list):
1465 children = child
1467 children = [child]
1469 for child in children:
1470 if isinstance(child, ptype) and not isproxy(child) and \
1471 not isNullPointer(child):
1472 all[child] = True
1473 if isSimObject(child):
1474 # also add results from the child itself
1475 child_all, done = child.find_all(ptype)
1558 child = self._children[n]
1562 d[n] = child.get_config_as_dict()
1642 for (name, child) in sorted(self._children.items()):
1643 for obj in child.descendants():
1673 for child in self._children.values():
1674 for item in child: # For looping over SimObjectVectors
1692 The only exposed globals to those strings are the child