• Home
  • Raw
  • Download

Lines Matching refs:rep

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()
667 char * rh = strchr((*rep)[j], '='); in hnj_hyphen_lhmin()
669 hnj_hyphen_strnlen((*rep)[j], rh - (*rep)[j], utf8)) < lhmin) { in hnj_hyphen_lhmin()
670 free((*rep)[j]); in hnj_hyphen_lhmin()
671 (*rep)[j] = NULL; 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()
690 char * rh = strchr((*rep)[j], '='); in hnj_hyphen_rhmin()
693 free((*rep)[j]); in hnj_hyphen_rhmin()
694 (*rep)[j] = NULL; 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_()
872 *rep = (char **) malloc(sizeof(char *) * word_size); in hnj_hyphen_hyph_()
876 (*rep)[k] = NULL; in hnj_hyphen_hyph_()
881 (*rep)[matchindex[i] - 1] = hnj_strdup(matchrepl[matchindex[i]]); in hnj_hyphen_hyph_()
925 if (*rep && *pos && *cut && (*rep)[i]) { in hnj_hyphen_hyph_()
926 char * l = strchr((*rep)[i], '='); in hnj_hyphen_hyph_()
927 strcpy(prep_word + 2 + i - (*pos)[i], (*rep)[i]); in hnj_hyphen_hyph_()
929 hyph = (l - (*rep)[i]) - (*pos)[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_()
941 *rep = (char **) malloc(sizeof(char *) * word_size); in hnj_hyphen_hyph_()
945 (*rep)[k] = NULL; in hnj_hyphen_hyph_()
950 (*rep)[begin + j] = rep2[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()
1013 (*rep)[j] = (*rep)[i]; in hnj_hyphen_norm()
1015 (*rep)[i] = NULL; 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()
1034 strcpy(hyphword + j - (*pos)[i] + 1, (*rep)[i]); in hnj_hyphen_hyphword()
1035 j += strlen((*rep)[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()