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