Lines Matching refs:newNode
172 TestNode *newNode; in createTestNode() local
174 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
176 newNode->test = NULL; in createTestNode()
177 newNode->sibling = NULL; in createTestNode()
178 newNode->child = NULL; in createTestNode()
180 strncpy( newNode->name, name, nameLen ); in createTestNode()
181 newNode->name[nameLen] = 0; in createTestNode()
183 return newNode; in createTestNode()
206 TestNode *newNode; in addTest() local
212 newNode = addTestNode( *root, name ); in addTest()
213 assert(newNode != 0 ); in addTest()
216 newNode->test = test; in addTest()