Lines Matching refs:pCell

812   RtreeCell *pCell,          /* The cell to write */  in nodeOverwriteCell()  argument
817 p += writeInt64(p, pCell->iRowid); in nodeOverwriteCell()
819 p += writeCoord(p, &pCell->aCoord[ii]); in nodeOverwriteCell()
845 RtreeCell *pCell /* The cell to be inserted */ in nodeInsertCell() argument
855 nodeOverwriteCell(pRtree, pNode, pCell, nCell); in nodeInsertCell()
951 RtreeCell *pCell /* OUT: Write the cell contents here */ in nodeGetCell() argument
956 pCell->iRowid = nodeGetRowid(pRtree, pNode, iCell); in nodeGetCell()
958 pCoord = pCell->aCoord; in nodeGetCell()
2156 static RtreeDValue cellGrowth(Rtree *pRtree, RtreeCell *p, RtreeCell *pCell){ in cellGrowth() argument
2161 cellUnion(pRtree, &cell, pCell); in cellGrowth()
2199 RtreeCell *pCell, /* Cell to insert into rtree */ in ChooseLeaf() argument
2230 growth = cellGrowth(pRtree, &cell, pCell); in ChooseLeaf()
2260 RtreeCell *pCell /* This cell was just inserted */ in AdjustTree() argument
2282 if( !cellContains(pRtree, &cell, pCell) ){ in AdjustTree()
2283 cellUnion(pRtree, &cell, pCell); in AdjustTree()
2545 RtreeCell *pCell = &aCell[aaSorted[iBestDim][ii]]; in splitNodeStartree() local
2546 nodeInsertCell(pRtree, pTarget, pCell); in splitNodeStartree()
2547 cellUnion(pRtree, pBbox, pCell); in splitNodeStartree()
2582 RtreeCell *pCell, in SplitNode() argument
2613 memcpy(&aCell[nCell], pCell, sizeof(RtreeCell)); in SplitNode()
2681 if( iRowid==pCell->iRowid ){ in SplitNode()
2697 rc = updateMapping(pRtree, pCell->iRowid, pLeft, iHeight); in SplitNode()
2873 RtreeCell *pCell, in Reinsert() argument
2910 memcpy(&aCell[ii], pCell, sizeof(RtreeCell)); in Reinsert()
2939 if( p->iRowid==pCell->iRowid ){ in Reinsert()
2978 RtreeCell *pCell, in rtreeInsertCell() argument
2983 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid); in rtreeInsertCell()
2990 if( nodeInsertCell(pRtree, pNode, pCell) ){ in rtreeInsertCell()
2992 rc = SplitNode(pRtree, pNode, pCell, iHeight); in rtreeInsertCell()
2995 rc = Reinsert(pRtree, pNode, pCell, iHeight); in rtreeInsertCell()
2998 rc = AdjustTree(pRtree, pNode, pCell); in rtreeInsertCell()
3001 rc = rowidWrite(pRtree, pCell->iRowid, pNode->iNode); in rtreeInsertCell()
3003 rc = parentWrite(pRtree, pCell->iRowid, pNode->iNode); in rtreeInsertCell()
4135 u8 *pCell, /* Pointer to cell coordinates */ in rtreeCheckCellCoord() argument
4143 readCoord(&pCell[4*2*i], &c1); in rtreeCheckCellCoord()
4144 readCoord(&pCell[4*(2*i + 1)], &c2); in rtreeCheckCellCoord()
4214 u8 *pCell = &aNode[4 + i*(8 + pCheck->nDim*2*4)]; in rtreeCheckNode() local
4215 i64 iVal = readInt64(pCell); in rtreeCheckNode()
4216 rtreeCheckCellCoord(pCheck, iNode, i, &pCell[8], aParent); in rtreeCheckNode()
4220 rtreeCheckNode(pCheck, iDepth-1, &pCell[8], iVal); in rtreeCheckNode()