Lines Matching refs:u8

188   u8 *aMemory;                    /* If non-NULL, bulk memory to hold pList */
330 u8 bUsePMA; /* True if one or more PMAs created */
331 u8 bUseThreads; /* True to use background threads */
332 u8 iPrev; /* Previous thread used to flush PMA */
333 u8 nTask; /* Size of aTask[] array */
334 u8 typeMask;
356 u8 *aAlloc; /* Space for aKey if aBuffer and pMap wont work */
357 u8 *aKey; /* Pointer to current key */
358 u8 *aBuffer; /* Current read buffer */
360 u8 *aMap; /* Pointer to mapping of entire file */
416 u8 *aBuffer; /* Pointer to write buffer */
489 u8 **ppOut /* OUT: Pointer to buffer containing data */ in vdbePmaReadBlob()
539 u8 *aNew; in vdbePmaReadBlob()
559 u8 *aNext; /* Pointer to buffer to copy data from */ in vdbePmaReadBlob()
590 u8 aVarint[16], *a; in vdbePmaReadVarint()
613 static int vdbeSorterMapFile(SortSubtask *pTask, SorterFile *pFile, u8 **pp){ in vdbeSorterMapFile()
654 pReadr->aBuffer = (u8*)sqlite3Malloc(pgsz); in vdbePmaReaderSeek()
809 const u8 * const p1 = (const u8 * const)pKey1; in vdbeSorterCompareText()
810 const u8 * const p2 = (const u8 * const)pKey2; in vdbeSorterCompareText()
811 const u8 * const v1 = &p1[ p1[0] ]; /* Pointer to value 1 */ in vdbeSorterCompareText()
812 const u8 * const v2 = &p2[ p2[0] ]; /* Pointer to value 2 */ in vdbeSorterCompareText()
851 const u8 * const p1 = (const u8 * const)pKey1; in vdbeSorterCompareInt()
852 const u8 * const p2 = (const u8 * const)pKey2; in vdbeSorterCompareInt()
855 const u8 * const v1 = &p1[ p1[0] ]; /* Pointer to value 1 */ in vdbeSorterCompareInt()
856 const u8 * const v2 = &p2[ p2[0] ]; /* Pointer to value 2 */ in vdbeSorterCompareInt()
864 static const u8 aLen[] = {0, 1, 2, 3, 4, 6, 8, 0, 0, 0 }; in vdbeSorterCompareInt()
865 const u8 n = aLen[s1]; in vdbeSorterCompareInt()
975 pSorter->pKeyInfo = pKeyInfo = (KeyInfo*)((u8*)pSorter + sz); in sqlite3VdbeSorterInit()
985 pSorter->iPrev = (u8)(nWorker - 1); in sqlite3VdbeSorterInit()
1014 pSorter->list.aMemory = (u8*)sqlite3Malloc(pgsz); in sqlite3VdbeSorterInit()
1418 if( (u8*)p==pList->aMemory ){ in vdbeSorterSort()
1460 p->aBuffer = (u8*)sqlite3Malloc(nBuf); in vdbePmaWriterInit()
1475 static void vdbePmaWriteBlob(PmaWriter *p, u8 *pData, int nData){ in vdbePmaWriteBlob()
1529 u8 aByte[10]; in vdbePmaWriteVarint()
1734 u8 *aMem; in vdbeSorterFlushPMA()
1744 pSorter->iPrev = (u8)(pTask - pSorter->aTask); in vdbeSorterFlushPMA()
1781 getVarint32NR((const u8*)&pVal->z[1], t); in sqlite3VdbeSorterWrite()
1836 u8 *aNew; in sqlite3VdbeSorterWrite()
1840 iListOff = (u8*)pSorter->list.pList - pSorter->list.aMemory; in sqlite3VdbeSorterWrite()
1857 pNew->u.iNext = (int)((u8*)(pSorter->list.pList) - pSorter->list.aMemory); in sqlite3VdbeSorterWrite()