Lines Matching defs:child
999 if (node->child) {
1000 rn_free(node->child);
1022 * Find first child
1027 return (node->child);
1031 * Find child named childname. Create it if flag is RSRC_NODE_CRTEATE
1036 rsrc_node_t *child = parent->child;
1040 "rn_find_child(parent=%s, child=%s, 0x%x, %d)\n",
1046 while (child && (strcmp(child->name, childname) < 0)) {
1047 prev = child;
1048 child = child->sibling;
1051 if (child && (strcmp(child->name, childname) == 0)) {
1052 return (child);
1060 new->sibling = child;
1068 parent->child = new;
1309 rsrc_node_t *child, *sibling;
1337 * Push child on the stack
1339 if (!PRUNE_CHILD(sp) && (child = rn_get_child(node)) != NULL) {
1340 PUSH_STACK(sp, child);
1367 * walk tree rooted at root in child-first order
1378 * Push root on stack and walk in child-first order