Searched refs:nKey (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/sqlite/src/src/
H A Dhash.h62 const char *pKey; int nKey; /* Key associated with this element */ member in struct:HashElem
69 void *sqlite3HashInsert(Hash*, const char *pKey, int nKey, void *pData);
70 void *sqlite3HashFind(const Hash*, const char *pKey, int nKey);
89 /* #define sqliteHashKeysize(E) ((E)->nKey) // NOT USED */
H A Dhash.c55 static unsigned int strHash(const char *z, int nKey){ argument
57 assert( nKey>=0 );
58 while( nKey > 0 ){
60 nKey--;
128 unsigned int h = strHash(elem->pKey, elem->nKey) % new_size;
142 int nKey, /* Bytes in key (not counting zero terminator) */
157 if( elem->nKey==nKey && sqlite3StrNICmp(elem->pKey,pKey,nKey)==0 ){
200 ** that matches pKey,nKey
139 findElementGivenHash( const Hash *pH, const char *pKey, int nKey, unsigned int h ) argument
203 sqlite3HashFind(const Hash *pH, const char *pKey, int nKey) argument
233 sqlite3HashInsert(Hash *pH, const char *pKey, int nKey, void *data) argument
[all...]
H A Dattach.c159 int nKey; local
171 nKey = sqlite3_value_bytes(argv[2]);
173 rc = sqlite3CodecAttach(db, db->nDb-1, zKey, nKey);
178 sqlite3CodecGetKey(db, 0, (void**)&zKey, &nKey);
179 if( nKey>0 || sqlite3BtreeGetReserve(db->aDb[0].pBt)>0 ){
180 rc = sqlite3CodecAttach(db, db->nDb-1, zKey, nKey);
H A DbtreeInt.h449 i64 nKey; /* The key for INTKEY tables, or number of bytes in key */ member in struct:CellInfo
492 i64 nKey; /* Size of pKey, or last integer key */ member in struct:BtCursor
497 u8 validNKey; /* True if info.nKey is valid */
522 ** in variables BtCursor.pKey and BtCursor.nKey. When a cursor is in
H A Dvacuum.c172 int nKey; local
174 sqlite3CodecGetKey(db, 0, (void**)&zKey, &nKey);
175 if( nKey ) db->nextPagesize = 0;
H A Dbtree.c477 if( p->isIncrblobHandle && (isClearTable || p->info.nKey==iRow) ){
562 ** Save the current cursor position in the variables BtCursor.nKey
575 rc = sqlite3BtreeKeySize(pCur, &pCur->nKey);
579 ** stores the integer key in pCur->nKey. In this case this value is
581 ** table, then malloc space for and store the pCur->nKey bytes of key
585 void *pKey = sqlite3Malloc( (int)pCur->nKey );
587 rc = sqlite3BtreeKey(pCur, 0, (int)pCur->nKey, pKey);
652 i64 nKey, /* Integer key for tables. Size of pKey for indices */
661 assert( nKey==(i64)(int)nKey );
649 btreeMoveto( BtCursor *pCur, const void *pKey, i64 nKey, int bias, int *pRes ) argument
3830 u32 nKey; local
4028 u32 nKey; local
5228 fillInCell( MemPage *pPage, unsigned char *pCell, const void *pKey, i64 nKey, const void *pData,int nData, int nZero, int *pnSize ) argument
6640 sqlite3BtreeInsert( BtCursor *pCur, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int appendBias, int seekResult ) argument
[all...]
H A Dbtree.h158 int sqlite3BtreeInsert(BtCursor*, const void *pKey, i64 nKey,
H A Dtest_malloc.c752 int nKey = sizeof(int)*MALLOC_LOG_KEYINTS; local
754 memset(aKey, 0, nKey);
755 if( (sizeof(void*)*nFrame)<nKey ){
756 nKey = nFrame*sizeof(void*);
758 memcpy(aKey, aFrame, nKey);
H A Dsqlite.h.in4041 const void *pKey, int nKey /* The key */
4054 const void *pKey, int nKey /* The new key */
/external/chromium_org/third_party/sqlite/src/ext/fts1/
H A Dft_hash.h55 void *pKey; int nKey; /* Key associated with this element */ member in struct:HashElem
61 ** HASH_INT nKey is used as the key and pKey is ignored.
63 ** HASH_POINTER pKey is used as the key and nKey is ignored.
65 ** HASH_STRING pKey points to a string that is nKey bytes long
69 ** HASH_BINARY pKey points to binary data nKey bytes long.
84 void *HashInsert(Hash*, const void *pKey, int nKey, void *pData);
85 void *HashFind(const Hash*, const void *pKey, int nKey);
104 #define HashKeysize(E) ((E)->nKey)
H A Dfts1_hash.h55 void *pKey; int nKey; /* Key associated with this element */ member in struct:fts1HashElem
61 ** FTS1_HASH_STRING pKey points to a string that is nKey bytes long
65 ** FTS1_HASH_BINARY pKey points to binary data nKey bytes long.
77 void *sqlite3Fts1HashInsert(fts1Hash*, const void *pKey, int nKey, void *pData);
78 void *sqlite3Fts1HashFind(const fts1Hash*, const void *pKey, int nKey);
105 #define fts1HashKeysize(E) ((E)->nKey)
H A Dft_hash.c86 static int intHash(const void *pKey, int nKey){
87 return nKey ^ (nKey<<8) ^ (nKey>>8);
98 static int ptrHash(const void *pKey, int nKey){
112 static int strHash(const void *pKey, int nKey){ argument
115 if( nKey<=0 ) nKey = (int) strlen(z);
116 while( nKey > 0 ){
118 nKey
130 binHash(const void *pKey, int nKey) argument
254 findElementGivenHash( const Hash *pH, const void *pKey, int nKey, int h ) argument
320 HashFind(const Hash *pH, const void *pKey, int nKey) argument
349 HashInsert(Hash *pH, const void *pKey, int nKey, void *data) argument
[all...]
H A Dfts1_hash.c92 static int strHash(const void *pKey, int nKey){ argument
95 if( nKey<=0 ) nKey = (int) strlen(z);
96 while( nKey > 0 ){
98 nKey--;
110 static int binHash(const void *pKey, int nKey){ argument
113 while( nKey-- > 0 ){
202 int h = (*xHash)(elem->pKey, elem->nKey) & (new_size-1);
215 int nKey,
228 if( (*xCompare)(elem->pKey,elem->nKey,pKe
212 findElementGivenHash( const fts1Hash *pH, const void *pKey, int nKey, int h ) argument
278 sqlite3Fts1HashFind(const fts1Hash *pH, const void *pKey, int nKey) argument
307 sqlite3Fts1HashInsert( fts1Hash *pH, const void *pKey, int nKey, void *data ) argument
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts2/
H A Dfts2_hash.h53 void *pKey; int nKey; /* Key associated with this element */ member in struct:fts2HashElem
59 ** FTS2_HASH_STRING pKey points to a string that is nKey bytes long
63 ** FTS2_HASH_BINARY pKey points to binary data nKey bytes long.
75 void *sqlite3Fts2HashInsert(fts2Hash*, const void *pKey, int nKey, void *pData);
76 void *sqlite3Fts2HashFind(const fts2Hash*, const void *pKey, int nKey);
103 #define fts2HashKeysize(E) ((E)->nKey)
H A Dfts2_hash.c97 static int strHash(const void *pKey, int nKey){ argument
100 if( nKey<=0 ) nKey = (int) strlen(z);
101 while( nKey > 0 ){
103 nKey--;
115 static int binHash(const void *pKey, int nKey){ argument
118 while( nKey-- > 0 ){
207 int h = (*xHash)(elem->pKey, elem->nKey) & (new_size-1);
220 int nKey,
233 if( (*xCompare)(elem->pKey,elem->nKey,pKe
217 findElementGivenHash( const fts2Hash *pH, const void *pKey, int nKey, int h ) argument
283 sqlite3Fts2HashFind(const fts2Hash *pH, const void *pKey, int nKey) argument
312 sqlite3Fts2HashInsert( fts2Hash *pH, const void *pKey, int nKey, void *data ) argument
[all...]
/external/chromium_org/third_party/sqlite/src/ext/fts3/
H A Dfts3_hash.h53 void *pKey; int nKey; /* Key associated with this element */ member in struct:Fts3HashElem
59 ** FTS3_HASH_STRING pKey points to a string that is nKey bytes long
63 ** FTS3_HASH_BINARY pKey points to binary data nKey bytes long.
75 void *sqlite3Fts3HashInsert(Fts3Hash*, const void *pKey, int nKey, void *pData);
76 void *sqlite3Fts3HashFind(const Fts3Hash*, const void *pKey, int nKey);
105 #define fts3HashKeysize(E) ((E)->nKey)
H A Dfts3_hash.c97 static int fts3StrHash(const void *pKey, int nKey){ argument
100 if( nKey<=0 ) nKey = (int) strlen(z);
101 while( nKey > 0 ){
103 nKey--;
115 static int fts3BinHash(const void *pKey, int nKey){ argument
118 while( nKey-- > 0 ){
209 int h = (*xHash)(elem->pKey, elem->nKey) & (new_size-1);
223 int nKey,
236 if( (*xCompare)(elem->pKey,elem->nKey,pKe
220 fts3FindElementByHash( const Fts3Hash *pH, const void *pKey, int nKey, int h ) argument
303 sqlite3Fts3HashFind(const Fts3Hash *pH, const void *pKey, int nKey) argument
325 sqlite3Fts3HashInsert( Fts3Hash *pH, const void *pKey, int nKey, void *data ) argument
[all...]
H A Dfts3_expr.c365 int nKey = pKey->n; local
370 assert( nKey==4 );
373 for(nKey=5; zInput[nKey]>='0' && zInput[nKey]<='9'; nKey++){
374 nNear = nNear * 10 + (zInput[nKey] - '0');
383 cNext = zInput[nKey];
394 *pnConsumed = (int)((zInput - z) + nKey);
H A Dfts3.c873 int nKey; local
886 else if( isFts4 && fts3IsSpecialColumn(z, &nKey, &zVal) ){
891 if( nKey==9 && 0==sqlite3_strnicmp(z, "matchinfo", 9) ){
898 }else if( nKey==8 && 0==sqlite3_strnicmp(z, "compress", 8) ){
901 }else if( nKey==10 && 0==sqlite3_strnicmp(z, "uncompress", 10) ){
/external/sqlite/dist/orig/
H A Dsqlite3.h4622 const void *pKey, int nKey /* The key */
4627 const void *pKey, int nKey /* The key */
4640 const void *pKey, int nKey /* The new key */
4645 const void *pKey, int nKey /* The new key */
H A Dsqlite3.c4737 const void *pKey, int nKey /* The key */
4742 const void *pKey, int nKey /* The key */
4755 const void *pKey, int nKey /* The new key */
4760 const void *pKey, int nKey /* The new key */
8159 const char *pKey; int nKey; /* Key associated with this element */ member in struct:HashElem
8166 SQLITE_PRIVATE void *sqlite3HashInsert(Hash*, const char *pKey, int nKey, void *pData);
8167 SQLITE_PRIVATE void *sqlite3HashFind(const Hash*, const char *pKey, int nKey);
8186 /* #define sqliteHashKeysize(E) ((E)->nKey) // NOT USED */
9005 SQLITE_PRIVATE int sqlite3BtreeInsert(BtCursor*, const void *pKey, i64 nKey,
23660 static unsigned int strHash(const char *z, int nKey){ argument
23748 findElementGivenHash( const Hash *pH, const char *pKey, int nKey, unsigned int h ) argument
23812 sqlite3HashFind(const Hash *pH, const char *pKey, int nKey) argument
23842 sqlite3HashInsert(Hash *pH, const char *pKey, int nKey, void *data) argument
51054 i64 nKey; /* The key for INTKEY tables, or number of bytes in key */ member in struct:CellInfo
51096 i64 nKey; /* Size of pKey, or last integer key */ member in struct:BtCursor
52211 btreeMoveto( BtCursor *pCur, const void *pKey, i64 nKey, int bias, int *pRes ) argument
55504 u32 nKey; local
57054 fillInCell( MemPage *pPage, unsigned char *pCell, const void *pKey, i64 nKey, const void *pData,int nData, int nZero, int *pnSize ) argument
58495 sqlite3BtreeInsert( BtCursor *pCur, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int appendBias, int seekResult ) argument
65326 sqlite3VdbeRecordUnpack( KeyInfo *pKeyInfo, int nKey, const void *pKey, UnpackedRecord *p ) argument
72721 int nKey; local
75117 int nKey; /* Number of bytes in key */ member in struct:VdbeSorterIter
76059 void *pKey; int nKey; /* Sorter key to copy into pOut */ local
76089 void *pKey; int nKey; /* Sorter key to compare pVal with */ local
85436 int nKey; local
90257 int nKey = pIdx->nKeyCol; local
91077 i16 nKey; /* Number of memory cells in the row key */ local
101934 int nKey; /* Number of sorting key columns, including OP_Sequence */ local
102315 int nKey; local
102582 int nKey; local
108316 int nKey = 0; /* Number of elements in regKey for WITHOUT ROWID */ local
109152 int nKey; local
126506 void *pKey; int nKey; /* Key associated with this element */ member in struct:Fts3HashElem
127982 int nKey; local
133628 int nKey = pKey->n; local
134567 fts3StrHash(const void *pKey, int nKey) argument
134585 fts3BinHash(const void *pKey, int nKey) argument
134690 fts3FindElementByHash( const Fts3Hash *pH, const void *pKey, int nKey, int h ) argument
134773 sqlite3Fts3HashFind(const Fts3Hash *pH, const void *pKey, int nKey) argument
134795 sqlite3Fts3HashInsert( Fts3Hash *pH, const void *pKey, int nKey, void *data ) argument
138381 int nKey = fts3HashKeysize(pE); local
140852 fts3IncrmergeLoad( Fts3Table *p, sqlite3_int64 iAbsLevel, int iIdx, const char *zKey, int nKey, IncrmergeWriter *pWriter ) argument
141589 int nKey = pCsr->nTerm; local
[all...]
/external/sqlite/dist/
H A Dsqlite3.h4622 const void *pKey, int nKey /* The key */
4627 const void *pKey, int nKey /* The key */
4640 const void *pKey, int nKey /* The new key */
4645 const void *pKey, int nKey /* The new key */
H A Dsqlite3.c4737 const void *pKey, int nKey /* The key */
4742 const void *pKey, int nKey /* The key */
4755 const void *pKey, int nKey /* The new key */
4760 const void *pKey, int nKey /* The new key */
8159 const char *pKey; int nKey; /* Key associated with this element */ member in struct:HashElem
8166 SQLITE_PRIVATE void *sqlite3HashInsert(Hash*, const char *pKey, int nKey, void *pData);
8167 SQLITE_PRIVATE void *sqlite3HashFind(const Hash*, const char *pKey, int nKey);
8186 /* #define sqliteHashKeysize(E) ((E)->nKey) // NOT USED */
9005 SQLITE_PRIVATE int sqlite3BtreeInsert(BtCursor*, const void *pKey, i64 nKey,
23660 static unsigned int strHash(const char *z, int nKey){ argument
23748 findElementGivenHash( const Hash *pH, const char *pKey, int nKey, unsigned int h ) argument
23812 sqlite3HashFind(const Hash *pH, const char *pKey, int nKey) argument
23842 sqlite3HashInsert(Hash *pH, const char *pKey, int nKey, void *data) argument
51074 i64 nKey; /* The key for INTKEY tables, or number of bytes in key */ member in struct:CellInfo
51116 i64 nKey; /* Size of pKey, or last integer key */ member in struct:BtCursor
52231 btreeMoveto( BtCursor *pCur, const void *pKey, i64 nKey, int bias, int *pRes ) argument
55524 u32 nKey; local
57074 fillInCell( MemPage *pPage, unsigned char *pCell, const void *pKey, i64 nKey, const void *pData,int nData, int nZero, int *pnSize ) argument
58515 sqlite3BtreeInsert( BtCursor *pCur, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int appendBias, int seekResult ) argument
65346 sqlite3VdbeRecordUnpack( KeyInfo *pKeyInfo, int nKey, const void *pKey, UnpackedRecord *p ) argument
72741 int nKey; local
75137 int nKey; /* Number of bytes in key */ member in struct:VdbeSorterIter
76079 void *pKey; int nKey; /* Sorter key to copy into pOut */ local
76109 void *pKey; int nKey; /* Sorter key to compare pVal with */ local
85456 int nKey; local
90277 int nKey = pIdx->nKeyCol; local
91097 i16 nKey; /* Number of memory cells in the row key */ local
101954 int nKey; /* Number of sorting key columns, including OP_Sequence */ local
102335 int nKey; local
102602 int nKey; local
108336 int nKey = 0; /* Number of elements in regKey for WITHOUT ROWID */ local
109172 int nKey; local
126526 void *pKey; int nKey; /* Key associated with this element */ member in struct:Fts3HashElem
128002 int nKey; local
133660 int nKey = pKey->n; local
134599 fts3StrHash(const void *pKey, int nKey) argument
134617 fts3BinHash(const void *pKey, int nKey) argument
134722 fts3FindElementByHash( const Fts3Hash *pH, const void *pKey, int nKey, int h ) argument
134805 sqlite3Fts3HashFind(const Fts3Hash *pH, const void *pKey, int nKey) argument
134827 sqlite3Fts3HashInsert( Fts3Hash *pH, const void *pKey, int nKey, void *data ) argument
138413 int nKey = fts3HashKeysize(pE); local
140884 fts3IncrmergeLoad( Fts3Table *p, sqlite3_int64 iAbsLevel, int iIdx, const char *zKey, int nKey, IncrmergeWriter *pWriter ) argument
141621 int nKey = pCsr->nTerm; local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.h4046 const void *pKey, int nKey /* The key */
4059 const void *pKey, int nKey /* The new key */
H A Dsqlite3.c4589 const void *pKey, int nKey /* The key */
4602 const void *pKey, int nKey /* The new key */
7085 const char *pKey; int nKey; /* Key associated with this element */ member in struct:HashElem
7092 SQLITE_PRIVATE void *sqlite3HashInsert(Hash*, const char *pKey, int nKey, void *pData);
7093 SQLITE_PRIVATE void *sqlite3HashFind(const Hash*, const char *pKey, int nKey);
7112 /* #define sqliteHashKeysize(E) ((E)->nKey) // NOT USED */
7784 SQLITE_PRIVATE int sqlite3BtreeInsert(BtCursor*, const void *pKey, i64 nKey,
21426 static unsigned int strHash(const char *z, int nKey){ argument
21428 assert( nKey>=0 );
21429 while( nKey >
21510 findElementGivenHash( const Hash *pH, const char *pKey, int nKey, unsigned int h ) argument
21574 sqlite3HashFind(const Hash *pH, const char *pKey, int nKey) argument
21604 sqlite3HashInsert(Hash *pH, const char *pKey, int nKey, void *data) argument
46651 i64 nKey; /* The key for INTKEY tables, or number of bytes in key */ member in struct:CellInfo
46694 i64 nKey; /* Size of pKey, or last integer key */ member in struct:BtCursor
47768 btreeMoveto( BtCursor *pCur, const void *pKey, i64 nKey, int bias, int *pRes ) argument
50949 u32 nKey; local
51147 u32 nKey; local
52347 fillInCell( MemPage *pPage, unsigned char *pCell, const void *pKey, i64 nKey, const void *pData,int nData, int nZero, int *pnSize ) argument
53759 sqlite3BtreeInsert( BtCursor *pCur, const void *pKey, i64 nKey, const void *pData, int nData, int nZero, int appendBias, int seekResult ) argument
59929 sqlite3VdbeRecordUnpack( KeyInfo *pKeyInfo, int nKey, const void *pKey, char *pSpace, int szSpace ) argument
62733 int nKey; member in struct:vdbeExecUnion::OP_IdxInsert_stack_vars
76202 int nKey; local
96537 int nKey; local
112942 void *pKey; int nKey; /* Key associated with this element */ member in struct:Fts3HashElem
113934 int nKey; local
117601 int nKey = pKey->n; local
118267 fts3StrHash(const void *pKey, int nKey) argument
118285 fts3BinHash(const void *pKey, int nKey) argument
118390 fts3FindElementByHash( const Fts3Hash *pH, const void *pKey, int nKey, int h ) argument
118473 sqlite3Fts3HashFind(const Fts3Hash *pH, const void *pKey, int nKey) argument
118495 sqlite3Fts3HashInsert( Fts3Hash *pH, const void *pKey, int nKey, void *data ) argument
121168 int nKey = fts3HashKeysize(pE); local
[all...]

Completed in 1431 milliseconds

12