Lines Matching refs:newNode
174 TestNode *newNode;
176 newNode = (TestNode*)malloc(sizeof(TestNode) + (nameLen + 1));
178 newNode->test = NULL;
179 newNode->sibling = NULL;
180 newNode->child = NULL;
182 strncpy( newNode->name, name, nameLen );
183 newNode->name[nameLen] = 0;
185 return newNode;
208 TestNode *newNode;
214 newNode = addTestNode( *root, name );
215 assert(newNode != 0 );
216 /* printf("addTest: nreName = %s\n", newNode->name );*/
218 newNode->test = test;