Lines Matching refs:wv1

215    WordVec* wv1    = (WordVec*)wv1W;  in cmp_WordVecs_for_FM()  local
219 if (wv1->size < wv2->size) { in cmp_WordVecs_for_FM()
222 if (wv1->size > wv2->size) { in cmp_WordVecs_for_FM()
227 for (i = 0; i < wv1->size; i++) { in cmp_WordVecs_for_FM()
228 if (wv1->words[i] == wv2->words[i]) in cmp_WordVecs_for_FM()
230 if (wv1->words[i] < wv2->words[i]) in cmp_WordVecs_for_FM()
232 if (wv1->words[i] > wv2->words[i]) in cmp_WordVecs_for_FM()
701 WordVec* wv1 = do_ix2vec( wsu, ws1 ); in HG_() local
707 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
710 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
713 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
720 tl_assert(i1 <= wv1->size); in HG_()
722 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
723 if (i1 == wv1->size && i2 < wv2->size) { in HG_()
726 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
727 sz += (wv1->size - i1); in HG_()
735 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
737 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
738 wv_new->words[k++] = wv1->words[i1]; in HG_()
741 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
745 wv_new->words[k++] = wv1->words[i1]; in HG_()
750 tl_assert(i1 <= wv1->size); in HG_()
752 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
753 if (i1 == wv1->size && i2 < wv2->size) { in HG_()
757 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
758 while (i1 < wv1->size) in HG_()
759 wv_new->words[k++] = wv1->words[i1++]; in HG_()
772 WordVec* wv1; in HG_() local
791 wv1 = do_ix2vec( wsu, ws1 ); in HG_()
796 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
798 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
801 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
809 tl_assert(i1 <= wv1->size); in HG_()
811 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
818 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
820 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
823 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
826 wv_new->words[k++] = wv1->words[i1]; in HG_()
831 tl_assert(i1 <= wv1->size); in HG_()
833 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
853 WordVec* wv1; in HG_() local
860 wv1 = do_ix2vec( wsu, ws1 ); in HG_()
865 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
867 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
871 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
878 tl_assert(i1 <= wv1->size); in HG_()
880 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
881 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
882 sz += (wv1->size - i1); in HG_()
890 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
892 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
893 wv_new->words[k++] = wv1->words[i1]; in HG_()
896 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
903 tl_assert(i1 <= wv1->size); in HG_()
905 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
906 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
907 while (i1 < wv1->size) in HG_()
908 wv_new->words[k++] = wv1->words[i1++]; in HG_()