u8 8175 sqlite3/libsqlite/sqlite3.c u8 opcode; /* What operation to perform */ u8 8177 sqlite3/libsqlite/sqlite3.c u8 opflags; /* Mask of the OPFLG_* flags in opcodes.h */ u8 8178 sqlite3/libsqlite/sqlite3.c u8 p5; /* Fifth parameter is an unsigned character */ u8 8225 sqlite3/libsqlite/sqlite3.c u8 opcode; /* What operation to perform */ u8 8703 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3PagerIsreadonly(Pager*); u8 9273 sqlite3/libsqlite/sqlite3.c u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */ u8 9274 sqlite3/libsqlite/sqlite3.c u8 safety_level; /* How aggressive at syncing data to disk */ u8 9303 sqlite3/libsqlite/sqlite3.c u8 file_format; /* Schema format version for this file */ u8 9304 sqlite3/libsqlite/sqlite3.c u8 enc; /* Text encoding used by this database */ u8 9360 sqlite3/libsqlite/sqlite3.c u8 bEnabled; /* False to disable new lookaside allocations */ u8 9361 sqlite3/libsqlite/sqlite3.c u8 bMalloced; /* True if pStart obtained from sqlite3_malloc() */ u8 9417 sqlite3/libsqlite/sqlite3.c u8 autoCommit; /* The auto-commit flag. */ u8 9418 sqlite3/libsqlite/sqlite3.c u8 temp_store; /* 1: file 2: memory 0: default */ u8 9419 sqlite3/libsqlite/sqlite3.c u8 mallocFailed; /* True if we have seen a malloc failure */ u8 9420 sqlite3/libsqlite/sqlite3.c u8 dfltLockMode; /* Default locking-mode for attached dbs */ u8 9422 sqlite3/libsqlite/sqlite3.c u8 suppressErr; /* Do not issue error messages if true */ u8 9423 sqlite3/libsqlite/sqlite3.c u8 vtabOnConflict; /* Value to return for s3_vtab_on_conflict() */ u8 9436 sqlite3/libsqlite/sqlite3.c u8 busy; /* TRUE if currently initializing */ u8 9437 sqlite3/libsqlite/sqlite3.c u8 orphanTrigger; /* Last statement is orphaned TEMP trigger */ u8 9495 sqlite3/libsqlite/sqlite3.c u8 isTransactionSavepoint; /* True if the outermost savepoint is a TS */ u8 9588 sqlite3/libsqlite/sqlite3.c u8 iPrefEnc; /* Preferred text encoding (SQLITE_UTF8, 16LE, 16BE) */ u8 9589 sqlite3/libsqlite/sqlite3.c u8 flags; /* Some combination of SQLITE_FUNC_* */ u8 9711 sqlite3/libsqlite/sqlite3.c u8 notNull; /* True if there is a NOT NULL constraint */ u8 9712 sqlite3/libsqlite/sqlite3.c u8 isPrimKey; /* True if this column is part of the PRIMARY KEY */ u8 9715 sqlite3/libsqlite/sqlite3.c u8 isHidden; /* True if this column is 'hidden' */ u8 9742 sqlite3/libsqlite/sqlite3.c u8 enc; /* Text encoding handled by xCmp() */ u8 9743 sqlite3/libsqlite/sqlite3.c u8 type; /* One of the SQLITE_COLL_... values below */ u8 9846 sqlite3/libsqlite/sqlite3.c u8 bConstraint; /* True if constraints are supported */ u8 9891 sqlite3/libsqlite/sqlite3.c u8 tabFlags; /* Mask of TF_* values */ u8 9892 sqlite3/libsqlite/sqlite3.c u8 keyConf; /* What to do in case of uniqueness conflict on iPKey */ u8 9963 sqlite3/libsqlite/sqlite3.c u8 isDeferred; /* True if constraint checking is deferred till COMMIT */ u8 9964 sqlite3/libsqlite/sqlite3.c u8 aAction[2]; /* ON DELETE and ON UPDATE actions, respectively */ u8 10019 sqlite3/libsqlite/sqlite3.c u8 enc; /* Text encoding - one of the SQLITE_UTF* values */ u8 10021 sqlite3/libsqlite/sqlite3.c u8 *aSortOrder; /* Sort order for each column. May be NULL */ u8 10090 sqlite3/libsqlite/sqlite3.c u8 onError; /* OE_Abort, OE_Ignore, OE_Replace, or OE_None */ u8 10091 sqlite3/libsqlite/sqlite3.c u8 autoIndex; /* True if is automatically created (ex: by UNIQUE) */ u8 10092 sqlite3/libsqlite/sqlite3.c u8 bUnordered; /* Use this index for == or IN queries only */ u8 10096 sqlite3/libsqlite/sqlite3.c u8 *aSortOrder; /* Array of size Index.nColumn. True==DESC, False==ASC */ u8 10110 sqlite3/libsqlite/sqlite3.c u8 eType; /* SQLITE_NULL, SQLITE_INTEGER ... etc. */ u8 10111 sqlite3/libsqlite/sqlite3.c u8 nByte; /* Size in byte of text or blob. */ u8 10141 sqlite3/libsqlite/sqlite3.c u8 directMode; /* Direct rendering mode means take data directly u8 10143 sqlite3/libsqlite/sqlite3.c u8 useSortingIdx; /* In direct mode, reference the sorting index rather u8 10251 sqlite3/libsqlite/sqlite3.c u8 op; /* Operation performed by this node */ u8 10284 sqlite3/libsqlite/sqlite3.c u8 flags2; /* Second set of flags. EP2_... */ u8 10285 sqlite3/libsqlite/sqlite3.c u8 op2; /* If a TK_REGISTER, the original value of Expr.op */ u8 10371 sqlite3/libsqlite/sqlite3.c u8 sortOrder; /* 1 for DESC or 0 for ASC */ u8 10372 sqlite3/libsqlite/sqlite3.c u8 done; /* A flag to indicate when processing is finished */ u8 10455 sqlite3/libsqlite/sqlite3.c u8 isPopulated; /* Temporary table associated with SELECT is populated */ u8 10456 sqlite3/libsqlite/sqlite3.c u8 jointype; /* Type of join between this able and the previous */ u8 10457 sqlite3/libsqlite/sqlite3.c u8 notIndexed; /* True if there is a NOT INDEXED clause */ u8 10459 sqlite3/libsqlite/sqlite3.c u8 iSelectId; /* If pSelect!=0, the id of the sub-select in EQP */ u8 10529 sqlite3/libsqlite/sqlite3.c u8 iFrom; /* Which entry in the FROM clause */ u8 10530 sqlite3/libsqlite/sqlite3.c u8 op, p5; /* Opcode and P5 of the opcode that ends the loop */ u8 10575 sqlite3/libsqlite/sqlite3.c u8 okOnePass; /* Ok to use one-pass algorithm for UPDATE or DELETE */ u8 10576 sqlite3/libsqlite/sqlite3.c u8 untestedTerms; /* Not all WHERE terms resolved by outer loop */ u8 10615 sqlite3/libsqlite/sqlite3.c u8 allowAgg; /* Aggregate functions allowed here */ u8 10616 sqlite3/libsqlite/sqlite3.c u8 hasAgg; /* True if aggregates are seen */ u8 10617 sqlite3/libsqlite/sqlite3.c u8 isCheck; /* True if resolving names in a CHECK constraint */ u8 10645 sqlite3/libsqlite/sqlite3.c u8 op; /* One of: TK_UNION TK_ALL TK_INTERSECT TK_EXCEPT */ u8 10700 sqlite3/libsqlite/sqlite3.c u8 eDest; /* How to dispose of the results */ u8 10701 sqlite3/libsqlite/sqlite3.c u8 affinity; /* Affinity used when eDest==SRT_Set */ u8 10786 sqlite3/libsqlite/sqlite3.c u8 colNamesSet; /* TRUE after OP_ColumnName has been issued to pVdbe */ u8 10787 sqlite3/libsqlite/sqlite3.c u8 nameClash; /* A permanent table name clashes with temp table name */ u8 10788 sqlite3/libsqlite/sqlite3.c u8 checkSchema; /* Causes schema cookie check after an error */ u8 10789 sqlite3/libsqlite/sqlite3.c u8 nested; /* Number of nested calls to the parser/code generator */ u8 10790 sqlite3/libsqlite/sqlite3.c u8 parseError; /* True after a parsing error. Ticket #1794 */ u8 10791 sqlite3/libsqlite/sqlite3.c u8 nTempReg; /* Number of temporary registers in aTempReg[] */ u8 10792 sqlite3/libsqlite/sqlite3.c u8 nTempInUse; /* Number of aTempReg[] currently checked out */ u8 10803 sqlite3/libsqlite/sqlite3.c u8 nColCache; /* Number of entries in the column cache */ u8 10804 sqlite3/libsqlite/sqlite3.c u8 iColCache; /* Next entry of the cache to replace */ u8 10808 sqlite3/libsqlite/sqlite3.c u8 tempReg; /* iReg is a temp register that needs to be freed */ u8 10815 sqlite3/libsqlite/sqlite3.c u8 isMultiWrite; /* True if statement may affect/insert multiple rows */ u8 10816 sqlite3/libsqlite/sqlite3.c u8 mayAbort; /* True if statement may throw an ABORT exception */ u8 10833 sqlite3/libsqlite/sqlite3.c u8 eTriggerOp; /* TK_UPDATE, TK_INSERT or TK_DELETE */ u8 10834 sqlite3/libsqlite/sqlite3.c u8 eOrconf; /* Default ON CONFLICT policy for trigger steps */ u8 10835 sqlite3/libsqlite/sqlite3.c u8 disableTriggers; /* True to disable triggers */ u8 10848 sqlite3/libsqlite/sqlite3.c u8 explain; /* True if the EXPLAIN flag is found on the query */ u8 10857 sqlite3/libsqlite/sqlite3.c u8 declareVtab; /* True if inside sqlite3_declare_vtab() */ u8 10914 sqlite3/libsqlite/sqlite3.c u8 op; /* One of TK_DELETE, TK_UPDATE, TK_INSERT */ u8 10915 sqlite3/libsqlite/sqlite3.c u8 tr_tm; /* One of TRIGGER_BEFORE, TRIGGER_AFTER */ u8 10974 sqlite3/libsqlite/sqlite3.c u8 op; /* One of TK_DELETE, TK_UPDATE, TK_INSERT, TK_SELECT */ u8 10975 sqlite3/libsqlite/sqlite3.c u8 orconf; /* OE_Rollback etc. */ u8 11010 sqlite3/libsqlite/sqlite3.c u8 mallocFailed; /* Becomes true if any memory allocation fails */ u8 11011 sqlite3/libsqlite/sqlite3.c u8 useMalloc; /* 0: none, 1: sqlite3DbMalloc, 2: sqlite3_malloc */ u8 11012 sqlite3/libsqlite/sqlite3.c u8 tooBig; /* Becomes true if string size exceeds limits */ u8 11503 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3GetVarint(const unsigned char *, u64 *); u8 11504 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3GetVarint32(const unsigned char *, u32 *); u8 11524 sqlite3/libsqlite/sqlite3.c #define getVarint32(A,B) (u8)((*(A)<(u8)0x80) ? ((B) = (u32)*(A)),1 : sqlite3GetVarint32((A), (u32 *)&(B))) u8 11525 sqlite3/libsqlite/sqlite3.c #define putVarint32(A,B) (u8)(((u32)(B)<(u32)0x80) ? (*(A) = (unsigned char)(B)),1 : sqlite3PutVarint32((A), (B))) u8 11538 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3HexToInt(int h); u8 11559 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3GetBoolean(const char *z); u8 12570 sqlite3/libsqlite/sqlite3.c u8 *aRow; /* Data for the current row, if all on one page */ u8 12613 sqlite3/libsqlite/sqlite3.c #define VdbeFrameMem(p) ((Mem *)&((u8 *)p)[ROUND8(sizeof(VdbeFrame))]) u8 12638 sqlite3/libsqlite/sqlite3.c u8 type; /* One of SQLITE_NULL, SQLITE_TEXT, SQLITE_INTEGER, etc */ u8 12639 sqlite3/libsqlite/sqlite3.c u8 enc; /* SQLITE_UTF8, SQLITE_UTF16BE, SQLITE_UTF16LE */ u8 12782 sqlite3/libsqlite/sqlite3.c u8 errorAction; /* Recovery action to do in case of an error */ u8 12783 sqlite3/libsqlite/sqlite3.c u8 explain; /* True if EXPLAIN present on SQL command */ u8 12784 sqlite3/libsqlite/sqlite3.c u8 changeCntOn; /* True to update the change-counter */ u8 12785 sqlite3/libsqlite/sqlite3.c u8 expired; /* True if the VM needs to be recompiled */ u8 12786 sqlite3/libsqlite/sqlite3.c u8 runOnlyOnce; /* Automatically expire on reset */ u8 12787 sqlite3/libsqlite/sqlite3.c u8 minWriteFileFormat; /* Minimum file format for writable database files */ u8 12788 sqlite3/libsqlite/sqlite3.c u8 inVtabMethod; /* See comments above */ u8 12789 sqlite3/libsqlite/sqlite3.c u8 usesStmtJournal; /* True if uses a statement journal */ u8 12790 sqlite3/libsqlite/sqlite3.c u8 readOnly; /* True for read-only statements */ u8 12791 sqlite3/libsqlite/sqlite3.c u8 isPrepareV2; /* True if prepared with prepare_v2() */ u8 13395 sqlite3/libsqlite/sqlite3.c while( sqlite3Isspace(*zDate) || 'T'==*(u8*)zDate ){ zDate++; } u8 13667 sqlite3/libsqlite/sqlite3.c z[n] = (char)sqlite3UpperToLower[(u8)zMod[n]]; u8 14942 sqlite3/libsqlite/sqlite3.c u8 nTitle; /* Bytes of title; includes '\0' */ u8 14943 sqlite3/libsqlite/sqlite3.c u8 eType; /* Allocation type code */ u8 15037 sqlite3/libsqlite/sqlite3.c u8 *pU8; u8 15045 sqlite3/libsqlite/sqlite3.c pU8 = (u8*)pAllocation; u8 16199 sqlite3/libsqlite/sqlite3.c u8 *zPool; /* Memory available to be allocated */ u8 16229 sqlite3/libsqlite/sqlite3.c u8 *aCtrl; u8 16306 sqlite3/libsqlite/sqlite3.c int i = ((u8 *)p-mem5.zPool)/mem5.szAtom; u8 16411 sqlite3/libsqlite/sqlite3.c iBlock = ((u8 *)pOld-mem5.zPool)/mem5.szAtom; u8 16415 sqlite3/libsqlite/sqlite3.c assert( ((u8 *)pOld-mem5.zPool)%mem5.szAtom==0 ); u8 16559 sqlite3/libsqlite/sqlite3.c u8 *zByte; /* Memory usable by this allocator */ u8 16574 sqlite3/libsqlite/sqlite3.c zByte = (u8*)sqlite3GlobalConfig.pHeap; u8 16584 sqlite3/libsqlite/sqlite3.c mem5.nBlock = (nByte / (mem5.szAtom+sizeof(u8))); u8 16586 sqlite3/libsqlite/sqlite3.c mem5.aCtrl = (u8 *)&mem5.zPool[mem5.nBlock*mem5.szAtom]; u8 19865 sqlite3/libsqlite/sqlite3.c static u8 randomByte(void){ u8 19899 sqlite3/libsqlite/sqlite3.c wsdPrng.s[i] = (u8)i; u8 20030 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0xFF); \ u8 20033 sqlite3/libsqlite/sqlite3.c *zOut++ = 0xC0 + (u8)((c>>6)&0x1F); \ u8 20034 sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ u8 20037 sqlite3/libsqlite/sqlite3.c *zOut++ = 0xE0 + (u8)((c>>12)&0x0F); \ u8 20038 sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ u8 20039 sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ u8 20041 sqlite3/libsqlite/sqlite3.c *zOut++ = 0xF0 + (u8)((c>>18) & 0x07); \ u8 20042 sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>12) & 0x3F); \ u8 20043 sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)((c>>6) & 0x3F); \ u8 20044 sqlite3/libsqlite/sqlite3.c *zOut++ = 0x80 + (u8)(c & 0x3F); \ u8 20050 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ u8 20051 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)((c>>8)&0x00FF); \ u8 20053 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \ u8 20054 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \ u8 20055 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ u8 20056 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \ u8 20062 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)((c>>8)&0x00FF); \ u8 20063 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ u8 20065 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00D8 + (((c-0x10000)>>18)&0x03)); \ u8 20066 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(((c>>10)&0x003F) + (((c-0x10000)>>10)&0x00C0)); \ u8 20067 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(0x00DC + ((c>>8)&0x03)); \ u8 20068 sqlite3/libsqlite/sqlite3.c *zOut++ = (u8)(c&0x00FF); \ u8 20195 sqlite3/libsqlite/sqlite3.c u8 temp; u8 20202 sqlite3/libsqlite/sqlite3.c zIn = (u8*)pMem->z; u8 20238 sqlite3/libsqlite/sqlite3.c zIn = (u8*)pMem->z; u8 20314 sqlite3/libsqlite/sqlite3.c u8 bom = 0; u8 20318 sqlite3/libsqlite/sqlite3.c u8 b1 = *(u8 *)pMem->z; u8 20319 sqlite3/libsqlite/sqlite3.c u8 b2 = *(((u8 *)pMem->z) + 1); u8 20352 sqlite3/libsqlite/sqlite3.c const u8 *z = (const u8*)zIn; u8 20353 sqlite3/libsqlite/sqlite3.c const u8 *zTerm; u8 20357 sqlite3/libsqlite/sqlite3.c zTerm = (const u8*)(-1); u8 20386 sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read(zIn, (const u8**)&zIn); u8 20491 sqlite3/libsqlite/sqlite3.c c = sqlite3Utf8Read(z, (const u8**)&z); u8 21130 sqlite3/libsqlite/sqlite3.c u8 buf[10]; u8 21132 sqlite3/libsqlite/sqlite3.c p[8] = (u8)v; u8 21135 sqlite3/libsqlite/sqlite3.c p[i] = (u8)((v & 0x7f) | 0x80); u8 21142 sqlite3/libsqlite/sqlite3.c buf[n++] = (u8)((v & 0x7f) | 0x80); u8 21169 sqlite3/libsqlite/sqlite3.c p[0] = (u8)((v>>7) | 0x80); u8 21170 sqlite3/libsqlite/sqlite3.c p[1] = (u8)(v & 0x7f); u8 21193 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3GetVarint(const unsigned char *p, u64 *v){ u8 21363 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3GetVarint32(const unsigned char *p, u32 *v){ u8 21419 sqlite3/libsqlite/sqlite3.c u8 n; u8 21471 sqlite3/libsqlite/sqlite3.c u8 n; u8 21503 sqlite3/libsqlite/sqlite3.c p[0] = (u8)(v>>24); u8 21504 sqlite3/libsqlite/sqlite3.c p[1] = (u8)(v>>16); u8 21505 sqlite3/libsqlite/sqlite3.c p[2] = (u8)(v>>8); u8 21506 sqlite3/libsqlite/sqlite3.c p[3] = (u8)v; u8 21516 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3HexToInt(int h){ u8 21524 sqlite3/libsqlite/sqlite3.c return (u8)(h & 0xf); u8 23141 sqlite3/libsqlite/sqlite3.c u8 id; /* Id of this connection with its os2ShmNode */ u8 28017 sqlite3/libsqlite/sqlite3.c u8 isReadonly; /* True if read-only */ u8 28022 sqlite3/libsqlite/sqlite3.c u8 exclMask; /* Mask of exclusive locks held */ u8 28023 sqlite3/libsqlite/sqlite3.c u8 sharedMask; /* Mask of shared locks held */ u8 28024 sqlite3/libsqlite/sqlite3.c u8 nextShmId; /* Next available unixShm.id value */ u8 28044 sqlite3/libsqlite/sqlite3.c u8 hasMutex; /* True if holding the unixShmNode mutex */ u8 28048 sqlite3/libsqlite/sqlite3.c u8 id; /* Id of this connection within its unixShmNode */ u8 32288 sqlite3/libsqlite/sqlite3.c u8 *aRem = (u8 *)pBuf; /* Data yet to be written */ u8 32625 sqlite3/libsqlite/sqlite3.c pFile->locktype = (u8)newLocktype; u8 32693 sqlite3/libsqlite/sqlite3.c pFile->locktype = (u8)locktype; u8 32826 sqlite3/libsqlite/sqlite3.c u8 nextShmId; /* Next available winShm.id value */ u8 32853 sqlite3/libsqlite/sqlite3.c u8 hasMutex; /* True if holding the winShmNode mutex */ u8 32857 sqlite3/libsqlite/sqlite3.c u8 id; /* Id of this connection with its winShmNode */ u8 34323 sqlite3/libsqlite/sqlite3.c #define BITVEC_TELEM u8 u8 36356 sqlite3/libsqlite/sqlite3.c u8 isSorted; /* True if pEntry is sorted */ u8 36357 sqlite3/libsqlite/sqlite3.c u8 iBatch; /* Current insert batch */ u8 37407 sqlite3/libsqlite/sqlite3.c u8 exclusiveMode; /* Boolean. True if locking_mode==EXCLUSIVE */ u8 37408 sqlite3/libsqlite/sqlite3.c u8 journalMode; /* One of the PAGER_JOURNALMODE_* values */ u8 37409 sqlite3/libsqlite/sqlite3.c u8 useJournal; /* Use a rollback journal on this file */ u8 37410 sqlite3/libsqlite/sqlite3.c u8 noReadlock; /* Do not bother to obtain readlocks */ u8 37411 sqlite3/libsqlite/sqlite3.c u8 noSync; /* Do not sync the journal if true */ u8 37412 sqlite3/libsqlite/sqlite3.c u8 fullSync; /* Do extra syncs of the journal for robustness */ u8 37413 sqlite3/libsqlite/sqlite3.c u8 ckptSyncFlags; /* SYNC_NORMAL or SYNC_FULL for checkpoint */ u8 37414 sqlite3/libsqlite/sqlite3.c u8 syncFlags; /* SYNC_NORMAL or SYNC_FULL otherwise */ u8 37415 sqlite3/libsqlite/sqlite3.c u8 tempFile; /* zFilename is a temporary file */ u8 37416 sqlite3/libsqlite/sqlite3.c u8 readOnly; /* True for a read-only database */ u8 37417 sqlite3/libsqlite/sqlite3.c u8 memDb; /* True to inhibit all file I/O */ u8 37428 sqlite3/libsqlite/sqlite3.c u8 eState; /* Pager state (OPEN, READER, WRITER_LOCKED..) */ u8 37429 sqlite3/libsqlite/sqlite3.c u8 eLock; /* Current lock held on database file */ u8 37430 sqlite3/libsqlite/sqlite3.c u8 changeCountDone; /* Set after incrementing the change-counter */ u8 37431 sqlite3/libsqlite/sqlite3.c u8 setMaster; /* True if a m-j name has been written to jrnl */ u8 37432 sqlite3/libsqlite/sqlite3.c u8 doNotSpill; /* Do not spill the cache when non-zero */ u8 37433 sqlite3/libsqlite/sqlite3.c u8 doNotSyncSpill; /* Do not do a spill that requires jrnl sync */ u8 37434 sqlite3/libsqlite/sqlite3.c u8 subjInMemory; /* True to use in-memory sub-journals */ u8 37826 sqlite3/libsqlite/sqlite3.c #define put32bits(A,B) sqlite3Put4byte((u8*)A,B) u8 37858 sqlite3/libsqlite/sqlite3.c pPager->eLock = (u8)eLock; u8 37882 sqlite3/libsqlite/sqlite3.c pPager->eLock = (u8)eLock; u8 38932 sqlite3/libsqlite/sqlite3.c rc = sqlite3OsRead(jfd, (u8*)aData, pPager->pageSize, (*pOffset)+4); u8 38951 sqlite3/libsqlite/sqlite3.c if( !isSavepnt && pager_cksum(pPager, (u8*)aData)!=cksum ){ u8 38965 sqlite3/libsqlite/sqlite3.c if( pgno==1 && pPager->nReserve!=((u8*)aData)[20] ){ u8 38966 sqlite3/libsqlite/sqlite3.c pPager->nReserve = ((u8*)aData)[20]; u8 39013 sqlite3/libsqlite/sqlite3.c PAGERID(pPager), pgno, pager_datahash(pPager->pageSize, (u8*)aData), u8 39028 sqlite3/libsqlite/sqlite3.c rc = sqlite3OsWrite(pPager->fd, (u8*)aData, pPager->pageSize, ofst); u8 39034 sqlite3/libsqlite/sqlite3.c sqlite3BackupUpdate(pPager->pBackup, pgno, (u8*)aData); u8 39073 sqlite3/libsqlite/sqlite3.c memcpy(pData, (u8*)aData, pPager->pageSize); u8 39103 sqlite3/libsqlite/sqlite3.c memcpy(&pPager->dbFileVers, &((u8*)pData)[24],sizeof(pPager->dbFileVers)); u8 39171 sqlite3/libsqlite/sqlite3.c pJournal = (sqlite3_file *)(((u8 *)pMaster) + pVfs->szOsFile); u8 39634 sqlite3/libsqlite/sqlite3.c u8 *dbFileVers = &((u8*)pPg->pData)[24]; u8 39661 sqlite3/libsqlite/sqlite3.c change_counter = sqlite3Get4byte((u8*)pPg->pPager->dbFileVers)+1; u8 39790 sqlite3/libsqlite/sqlite3.c sqlite3BackupUpdate(pPager->pBackup, p->pgno, (u8 *)p->pData); u8 40535 sqlite3/libsqlite/sqlite3.c u8 *pTmp = (u8 *)pPager->pTmpSpace; u8 40678 sqlite3/libsqlite/sqlite3.c u8 aMagic[8]; u8 40679 sqlite3/libsqlite/sqlite3.c u8 zHeader[sizeof(aJournalMagic)+4]; u8 40687 sqlite3/libsqlite/sqlite3.c static const u8 zerobyte = 0; u8 40842 sqlite3/libsqlite/sqlite3.c sqlite3BackupUpdate(pPager->pBackup, pgno, (u8*)pList->pData); u8 41084 sqlite3/libsqlite/sqlite3.c u8 *pPtr; u8 41171 sqlite3/libsqlite/sqlite3.c pPtr = (u8 *)sqlite3MallocZero( u8 41299 sqlite3/libsqlite/sqlite3.c pPager->useJournal = (u8)useJournal; u8 41313 sqlite3/libsqlite/sqlite3.c pPager->tempFile = (u8)tempFile; u8 41317 sqlite3/libsqlite/sqlite3.c pPager->exclusiveMode = (u8)tempFile; u8 41319 sqlite3/libsqlite/sqlite3.c pPager->memDb = (u8)memDb; u8 41320 sqlite3/libsqlite/sqlite3.c pPager->readOnly = (u8)readOnly; u8 41440 sqlite3/libsqlite/sqlite3.c u8 first = 0; u8 42013 sqlite3/libsqlite/sqlite3.c pPager->subjInMemory = (u8)subjInMemory; u8 42148 sqlite3/libsqlite/sqlite3.c cksum = pager_cksum(pPager, (u8*)pData2); u8 42828 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3PagerIsreadonly(Pager *pPager){ u8 43271 sqlite3/libsqlite/sqlite3.c pPager->exclusiveMode = (u8)eMode; u8 43297 sqlite3/libsqlite/sqlite3.c u8 eOld = pPager->journalMode; /* Prior journalmode */ u8 43334 sqlite3/libsqlite/sqlite3.c pPager->journalMode = (u8)eMode; u8 43445 sqlite3/libsqlite/sqlite3.c pPager->ckptSyncFlags, pPager->pageSize, (u8 *)pPager->pTmpSpace, u8 43601 sqlite3/libsqlite/sqlite3.c pPager->pageSize, (u8*)pPager->pTmpSpace); u8 43931 sqlite3/libsqlite/sqlite3.c u8 isInit; /* 1 when initialized */ u8 43932 sqlite3/libsqlite/sqlite3.c u8 bigEndCksum; /* True if checksums in WAL are big-endian */ u8 44047 sqlite3/libsqlite/sqlite3.c u8 exclusiveMode; /* Non-zero if connection is in exclusive mode */ u8 44048 sqlite3/libsqlite/sqlite3.c u8 writeLock; /* True if in a write transaction */ u8 44049 sqlite3/libsqlite/sqlite3.c u8 ckptLock; /* True if holding a checkpoint lock */ u8 44050 sqlite3/libsqlite/sqlite3.c u8 readOnly; /* WAL_RDWR, WAL_RDONLY, or WAL_SHM_RDONLY */ u8 44055 sqlite3/libsqlite/sqlite3.c u8 lockError; /* True if a locking error has occurred */ u8 44271 sqlite3/libsqlite/sqlite3.c walChecksumBytes(1, (u8*)&pWal->hdr, nCksum, 0, pWal->hdr.aCksum); u8 44403 sqlite3/libsqlite/sqlite3.c VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); ) u8 44419 sqlite3/libsqlite/sqlite3.c VVA_ONLY( pWal->lockError = (u8)(rc!=SQLITE_OK && rc!=SQLITE_BUSY); ) u8 44615 sqlite3/libsqlite/sqlite3.c int nByte = (int)((u8 *)&aHash[HASHTABLE_NSLOT] - (u8 *)&aPgno[1]); u8 44714 sqlite3/libsqlite/sqlite3.c u8 aBuf[WAL_HDRSIZE]; /* Buffer to load WAL header into */ u8 44715 sqlite3/libsqlite/sqlite3.c u8 *aFrame = 0; /* Malloc'd buffer to load entire frame */ u8 44717 sqlite3/libsqlite/sqlite3.c u8 *aData; /* Pointer to data part of aFrame buffer */ u8 44744 sqlite3/libsqlite/sqlite3.c pWal->hdr.bigEndCksum = (u8)(magic&0x00000001); u8 44769 sqlite3/libsqlite/sqlite3.c aFrame = (u8 *)sqlite3_malloc(szFrame); u8 45503 sqlite3/libsqlite/sqlite3.c walChecksumBytes(1, (u8*)&h1, sizeof(h1)-sizeof(h1.aCksum), 0, aCksum); u8 46202 sqlite3/libsqlite/sqlite3.c sqlite3Put4byte((u8*)&aSalt[0], 1 + sqlite3Get4byte((u8*)&aSalt[0])); u8 46242 sqlite3/libsqlite/sqlite3.c u8 aFrame[WAL_FRAME_HDRSIZE]; /* Buffer to assemble frame-header in */ u8 46270 sqlite3/libsqlite/sqlite3.c u8 aWalHdr[WAL_HDRSIZE]; /* Buffer to assemble wal-header in */ u8 46871 sqlite3/libsqlite/sqlite3.c u8 isInit; /* True if previously initialized. MUST BE FIRST! */ u8 46872 sqlite3/libsqlite/sqlite3.c u8 nOverflow; /* Number of overflow cell bodies in aCell[] */ u8 46873 sqlite3/libsqlite/sqlite3.c u8 intKey; /* True if intkey flag is set */ u8 46874 sqlite3/libsqlite/sqlite3.c u8 leaf; /* True if leaf flag is set */ u8 46875 sqlite3/libsqlite/sqlite3.c u8 hasData; /* True if this page stores data */ u8 46876 sqlite3/libsqlite/sqlite3.c u8 hdrOffset; /* 100 for page 1. 0 otherwise */ u8 46877 sqlite3/libsqlite/sqlite3.c u8 childPtrSize; /* 0 if leaf==1. 4 if leaf==0 */ u8 46885 sqlite3/libsqlite/sqlite3.c u8 *pCell; /* Pointers to the body of the overflow cell */ u8 46889 sqlite3/libsqlite/sqlite3.c u8 *aData; /* Pointer to disk image of the page data */ u8 46911 sqlite3/libsqlite/sqlite3.c u8 eLock; /* READ_LOCK or WRITE_LOCK */ u8 46943 sqlite3/libsqlite/sqlite3.c u8 inTrans; /* TRANS_NONE, TRANS_READ or TRANS_WRITE */ u8 46944 sqlite3/libsqlite/sqlite3.c u8 sharable; /* True if we can share pBt with another db */ u8 46945 sqlite3/libsqlite/sqlite3.c u8 locked; /* True if db currently has pBt locked */ u8 47006 sqlite3/libsqlite/sqlite3.c u8 readOnly; /* True if the underlying file is readonly */ u8 47007 sqlite3/libsqlite/sqlite3.c u8 pageSizeFixed; /* True if the page size can no longer be changed */ u8 47008 sqlite3/libsqlite/sqlite3.c u8 secureDelete; /* True if secure_delete is enabled */ u8 47009 sqlite3/libsqlite/sqlite3.c u8 initiallyEmpty; /* Database is empty at start of transaction */ u8 47010 sqlite3/libsqlite/sqlite3.c u8 openFlags; /* Flags to sqlite3BtreeOpen() */ u8 47012 sqlite3/libsqlite/sqlite3.c u8 autoVacuum; /* True if auto-vacuum is enabled */ u8 47013 sqlite3/libsqlite/sqlite3.c u8 incrVacuum; /* True if incr-vacuum is enabled */ u8 47015 sqlite3/libsqlite/sqlite3.c u8 inTransaction; /* Transaction state */ u8 47016 sqlite3/libsqlite/sqlite3.c u8 doNotUseWAL; /* If true, do not open write-ahead-log file */ u8 47034 sqlite3/libsqlite/sqlite3.c u8 isExclusive; /* True if pWriter has an EXCLUSIVE lock on the db */ u8 47035 sqlite3/libsqlite/sqlite3.c u8 isPending; /* If waiting for read-locks to clear */ u8 47037 sqlite3/libsqlite/sqlite3.c u8 *pTmpSpace; /* BtShared.pageSize bytes of space for tmp use */ u8 47048 sqlite3/libsqlite/sqlite3.c u8 *pCell; /* Pointer to the start of cell content */ u8 47093 sqlite3/libsqlite/sqlite3.c u8 wrFlag; /* True if writable */ u8 47094 sqlite3/libsqlite/sqlite3.c u8 atLast; /* Cursor pointing to the last entry */ u8 47095 sqlite3/libsqlite/sqlite3.c u8 validNKey; /* True if info.nKey is valid */ u8 47096 sqlite3/libsqlite/sqlite3.c u8 eState; /* One of the CURSOR_XXX constants (see below) */ u8 47099 sqlite3/libsqlite/sqlite3.c u8 isIncrblobHandle; /* True if this cursor is an incr. io handle */ u8 47239 sqlite3/libsqlite/sqlite3.c #define put2byte(p,v) ((p)[0] = (u8)((v)>>8), (p)[1] = (u8)(v)) u8 48279 sqlite3/libsqlite/sqlite3.c u8 *pPtrmap; /* The pointer map data */ u8 48307 sqlite3/libsqlite/sqlite3.c pPtrmap = (u8 *)sqlite3PagerGetData(pDbPage); u8 48332 sqlite3/libsqlite/sqlite3.c u8 *pPtrmap; /* Pointer map page data */ u8 48343 sqlite3/libsqlite/sqlite3.c pPtrmap = (u8 *)sqlite3PagerGetData(pDbPage); u8 48382 sqlite3/libsqlite/sqlite3.c static u8 *findOverflowCell(MemPage *pPage, int iCell){ u8 48492 sqlite3/libsqlite/sqlite3.c u8 *pIter = &pCell[pPage->childPtrSize]; u8 48505 sqlite3/libsqlite/sqlite3.c u8 *pEnd; u8 48611 sqlite3/libsqlite/sqlite3.c u8 *pAddr; /* The i-th cell pointer */ u8 48670 sqlite3/libsqlite/sqlite3.c u8 * const data = pPage->aData; /* Local cache of pPage->aData */ u8 48720 sqlite3/libsqlite/sqlite3.c data[hdr+7] = (u8)(nFrag + x); u8 48826 sqlite3/libsqlite/sqlite3.c data[hdr+7] -= (u8)frag; u8 48865 sqlite3/libsqlite/sqlite3.c pPage->leaf = (u8)(flagByte>>3); assert( PTF_LEAF == 1<<3 ); u8 48904 sqlite3/libsqlite/sqlite3.c u8 hdr; /* Offset to beginning of page header */ u8 48905 sqlite3/libsqlite/sqlite3.c u8 *data; /* Equal to pPage->aData */ u8 49007 sqlite3/libsqlite/sqlite3.c u8 hdr = pPage->hdrOffset; u8 49225 sqlite3/libsqlite/sqlite3.c u8 nReserve; /* Byte of unused space on each page */ u8 49352 sqlite3/libsqlite/sqlite3.c pBt->openFlags = (u8)flags; u8 49764 sqlite3/libsqlite/sqlite3.c u8 av = (u8)autoVacuum; u8 49825 sqlite3/libsqlite/sqlite3.c nPage = nPageHeader = get4byte(28+(u8*)pPage1->aData); u8 49827 sqlite3/libsqlite/sqlite3.c if( nPage==0 || memcmp(24+(u8*)pPage1->aData, 92+(u8*)pPage1->aData,4)!=0 ){ u8 49833 sqlite3/libsqlite/sqlite3.c u8 *page1 = pPage1->aData; u8 49991 sqlite3/libsqlite/sqlite3.c data[16] = (u8)((pBt->pageSize>>8)&0xff); u8 49992 sqlite3/libsqlite/sqlite3.c data[17] = (u8)((pBt->pageSize>>16)&0xff); u8 49996 sqlite3/libsqlite/sqlite3.c data[20] = (u8)(pBt->pageSize - pBt->usableSize); u8 50100 sqlite3/libsqlite/sqlite3.c pBt->initiallyEmpty = (u8)(pBt->nPage==0); u8 50149 sqlite3/libsqlite/sqlite3.c pBt->isExclusive = (u8)(wrflag>1); u8 50194 sqlite3/libsqlite/sqlite3.c u8 isInitOrig = pPage->isInit; u8 50205 sqlite3/libsqlite/sqlite3.c u8 *pCell = findCell(pPage, i); u8 50249 sqlite3/libsqlite/sqlite3.c u8 isInitOrig = pPage->isInit; u8 50257 sqlite3/libsqlite/sqlite3.c u8 *pCell = findCell(pPage, i); u8 50400 sqlite3/libsqlite/sqlite3.c u8 eType; u8 50838 sqlite3/libsqlite/sqlite3.c int nPage = get4byte(28+(u8*)pPage1->aData); u8 50996 sqlite3/libsqlite/sqlite3.c pCur->wrFlag = (u8)wrFlag; u8 51250 sqlite3/libsqlite/sqlite3.c u8 eType; u8 51992 sqlite3/libsqlite/sqlite3.c u8 *pCell; /* Pointer to current cell in pPage */ u8 52041 sqlite3/libsqlite/sqlite3.c u8 * const pCellBody = pCell - pPage->childPtrSize; u8 52296 sqlite3/libsqlite/sqlite3.c u8 searchList = 0; /* If the free-list must be searched for 'nearby' */ u8 52304 sqlite3/libsqlite/sqlite3.c u8 eType; u8 52506 sqlite3/libsqlite/sqlite3.c put4byte(28 + (u8*)pBt->pPage1->aData, pBt->nPage); u8 52760 sqlite3/libsqlite/sqlite3.c const u8 *pSrc; u8 52839 sqlite3/libsqlite/sqlite3.c u8 eType = (pgnoPtrmap?PTRMAP_OVERFLOW2:PTRMAP_OVERFLOW1); u8 52911 sqlite3/libsqlite/sqlite3.c u8 *data; /* pPage->aData */ u8 52912 sqlite3/libsqlite/sqlite3.c u8 *ptr; /* Used to move bytes around within data[] */ u8 52913 sqlite3/libsqlite/sqlite3.c u8 *endPtr; /* End of loop */ u8 52980 sqlite3/libsqlite/sqlite3.c u8 *data; /* The content of the whole page */ u8 52981 sqlite3/libsqlite/sqlite3.c u8 *ptr; /* Used for moving information around in data[] */ u8 52982 sqlite3/libsqlite/sqlite3.c u8 *endPtr; /* End of the loop */ u8 53064 sqlite3/libsqlite/sqlite3.c u8 *pCellptr; /* Address of next cell pointer */ u8 53066 sqlite3/libsqlite/sqlite3.c u8 * const data = pPage->aData; /* Pointer to data for pPage */ u8 53156 sqlite3/libsqlite/sqlite3.c u8 *pOut = &pSpace[4]; u8 53157 sqlite3/libsqlite/sqlite3.c u8 *pCell = pPage->aOvfl[0].pCell; u8 53159 sqlite3/libsqlite/sqlite3.c u8 *pStop; u8 53226 sqlite3/libsqlite/sqlite3.c u8 e; u8 53233 sqlite3/libsqlite/sqlite3.c u8 *z; u8 53278 sqlite3/libsqlite/sqlite3.c u8 * const aFrom = pFrom->aData; u8 53279 sqlite3/libsqlite/sqlite3.c u8 * const aTo = pTo->aData; u8 53381 sqlite3/libsqlite/sqlite3.c u8 *pRight; /* Location in parent of right-sibling pointer */ u8 53382 sqlite3/libsqlite/sqlite3.c u8 *apDiv[NB-1]; /* Divider cells in pParent */ u8 53385 sqlite3/libsqlite/sqlite3.c u8 **apCell = 0; /* All cells begin balanced */ u8 53387 sqlite3/libsqlite/sqlite3.c u8 *aSpace1; /* Space for copies of dividers cells */ u8 53497 sqlite3/libsqlite/sqlite3.c nMaxCells*sizeof(u8*) /* apCell */ u8 53507 sqlite3/libsqlite/sqlite3.c aSpace1 = (u8*)&szCell[nMaxCells]; u8 53549 sqlite3/libsqlite/sqlite3.c u8 *aData = pOld->aData; u8 53561 sqlite3/libsqlite/sqlite3.c u8 *pTemp; u8 53769 sqlite3/libsqlite/sqlite3.c u8 *pCell; u8 53770 sqlite3/libsqlite/sqlite3.c u8 *pTemp; u8 53824 sqlite3/libsqlite/sqlite3.c u8 *zChild = &apCopy[nOld-1]->aData[8]; u8 54050 sqlite3/libsqlite/sqlite3.c u8 aBalanceQuickSpace[13]; u8 54051 sqlite3/libsqlite/sqlite3.c u8 *pFree = 0; u8 54128 sqlite3/libsqlite/sqlite3.c u8 *pSpace = sqlite3PageMalloc(pCur->pBt->pageSize); u8 54507 sqlite3/libsqlite/sqlite3.c u8 eType = 0; u8 54856 sqlite3/libsqlite/sqlite3.c pBt->incrVacuum = (u8)iMeta; u8 55007 sqlite3/libsqlite/sqlite3.c u8 ePtrmapType; u8 55126 sqlite3/libsqlite/sqlite3.c u8 *data; u8 55163 sqlite3/libsqlite/sqlite3.c u8 *pCell; u8 55574 sqlite3/libsqlite/sqlite3.c u8 lockType = READ_LOCK + isWriteLock; u8 55666 sqlite3/libsqlite/sqlite3.c pBt->doNotUseWAL = (u8)(iVersion==1); u8 55670 sqlite3/libsqlite/sqlite3.c u8 *aData = pBt->pPage1->aData; u8 55671 sqlite3/libsqlite/sqlite3.c if( aData[18]!=(u8)iVersion || aData[19]!=(u8)iVersion ){ u8 55676 sqlite3/libsqlite/sqlite3.c aData[18] = (u8)iVersion; u8 55677 sqlite3/libsqlite/sqlite3.c aData[19] = (u8)iVersion; u8 55959 sqlite3/libsqlite/sqlite3.c const u8 *zIn = &zSrcData[iOff%nSrcPgsz]; u8 55960 sqlite3/libsqlite/sqlite3.c u8 *zDestData = sqlite3PagerGetData(pDestPg); u8 55961 sqlite3/libsqlite/sqlite3.c u8 *zOut = &zDestData[iOff%nDestPgsz]; u8 55971 sqlite3/libsqlite/sqlite3.c ((u8 *)sqlite3PagerGetExtra(pDestPg))[0] = 0; u8 56173 sqlite3/libsqlite/sqlite3.c u8 *zData = sqlite3PagerGetData(pSrcPg); u8 56444 sqlite3/libsqlite/sqlite3.c rc = sqlite3VdbeMemTranslate(pMem, (u8)desiredEnc); u8 57609 sqlite3/libsqlite/sqlite3.c p->isPrepareV2 = (u8)isPrepareV2; u8 57700 sqlite3/libsqlite/sqlite3.c pOp->opcode = (u8)op; u8 57967 sqlite3/libsqlite/sqlite3.c u8 opcode = pOp->opcode; u8 58295 sqlite3/libsqlite/sqlite3.c u8 *aSortOrder; u8 58613 sqlite3/libsqlite/sqlite3.c u8 malloc_failed = db->mallocFailed; u8 59016 sqlite3/libsqlite/sqlite3.c u8 *zCsr; /* Memory available for allocation */ u8 59017 sqlite3/libsqlite/sqlite3.c u8 *zEnd; /* First byte past allocated memory */ u8 59045 sqlite3/libsqlite/sqlite3.c zCsr = (u8*)&p->aOp[p->nOp]; /* Memory avaliable for allocation */ u8 59046 sqlite3/libsqlite/sqlite3.c zEnd = (u8*)&p->aOp[p->nOpAlloc]; /* First byte past end of zCsr[] */ u8 59049 sqlite3/libsqlite/sqlite3.c p->usesStmtJournal = (u8)(pParse->isMultiWrite && pParse->mayAbort); u8 59054 sqlite3/libsqlite/sqlite3.c zCsr += (zCsr - (u8*)0)&7; u8 60154 sqlite3/libsqlite/sqlite3.c static const u8 aSize[] = { 0, 1, 2, 3, 4, 6, 8, 8, 0, 0, 0, 0 }; u8 60248 sqlite3/libsqlite/sqlite3.c buf[i] = (u8)(v&0xFF); u8 60632 sqlite3/libsqlite/sqlite3.c (void)getVarint32((u8*)m.z, szHdr); u8 60641 sqlite3/libsqlite/sqlite3.c (void)getVarint32((u8*)&m.z[szHdr-1], typeRowid); u8 60660 sqlite3/libsqlite/sqlite3.c sqlite3VdbeSerialGet((u8*)&m.z[m.n-lenRowid], typeRowid, &v); u8 62135 sqlite3/libsqlite/sqlite3.c n = sqlite3GetToken((u8*)zSql, &tokenType); u8 62226 sqlite3/libsqlite/sqlite3.c u8 enc = ENC(db); u8 62510 sqlite3/libsqlite/sqlite3.c u8 enc = pRec->enc; u8 62660 sqlite3/libsqlite/sqlite3.c u8 c = pMem->z[j]; u8 62899 sqlite3/libsqlite/sqlite3.c u8 resetSchemaOnFault = 0; /* Reset schema after an error if positive */ u8 62900 sqlite3/libsqlite/sqlite3.c u8 encoding = ENC(db); /* The database encoding */ u8 62963 sqlite3/libsqlite/sqlite3.c u8 op; u8 63004 sqlite3/libsqlite/sqlite3.c u8 *zIdx; /* Index into header */ u8 63005 sqlite3/libsqlite/sqlite3.c u8 *zEndHdr; /* Pointer to first byte after the header */ u8 63017 sqlite3/libsqlite/sqlite3.c u8 *zNewRecord; /* A buffer to hold the data for the new record */ u8 63607 sqlite3/libsqlite/sqlite3.c p->errorAction = (u8)pOp->p2; u8 64249 sqlite3/libsqlite/sqlite3.c u8 op; u8 64881 sqlite3/libsqlite/sqlite3.c u8 *zIdx; /* Index into header */ u8 64882 sqlite3/libsqlite/sqlite3.c u8 *zEndHdr; /* Pointer to first byte after the header */ u8 64999 sqlite3/libsqlite/sqlite3.c u.am.pC->aRow = (u8*)u.am.zData; u8 65007 sqlite3/libsqlite/sqlite3.c u.am.szHdr = getVarint32((u8*)u.am.zData, u.am.offset); u8 65054 sqlite3/libsqlite/sqlite3.c u.am.zEndHdr = (u8 *)&u.am.zData[u.am.len]; u8 65055 sqlite3/libsqlite/sqlite3.c u.am.zIdx = (u8 *)&u.am.zData[u.am.szHdr]; u8 65108 sqlite3/libsqlite/sqlite3.c sqlite3VdbeSerialGet((u8 *)&u.am.zRec[u.am.aOffset[u.am.p2]], u.am.aType[u.am.p2], u.am.pDest); u8 65117 sqlite3/libsqlite/sqlite3.c sqlite3VdbeSerialGet((u8*)u.am.zData, u.am.aType[u.am.p2], u.am.pDest); u8 65196 sqlite3/libsqlite/sqlite3.c u8 *zNewRecord; /* A buffer to hold the data for the new record */ u8 65286 sqlite3/libsqlite/sqlite3.c u.ao.zNewRecord = (u8 *)pOut->z; u8 65550 sqlite3/libsqlite/sqlite3.c db->autoCommit = (u8)u.ar.desiredAutoCommit; u8 65553 sqlite3/libsqlite/sqlite3.c db->autoCommit = (u8)(1-u.ar.desiredAutoCommit); u8 65713 sqlite3/libsqlite/sqlite3.c u.au.pDb->pSchema->file_format = (u8)pIn3->u.i; u8 67039 sqlite3/libsqlite/sqlite3.c u.bk.pC->nullRow = (u8)u.bk.res; u8 67096 sqlite3/libsqlite/sqlite3.c u.bl.pC->nullRow = (u8)u.bl.res; u8 67154 sqlite3/libsqlite/sqlite3.c u.bm.pC->nullRow = (u8)u.bm.res; u8 67757 sqlite3/libsqlite/sqlite3.c (u8)(u.bx.iSet>=0 ? u.bx.iSet & 0xf : 0xff), u8 68338 sqlite3/libsqlite/sqlite3.c u8 isWriteLock = (u8)pOp->p3; u8 68693 sqlite3/libsqlite/sqlite3.c u8 vtabOnConflict = db->vtabOnConflict; u8 69666 sqlite3/libsqlite/sqlite3.c u8 zChunk[JOURNAL_CHUNKSIZE]; /* Content of this chunk */ u8 69700 sqlite3/libsqlite/sqlite3.c u8 *zOut = zBuf; u8 69746 sqlite3/libsqlite/sqlite3.c u8 *zWrite = (u8 *)zBuf; u8 70539 sqlite3/libsqlite/sqlite3.c u8 enc = ENC(pParse->db); /* The database encoding */ u8 70688 sqlite3/libsqlite/sqlite3.c u8 savedSuppErr; /* Saved value of db->suppressErr */ u8 71419 sqlite3/libsqlite/sqlite3.c static u8 binaryCompareP5(Expr *pExpr1, Expr *pExpr2, int jumpIfNull){ u8 71420 sqlite3/libsqlite/sqlite3.c u8 aff = (char)sqlite3ExprAffinity(pExpr2); u8 71421 sqlite3/libsqlite/sqlite3.c aff = (u8)sqlite3CompareAffinity(pExpr1, aff) | (u8)jumpIfNull; u8 71479 sqlite3/libsqlite/sqlite3.c sqlite3VdbeChangeP5(pParse->pVdbe, (u8)p5); u8 71619 sqlite3/libsqlite/sqlite3.c pNew->op = (u8)op; u8 71972 sqlite3/libsqlite/sqlite3.c u8 *zAlloc; u8 72469 sqlite3/libsqlite/sqlite3.c u8 op; u8 72513 sqlite3/libsqlite/sqlite3.c u8 op; u8 72875 sqlite3/libsqlite/sqlite3.c dest.affinity = (u8)affinity; u8 73758 sqlite3/libsqlite/sqlite3.c u8 enc = ENC(db); /* The text encoding used by this database */ u8 73840 sqlite3/libsqlite/sqlite3.c sqlite3VdbeChangeP5(v, (u8)nFarg); u8 74849 sqlite3/libsqlite/sqlite3.c u8 enc = ENC(pParse->db); u8 75061 sqlite3/libsqlite/sqlite3.c zRet = sqlite3MPrintf(db, "%.*s\"%w\"%s", ((u8*)tname.z) - zSql, zSql, u8 75200 sqlite3/libsqlite/sqlite3.c zRet = sqlite3MPrintf(db, "%.*s\"%w\"%s", ((u8*)tname.z) - zSql, zSql, u8 75860 sqlite3/libsqlite/sqlite3.c u8 aCreateTbl[] = {0, 0}; u8 76488 sqlite3/libsqlite/sqlite3.c pSample->eType = (u8)eType; u8 76501 sqlite3/libsqlite/sqlite3.c pSample->nByte = (u8)n; u8 76885 sqlite3/libsqlite/sqlite3.c sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg)); u8 77372 sqlite3/libsqlite/sqlite3.c pParse->explain = (u8)explainFlag; u8 77384 sqlite3/libsqlite/sqlite3.c u8 isWriteLock; /* True for write lock. False for a read lock */ u8 78337 sqlite3/libsqlite/sqlite3.c p->aCol[p->nCol-1].notNull = (u8)onError; u8 78514 sqlite3/libsqlite/sqlite3.c pTab->keyConf = (u8)onError; u8 78612 sqlite3/libsqlite/sqlite3.c u8 enc = ENC(db); u8 78613 sqlite3/libsqlite/sqlite3.c u8 initbusy = db->init.busy; u8 79135 sqlite3/libsqlite/sqlite3.c u8 enableLookaside = db->lookaside.bEnabled; u8 79590 sqlite3/libsqlite/sqlite3.c pFKey->aAction[0] = (u8)(flags & 0xff); /* ON DELETE action */ u8 79591 sqlite3/libsqlite/sqlite3.c pFKey->aAction[1] = (u8)((flags >> 8 ) & 0xff); /* ON UPDATE action */ u8 79632 sqlite3/libsqlite/sqlite3.c pFKey->isDeferred = (u8)isDeferred; u8 79905 sqlite3/libsqlite/sqlite3.c pList->a[0].sortOrder = (u8)sortOrder; u8 79933 sqlite3/libsqlite/sqlite3.c sizeof(u8)*nCol + /* Index.aSortOrder */ u8 79943 sqlite3/libsqlite/sqlite3.c pIndex->aSortOrder = (u8 *)(&pIndex->aiRowEst[nCol+1]); u8 79949 sqlite3/libsqlite/sqlite3.c pIndex->onError = (u8)onError; u8 79950 sqlite3/libsqlite/sqlite3.c pIndex->autoIndex = (u8)(pName==0); u8 80013 sqlite3/libsqlite/sqlite3.c pIndex->aSortOrder[i] = (u8)requestedSortOrder; u8 81078 sqlite3/libsqlite/sqlite3.c pKey->aSortOrder = (u8 *)&(pKey->aColl[nCol]); u8 81079 sqlite3/libsqlite/sqlite3.c assert( &pKey->aSortOrder[nCol]==&(((u8 *)pKey)[nBytes]) ); u8 81152 sqlite3/libsqlite/sqlite3.c static const u8 aEnc[] = { SQLITE_UTF16BE, SQLITE_UTF16LE, SQLITE_UTF8 }; u8 81385 sqlite3/libsqlite/sqlite3.c u8 c1 = (u8)pDef->zName[0]; u8 81436 sqlite3/libsqlite/sqlite3.c h = (sqlite3UpperToLower[(u8)zName[0]] + nName) % ArraySize(db->aFunc.a); u8 82548 sqlite3/libsqlite/sqlite3.c u8 *z1; u8 82700 sqlite3/libsqlite/sqlite3.c u8 matchAll; u8 82701 sqlite3/libsqlite/sqlite3.c u8 matchOne; u8 82702 sqlite3/libsqlite/sqlite3.c u8 matchSet; u8 82703 sqlite3/libsqlite/sqlite3.c u8 noCase; u8 82764 sqlite3/libsqlite/sqlite3.c u8 matchOne = pInfo->matchOne; u8 82765 sqlite3/libsqlite/sqlite3.c u8 matchAll = pInfo->matchAll; u8 82766 sqlite3/libsqlite/sqlite3.c u8 matchSet = pInfo->matchSet; u8 82767 sqlite3/libsqlite/sqlite3.c u8 noCase = pInfo->noCase; u8 83228 sqlite3/libsqlite/sqlite3.c u8 *zOld; u8 83285 sqlite3/libsqlite/sqlite3.c static unsigned char * const azOne[] = { (u8*)" " }; u8 83287 sqlite3/libsqlite/sqlite3.c aLen = (u8*)lenOne; u8 83306 sqlite3/libsqlite/sqlite3.c aLen[nChar] = (u8)(z - azChar[nChar]); u8 83360 sqlite3/libsqlite/sqlite3.c const u8 *zIn; u8 83373 sqlite3/libsqlite/sqlite3.c zIn = (u8*)sqlite3_value_text(argv[0]); u8 83374 sqlite3/libsqlite/sqlite3.c if( zIn==0 ) zIn = (u8*)""; u8 83377 sqlite3/libsqlite/sqlite3.c u8 prevcode = iCode[zIn[i]&0x7f]; u8 83435 sqlite3/libsqlite/sqlite3.c u8 overflow; /* True if integer overflow seen */ u8 83436 sqlite3/libsqlite/sqlite3.c u8 approx; /* True if non-integer value was input to the sum */ u8 84780 sqlite3/libsqlite/sqlite3.c u8 enableLookaside; /* Copy of db->lookaside.bEnabled */ u8 86454 sqlite3/libsqlite/sqlite3.c u8 pik_flags; u8 88108 sqlite3/libsqlite/sqlite3.c static u8 getSafetyLevel(const char *z){ u8 88111 sqlite3/libsqlite/sqlite3.c static const u8 iOffset[] = {0, 1, 2, 4, 9, 12, 16}; u8 88112 sqlite3/libsqlite/sqlite3.c static const u8 iLength[] = {2, 2, 3, 5, 3, 4, 4}; u8 88113 sqlite3/libsqlite/sqlite3.c static const u8 iValue[] = {1, 0, 0, 0, 1, 1, 2}; u8 88116 sqlite3/libsqlite/sqlite3.c return (u8)sqlite3Atoi(z); u8 88130 sqlite3/libsqlite/sqlite3.c SQLITE_PRIVATE u8 sqlite3GetBoolean(const char *z){ u8 88164 sqlite3/libsqlite/sqlite3.c return (u8)((i>=0&&i<=2)?i:0); u8 88221 sqlite3/libsqlite/sqlite3.c db->temp_store = (u8)ts; u8 88593 sqlite3/libsqlite/sqlite3.c db->dfltLockMode = (u8)eMode; u8 88701 sqlite3/libsqlite/sqlite3.c db->nextAutovac = (u8)eAuto; u8 89219 sqlite3/libsqlite/sqlite3.c sqlite3VdbeChangeP5(v, (u8)i); u8 89332 sqlite3/libsqlite/sqlite3.c u8 enc; u8 89870 sqlite3/libsqlite/sqlite3.c u8 encoding; u8 89872 sqlite3/libsqlite/sqlite3.c encoding = (u8)meta[BTREE_TEXT_ENCODING-1] & 3; u8 89903 sqlite3/libsqlite/sqlite3.c pDb->pSchema->file_format = (u8)meta[BTREE_FILE_FORMAT-1]; u8 90427 sqlite3/libsqlite/sqlite3.c *pzTail = (u8 *)zSql + sqlite3Utf16ByteLen(zSql, chars_parsed); u8 90508 sqlite3/libsqlite/sqlite3.c pDest->eDest = (u8)eDest; u8 90600 sqlite3/libsqlite/sqlite3.c u8 i; /* Beginning of keyword text in zKeyText[] */ u8 90601 sqlite3/libsqlite/sqlite3.c u8 nChar; /* Length of the keyword in characters */ u8 90602 sqlite3/libsqlite/sqlite3.c u8 code; /* Join type mask */ u8 91227 sqlite3/libsqlite/sqlite3.c pInfo->aSortOrder = (u8*)&pInfo->aColl[nExpr]; u8 92111 sqlite3/libsqlite/sqlite3.c u8 op = 0; /* One of the SRT_ operations to apply to self */ u8 92695 sqlite3/libsqlite/sqlite3.c pKeyMerge->aSortOrder = (u8*)&pKeyMerge->aColl[nOrderBy]; u8 92735 sqlite3/libsqlite/sqlite3.c pKeyDup->aSortOrder = (u8*)&pKeyDup->aColl[nExpr]; u8 93387 sqlite3/libsqlite/sqlite3.c u8 jointype = 0; u8 93525 sqlite3/libsqlite/sqlite3.c static u8 minMaxQuery(Select *p){ u8 94068 sqlite3/libsqlite/sqlite3.c sqlite3VdbeChangeP5(v, (u8)nArg); u8 94274 sqlite3/libsqlite/sqlite3.c explainSetInteger(pItem->iSelectId, (u8)pParse->iNextSelectId); u8 94764 sqlite3/libsqlite/sqlite3.c u8 flag = minMaxQuery(p); u8 95371 sqlite3/libsqlite/sqlite3.c pTrigger->op = (u8)op; u8 95853 sqlite3/libsqlite/sqlite3.c pParse->eOrconf = (orconf==OE_Default)?pStep->orconf:(u8)orconf; u8 96111 sqlite3/libsqlite/sqlite3.c sqlite3VdbeChangeP5(v, (u8)bRecursive); u8 96313 sqlite3/libsqlite/sqlite3.c u8 enc = ENC(sqlite3VdbeDb(v)); u8 98315 sqlite3/libsqlite/sqlite3.c p->pVTable->bConstraint = (u8)va_arg(ap, int); u8 98436 sqlite3/libsqlite/sqlite3.c u8 wtFlags; /* TERM_xxx bit flags. See below */ u8 98437 sqlite3/libsqlite/sqlite3.c u8 nChild; /* Number of children that must disable us */ u8 98467 sqlite3/libsqlite/sqlite3.c u8 op; /* Split operator. TK_AND or TK_OR */ u8 98713 sqlite3/libsqlite/sqlite3.c pWC->op = (u8)op; u8 99026 sqlite3/libsqlite/sqlite3.c if( cnt!=0 && 255!=(u8)z[cnt-1] ){ u8 99535 sqlite3/libsqlite/sqlite3.c static const u8 ops[] = {TK_GE, TK_LE}; u8 99590 sqlite3/libsqlite/sqlite3.c u8 c, *pC; /* Last character before the first wildcard */ u8 99591 sqlite3/libsqlite/sqlite3.c pC = (u8*)&pStr2->u.zToken[sqlite3Strlen30(pStr2->u.zToken)-1]; u8 100215 sqlite3/libsqlite/sqlite3.c pIdx->aSortOrder = (u8*)&pIdx->aiColumn[nColumn]; u8 100361 sqlite3/libsqlite/sqlite3.c pIdxCons[j].op = (u8)pTerm->eOperator; u8 100640 sqlite3/libsqlite/sqlite3.c const u8 *z; u8 100647 sqlite3/libsqlite/sqlite3.c z = (const u8 *)sqlite3_value_blob(pVal); u8 100657 sqlite3/libsqlite/sqlite3.c z = (const u8 *)sqlite3ValueText(pVal, pColl->enc); u8 100794 sqlite3/libsqlite/sqlite3.c u8 aff = p->pTable->aCol[p->aiColumn[0]].affinity; u8 100878 sqlite3/libsqlite/sqlite3.c u8 aff; /* Column affinity */ u8 100935 sqlite3/libsqlite/sqlite3.c u8 aff; /* Column affinity */ u8 100942 sqlite3/libsqlite/sqlite3.c u8 aSpan[SQLITE_INDEX_SAMPLES+1]; /* Histogram regions that are spanned */ u8 100943 sqlite3/libsqlite/sqlite3.c u8 aSingle[SQLITE_INDEX_SAMPLES+1]; /* Histogram regions hit once */ u8 102063 sqlite3/libsqlite/sqlite3.c const u8 aMoveOp[] = { u8 102149 sqlite3/libsqlite/sqlite3.c static const u8 aStartOp[] = { u8 102159 sqlite3/libsqlite/sqlite3.c static const u8 aEndOp[] = { u8 102504 sqlite3/libsqlite/sqlite3.c static const u8 aStep[] = { OP_Next, OP_Prev }; u8 102505 sqlite3/libsqlite/sqlite3.c static const u8 aStart[] = { OP_Rewind, OP_Last }; u8 102758 sqlite3/libsqlite/sqlite3.c pWInfo->pWC = pWC = (WhereClause *)&((u8 *)pWInfo)[nByteWInfo]; u8 103008 sqlite3/libsqlite/sqlite3.c pLevel->iFrom = (u8)bestJ; u8 103433 sqlite3/libsqlite/sqlite3.c pA->op = (u8)op; u8 103513 sqlite3/libsqlite/sqlite3.c u8 yy210; u8 105651 sqlite3/libsqlite/sqlite3.c {yygotominor.yy210 = (u8)yymsp[0].minor.yy4;} u8 105687 sqlite3/libsqlite/sqlite3.c yymsp[0].minor.yy387->op = (u8)yymsp[-1].minor.yy4; u8 105750 sqlite3/libsqlite/sqlite3.c if( ALWAYS(yygotominor.yy259 && yygotominor.yy259->nSrc>0) ) yygotominor.yy259->a[yygotominor.yy259->nSrc-1].jointype = (u8)yymsp[0].minor.yy4; u8 105832 sqlite3/libsqlite/sqlite3.c if( yygotominor.yy322 ) yygotominor.yy322->a[yygotominor.yy322->nExpr-1].sortOrder = (u8)yymsp[0].minor.yy4; u8 105838 sqlite3/libsqlite/sqlite3.c if( yygotominor.yy322 && ALWAYS(yygotominor.yy322->a) ) yygotominor.yy322->a[0].sortOrder = (u8)yymsp[0].minor.yy4; u8 106232 sqlite3/libsqlite/sqlite3.c if( yygotominor.yy322 ) yygotominor.yy322->a[yygotominor.yy322->nExpr-1].sortOrder = (u8)yymsp[0].minor.yy4; u8 106245 sqlite3/libsqlite/sqlite3.c if( yygotominor.yy322 ) yygotominor.yy322->a[yygotominor.yy322->nExpr-1].sortOrder = (u8)yymsp[0].minor.yy4; u8 107414 sqlite3/libsqlite/sqlite3.c u8 enableLookaside; /* Saved value of db->lookaside.bEnabled */ u8 107654 sqlite3/libsqlite/sqlite3.c u8 state = 0; /* Current state, using numbers defined in header comment */ u8 107655 sqlite3/libsqlite/sqlite3.c u8 token; /* Value of the next token */ u8 107661 sqlite3/libsqlite/sqlite3.c static const u8 trans[8][8] = { u8 107677 sqlite3/libsqlite/sqlite3.c static const u8 trans[3][3] = { u8 107743 sqlite3/libsqlite/sqlite3.c if( IdChar((u8)*zSql) ){ u8 108416 sqlite3/libsqlite/sqlite3.c p = (LookasideSlot*)&((u8*)p)[sz]; u8 108817 sqlite3/libsqlite/sqlite3.c static const u8 delays[] = u8 108819 sqlite3/libsqlite/sqlite3.c static const u8 totals[] = u8 108998 sqlite3/libsqlite/sqlite3.c p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0); u8 109010 sqlite3/libsqlite/sqlite3.c p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1); u8 109572 sqlite3/libsqlite/sqlite3.c pColl = sqlite3FindCollSeq(db, (u8)enc2, zName, 0); u8 109602 sqlite3/libsqlite/sqlite3.c pColl = sqlite3FindCollSeq(db, (u8)enc2, zName, 1); u8 109607 sqlite3/libsqlite/sqlite3.c pColl->enc = (u8)(enc2 | (enc & SQLITE_UTF16_ALIGNED)); u8 110277 sqlite3/libsqlite/sqlite3.c rc = createCollation(db, zName, (u8)enc, SQLITE_COLL_USER, pCtx, xCompare, 0); u8 110297 sqlite3/libsqlite/sqlite3.c rc = createCollation(db, zName, (u8)enc, SQLITE_COLL_USER, pCtx, xCompare, xDel); u8 110320 sqlite3/libsqlite/sqlite3.c rc = createCollation(db, zName8, (u8)enc, SQLITE_COLL_USER, pCtx, xCompare, 0); u8 110798 sqlite3/libsqlite/sqlite3.c rc = (sqlite3KeywordCode((u8*)zWord, n)!=TK_ID) ? SQLITE_N_KEYWORD : 0; u8 111957 sqlite3/libsqlite/sqlite3.c u8 bHasStat; /* True if %_stat table exists */ u8 111958 sqlite3/libsqlite/sqlite3.c u8 bHasDocsize; /* True if %_docsize table exists */ u8 111959 sqlite3/libsqlite/sqlite3.c u8 bDescIdx; /* True if doclists are in reverse order */ u8 112006 sqlite3/libsqlite/sqlite3.c u8 isEof; /* True if at End Of Results */ u8 112007 sqlite3/libsqlite/sqlite3.c u8 isRequireSeek; /* True if must seek pStmt to %_content row */ u8 112016 sqlite3/libsqlite/sqlite3.c u8 bDesc; /* True to sort in descending order */ u8 112125 sqlite3/libsqlite/sqlite3.c u8 bEof; /* True this expression is at EOF already */ u8 112126 sqlite3/libsqlite/sqlite3.c u8 bStart; /* True if iDocid is valid */ u8 112127 sqlite3/libsqlite/sqlite3.c u8 bDeferred; /* True if this expression is entirely deferred */ u8 116187 sqlite3/libsqlite/sqlite3.c u8 c = 0; u8 116235 sqlite3/libsqlite/sqlite3.c u8 bEof; u8 116796 sqlite3/libsqlite/sqlite3.c memset(&pCsr->csr, 0, ((u8*)&pCsr[1]) - (u8*)&pCsr->csr); u8 120809 sqlite3/libsqlite/sqlite3.c u8 bEof = 0; u8 120852 sqlite3/libsqlite/sqlite3.c u8 bEof = 0; u8 124645 sqlite3/libsqlite/sqlite3.c u8 *zData; u8 124834 sqlite3/libsqlite/sqlite3.c pNode->zData = (u8 *)&pNode[1]; u8 124874 sqlite3/libsqlite/sqlite3.c const u8 *zBlob = sqlite3_column_blob(pRtree->pReadNode, 0); u8 124881 sqlite3/libsqlite/sqlite3.c pNode->zData = (u8 *)&pNode[1]; u8 124942 sqlite3/libsqlite/sqlite3.c u8 *p = &pNode->zData[4 + pRtree->nBytesPerCell*iCell]; u8 124954 sqlite3/libsqlite/sqlite3.c u8 *pDst = &pNode->zData[4 + pRtree->nBytesPerCell*iCell]; u8 124955 sqlite3/libsqlite/sqlite3.c u8 *pSrc = &pDst[pRtree->nBytesPerCell]; u8 125771 sqlite3/libsqlite/sqlite3.c u8 op; u8 127523 sqlite3/libsqlite/sqlite3.c node.zData = (u8 *)sqlite3_value_blob(apArg[1]); u8 127558 sqlite3/libsqlite/sqlite3.c u8 *zBlob = (u8 *)sqlite3_value_blob(apArg[0]);