Lines Matching refs:nyu
1338 AvlNode* nyu; in avl_dopy() local
1341 nyu = alloc_nofail(sizeof(AvlNode)); in avl_dopy()
1342 assert(nyu); in avl_dopy()
1344 nyu->left = nd->left; in avl_dopy()
1345 nyu->right = nd->right; in avl_dopy()
1346 nyu->balance = nd->balance; in avl_dopy()
1350 nyu->key = dopyK( nd->key ); in avl_dopy()
1351 if (nd->key != 0 && nyu->key == 0) in avl_dopy()
1355 nyu->key = nd->key; in avl_dopy()
1360 nyu->val = dopyV( nd->val ); in avl_dopy()
1361 if (nd->val != 0 && nyu->val == 0) in avl_dopy()
1365 nyu->val = nd->val; in avl_dopy()
1369 if (nyu->left) { in avl_dopy()
1370 nyu->left = avl_dopy( nyu->left, dopyK, dopyV, alloc_nofail ); in avl_dopy()
1371 if (! nyu->left) in avl_dopy()
1374 if (nyu->right) { in avl_dopy()
1375 nyu->right = avl_dopy( nyu->right, dopyK, dopyV, alloc_nofail ); in avl_dopy()
1376 if (! nyu->right) in avl_dopy()
1380 return nyu; in avl_dopy()
1541 WordFM* nyu; in dopyFM() local
1546 nyu = fm->alloc_nofail( sizeof(WordFM) ); in dopyFM()
1547 assert(nyu); in dopyFM()
1549 *nyu = *fm; in dopyFM()
1555 if (nyu->root) { in dopyFM()
1556 nyu->root = avl_dopy( nyu->root, dopyK, dopyV, fm->alloc_nofail ); in dopyFM()
1557 if (! nyu->root) in dopyFM()
1561 return nyu; in dopyFM()