Lines Matching defs:nKey
12152 int nKey = STRLEN(zKey);
12153 int iHash = idxHashString(zKey, nKey);
12158 if( STRLEN(pEntry->zKey)==nKey && 0==memcmp(pEntry->zKey, zKey, nKey) ){
12162 pEntry = idxMalloc(pRc, sizeof(IdxHashEntry) + nKey+1 + nVal+1);
12165 memcpy(pEntry->zKey, zKey, nKey);
12167 pEntry->zVal = &pEntry->zKey[nKey+1];
12180 ** If zKey/nKey is present in the hash table, return a pointer to the
12183 static IdxHashEntry *idxHashFind(IdxHash *pHash, const char *zKey, int nKey){
12186 if( nKey<0 ) nKey = STRLEN(zKey);
12187 iHash = idxHashString(zKey, nKey);
12190 if( STRLEN(pEntry->zKey)==nKey && 0==memcmp(pEntry->zKey, zKey, nKey) ){
12200 ** to the payload string. Otherwise, if zKey/nKey is not present in the
12203 static const char *idxHashSearch(IdxHash *pHash, const char *zKey, int nKey){
12204 IdxHashEntry *pEntry = idxHashFind(pHash, zKey, nKey);