Lines Matching refs:aaSorted
220560 int **aaSorted; local
220570 aaSorted = (int **)sqlite3_malloc64(nByte);
220571 if( !aaSorted ){
220575 aSpare = &((int *)&aaSorted[pRtree->nDim])[pRtree->nDim*nCell];
220576 memset(aaSorted, 0, nByte);
220579 aaSorted[ii] = &((int *)&aaSorted[pRtree->nDim])[ii*nCell];
220581 aaSorted[ii][jj] = jj;
220583 SortByDimension(pRtree, aaSorted[ii], nCell, ii, aCell, aSpare);
220604 memcpy(&left, &aCell[aaSorted[ii][0]], sizeof(RtreeCell));
220605 memcpy(&right, &aCell[aaSorted[ii][nCell-1]], sizeof(RtreeCell));
220608 cellUnion(pRtree, &left, &aCell[aaSorted[ii][kk]]);
220610 cellUnion(pRtree, &right, &aCell[aaSorted[ii][kk]]);
220634 memcpy(pBboxLeft, &aCell[aaSorted[iBestDim][0]], sizeof(RtreeCell));
220635 memcpy(pBboxRight, &aCell[aaSorted[iBestDim][iBestSplit]], sizeof(RtreeCell));
220639 RtreeCell *pCell = &aCell[aaSorted[iBestDim][ii]];
220644 sqlite3_free(aaSorted);