Lines Matching refs:u16

7707 typedef UINT16_TYPE u16;           /* 2-byte unsigned integer */
8813 u16 flags; /* PGHDR flags defined below */
9343 u16 flags; /* Flags associated with this schema */
9397 u16 sz; /* Size of each buffer in bytes */
9929 u16 nRef; /* Number of pointers to this Table */
10059 u16 nField; /* Number of entries in aColl[] */
10080 u16 nField; /* Number of entries in apMem[] */
10081 u16 flags; /* Boolean settings. UNPACKED_... below */
10293 u16 flags; /* Various flags. EP_* See below */
10413 u16 iCol; /* For ORDER BY, column number in result set */
10414 u16 iAlias; /* Index into Parse.aAlias[] for zName */
10616 u16 wctrlFlags; /* Flags originally passed to sqlite3WhereBegin() */
10693 u16 selFlags; /* Various SF_* values */
11396 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*, SrcList*, Expr*, ExprList**,ExprList*,u16);
12665 u16 nCursor; /* Number of entries in apCsr */
12698 u16 flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */
12830 u16 nResColumn; /* Number of columns in one row of the result set */
12831 u16 nCursor; /* Number of slots in apCsr[] */
28194 u16 nRegion; /* Size of array apRegion */
28224 u16 sharedMask; /* Mask of shared locks held */
28225 u16 exclMask; /* Mask of exclusive locks held */
28272 { u16 mask;
28640 u16 mask; /* Mask of locks to take or release */
28658 u16 allMask = 0; /* Mask of locks held by siblings */
28680 u16 allShared = 0; /* Union of locks held by connections other than "p" */
33347 u16 sharedMask; /* Mask of shared locks held */
33348 u16 exclMask; /* Mask of exclusive locks held */
33630 u16 mask; /* Mask of locks to take or release */
33640 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
33644 u16 allMask = 0; /* Mask of locks held by siblings */
33666 u16 allShared = 0; /* Union of locks held by connections other than "p" */
37096 u16 nFresh; /* Number of objects on pFresh */
37123 p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry));
38198 u16 nExtra; /* Add this many bytes to each in-memory page */
42071 pPager->nExtra = (u16)nExtra;
44675 u16 szPage; /* Database page size in bytes. 1==64K */
44819 typedef u16 ht_slot;
45537 pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16));
47122 pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16));
47622 u16 maxLocal; /* Copy of BtShared.maxLocal or BtShared.maxLeaf */
47623 u16 minLocal; /* Copy of BtShared.minLocal or BtShared.minLeaf */
47624 u16 cellOffset; /* Index in aData of first cell pointer */
47625 u16 nFree; /* Number of free bytes on the page */
47626 u16 nCell; /* Number of cells on this page, local and ovfl */
47627 u16 maskPage; /* Mask for page offset */
47630 u16 idx; /* Insert this cell before idx-th non-overflow cell */
47761 u16 maxLocal; /* Maximum local payload in non-LEAFDATA tables */
47762 u16 minLocal; /* Minimum local payload in non-LEAFDATA tables */
47763 u16 maxLeaf; /* Maximum local payload in a LEAFDATA table */
47764 u16 minLeaf; /* Minimum local payload in a LEAFDATA table */
47795 u16 nHeader; /* Size of the cell content header in bytes */
47796 u16 nLocal; /* Amount of payload held locally */
47797 u16 iOverflow; /* Offset to overflow page number. Zero if no overflow */
47798 u16 nSize; /* Size of the cell content on the main b-tree page */
47846 u16 aiIdx[BTCURSOR_MAX_DEPTH]; /* Current index in apPage[i] */
49161 u16 n; /* Number bytes in cell content header */
49191 if( (pInfo->nSize = (u16)(n+nPayload))<4 ) pInfo->nSize = 4;
49192 pInfo->nLocal = (u16)nPayload;
49214 pInfo->nLocal = (u16)surplus;
49216 pInfo->nLocal = (u16)minLocal;
49218 pInfo->iOverflow = (u16)(pInfo->nLocal + n);
49238 static u16 cellSizePtr(MemPage *pPage, u8 *pCell){
49288 return (u16)nSize;
49294 static u16 cellSize(MemPage *pPage, int iCell){
49558 pPage->nFree = pPage->nFree + (u16)size;
49650 u16 pc; /* Address of a freeblock within pPage->aData[] */
49655 u16 cellOffset; /* Offset from start of page to first cell pointer */
49667 pPage->maskPage = (u16)(pBt->pageSize - 1);
49715 u16 next, size;
49741 pPage->nFree = (u16)(nFree - iCellFirst);
49755 u16 first;
49770 pPage->nFree = (u16)(pBt->usableSize - first);
49776 pPage->maskPage = (u16)(pBt->pageSize - 1);
50083 assert( sizeof(u16)==2 );
50441 pBt->usableSize = pBt->pageSize - (u16)nReserve;
50682 pBt->maxLocal = (u16)((pBt->usableSize-12)*64/255 - 23);
50683 pBt->minLocal = (u16)((pBt->usableSize-12)*32/255 - 23);
50684 pBt->maxLeaf = (u16)(pBt->usableSize - 35);
50685 pBt->minLeaf = (u16)((pBt->usableSize-12)*32/255 - 23);
52739 pCur->aiIdx[pCur->iPage] = (u16)(idx = upr);
52741 pCur->aiIdx[pCur->iPage] = (u16)(idx = (upr+lwr)/2);
52829 pCur->aiIdx[pCur->iPage] = (u16)(idx = (lwr+upr)/2);
52846 pCur->aiIdx[pCur->iPage] = (u16)lwr;
53696 *(u16*)ptr = *(u16*)&ptr[2];
53764 pPage->aOvfl[j].idx = (u16)i;
53783 pPage->nFree -= (u16)(2 + sz);
53792 *(u16*)ptr = *(u16*)&ptr[-2];
53816 u16 *aSize /* Sizes of the cells */
53838 u16 sz = aSize[i];
53847 pPage->nCell = (u16)nCell;
53913 u16 szCell = cellSizePtr(pPage, pCell);
54125 u16 leafCorrection; /* 4 if pPage is a leaf. 0 if not */
54141 u16 *szCell; /* Local size of all cells in apCell[] */
54253 + nMaxCells*sizeof(u16) /* szCell */
54261 szCell = (u16*)&apCell[nMaxCells];
54305 u16 maskPage = pOld->maskPage;
54306 u16 cellOffset = pOld->cellOffset;
54315 u16 sz = (u16)szNew[i];
55014 u16 szOld;
57842 u16 flags = 0; /* New value for pMem->flags */
59844 p->nCursor = (u16)nCursor;
59988 p->nResColumn = (u16)nResColumn;
61194 u16 u; /* Unsigned loop counter */
63725 u16 flags1; /* Copy of initial value of pIn1->flags */
63726 u16 flags3; /* Copy of initial value of pIn3->flags */
63866 u16 ii;
63869 u16 nField;
65307 u16 flags1; /* Copy of initial value of pIn1->flags */
65308 u16 flags3; /* Copy of initial value of pIn3->flags */
66997 u.ba.r.nField = (u16)u.ba.nField;
67006 u.ba.r.flags = (u16)(UNPACKED_INCRKEY * (1 & (u.ba.oc - OP_SeekLt)));
67143 u.bc.r.nField = (u16)pOp->p4.i;
67207 u16 ii;
67210 u16 nField;
68128 u.br.r.nField = (u16)pOp->p3;
68224 u.bt.r.nField = (u16)pOp->p4.i;
68777 p->nCursor = (u16)u.cb.pFrame->nChildCsr;
71869 pEList->a[iCol].iAlias = (u16)(++pParse->nAlias);
72597 pItem->iCol = (u16)iCol;
72698 pItem->iCol = (u16)iCol;
72709 pItem->iCol = (u16)iCol;
82298 pSrc->nAlloc = (u16)nGot;
82929 pKey->nField = (u16)nCol;
83326 pBest->nArg = (u16)nArg;
93113 pInfo->nField = (u16)nExpr;
94216 pKeyInfo->nField = (u16)nCol;
94573 pOrderBy->a[nOrderBy++].iCol = (u16)i;
94596 pKeyMerge->nField = (u16)nOrderBy;
94636 pKeyDup->nField = (u16)nExpr;
100448 u16 eOperator; /* A WO_xx value describing <op> */
100871 u16 expRight = (pExpr->pRight->flags & EP_ExpCollate);
100872 u16 expLeft = (pExpr->pLeft->flags & EP_ExpCollate);
100893 static u16 operatorMask(int op){
100894 u16 c;
100902 c = (u16)(WO_EQ<<(op-TK_EQ));
104043 u16 wctrlFlags /* Flags passed to sqlite3WhereBegin() */
104123 u16 wctrlFlags, /* One of the WHERE_* flags defined in sqliteInt.h */
104903 u16 wctrlFlags /* One of the WHERE_* flags defined in sqliteInt.h */
110639 db->lookaside.sz = (u16)sz;
111261 p->nArg = (u16)nArg;
111703 static const u16 outOfMem[] = {
111706 static const u16 misuse[] = {