Lines Matching refs:zKey
9497 char *zKey; /* nul-terminated key */
9583 ** If zKey is already present in the hash table, return non-zero and do
9584 ** nothing. Otherwise, add an entry with key zKey and payload string zVal to
9590 const char *zKey,
9593 int nKey = STRLEN(zKey);
9594 int iHash = idxHashString(zKey, nKey);
9599 if( STRLEN(pEntry->zKey)==nKey && 0==memcmp(pEntry->zKey, zKey, nKey) ){
9605 pEntry->zKey = (char*)&pEntry[1];
9606 memcpy(pEntry->zKey, zKey, nKey);
9608 pEntry->zVal = &pEntry->zKey[nKey+1];
9621 ** If zKey/nKey is present in the hash table, return a pointer to the
9624 static IdxHashEntry *idxHashFind(IdxHash *pHash, const char *zKey, int nKey){
9627 if( nKey<0 ) nKey = STRLEN(zKey);
9628 iHash = idxHashString(zKey, nKey);
9631 if( STRLEN(pEntry->zKey)==nKey && 0==memcmp(pEntry->zKey, zKey, nKey) ){
9641 ** to the payload string. Otherwise, if zKey/nKey is not present in the
9644 static const char *idxHashSearch(IdxHash *pHash, const char *zKey, int nKey){
9645 IdxHashEntry *pEntry = idxHashFind(pHash, zKey, nKey);
10602 pStmt->zIdx = idxAppendText(&rc, pStmt->zIdx, "%s;\n", pEntry->zKey);
23722 const char *zKey = azArg[2];
23727 "VALUES(%Q,%s);", zKey, zValue);
23737 "VALUES(%Q,%Q);", zKey, zValue);