/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | hash.c | 71 static int intHash(const void *pKey, int nKey){ in intHash() argument 72 return nKey ^ (nKey<<8) ^ (nKey>>8); in intHash() 82 static int ptrHash(const void *pKey, int nKey){ 96 static int strHash(const void *pKey, int nKey){ in strHash() argument 107 static int binHash(const void *pKey, int nKey){ in binHash() argument 110 while( nKey-- > 0 ){ in binHash() 206 int nKey, in findElementGivenHash() argument 218 if( (*xCompare)(elem->pKey,elem->nKey,pKey,nKey)==0 ){ in findElementGivenHash() 269 h = (*xHash)(pKey,nKey); in sqliteHashFind() 300 hraw = (*xHash)(pKey, nKey); in sqliteHashInsert() [all …]
|
H A D | hash.h | 53 void *pKey; int nKey; /* Key associated with this element */ member 82 void *sqliteHashInsert(Hash*, const void *pKey, int nKey, void *pData); 83 void *sqliteHashFind(const Hash*, const void *pKey, int nKey); 102 #define sqliteHashKeysize(E) ((E)->nKey)
|
H A D | btree.h | 71 int (*Moveto)(BtCursor*, const void *pKey, int nKey, int *pRes); 73 int (*Insert)(BtCursor*, const void *pKey, int nKey, 81 int (*KeyCompare)(BtCursor*, const void *pKey, int nKey, 121 #define sqliteBtreeMoveto(pCur, pKey, nKey, pRes)\ argument 122 (btCOps(pCur)->Moveto(pCur, pKey, nKey, pRes)) 124 #define sqliteBtreeInsert(pCur, pKey, nKey, pData, nData) \ argument 125 (btCOps(pCur)->Insert(pCur, pKey, nKey, pData, nData)) 133 #define sqliteBtreeKeyCompare(pCur, pKey, nKey, nIgnore, pRes)\ argument 134 (btCOps(pCur)->KeyCompare(pCur, pKey, nKey, nIgnore, pRes))
|
H A D | btree_rb.c | 58 int nKey; member 121 int nKey; member 137 int nKey, 748 int nKey, in memRbtreeInsert() argument 785 pNode->nKey = nKey; in memRbtreeInsert() 822 pOp->nKey = pNode->nKey; in memRbtreeInsert() 838 pOp->nKey = pCur->pNode->nKey; in memRbtreeInsert() 874 int nKey, in memRbtreeMoveto() argument 945 pOp->nKey = pZ->nKey; in memRbtreeDelete() 972 pZ->nKey = pCur->pNode->nKey; in memRbtreeDelete() [all …]
|
H A D | vdbeInt.h | 89 int nKey; /* Number of bytes in the key */ member 180 int nKey; /* Number of bytes in the key, including '\0' at end */ member 203 int nKey; /* Number of slots in aKey[] */ member
|
H A D | attach.c | 98 int nKey; in sqliteAttach() local 102 nKey = strlen(zKey); in sqliteAttach() 105 nKey = 0; in sqliteAttach() 107 sqliteCodecAttach(db, db->nDb-1, zKey, nKey); in sqliteAttach()
|
H A D | vdbe.c | 165 pElem->nKey = nKey; in AggInsert() 2706 nKey = pNos->n; in sqliteVdbeExec() 2707 assert( nKey >= 4 ); in sqliteVdbeExec() 2927 int nKey, iKey; in sqliteVdbeExec() local 2930 nKey = pNos->n; in sqliteVdbeExec() 2934 nKey = sizeof(int); in sqliteVdbeExec() 3439 int nKey = pTos->n; in sqliteVdbeExec() local 3443 assert( nKey >= 4 ); in sqliteVdbeExec() 3449 if( n==nKey in sqliteVdbeExec() 4484 int nKey; in sqliteVdbeExec() local [all …]
|
H A D | btree.c | 1343 n = nKey<nLocal ? nKey : nLocal; in fileBtreeKeyCompare() 1353 nKey -= n; in fileBtreeKeyCompare() 1356 while( nKey>0 && nLocal>0 ){ in fileBtreeKeyCompare() 1366 n = nKey<nLocal ? nKey : nLocal; in fileBtreeKeyCompare() 1376 nKey -= n; in fileBtreeKeyCompare() 1381 c = nLocal - nKey; in fileBtreeKeyCompare() 1912 const void *pKey, int nKey, /* The key */ in fillInCell() argument 1925 pCell->h.nKey = SWAB16(pBt, nKey & 0xffff); in fillInCell() 1926 pCell->h.nKeyHi = nKey >> 16; in fillInCell() 1936 nPayload = nKey; in fillInCell() [all …]
|
H A D | sqlite.h.in | 821 ** Open an encrypted SQLite database. If pKey==0 or nKey==0, this routine 830 int nKey, /* Number of bytes in the key */ 845 const void *pKey, int nKey /* The new key */
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.h | 4204 const void *pKey, int nKey /* The key */ 4217 const void *pKey, int nKey /* The new key */
|
H A D | sqlite3.c | 21760 nKey--; in strHash() 21857 if( elem->nKey==nKey && sqlite3StrNICmp(elem->pKey,pKey,nKey)==0 ){ in findElementGivenHash() 21954 assert(nKey==elem->nKey); in sqlite3HashInsert() 21962 new_elem->nKey = nKey; in sqlite3HashInsert() 48176 assert( nKey==(i64)(int)nKey ); 51568 nKey = (int)pCur->info.nKey; 52792 assert( info.nKey==nKey ); 117310 for(nKey=5; zInput[nKey]>='0' && zInput[nKey]<='9'; nKey++){ 117972 if( nKey<=0 ) nKey = (int) strlen(z); 118157 int nKey [all …]
|