Lines Matching refs:cut
661 char *** rep, int ** pos, int ** cut, int lhmin) in hnj_hyphen_lhmin() argument
666 if (*rep && *pos && *cut && (*rep)[j]) { in hnj_hyphen_lhmin()
683 char *** rep, int ** pos, int ** cut, int rhmin) in hnj_hyphen_rhmin() argument
689 if (*rep && *pos && *cut && (*rep)[j]) { in hnj_hyphen_rhmin()
691 if (rh && (hnj_hyphen_strnlen(word + j - (*pos)[j] + (*cut)[j] + 1, 100, utf8) + in hnj_hyphen_rhmin()
707 char * hyphens, char *** rep, int ** pos, int ** cut, in hnj_hyphen_hyph_() argument
869 if (rep && pos && cut) { in hnj_hyphen_hyph_()
870 if (!*rep && !*pos && !*cut) { in hnj_hyphen_hyph_()
874 *cut = (int *) malloc(sizeof(int) * word_size); in hnj_hyphen_hyph_()
878 (*cut)[k] = 0; in hnj_hyphen_hyph_()
883 (*cut)[matchindex[i] - 1] = matchlen[i]; in hnj_hyphen_hyph_()
925 if (*rep && *pos && *cut && (*rep)[i]) { in hnj_hyphen_hyph_()
938 if (rep2[j] && rep && pos && cut) { in hnj_hyphen_hyph_()
939 if (!*rep && !*pos && !*cut) { in hnj_hyphen_hyph_()
943 *cut = (int *) malloc(sizeof(int) * word_size); in hnj_hyphen_hyph_()
947 (*cut)[k] = 0; in hnj_hyphen_hyph_()
952 (*cut)[begin + j] = cut2[j]; in hnj_hyphen_hyph_()
956 if (*rep && *pos && *cut && (*rep)[i]) { in hnj_hyphen_hyph_()
967 hyphens, rep, pos, cut, clhmin, crhmin, lend, rend); in hnj_hyphen_hyph_()
969 rep, pos, cut, clhmin); in hnj_hyphen_hyph_()
971 rep, pos, cut, crhmin); in hnj_hyphen_hyph_()
988 char *** rep, int ** pos, int ** cut) in hnj_hyphen_norm() argument
1001 if (rep && pos && cut && *rep && *pos && *cut) { in hnj_hyphen_norm()
1008 l = k + (*cut)[i]; in hnj_hyphen_norm()
1009 (*cut)[j] = 0; in hnj_hyphen_norm()
1011 if ((((unsigned char) word[k]) >> 6) != 2) (*cut)[j]++; in hnj_hyphen_norm()
1017 (*cut)[i] = 0; in hnj_hyphen_norm()
1027 char * hyphword, char *** rep, int ** pos, int ** cut) in hnj_hyphen_hyphword() argument
1033 if (*rep && *pos && *cut && (*rep)[i]) { in hnj_hyphen_hyphword()
1036 i += (*cut)[i] - (*pos)[i]; in hnj_hyphen_hyphword()
1047 char *hyphword, char *** rep, int ** pos, int ** cut) in hnj_hyphen_hyphenate2() argument
1049 hnj_hyphen_hyph_(dict, word, word_size, hyphens, rep, pos, cut, in hnj_hyphen_hyphenate2()
1052 hyphens, rep, pos, cut, (dict->lhmin > 0 ? dict->lhmin : 2)); in hnj_hyphen_hyphenate2()
1054 hyphens, rep, pos, cut, (dict->rhmin > 0 ? dict->rhmin : 2)); in hnj_hyphen_hyphenate2()
1055 if (hyphword) hnj_hyphen_hyphword(word, word_size, hyphens, hyphword, rep, pos, cut); in hnj_hyphen_hyphenate2()
1056 if (dict->utf8) return hnj_hyphen_norm(word, word_size, hyphens, rep, pos, cut); in hnj_hyphen_hyphenate2()
1063 char *hyphword, char *** rep, int ** pos, int ** cut, in hnj_hyphen_hyphenate3() argument
1068 hnj_hyphen_hyph_(dict, word, word_size, hyphens, rep, pos, cut, in hnj_hyphen_hyphenate3()
1071 rep, pos, cut, (lhmin > 0 ? lhmin : 2)); in hnj_hyphen_hyphenate3()
1073 rep, pos, cut, (rhmin > 0 ? rhmin : 2)); in hnj_hyphen_hyphenate3()
1074 if (hyphword) hnj_hyphen_hyphword(word, word_size, hyphens, hyphword, rep, pos, cut); in hnj_hyphen_hyphenate3()
1075 if (dict->utf8) return hnj_hyphen_norm(word, word_size, hyphens, rep, pos, cut); in hnj_hyphen_hyphenate3()