Lines Matching refs:RowSetEntry
57464 ((ROWSET_ALLOCATION_SIZE-8)/sizeof(struct RowSetEntry))
57474 struct RowSetEntry { struct
57476 struct RowSetEntry *pRight; /* Right subtree (larger entries) or list */ argument
57477 struct RowSetEntry *pLeft; /* Left subtree (smaller entries) */ argument
57488 struct RowSetEntry aEntry[ROWSET_ENTRY_PER_CHUNK]; /* Allocated entries */
57499 struct RowSetEntry *pEntry; /* List of entries using pRight */
57500 struct RowSetEntry *pLast; /* Last entry on the pEntry list */
57501 struct RowSetEntry *pFresh; /* Source of new entry objects */
57502 struct RowSetEntry *pForest; /* List of binary trees of entries */
57527 p->pFresh = (struct RowSetEntry*)(ROUND8(sizeof(*p)) + (char*)p);
57528 p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry));
57573 static struct RowSetEntry *rowSetEntryAlloc(RowSet *p){
57599 struct RowSetEntry *pEntry; /* The new entry */
57600 struct RowSetEntry *pLast; /* The last prior entry */
57629 static struct RowSetEntry *rowSetEntryMerge(
57630 struct RowSetEntry *pA, /* First sorted list to be merged */
57631 struct RowSetEntry *pB /* Second sorted list to be merged */
57633 struct RowSetEntry head;
57634 struct RowSetEntry *pTail;
57664 static struct RowSetEntry *rowSetEntrySort(struct RowSetEntry *pIn){
57666 struct RowSetEntry *pNext, *aBucket[40];
57694 struct RowSetEntry *pIn, /* Root of the input tree */
57695 struct RowSetEntry **ppFirst, /* Write head of the output list here */
57696 struct RowSetEntry **ppLast /* Write tail of the output list here */
57700 struct RowSetEntry *p;
57728 static struct RowSetEntry *rowSetNDeepTree(
57729 struct RowSetEntry **ppList,
57732 struct RowSetEntry *p; /* Root of the new tree */
57733 struct RowSetEntry *pLeft; /* Left subtree */
57764 static struct RowSetEntry *rowSetListToTree(struct RowSetEntry *pList){
57766 struct RowSetEntry *p; /* Current tree root */
57767 struct RowSetEntry *pLeft; /* Left subtree */
57831 struct RowSetEntry *p, *pTree;
57842 struct RowSetEntry **ppPrevTree = &pRowSet->pForest;
57853 struct RowSetEntry *pAux, *pTail;