Lines Matching refs:word
18 char * hindex(char * word, int n, int utf8) { in hindex() argument
22 word++; in hindex()
23 while (utf8 && ((((unsigned char) *word) >> 6) == 2)) word++; in hindex()
25 return word; in hindex()
29 void single_hyphenations(char * word, char * hyphen, char ** rep, int * pos, int * cut, int utf8) { in single_hyphenations() argument
32 for (i = 0; (i + 1) < strlen(word); i++) { in single_hyphenations()
33 if (utf8 && ((((unsigned char) word[i]) >> 6) == 2)) continue; in single_hyphenations()
36 k = hindex(word, j - pos[j] + 1, utf8) - word; in single_hyphenations()
37 r = word[k]; in single_hyphenations()
38 word[k] = 0; in single_hyphenations()
39 printf(" - %s%s", word, rep[j]); in single_hyphenations()
40 word[k] = r; in single_hyphenations()
41 printf("%s\n", hindex(word + k, cut[j], utf8)); in single_hyphenations()
43 k = hindex(word, j + 1, utf8) - word; in single_hyphenations()
44 r = word[k]; in single_hyphenations()
45 word[k] = 0; in single_hyphenations()
46 printf(" - %s=", word); in single_hyphenations()
47 word[k] = r; in single_hyphenations()
48 printf("%s\n", word + k); in single_hyphenations()