Lines Matching refs:nKey
8593 int nKey = STRLEN(zKey);
8594 int iHash = idxHashString(zKey, nKey);
8599 if( STRLEN(pEntry->zKey)==nKey && 0==memcmp(pEntry->zKey, zKey, nKey) ){
8603 pEntry = idxMalloc(pRc, sizeof(IdxHashEntry) + nKey+1 + nVal+1);
8606 memcpy(pEntry->zKey, zKey, nKey);
8608 pEntry->zVal = &pEntry->zKey[nKey+1];
8621 ** If zKey/nKey is present in the hash table, return a pointer to the
8624 static IdxHashEntry *idxHashFind(IdxHash *pHash, const char *zKey, int nKey){
8627 if( nKey<0 ) nKey = STRLEN(zKey);
8628 iHash = idxHashString(zKey, nKey);
8631 if( STRLEN(pEntry->zKey)==nKey && 0==memcmp(pEntry->zKey, zKey, nKey) ){
8641 ** to the payload string. Otherwise, if zKey/nKey is not present in the
8644 static const char *idxHashSearch(IdxHash *pHash, const char *zKey, int nKey){
8645 IdxHashEntry *pEntry = idxHashFind(pHash, zKey, nKey);