Home
last modified time | relevance | path

Searched refs:nKey (Results 1 – 11 of 11) sorted by relevance

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dhash.c71 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 Dhash.h53 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 Dbtree.h71 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 Dbtree_rb.c58 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 DvdbeInt.h89 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 Dattach.c98 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 Dvdbe.c165 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 Dbtree.c1343 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 Dsqlite.h.in821 ** 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 Dsqlite3.h4204 const void *pKey, int nKey /* The key */
4217 const void *pKey, int nKey /* The new key */
H A Dsqlite3.c21760 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 …]

Completed in 404 milliseconds