Lines Matching refs:nextNode
183 TestNode *nextNode, *curNode;
195 nextNode = curNode->child;
201 /* if nextNode is already null, then curNode has no children
203 if( nextNode == NULL )
223 while (strncmp_nullcheck ( name, nextNode->name, nameLen) != 0 )
225 curNode = nextNode;
226 nextNode = nextNode -> sibling;
228 if ( nextNode == NULL )
231 nextNode = createTestNode(name, nameLen);
232 curNode->sibling = nextNode;
237 /* nextNode matches 'name' */
241 return nextNode;
246 curNode = nextNode;
373 TestNode *nextNode;
390 nextNode = curNode->child;
396 /* if nextNode is already null, then curNode has no children
398 if( nextNode == NULL )
404 while (strncmp_nullcheck ( name, nextNode->name, nameLen) != 0 )
406 curNode = nextNode;
407 nextNode = nextNode -> sibling;
409 if ( nextNode == NULL )
416 /* nextNode matches 'name' */
420 return nextNode;
425 curNode = nextNode;