Lines Matching refs:u16

8983 typedef UINT16_TYPE u16;           /* 2-byte unsigned integer */  typedef
10306 SQLITE_PRIVATE void sqlite3PagerRekey(DbPage*, Pgno, u16);
10367 u16 flags; /* PGHDR flags defined below */
10897 u16 schemaFlags; /* Flags associated with this schema */
10951 u16 sz; /* Size of each buffer in bytes */
11030 u16 dbOptFlags; /* Flags to enable/disable optimizations */
11230 u16 funcFlags; /* Some combination of SQLITE_FUNC_* */
11518 u16 nRef; /* Number of pointers to this Table */
11670 u16 nField; /* Number of key columns in the index */
11671 u16 nXField; /* Number of columns beyond the key columns */
11696 u16 nField; /* Number of entries in apMem[] */
11744 u16 nKeyCol; /* Number of columns forming the key */
11745 u16 nColumn; /* Number of columns stored in the index */
12062 u16 iOrderByCol; /* For ORDER BY, column number in result set */
12063 u16 iAlias; /* Index into Parse.aAlias[] for zName */
12240 u16 ncFlags; /* Zero or more NC_* flags defined below */
12280 u16 selFlags; /* Various SF_* values */
13200 Expr*,ExprList*,u16,Expr*,Expr*);
13210 SQLITE_PRIVATE WhereInfo *sqlite3WhereBegin(Parse*,SrcList*,Expr*,ExprList*,ExprList*,u16,int);
14571 u16 nHdrParsed; /* Number of header fields parsed so far */
14674 u16 flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */
14792 u16 aIndent[100]; /* Levels of indentation */
14843 u16 nResColumn; /* Number of columns in one row of the result set */
14927 SQLITE_PRIVATE void sqlite3VdbeMemInit(Mem*,sqlite3*,u16);
29506 u16 nRegion; /* Size of array apRegion */
29536 u16 sharedMask; /* Mask of shared locks held */
29537 u16 exclMask; /* Mask of exclusive locks held */
29589 { u16 mask;
30003 u16 mask; /* Mask of locks to take or release */
30021 u16 allMask = 0; /* Mask of locks held by siblings */
30043 u16 allShared = 0; /* Union of locks held by connections other than "p" */
36674 u16 sharedMask; /* Mask of shared locks held */
36675 u16 exclMask; /* Mask of exclusive locks held */
36953 u16 mask; /* Mask of locks to take or release */
36963 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
36967 u16 allMask = 0; /* Mask of locks held by siblings */
36989 u16 allShared = 0; /* Union of locks held by connections other than "p" */
41094 u16 nFresh; /* Number of objects on pFresh */
41095 u16 rsFlags; /* Various flags */
41127 p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry));
42308 u16 nExtra; /* Add this many bytes to each in-memory page */
46427 pPager->nExtra = (u16)nExtra;
48492 SQLITE_PRIVATE void sqlite3PagerRekey(DbPage *pPg, Pgno iNew, u16 flags){
49209 u16 szPage; /* Database page size in bytes. 1==64K */
49358 typedef u16 ht_slot;
50078 pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16));
51832 pWal->hdr.szPage = (u16)((szPage&0xff00) | (szPage>>16));
52365 u16 maxLocal; /* Copy of BtShared.maxLocal or BtShared.maxLeaf */
52366 u16 minLocal; /* Copy of BtShared.minLocal or BtShared.minLeaf */
52367 u16 cellOffset; /* Index in aData of first cell pointer */
52368 u16 nFree; /* Number of free bytes on the page */
52369 u16 nCell; /* Number of cells on this page, local and ovfl */
52370 u16 maskPage; /* Mask for page offset */
52371 u16 aiOvfl[5]; /* Insert the i-th overflow cell before the aiOvfl-th
52506 u16 btsFlags; /* Boolean parameters. See BTS_* macros below */
52507 u16 maxLocal; /* Maximum local payload in non-LEAFDATA tables */
52508 u16 minLocal; /* Minimum local payload in non-LEAFDATA tables */
52509 u16 maxLeaf; /* Maximum local payload in a LEAFDATA table */
52510 u16 minLeaf; /* Minimum local payload in a LEAFDATA table */
52549 u16 nLocal; /* Amount of payload held locally, not on overflow */
52550 u16 iOverflow; /* Offset to overflow page number. Zero if no overflow */
52551 u16 nSize; /* Size of the cell content on the main b-tree page */
52601 u16 aiIdx[BTCURSOR_MAX_DEPTH]; /* Current index in apPage[i] */
54074 pInfo->nSize = nPayload + (u16)(pIter - pCell);
54076 pInfo->nLocal = (u16)nPayload;
54098 pInfo->nLocal = (u16)surplus;
54100 pInfo->nLocal = (u16)minLocal;
54102 pInfo->iOverflow = (u16)(&pInfo->pPayload[pInfo->nLocal] - pCell);
54120 static u16 cellSizePtr(MemPage *pPage, u8 *pCell){
54138 return (u16)(pIter - pCell);
54169 nSize += 4 + (u16)(pIter - pCell);
54172 return (u16)nSize;
54178 static u16 cellSize(MemPage *pPage, int iCell){
54458 static int freeSpace(MemPage *pPage, u16 iStart, u16 iSize){
54459 u16 iPtr; /* Address of ptr to next freeblock */
54460 u16 iFreeBlk; /* Address of the next freeblock */
54463 u16 iOrigSize = iSize; /* Original value of iSize */
54616 u16 pc; /* Address of a freeblock within pPage->aData[] */
54621 u16 cellOffset; /* Offset from start of page to first cell pointer */
54635 pPage->maskPage = (u16)(pBt->pageSize - 1);
54698 u16 next, size;
54728 pPage->nFree = (u16)(nFree - iCellFirst);
54742 u16 first;
54757 pPage->nFree = (u16)(pBt->usableSize - first);
54764 pPage->maskPage = (u16)(pBt->pageSize - 1);
55084 assert( sizeof(u16)==2 );
55488 pBt->usableSize = pBt->pageSize - (u16)nReserve;
55773 pBt->maxLocal = (u16)((pBt->usableSize-12)*64/255 - 23);
55774 pBt->minLocal = (u16)((pBt->usableSize-12)*32/255 - 23);
55775 pBt->maxLeaf = (u16)(pBt->usableSize - 35);
55776 pBt->minLeaf = (u16)((pBt->usableSize-12)*32/255 - 23);
57934 pCur->aiIdx[pCur->iPage] = (u16)idx;
57955 pCur->aiIdx[pCur->iPage] = (u16)idx;
58009 pCur->aiIdx[pCur->iPage] = (u16)idx;
58030 pCur->aiIdx[pCur->iPage] = (u16)idx;
58043 pCur->aiIdx[pCur->iPage] = (u16)idx;
58054 pCur->aiIdx[pCur->iPage] = (u16)lwr;
58780 u16 *pnSize /* Write the size of the Cell here */
59142 pPage->aiOvfl[j] = (u16)i;
59161 pPage->nFree -= (u16)(2 + sz);
59197 u16 *szCell /* Array of cell sizes */
59266 u16 *szCell /* Array of cell sizes */
59303 u16 *szCell /* Array of cell sizes */
59320 freeSpace(pPg, (u16)(pFree - aData), szFree);
59334 freeSpace(pPg, (u16)(pFree - aData), szFree);
59357 u16 *szCell /* Array of cell sizes */
59511 u16 szCell = cellSizePtr(pPage, pCell);
59728 u16 leafCorrection; /* 4 if pPage is a leaf. 0 if not */
59744 u16 *szCell; /* Local size of all cells in apCell[] */
59750 u16 aPgFlags[NB+2]; /* flags field of new pages before shuffling */
59862 + nMaxCells*sizeof(u16) /* szCell */
59873 szCell = (u16*)&apCell[nMaxCells];
59909 u16 maskPage = pOld->maskPage;
59910 u16 cellOffset = pOld->cellOffset;
59920 u16 sz = (u16)szNew[i];
60685 u16 szOld;
60757 u16 szCell; /* Size of the cell being deleted */
61037 u16 szCell;
63716 SQLITE_PRIVATE void sqlite3VdbeMemInit(Mem *pMem, sqlite3 *db, u16 flags){
63945 u16 flags = 0; /* New value for pMem->flags */
66682 p->nResColumn = (u16)nResColumn;
67943 static const u16 aFlag[] = { MEM_Blob|MEM_Ephem, MEM_Str|MEM_Ephem };
68012 u16 u; /* Unsigned loop counter */
71080 static u16 SQLITE_NOINLINE computeNumericType(Mem *pMem){
71099 static u16 numericType(Mem *pMem){
71943 u16 nullFlag;
72280 u16 flags; /* Combined MEM_* flags from both inputs */
72281 u16 type1; /* Numeric type of left operand */
72282 u16 type2; /* Numeric type of right operand */
72721 u16 flags1; /* Copy of initial value of pIn1->flags */
72722 u16 flags3; /* Copy of initial value of pIn3->flags */
73146 u16 fx; /* pDest->flags value */
74527 r.nField = (u16)nField;
74701 r.nField = (u16)pOp->p4.i;
75642 r.nField = (u16)pOp->p3;
75761 r.nField = (u16)pOp->p4.i;
76334 p->nCursor = (u16)pFrame->nChildCsr;
81407 pEList->a[iCol].u.x.iAlias = (u16)(++pParse->nAlias);
82298 pItem->u.x.iOrderByCol = (u16)iCol;
82402 pItem->u.x.iOrderByCol = (u16)iCol;
82414 pItem->u.x.iOrderByCol = (u16)iCol;
82698 u16 savedHasAgg;
95512 pBest->nArg = (u16)nArg;
106573 u16 selFlags, /* Flag parameters, such as SF_Distinct */
107452 p->nField = (u16)N;
107453 p->nXField = (u16)X;
109314 if( pOrderBy ) pOrderBy->a[nOrderBy++].u.x.iOrderByCol = (u16)i;
110590 u16 selFlags = p->selFlags;
111461 u16 wctrlFlags = (sDistinct.isTnct ? WHERE_WANT_DISTINCT : 0);
115843 u16 nEq; /* Number of equality constraints */
115850 u16 omitMask; /* Terms that may be omitted */
115855 u16 nLTerm; /* Number of entries in aLTerm[] */
115856 u16 nSkip; /* Number of NULL aLTerm[] entries */
115859 u16 nLSlot; /* Number of slots allocated for aLTerm[] */
115881 u16 n; /* Number of valid a[] entries */
115978 u16 eOperator; /* A WO_xx value describing <op> */
115979 u16 wtFlags; /* TERM_xxx bit flags. See below */
116129 u16 wctrlFlags; /* Flags originally passed to sqlite3WhereBegin() */
116277 u16 i;
116379 static int whereClauseInsert(WhereClause *pWC, Expr *p, u16 wtFlags){
116556 u16 expRight = (pExpr->pRight->flags & EP_Collate);
116557 u16 expLeft = (pExpr->pLeft->flags & EP_Collate);
116586 static u16 operatorMask(int op){
116587 u16 c;
116595 c = (u16)(WO_EQ<<(op-TK_EQ));
116989 u16 eOp = pOne->eOperator | pTwo->eOperator;
117425 u16 opMask = (pTerm->prereqRight & prereqLeft)==0 ? WO_ALL : WO_EQUIV;
117434 u16 eExtraOp = 0; /* Extra bits for pNew->eOperator */
117543 const u16 wtFlags = TERM_LIKEOPT | TERM_VIRTUAL | TERM_DYNAMIC;
119081 u16 nEq; /* The number of == or IN constraints to code */
119082 u16 nSkip; /* Number of left-most columns to skip */
119209 u16 nEq = pLoop->u.btree.nEq;
119210 u16 nSkip = pLoop->nSkip;
119254 u16 wctrlFlags /* Flags passed to sqlite3WhereBegin() */
119693 u16 nEq = pLoop->u.btree.nEq; /* Number of == or IN terms */
119979 u16 wctrlFlags; /* Flags for sub-WHERE clause */
120684 u16 n = pBuilder->pOrSet->n;
120878 u16 saved_nLTerm; /* Original value of pNew->nLTerm */
120879 u16 saved_nEq; /* Original value of pNew->u.btree.nEq */
120880 u16 saved_nSkip; /* Original value of pNew->nSkip */
120918 u16 eOp = pTerm->eOperator; /* Shorthand for pTerm->eOperator */
121786 u16 wctrlFlags, /* Might contain WHERE_GROUPBY or WHERE_DISTINCTBY */
121787 u16 nLoop, /* Number of entries in pPath->aLoop[] */
121797 u16 nKeyCol; /* Number of key columns in pIndex */
121798 u16 nColumn; /* Total number of ordered columns in the index */
121799 u16 nOrderBy; /* Number terms in the ORDER BY clause */
122626 u16 wctrlFlags, /* One of the WHERE_* flags defined in sqliteInt.h */
123454 u16 yy381;
128666 db->lookaside.sz = (u16)sz;
129604 p->nArg = (u16)nArg;
130116 static const u16 outOfMem[] = {
130119 static const u16 misuse[] = {
131550 db->dbOptFlags = (u16)(va_arg(ap, int) & 0xffff);
151042 typedef unsigned short u16;