Lines Matching defs:word
110 size_t vend; /* end of word visual position on output */
154 * Count up visible word characters. Control sequences
156 * generates a non-printing word, which is valid (the
171 /* Regular word. */
200 /* Write out the [remaining] word. */
387 * Handle pwords, partial words, which may be either a single word or a
389 * handles word styling.
392 term_word(struct termp *p, const char *word)
418 while ('\0' != *word) {
419 if ((ssz = strcspn(word, "\\")) > 0)
420 encode(p, word, ssz);
422 word += (int)ssz;
423 if ('\\' != *word)
426 word++;
427 esc = mandoc_escape(&word, &seq, &sz);
480 if ('\0' == *word)
540 encode(struct termp *p, const char *word, size_t sz)
558 p->buf[p->col++] = word[i];
568 if (ASCII_HYPH != word[i] &&
569 ! isgraph((unsigned char)word[i])) {
570 p->buf[p->col++] = word[i];
576 else if (ASCII_HYPH == word[i])
579 p->buf[p->col++] = word[i];
582 p->buf[p->col++] = word[i];