Lines Matching refs:newNode
174 TestNode *newNode; in createTestNode() local
176 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1)); in createTestNode()
178 newNode->test = NULL; in createTestNode()
179 newNode->sibling = NULL; in createTestNode()
180 newNode->child = NULL; in createTestNode()
182 strncpy( newNode->name, name, nameLen ); in createTestNode()
183 newNode->name[nameLen] = 0; in createTestNode()
185 return newNode; in createTestNode()
208 TestNode *newNode; in addTest() local
214 newNode = addTestNode( *root, name ); in addTest()
215 assert(newNode != 0 ); in addTest()
218 newNode->test = test; in addTest()