Searched defs:hyphens (Results 1 - 2 of 2) sorted by relevance

/external/hyphenation/
H A Dexample.c66 char *hyphens; local
130 hyphens = (char *)malloc(k+5);
149 if ((!optd && hnj_hyphen_hyphenate(dict, lcword, n-1, hyphens)) ||
150 (optd && hnj_hyphen_hyphenate2(dict, lcword, n-1, hyphens, hword, &rep, &pos, &cut))) {
151 free(hyphens);
158 /* now backfill hyphens[] for any removed periods */
159 for (c = n; c < k; c++) hyphens[c] = '0';
160 hyphens[k] = '\0';
163 /* count the hyphens and allocate space for the new hypehanted string */
166 if (hyphens[
[all...]
H A Dhyphen.c526 char *hyphens)
552 hyphens[i] = '0';
614 if (hyphens[offset + k] < match[k])
615 hyphens[offset + k] = match[k];
626 putchar (hyphens[i]);
632 if (hyphens[i + 1] & 1)
633 hyphens[i] = '-';
635 hyphens[i] = hyphens[i + 1];
637 hyphens[
524 hnj_hyphen_hyphenate(HyphenDict *dict, const char *word, int word_size, char *hyphens) argument
660 hnj_hyphen_lhmin(int utf8, const char *word, int word_size, char * hyphens, char *** rep, int ** pos, int ** cut, int lhmin) argument
682 hnj_hyphen_rhmin(int utf8, const char *word, int word_size, char * hyphens, char *** rep, int ** pos, int ** cut, int rhmin) argument
706 hnj_hyphen_hyph_(HyphenDict *dict, const char *word, int word_size, char * hyphens, char *** rep, int ** pos, int ** cut, int clhmin, int crhmin, int lend, int rend) argument
987 hnj_hyphen_norm(const char *word, int word_size, char * hyphens, char *** rep, int ** pos, int ** cut) argument
1026 hnj_hyphen_hyphword(const char * word, int l, const char * hyphens, char * hyphword, char *** rep, int ** pos, int ** cut) argument
1045 hnj_hyphen_hyphenate2(HyphenDict *dict, const char *word, int word_size, char * hyphens, char *hyphword, char *** rep, int ** pos, int ** cut) argument
1061 hnj_hyphen_hyphenate3(HyphenDict *dict, const char *word, int word_size, char * hyphens, char *hyphword, char *** rep, int ** pos, int ** cut, int lhmin, int rhmin, int clhmin, int crhmin) argument
[all...]

Completed in 190 milliseconds