Lines Matching refs:wv_new
312 static WordSet add_or_dealloc_WordVec( WordSetU* wsu, WordVec* wv_new ) in add_or_dealloc_WordVec() argument
320 tl_assert(wv_new->owner == wsu); in add_or_dealloc_WordVec()
323 (UWord)wv_new ); in add_or_dealloc_WordVec()
325 tl_assert(wv_old != wv_new); in add_or_dealloc_WordVec()
330 delete_WV( wv_new ); in add_or_dealloc_WordVec()
338 wsu->ix2vec[ws] = wv_new; in add_or_dealloc_WordVec()
339 VG_(addToFM)( wsu->vec2ix, (UWord)wv_new, ws ); in add_or_dealloc_WordVec()
340 if (HG_DEBUG) VG_(printf)("aodW %s re-use free %d %p\n", wsu->cc, (Int)ws, wv_new ); in add_or_dealloc_WordVec()
346 wsu->ix2vec[wsu->ix2vec_used] = wv_new; in add_or_dealloc_WordVec()
347 VG_(addToFM)( wsu->vec2ix, (Word)wv_new, (Word)wsu->ix2vec_used ); in add_or_dealloc_WordVec()
348 if (HG_DEBUG) VG_(printf)("aodW %s %d %p\n", wsu->cc, (Int)wsu->ix2vec_used, wv_new ); in add_or_dealloc_WordVec()
608 WordVec* wv_new; in HG_() local
625 wv_new = new_WV_of_size( wsu, wv->size + 1 ); in HG_()
628 wv_new->words[j++] = wv->words[k]; in HG_()
630 wv_new->words[j++] = w; in HG_()
633 wv_new->words[j++] = wv->words[k]; in HG_()
635 tl_assert(j == wv_new->size); in HG_()
638 result = add_or_dealloc_WordVec( wsu, wv_new ); in HG_()
649 WordVec* wv_new; in HG_() local
678 wv_new = new_WV_of_size( wsu, wv->size - 1 ); in HG_()
683 wv_new->words[k++] = wv->words[j]; in HG_()
685 tl_assert(k == wv_new->size); in HG_()
687 result = add_or_dealloc_WordVec( wsu, wv_new ); in HG_()
700 WordVec* wv_new; in HG_() local
730 wv_new = new_WV_of_size( wsu, sz ); in HG_()
738 wv_new->words[k++] = wv1->words[i1]; in HG_()
742 wv_new->words[k++] = wv2->words[i2]; in HG_()
745 wv_new->words[k++] = wv1->words[i1]; in HG_()
755 wv_new->words[k++] = wv2->words[i2++]; in HG_()
759 wv_new->words[k++] = wv1->words[i1++]; in HG_()
764 return add_or_dealloc_WordVec( wsu, wv_new ); in HG_()
771 WordVec* wv_new; in HG_() local
813 wv_new = new_WV_of_size( wsu, sz ); in HG_()
826 wv_new->words[k++] = wv1->words[i1]; in HG_()
837 ws_new = add_or_dealloc_WordVec( wsu, wv_new ); in HG_()
852 WordVec* wv_new; in HG_() local
885 wv_new = new_WV_of_size( wsu, sz ); in HG_()
893 wv_new->words[k++] = wv1->words[i1]; in HG_()
908 wv_new->words[k++] = wv1->words[i1++]; in HG_()
913 ws_new = add_or_dealloc_WordVec( wsu, wv_new ); in HG_()