Home | History | Annotate | Download | only in common

Lines Matching refs:newNode

317 StringTrieBuilder::registerNode(Node *newNode, UErrorCode &errorCode) {
319 delete newNode;
322 if(newNode==NULL) {
326 const UHashElement *old=uhash_find(nodes, newNode);
328 delete newNode;
332 // registered node, then uhash_find() failed to find that and we will leak newNode.
336 uhash_puti(nodes, newNode, 1, &errorCode);
339 delete newNode;
342 return newNode;
355 Node *newNode=new FinalValueNode(value);
356 if(newNode==NULL) {
361 // registered node, then uhash_find() failed to find that and we will leak newNode.
365 uhash_puti(nodes, newNode, 1, &errorCode);
368 delete newNode;
371 return newNode;