Lines Matching refs:ix2vec
155 WordVec** ix2vec; /* WordSet-to-WordVec mapping array */ member
251 new_vec[i] = wsu->ix2vec[i]; in ensure_ix2vec_space()
252 if (wsu->ix2vec) in ensure_ix2vec_space()
253 wsu->dealloc(wsu->ix2vec); in ensure_ix2vec_space()
254 wsu->ix2vec = new_vec; in ensure_ix2vec_space()
265 return (WordVec**)wv >= &(wsu->ix2vec[1]) in is_dead()
266 && (WordVec**)wv < &(wsu->ix2vec[wsu->ix2vec_size]); in is_dead()
277 tl_assert(wsu->ix2vec); in do_ix2vec()
281 wv = wsu->ix2vec[ws]; in do_ix2vec()
295 tl_assert(wsu->ix2vec); in do_ix2vec_with_dead()
299 wv = wsu->ix2vec[ws]; in do_ix2vec_with_dead()
329 tl_assert(wsu->ix2vec[ix_old] == wv_old); in add_or_dealloc_WordVec()
335 ws = wsu->ix2vec_free - &(wsu->ix2vec[0]); in add_or_dealloc_WordVec()
336 tl_assert(wsu->ix2vec[ws] == NULL || is_dead(wsu,wsu->ix2vec[ws])); in add_or_dealloc_WordVec()
337 wsu->ix2vec_free = (WordVec **) wsu->ix2vec[ws]; in add_or_dealloc_WordVec()
338 wsu->ix2vec[ws] = wv_new; in add_or_dealloc_WordVec()
344 tl_assert(wsu->ix2vec); in add_or_dealloc_WordVec()
346 wsu->ix2vec[wsu->ix2vec_used] = wv_new; in add_or_dealloc_WordVec()
373 wsu->ix2vec = NULL; in HG_()
390 if (wsu->ix2vec) in HG_()
391 dealloc(wsu->ix2vec); in HG_()
476 wsu->ix2vec[ws] = (WordVec*) wsu->ix2vec_free; in HG_()
477 wsu->ix2vec_free = &wsu->ix2vec[ws]; in HG_()