Searched refs:isBlack (Results 1 - 1 of 1) sorted by relevance

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dbtree_rb.c125 u8 isBlack; /* true for a black node, 0 for a red node */ member in struct:BtRbNode
293 if( pNode->isBlack ){
357 if( !pNode->isBlack &&
358 ( (pNode->pLeft && !pNode->pLeft->isBlack) ||
359 (pNode->pRight && !pNode->pRight->isBlack) )
374 leftHeight += (pNode->pLeft->isBlack?1:0);
378 rightHeight += (pNode->pRight->isBlack?1:0);
417 while( pX != pTree->pHead && !pX->pParent->isBlack ){
424 assert( pGrandparent->isBlack );
443 if( pUncle && !pUncle->isBlack ){
[all...]

Completed in 12 milliseconds