Home
last modified time | relevance | path

Searched refs:mchars (Results 1 – 12 of 12) sorted by relevance

/titanic_50/usr/src/cmd/mandoc/
H A Dmain.h23 struct mchars;
34 void *html_alloc(const struct mchars *, char *);
45 void *locale_alloc(const struct mchars *, char *);
46 void *utf8_alloc(const struct mchars *, char *);
47 void *ascii_alloc(const struct mchars *, char *);
51 void *pdf_alloc(const struct mchars *, char *);
52 void *ps_alloc(const struct mchars *, char *);
H A Dterm_ascii.c41 const struct mchars *, char *);
61 ascii_init(enum termenc enc, const struct mchars *mchars, char *outopts) in ascii_init() argument
71 p->symtab = mchars; in ascii_init()
146 ascii_alloc(const struct mchars *mchars, char *outopts) in ascii_alloc() argument
149 return(ascii_init(TERMENC_ASCII, mchars, outopts)); in ascii_alloc()
153 utf8_alloc(const struct mchars *mchars, char *outopts) in utf8_alloc() argument
156 return(ascii_init(TERMENC_UTF8, mchars, outopts)); in utf8_alloc()
160 locale_alloc(const struct mchars *mchars, char *outopts) in locale_alloc() argument
163 return(ascii_init(TERMENC_LOCALE, mchars, outopts)); in locale_alloc()
H A Dchars.c51 struct mchars { struct
55 static const struct ln *find(const struct mchars *, argument
60 mchars_free(struct mchars *arg) in mchars_free()
67 struct mchars *
70 struct mchars *tab; in mchars_alloc()
81 tab = mandoc_malloc(sizeof(struct mchars)); in mchars_alloc()
102 mchars_spec2cp(const struct mchars *arg, const char *p, size_t sz) in mchars_spec2cp()
130 mchars_spec2str(const struct mchars *arg, in mchars_spec2str()
157 find(const struct mchars *tab, const char *p, size_t sz) in find()
H A Dmandoc.h414 struct mchars;
419 struct mchars *mchars_alloc(void);
420 void mchars_free(struct mchars *);
424 int mchars_spec2cp(const struct mchars *,
426 const char *mchars_spec2str(const struct mchars *,
429 const struct mchars *, const char *);
H A Dmain.c77 struct mchars *mchars; /* character table */ member
410 curp.mchars = mchars_alloc(); in main()
412 curp.mchars, defos); in main()
471 mchars_free(curp.mchars); in main()
659 curp->outdata = html_alloc(curp->mchars, in parse()
664 curp->outdata = utf8_alloc(curp->mchars, in parse()
669 curp->outdata = locale_alloc(curp->mchars, in parse()
674 curp->outdata = ascii_alloc(curp->mchars, in parse()
679 curp->outdata = pdf_alloc(curp->mchars, in parse()
684 curp->outdata = ps_alloc(curp->mchars, in parse()
H A Dlibmandoc.h38 struct mchars;
81 struct roff *roff_alloc(struct mparse *, const struct mchars *, int);
H A Dterm_ps.c109 static struct termp *pspdf_alloc(const struct mchars *, char *);
510 pdf_alloc(const struct mchars *mchars, char *outopts) in pdf_alloc() argument
514 if (NULL != (p = pspdf_alloc(mchars, outopts))) in pdf_alloc()
521 ps_alloc(const struct mchars *mchars, char *outopts) in ps_alloc() argument
525 if (NULL != (p = pspdf_alloc(mchars, outopts))) in ps_alloc()
532 pspdf_alloc(const struct mchars *mchars, char *outopts) in pspdf_alloc() argument
542 p->symtab = mchars; in pspdf_alloc()
H A Dread.c53 const struct mchars *mchars; /* character table */ member
887 const struct mchars *mchars, const char *defos) in mparse_alloc() argument
898 curp->mchars = mchars; in mparse_alloc()
899 curp->roff = roff_alloc(curp, curp->mchars, options); in mparse_alloc()
H A Dhtml.c132 html_alloc(const struct mchars *mchars, char *outopts) in html_alloc() argument
147 h->symtab = mchars; in html_alloc()
H A Dterm.h85 const struct mchars *symtab; /* Character table. */
H A Dhtml.h133 const struct mchars *symtab; /* character table */
H A Droff.c315 const struct mchars *mchars; /* character table */ member
885 roff_alloc(struct mparse *parse, const struct mchars *mchars, int options) in roff_alloc() argument
891 r->mchars = mchars; in roff_alloc()
966 mchars_spec2cp(r->mchars, stnam, inaml) < 0)) in roff_res()