Lines Matching refs:wv2
216 WordVec* wv2 = (WordVec*)wv2W; 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()
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()
702 WordVec* wv2 = do_ix2vec( wsu, ws2 ); 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_()
721 tl_assert(i2 <= wv2->size); in HG_()
722 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
723 if (i1 == wv1->size && i2 < wv2->size) { in HG_()
724 sz += (wv2->size - i2); in HG_()
726 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
735 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
737 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
741 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
742 wv_new->words[k++] = wv2->words[i2]; in HG_()
751 tl_assert(i2 <= wv2->size); in HG_()
752 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
753 if (i1 == wv1->size && i2 < wv2->size) { in HG_()
754 while (i2 < wv2->size) in HG_()
755 wv_new->words[k++] = wv2->words[i2++]; in HG_()
757 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
773 WordVec* wv2; in HG_() local
792 wv2 = do_ix2vec( wsu, ws2 ); 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_()
810 tl_assert(i2 <= wv2->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_()
832 tl_assert(i2 <= wv2->size); in HG_()
833 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
854 WordVec* wv2; in HG_() local
861 wv2 = do_ix2vec( wsu, ws2 ); 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_()
879 tl_assert(i2 <= wv2->size); in HG_()
880 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
881 if (i2 == wv2->size && i1 < wv1->size) { in HG_()
890 if (i1 >= wv1->size || i2 >= wv2->size) in HG_()
892 if (wv1->words[i1] < wv2->words[i2]) { in HG_()
896 if (wv1->words[i1] > wv2->words[i2]) { in HG_()
904 tl_assert(i2 <= wv2->size); in HG_()
905 tl_assert(i1 == wv1->size || i2 == wv2->size); in HG_()
906 if (i2 == wv2->size && i1 < wv1->size) { in HG_()