Home | History | Annotate | Download | only in fts1

Lines Matching full:nkey

92 static int strHash(const void *pKey, int nKey){
95 if( nKey<=0 ) nKey = (int) strlen(z);
96 while( nKey > 0 ){
98 nKey--;
110 static int binHash(const void *pKey, int nKey){
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,pKey,nKey)==0 ){
275 ** that matches pKey,nKey. Return the data for this element if it is
278 void *sqlite3Fts1HashFind(const fts1Hash *pH, const void *pKey, int nKey){
286 h = (*xHash)(pKey,nKey);
288 elem = findElementGivenHash(pH,pKey,nKey, h & (pH->htsize-1));
292 /* Insert an element into the hash table pH. The key is pKey,nKey
310 int nKey, /* Number of bytes in the key */
322 hraw = (*xHash)(pKey, nKey);
325 elem = findElementGivenHash(pH,pKey,nKey,h);
339 new_elem->pKey = pH->xMalloc( nKey );
344 memcpy((void*)new_elem->pKey, pKey, nKey);
348 new_elem->nKey = nKey;