Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 51) sorted by relevance

123

/sqlite-3.40.0/src/
H A DbtreeInt.h287 u16 cellOffset; /* Index in aData of first cell pointer */
290 u16 maskPage; /* Mask for page offset */
302 u16 (*xCellSize)(MemPage*,u8*); /* cellSizePtr method */
442 u16 maxLeaf; /* Maximum local payload in a LEAFDATA table */
443 u16 minLeaf; /* Minimum local payload in a LEAFDATA table */
484 u16 nLocal; /* Amount of payload held locally, not on overflow */
485 u16 nSize; /* Size of the cell content on the main b-tree page */
546 u16 ix; /* Current index for apPage[iPage] */
724 # define get2byteAligned(x) (*(u16*)(x))
726 # define get2byteAligned(x) __builtin_bswap16(*(u16*)(x))
[all …]
H A DwhereInt.h141 u16 nEq; /* Number of equality constraints */
142 u16 nBtm; /* Size of BTM vector */
143 u16 nTop; /* Size of TOP vector */
144 u16 nDistinctCol; /* Index columns used to sort for DISTINCT */
152 u16 omitMask; /* Terms that may be omitted */
158 u16 nLTerm; /* Number of entries in aLTerm[] */
159 u16 nSkip; /* Number of NULL aLTerm[] entries */
162 u16 nLSlot; /* Number of slots allocated for aLTerm[] */
184 u16 n; /* Number of valid a[] entries */
271 u16 wtFlags; /* TERM_xxx bit flags. See below */
[all …]
H A DvdbeInt.h90 u16 seekHit; /* See the OP_SeekHit and OP_IfNoHope opcodes */
121 u16 nHdrParsed; /* Number of header fields parsed so far */
218 u16 flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */
229 u16 mScopyFlags; /* flags value immediately after the shallow copy */
459 u16 nResColumn; /* Number of columns in one row of the result set */
596 void sqlite3VdbeMemInit(Mem*,sqlite3*,u16);
H A Dbtree.c1372 return (u16)nSize; in cellSizePtr()
1445 return (u16)nSize; in cellSizePtrTableLeaf()
1799 static int freeSpace(MemPage *pPage, u16 iStart, u16 iSize){ in freeSpace()
2146 u16 first; in zeroPage()
5665 pCur->ix = (u16)idx; in sqlite3BtreeTableMoveto()
5684 pCur->ix = (u16)idx; in sqlite3BtreeTableMoveto()
5695 pCur->ix = (u16)lwr; in sqlite3BtreeTableMoveto()
5943 pCur->ix = (u16)idx; in sqlite3BtreeIndexMoveto()
5978 pCur->ix = (u16)idx; in sqlite3BtreeIndexMoveto()
5988 pCur->ix = (u16)lwr; in sqlite3BtreeIndexMoveto()
[all …]
H A Dvdbe.h44 u16 p5; /* Fifth parameter is an unsigned 16-bit integer */
225 void sqlite3VdbeAddParseSchemaOp(Vdbe*, int, char*, u16);
230 void sqlite3VdbeChangeP5(Vdbe*, u16 P5);
H A Drowset.c115 u16 nFresh; /* Number of objects on pFresh */
116 u16 rsFlags; /* Various flags */
140 p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry)); in sqlite3RowSetInit()
H A Dwhereexpr.c60 static int whereClauseInsert(WhereClause *pWC, Expr *p, u16 wtFlags){ in whereClauseInsert()
111 static u16 exprCommute(Parse *pParse, Expr *pExpr){ in exprCommute()
134 static u16 operatorMask(int op){ in operatorMask()
135 u16 c; in operatorMask()
145 c = (u16)(WO_EQ<<(op-TK_EQ)); in operatorMask()
518 u16 eOp = pOne->eOperator | pTwo->eOperator; in whereCombineDisjuncts()
1143 u16 opMask = (pTerm->prereqRight & prereqLeft)==0 ? WO_ALL : WO_EQUIV; in exprAnalyze()
1165 u16 eExtraOp = 0; /* Extra bits for pNew->eOperator */ in exprAnalyze()
1324 const u16 wtFlags = TERM_LIKEOPT | TERM_VIRTUAL | TERM_DYNAMIC; in exprAnalyze()
H A DsqliteInt.h807 typedef UINT16_TYPE u16; /* 2-byte unsigned integer */ typedef
1353 u16 schemaFlags; /* Flags associated with this schema */
1433 u16 sz; /* Size of each buffer in bytes */
1434 u16 szTrue; /* True value of sz, even if disabled */
2103 u16 iDflt; /* 1-based index of DEFAULT. 0 means "none" */
2496 u16 nKeyField; /* Number of key columns in the index */
2497 u16 nAllField; /* Total columns, including key plus others */
2552 u16 nField; /* Number of entries in apMem[] */
2621 u16 nKeyCol; /* Number of columns forming the key */
2622 u16 nColumn; /* Number of columns stored in the index */
[all …]
H A Dwhere.c209 u16 i; in whereOrInsert()
1184 u16 mNoOmit = 0; in allocateIndexInfo()
1299 u16 op; in allocateIndexInfo()
1881 u16 mask = WO_GT|WO_LE; in whereRangeScanEst()
1898 u16 mask = WO_GT|WO_LE; in whereRangeScanEst()
2506 u16 n = pBuilder->pOrSet->n; in whereLoopInsert()
3276 u16 nColumn; /* Number of columns in the index */ in whereIsCoveringIndexWalkCallback()
4010 u16 mNoOmit; in whereLoopAddVirtual()
4369 u16 eqOpMask; /* Allowed equality operators */ in wherePathSatisfiesOrderBy()
4370 u16 nKeyCol; /* Number of key columns in pIndex */ in wherePathSatisfiesOrderBy()
[all …]
H A Dwherecode.c89 u16 nEq = pLoop->u.btree.nEq; in explainIndexRange()
90 u16 nSkip = pLoop->nSkip; in explainIndexRange()
125 u16 wctrlFlags /* Flags passed to sqlite3WhereBegin() */ in sqlite3WhereExplainOneScan()
769 u16 nEq; /* The number of == or IN constraints to code */ in codeAllEqualityTerms()
770 u16 nSkip; /* Number of left-most columns to skip */ in codeAllEqualityTerms()
1294 u16 nEq = pLoop->u.btree.nEq; in filterPullDown()
1717 u16 nEq = pLoop->u.btree.nEq; /* Number of == or IN terms */ in sqlite3WhereCodeOneLoopStart()
1718 u16 nBtm = pLoop->u.btree.nBtm; /* Length of BTM vector */ in sqlite3WhereCodeOneLoopStart()
1719 u16 nTop = pLoop->u.btree.nTop; /* Length of TOP vector */ in sqlite3WhereCodeOneLoopStart()
H A Dvdbe.c479 static u16 numericType(Mem *pMem){ in numericType()
1356 u16 nullFlag; in sqlite3VdbeExec()
2618 u16 typeMask; in sqlite3VdbeExec()
4628 u16 flags3, newType; in sqlite3VdbeExec()
4711 r.nField = (u16)nField; in sqlite3VdbeExec()
4909 r.nField = (u16)pOp[1].p4.i; in sqlite3VdbeExec()
5157 r.nField = (u16)pOp->p4.i; in sqlite3VdbeExec()
6306 x.nMem = (u16)pOp->p4.i; in sqlite3VdbeExec()
6373 r.nField = (u16)pOp->p3; in sqlite3VdbeExec()
6555 r.nField = (u16)pOp->p4.i; in sqlite3VdbeExec()
[all …]
H A Dpcache.h36 u16 flags; /* PGHDR flags defined below */
H A Dpager.h226 void sqlite3PagerRekey(DbPage*, Pgno, u16);
H A Dbtree.h309 u16 nMem; /* Number of aMem[] value. Might be zero */
H A Dpcache1.c120 u16 isBulkLocal; /* This page from bulk local storage */
121 u16 isAnchor; /* This is the PGroup.lru element */
H A Ddate.c113 static const u16 aMx[] = { 12, 14, 24, 31, 59, 9999 }; in getDigits()
122 u16 max; in getDigits()
H A Dmain.c799 db->lookaside.sz = (u16)sz; in setupLookaside()
800 db->lookaside.szTrue = (u16)sz; in setupLookaside()
1936 p->nArg = (u16)nArg; in sqlite3CreateFunc()
2619 static const u16 outOfMem[] = { in sqlite3_errmsg16()
2622 static const u16 misuse[] = { in sqlite3_errmsg16()
/sqlite-3.40.0/ext/misc/
H A Dzipfile.c172 u16 iDisk;
174 u16 nEntry;
207 u16 flags;
209 u16 mTime;
210 u16 mDate;
214 u16 nFile;
215 u16 nExtra;
243 u16 flags;
245 u16 mTime;
246 u16 mDate;
[all …]
H A Dfossildelta.c49 typedef unsigned short int u16; typedef
74 u16 a, b; /* Hash values */
75 u16 i; /* Start of the hash window */
83 u16 a, b, i; in hash_init()
99 u16 old = pHash->z[pHash->i]; in hash_next()
122 u16 a, b, i; in hash_once()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_unicode2.c371 static u16 aFts5UnicodeBlock[] = {
375 static u16 aFts5UnicodeMap[] = {
554 static u16 aFts5UnicodeData[] = {
739 u16 iKey; in sqlite3Fts5UnicodeCategory()
H A Dfts5_index.c378 u16 iFirst; /* aSeg[] index of firstest iterator */
555 static void fts5PutU16(u8 *aOut, u16 iVal){ in fts5PutU16()
560 static u16 fts5GetU16(const u8 *aIn){ in fts5GetU16()
561 return ((u16)aIn[0] << 8) + aIn[1]; in fts5GetU16()
2719 pRes->iFirst = (u16)iRes; in fts5MultiIterDoCompare()
2887 pRes->iFirst = (u16)(pNew - pIter->aSeg); in fts5MultiIterAdvanceRowid()
3947 fts5PutU16(&pPage->buf.p[2], (u16)pPage->buf.n); in fts5WriteFlushLeaf()
4081 fts5PutU16(pPage->buf.p, (u16)pPage->buf.n); in fts5WriteAppendRowid()
4248 fts5PutU16(&buf.p[2], (u16)buf.n); in fts5TrimSegments()
4635 fts5PutU16(&pBuf->p[0], (u16)pBuf->n); /* first rowid on page */ in fts5FlushOneHash()
/sqlite-3.40.0/ext/fts3/unicode/
H A Dmkunicode.tcl699 static u16 aFts5UnicodeBlock[] = {$aBlockArray};
700 static u16 aFts5UnicodeMap[] = {$aMapArray};
701 static u16 aFts5UnicodeData[] = {$aDataArray};
708 u16 iKey;
/sqlite-3.40.0/ext/lsm1/
H A DlsmInt.h106 typedef unsigned short int u16; typedef
426 u16 iAge; /* Number of times data has been written */
427 u16 flags; /* Mask of LEVEL_XXX bits */
/sqlite-3.40.0/tool/
H A Dsqldiff.c797 typedef unsigned short u16; typedef
821 u16 a, b; /* Hash values */
822 u16 i; /* Start of the hash window */
830 u16 a, b, i; in hash_init()
846 u16 old = pHash->z[pHash->i]; in hash_next()
/sqlite-3.40.0/ext/repair/
H A Dcheckfreelist.c61 typedef unsigned short u16; typedef

123