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) );
357 (Word(*)(Word))dopy_Counts ); in dopy_InnerMap()
362 deleteFM( innerMap, NULL, (void(*)(Word))ddel_Counts ); in ddel_InnerMap()
380 deleteFM( cpf->outerMap, (void(*)(Word))ddel_FileFn, in ddel_CacheProfFile()
381 (void(*)(Word))ddel_InnerMap ); in ddel_CacheProfFile()
412 while (nextIterFM( cpf->outerMap, (Word*)(&topKey), (Word*)(&topVal) )) { in show_CacheProfFile()
416 while (nextIterFM( topVal, (Word*)(&subKey), (Word*)(&subVal) )) { in show_CacheProfFile()
434 static Word cmp_FileFn ( Word s1, Word s2 ) in cmp_FileFn()
438 Word r = strcmp(ff1->fi_name, ff2->fi_name); in cmp_FileFn()
444 static Word cmp_unboxed_UWord ( Word s1, Word s2 ) in cmp_unboxed_UWord()
527 if (lookupFM( counts_map, (Word*)(&oldCounts), (Word)lnno )) { in addCountsToMap()
533 addToFM( counts_map, (Word)lnno, (Word)newCounts ); in addCountsToMap()
568 if (lookupFM( cpf->outerMap, (Word*)(&countsMap), (Word)topKey )) { in handle_counts()
577 addToFM( cpf->outerMap, (Word)topKey, (Word)countsMap ); in handle_counts()
789 while (nextIterFM( src->outerMap, (Word*)&soKey, (Word*)&soVal )) { in merge_CacheProfInfo()
792 if (! lookupFM( dst->outerMap, (Word*)&doVal, (Word)soKey )) { in merge_CacheProfInfo()
798 addToFM( dst->outerMap, (Word)c_soKey, (Word)c_soVal ); in merge_CacheProfInfo()
806 while (nextIterFM( soVal, (Word*)&siKey, (Word*)&siVal )) { in merge_CacheProfInfo()
809 if (! lookupFM( doVal, (Word*)&diVal, siKey )) { in merge_CacheProfInfo()
814 addToFM( doVal, siKey, (Word)c_siVal ); in merge_CacheProfInfo()
966 Word key;
967 Word val;
976 Word w;
987 Word (*kCmp)(Word,Word);
994 static Bool avl_removeroot_wrk(AvlNode** t, Word(*kCmp)(Word,Word));
1039 static Word size_avl_nonNull ( AvlNode* nd ) in size_avl_nonNull()
1055 Word (*kCmp)(Word,Word) ) in avl_insert_wrk() argument
1057 Word cmpres; in avl_insert_wrk()
1154 Word(*kCmp)(Word,Word) ) in avl_remove_wrk() argument
1157 Word cmpres = kCmp( (*rootp)->key, a->key ); in avl_remove_wrk()
1243 Word(*kCmp)(Word,Word) ) in avl_removeroot_wrk() argument
1278 AvlNode* avl_find_node ( AvlNode* t, Word k, Word(*kCmp)(Word,Word) ) in avl_find_node() argument
1280 Word cmpres; in avl_find_node()
1332 Word(*dopyK)(Word), in avl_dopy() argument
1333 Word(*dopyV)(Word), in avl_dopy() argument
1387 Word (*kCmp)(Word,Word) ) in initFM() argument
1399 Word (*kCmp)(Word,Word) ) in newFM() argument
1408 void(*kFin)(Word), in avl_free() argument
1409 void(*vFin)(Word), in avl_free() argument
1428 void deleteFM ( WordFM* fm, void(*kFin)(Word), void(*vFin)(Word) ) in deleteFM() argument
1437 void addToFM ( WordFM* fm, Word k, Word v ) in addToFM()
1454 Bool delFromFM ( WordFM* fm, /*OUT*/Word* oldV, Word key ) in delFromFM()
1469 Bool lookupFM ( WordFM* fm, /*OUT*/Word* valP, Word key ) in lookupFM()
1481 Word sizeFM ( WordFM* fm ) in sizeFM()
1498 Bool nextIterFM ( WordFM* fm, /*OUT*/Word* pKey, /*OUT*/Word* pVal ) in nextIterFM()
1537 WordFM* dopyFM ( WordFM* fm, Word(*dopyK)(Word), Word(*dopyV)(Word) ) in dopyFM() argument