Searched refs:entNo (Results 1 – 1 of 1) sorted by relevance
404 UInt entNo = img->ces_used; in alloc_CEnt() local406 vg_assert(img->ces[entNo] == NULL); in alloc_CEnt()407 img->ces[entNo] = ML_(dinfo_zalloc)("di.alloc_CEnt.1", sizeof(CEnt)); in alloc_CEnt()408 return entNo; in alloc_CEnt()413 static void move_CEnt_to_top ( DiImage* img, UInt entNo ) in move_CEnt_to_top() argument416 vg_assert(entNo > 0 && entNo < img->ces_used); in move_CEnt_to_top()417 CEnt* tmp = img->ces[entNo]; in move_CEnt_to_top()418 while (entNo > 0) { in move_CEnt_to_top()419 img->ces[entNo] = img->ces[entNo-1]; in move_CEnt_to_top()420 entNo--; in move_CEnt_to_top()[all …]