Lines Matching refs:Word

43 typedef  signed long   Word;  typedef
66 Word (*kCmp)(Word,Word) );
71 Word (*kCmp)(Word,Word) );
75 void deleteFM ( WordFM*, void(*kFin)(Word), void(*vFin)(Word) );
80 void addToFM ( WordFM* fm, Word k, Word v );
83 Bool delFromFM ( WordFM* fm, /*OUT*/Word* oldV, Word key );
86 Bool lookupFM ( WordFM* fm, /*OUT*/Word* valP, Word key );
88 Word sizeFM ( WordFM* fm );
95 Bool nextIterFM ( WordFM* fm, /*OUT*/Word* pKey, /*OUT*/Word* pVal );
106 WordFM* dopyFM ( WordFM* fm, Word(*dopyK)(Word), Word(*dopyV)(Word) );
366 (Word(*)(Word))dopy_Counts ); in dopy_InnerMap()
371 deleteFM( innerMap, NULL, (void(*)(Word))ddel_Counts ); in ddel_InnerMap()
389 deleteFM( cpf->outerMap, (void(*)(Word))ddel_FileFn, in ddel_CacheProfFile()
390 (void(*)(Word))ddel_InnerMap ); in ddel_CacheProfFile()
421 while (nextIterFM( cpf->outerMap, (Word*)(&topKey), (Word*)(&topVal) )) { in show_CacheProfFile()
425 while (nextIterFM( topVal, (Word*)(&subKey), (Word*)(&subVal) )) { in show_CacheProfFile()
443 static Word cmp_FileFn ( Word s1, Word s2 ) in cmp_FileFn()
447 Word r = strcmp(ff1->fi_name, ff2->fi_name); in cmp_FileFn()
453 static Word cmp_unboxed_UWord ( Word s1, Word s2 ) in cmp_unboxed_UWord()
539 if (lookupFM( counts_map, (Word*)(&oldCounts), (Word)lnno )) { in addCountsToMap()
545 addToFM( counts_map, (Word)lnno, (Word)newCounts ); in addCountsToMap()
580 if (lookupFM( cpf->outerMap, (Word*)(&countsMap), (Word)topKey )) { in handle_counts()
589 addToFM( cpf->outerMap, (Word)topKey, (Word)countsMap ); in handle_counts()
802 while (nextIterFM( src->outerMap, (Word*)&soKey, (Word*)&soVal )) { in merge_CacheProfInfo()
805 if (! lookupFM( dst->outerMap, (Word*)&doVal, (Word)soKey )) { in merge_CacheProfInfo()
811 addToFM( dst->outerMap, (Word)c_soKey, (Word)c_soVal ); in merge_CacheProfInfo()
819 while (nextIterFM( soVal, (Word*)&siKey, (Word*)&siVal )) { in merge_CacheProfInfo()
822 if (! lookupFM( doVal, (Word*)&diVal, siKey )) { in merge_CacheProfInfo()
827 addToFM( doVal, siKey, (Word)c_siVal ); in merge_CacheProfInfo()
979 Word key;
980 Word val;
989 Word w;
1000 Word (*kCmp)(Word,Word);
1007 static Bool avl_removeroot_wrk(AvlNode** t, Word(*kCmp)(Word,Word));
1052 static Word size_avl_nonNull ( AvlNode* nd ) in size_avl_nonNull()
1068 Word (*kCmp)(Word,Word) ) in avl_insert_wrk() argument
1070 Word cmpres; in avl_insert_wrk()
1167 Word(*kCmp)(Word,Word) ) in avl_remove_wrk() argument
1170 Word cmpres = kCmp( (*rootp)->key, a->key ); in avl_remove_wrk()
1256 Word(*kCmp)(Word,Word) ) in avl_removeroot_wrk() argument
1291 AvlNode* avl_find_node ( AvlNode* t, Word k, Word(*kCmp)(Word,Word) ) in avl_find_node() argument
1293 Word cmpres; in avl_find_node()
1345 Word(*dopyK)(Word), in avl_dopy() argument
1346 Word(*dopyV)(Word), in avl_dopy() argument
1400 Word (*kCmp)(Word,Word) ) in initFM() argument
1412 Word (*kCmp)(Word,Word) ) in newFM() argument
1421 void(*kFin)(Word), in avl_free() argument
1422 void(*vFin)(Word), in avl_free() argument
1441 void deleteFM ( WordFM* fm, void(*kFin)(Word), void(*vFin)(Word) ) in deleteFM() argument
1450 void addToFM ( WordFM* fm, Word k, Word v ) in addToFM()
1467 Bool delFromFM ( WordFM* fm, /*OUT*/Word* oldV, Word key ) in delFromFM()
1482 Bool lookupFM ( WordFM* fm, /*OUT*/Word* valP, Word key ) in lookupFM()
1494 Word sizeFM ( WordFM* fm ) in sizeFM()
1511 Bool nextIterFM ( WordFM* fm, /*OUT*/Word* pKey, /*OUT*/Word* pVal ) in nextIterFM()
1550 WordFM* dopyFM ( WordFM* fm, Word(*dopyK)(Word), Word(*dopyV)(Word) ) in dopyFM() argument