Home
last modified time | relevance | path

Searched refs:iHash (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/sqlite3/
H A Dshell.c12153 int iHash = idxHashString(zKey, nKey); in idxHashAdd() local
12156 assert( iHash>=0 ); in idxHashAdd()
12157 for(pEntry=pHash->aHash[iHash]; pEntry; pEntry=pEntry->pHashNext){ in idxHashAdd()
12170 pEntry->pHashNext = pHash->aHash[iHash]; in idxHashAdd()
12171 pHash->aHash[iHash] = pEntry; in idxHashAdd()
12184 int iHash; in idxHashFind() local
12187 iHash = idxHashString(zKey, nKey); in idxHashFind()
12188 assert( iHash>=0 ); in idxHashFind()
12189 for(pEntry=pHash->aHash[iHash]; pEntry; pEntry=pEntry->pHashNext){ in idxHashFind()
H A Dsqlite3.c66072 int iHash, /* Find the iHash'th table */
66077 rc = walIndexPage(pWal, iHash, &pLoc->aPgno);
66078 assert( rc==SQLITE_OK || iHash>0 );
66082 if( iHash==0 ){
66086 pLoc->iZero = HASHTABLE_NPAGE_ONE + (iHash-1)*HASHTABLE_NPAGE;
66101 int iHash = (iFrame+HASHTABLE_NPAGE-HASHTABLE_NPAGE_ONE-1) / HASHTABLE_NPAGE;
66102 assert( (iHash==0 || iFrame>HASHTABLE_NPAGE_ONE)
66103 && (iHash>=1 || iFrame<=HASHTABLE_NPAGE_ONE)
66104 && (iHash<=1 || iFrame>(HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE))
66105 && (iHash>=2 || iFrame<=HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE)
[all …]