Home | History | Annotate | Download | only in fts3

Lines Matching full:nkey

97 static int fts3StrHash(const void *pKey, int nKey){
100 if( nKey<=0 ) nKey = (int) strlen(z);
101 while( nKey > 0 ){
103 nKey--;
115 static int fts3BinHash(const void *pKey, int nKey){
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,pKey,nKey)==0 ){
285 int nKey
293 h = (*xHash)(pKey,nKey);
295 return fts3FindElementByHash(pH,pKey,nKey, h & (pH->htsize-1));
300 ** that matches pKey,nKey. Return the data for this element if it is
303 void *sqlite3Fts3HashFind(const Fts3Hash *pH, const void *pKey, int nKey){
306 pElem = sqlite3Fts3HashFindElem(pH, pKey, nKey);
310 /* Insert an element into the hash table pH. The key is pKey,nKey
328 int nKey, /* Number of bytes in the key */
340 hraw = (*xHash)(pKey, nKey);
343 elem = fts3FindElementByHash(pH,pKey,nKey,h);
364 new_elem->pKey = fts3HashMalloc( nKey );
369 memcpy((void*)new_elem->pKey, pKey, nKey);
373 new_elem->nKey = nKey;