Lines Matching refs:RowSetEntry

76                        ((ROWSET_ALLOCATION_SIZE-8)/sizeof(struct RowSetEntry))
86 struct RowSetEntry { struct
88 struct RowSetEntry *pRight; /* Right subtree (larger entries) or list */ argument
89 struct RowSetEntry *pLeft; /* Left subtree (smaller entries) */ argument
100 struct RowSetEntry aEntry[ROWSET_ENTRY_PER_CHUNK]; /* Allocated entries */
111 struct RowSetEntry *pEntry; /* List of entries using pRight */
112 struct RowSetEntry *pLast; /* Last entry on the pEntry list */
113 struct RowSetEntry *pFresh; /* Source of new entry objects */
114 struct RowSetEntry *pForest; /* List of binary trees of entries */
139 p->pFresh = (struct RowSetEntry*)(ROUND8(sizeof(*p)) + (char*)p); in sqlite3RowSetInit()
140 p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry)); in sqlite3RowSetInit()
185 static struct RowSetEntry *rowSetEntryAlloc(RowSet *p){ in rowSetEntryAlloc()
211 struct RowSetEntry *pEntry; /* The new entry */ in sqlite3RowSetInsert()
212 struct RowSetEntry *pLast; /* The last prior entry */ in sqlite3RowSetInsert()
241 static struct RowSetEntry *rowSetEntryMerge( in rowSetEntryMerge()
242 struct RowSetEntry *pA, /* First sorted list to be merged */ in rowSetEntryMerge()
243 struct RowSetEntry *pB /* Second sorted list to be merged */ in rowSetEntryMerge()
245 struct RowSetEntry head; in rowSetEntryMerge()
246 struct RowSetEntry *pTail; in rowSetEntryMerge()
276 static struct RowSetEntry *rowSetEntrySort(struct RowSetEntry *pIn){ in rowSetEntrySort()
278 struct RowSetEntry *pNext, *aBucket[40]; in rowSetEntrySort()
306 struct RowSetEntry *pIn, /* Root of the input tree */ in rowSetTreeToList()
307 struct RowSetEntry **ppFirst, /* Write head of the output list here */ in rowSetTreeToList()
308 struct RowSetEntry **ppLast /* Write tail of the output list here */ in rowSetTreeToList()
312 struct RowSetEntry *p; in rowSetTreeToList()
340 static struct RowSetEntry *rowSetNDeepTree( in rowSetNDeepTree()
341 struct RowSetEntry **ppList, in rowSetNDeepTree()
344 struct RowSetEntry *p; /* Root of the new tree */ in rowSetNDeepTree()
345 struct RowSetEntry *pLeft; /* Left subtree */ in rowSetNDeepTree()
376 static struct RowSetEntry *rowSetListToTree(struct RowSetEntry *pList){ in rowSetListToTree()
378 struct RowSetEntry *p; /* Current tree root */ in rowSetListToTree()
379 struct RowSetEntry *pLeft; /* Left subtree */ in rowSetListToTree()
443 struct RowSetEntry *p, *pTree; in sqlite3RowSetTest()
454 struct RowSetEntry **ppPrevTree = &pRowSet->pForest; in sqlite3RowSetTest()
465 struct RowSetEntry *pAux, *pTail; in sqlite3RowSetTest()