Home
last modified time | relevance | path

Searched refs:pHash (Results 1 – 8 of 8) sorted by relevance

/freebsd/stand/ficl/
H A Ddict.c411 FICL_HASH *pHash; in dictCreateWordlist() local
414 pHash = (FICL_HASH *)dp->here; in dictCreateWordlist()
418 pHash->size = nBuckets; in dictCreateWordlist()
419 hashReset(pHash); in dictCreateWordlist()
420 return pHash; in dictCreateWordlist()
443 FICL_HASH *pHash; in dictEmpty() local
448 pHash = (FICL_HASH *)pDict->here; in dictEmpty()
452 pHash->size = nHash; in dictEmpty()
453 hashReset(pHash); in dictEmpty()
455 pDict->pForthWords = pHash; in dictEmpty()
[all …]
H A Dprefix.c75 FICL_HASH *pHash; in ficlParsePrefix() local
85 pHash = (FICL_HASH *)(pFW->param[0].p); in ficlParsePrefix()
89 for (i = 0; i < (int)pHash->size; i++) in ficlParsePrefix()
91 pFW = pHash->table[i]; in ficlParsePrefix()
160 FICL_HASH *pHash; in ficlCompilePrefix() local
171 pHash = dictCreateWordlist(dp, 1); in ficlCompilePrefix()
172 pHash->name = list_name; in ficlCompilePrefix()
174 dictAppendCell(dp, LVALUEtoCELL(pHash)); in ficlCompilePrefix()
185 dp->pCompile = pHash; in ficlCompilePrefix()
H A Dsearch.c81 FICL_HASH *pHash = vmGetDict(pVM)->pForthWords; in forthWordlist() local
82 stackPushPtr(pVM->pStack, pHash); in forthWordlist()
140 FICL_HASH *pHash = stackPopPtr(pVM->pStack); in searchWordlist() local
147 pFW = hashLookup(pHash, si, hashCode); in searchWordlist()
171 FICL_HASH *pHash = stackPopPtr(pVM->pStack); in setCurrent() local
174 pDict->pCompile = pHash; in setCurrent()
240 FICL_HASH *pHash; in ficlWordlist() local
247 pHash = dictCreateWordlist(dp, nBuckets); in ficlWordlist()
248 stackPushPtr(pVM->pStack, pHash); in ficlWordlist()
302 FICL_HASH *pHash = vmPop(pVM).p; in widGetName() local
[all …]
H A Dtools.c697 FICL_HASH *pHash; in forgetWid() local
699 pHash = (FICL_HASH *)stackPopPtr(pVM->pStack); in forgetWid()
700 hashForget(pHash, pDict->here); in forgetWid()
722 FICL_HASH *pHash = pDict->pCompile; in forget() local
726 hashForget(pHash, where); in forget()
741 FICL_HASH *pHash = dp->pSearch[dp->nLists - 1]; in listWords() local
751 for (i = 0; i < pHash->size; i++) in listWords()
753 for (wp = pHash->table[i]; wp != NULL; wp = wp->link, nWords++) in listWords()
818 FICL_HASH *pHash = dp->pForthWords; in listEnv() local
823 for (i = 0; i < pHash->size; i++) in listEnv()
[all …]
H A Dtestmain.c214 FICL_HASH *pHash = vmGetDict(pVM)->pForthWords; in spewHash() local
218 unsigned nHash = pHash->size; in spewHash()
234 pFW = pHash->table[i]; in spewHash()
243 pFW = pHash->table[i]; in spewHash()
H A Dficl.h691 void hashForget (FICL_HASH *pHash, void *where);
693 void hashInsertWord(FICL_HASH *pHash, FICL_WORD *pFW);
694 FICL_WORD *hashLookup (FICL_HASH *pHash, STRINGINFO si, UNS16 hashCode);
695 void hashReset (FICL_HASH *pHash);
/freebsd/contrib/sqlite3/
H A Dsqlite3.c17946 FuncDef *pHash; /* Next with a different name but the same hash */ member
37044 unsigned int *pHash /* Write the hash value here */
37062 if( pHash ) *pHash = h;
121947 Hash *pHash;
121950 pHash = &db->aDb[iDb].pSchema->idxHash;
121951 pIndex = sqlite3HashInsert(pHash, zIdxName, 0);
122785 Hash *pHash;
122786 pHash = &(db->aDb[1].pSchema->trigHash);
122787 sqlite3HashInsert(pHash, pRet->zName, 0);
122810 Hash *pHash;
[all …]
H A Dshell.c12107 static void idxHashInit(IdxHash *pHash){ in idxHashInit() argument
12108 memset(pHash, 0, sizeof(IdxHash)); in idxHashInit()
12114 static void idxHashClear(IdxHash *pHash){ in idxHashClear() argument
12119 for(pEntry=pHash->aHash[i]; pEntry; pEntry=pNext){ in idxHashClear()
12125 memset(pHash, 0, sizeof(IdxHash)); in idxHashClear()
12148 IdxHash *pHash, in idxHashAdd() argument
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()
12173 pEntry->pNext = pHash->pFirst; in idxHashAdd()
[all …]