Home
last modified time | relevance | path

Searched refs:mandoc_strdup (Results 1 – 25 of 25) sorted by relevance

/freebsd/contrib/mandoc/
H A Dmanpath.c127 dirs->paths[dirs->sz++] = mandoc_strdup(cp); in manpath_add()
254 oldval = mandoc_strdup(conf->includes); in manconf_output()
257 conf->includes = mandoc_strdup(cp); in manconf_output()
261 oldval = mandoc_strdup(conf->man); in manconf_output()
264 conf->man = mandoc_strdup(cp); in manconf_output()
268 oldval = mandoc_strdup(conf->paper); in manconf_output()
271 conf->paper = mandoc_strdup(cp); in manconf_output()
275 oldval = mandoc_strdup(conf->style); in manconf_output()
278 conf->style = mandoc_strdup(cp); in manconf_output()
304 oldval = mandoc_strdup(con in manconf_output()
[all...]
H A Dman_validate.c179 man->meta.title = mandoc_strdup(""); in check_root()
180 man->meta.msec = mandoc_strdup(""); in check_root()
495 man->meta.title = mandoc_strdup(n->string); in post_TH()
497 man->meta.title = mandoc_strdup("UNTITLED"); in post_TH()
506 man->meta.msec = mandoc_strdup(n->string); in post_TH()
513 man->meta.msec = mandoc_strdup(""); in post_TH()
523 man->meta.date = mandoc_strdup(""); in post_TH()
530 man->meta.os = mandoc_strdup(n->string); in post_TH()
532 man->meta.os = mandoc_strdup(man->os_s); in post_TH()
544 man->meta.vol = mandoc_strdup( in post_TH()
[all...]
H A Deqn.c331 ep->data = mandoc_strdup(p); in eqn_read()
727 cur->text = mandoc_strdup(""); in eqn_parse()
735 parent->top = mandoc_strdup("\\[ad]"); in eqn_parse()
738 parent->top = mandoc_strdup("\\[->]"); in eqn_parse()
741 parent->top = mandoc_strdup("\\[<>]"); in eqn_parse()
744 parent->top = mandoc_strdup("\\[a~]"); in eqn_parse()
747 parent->bottom = mandoc_strdup("\\[ul]"); in eqn_parse()
750 parent->top = mandoc_strdup("\\[rn]"); in eqn_parse()
753 parent->top = mandoc_strdup("\\[a.]"); in eqn_parse()
756 parent->top = mandoc_strdup("\\[ha]"); in eqn_parse()
[all …]
H A Dmandoc.c166 return mandoc_strdup(""); in time2a()
183 return mandoc_strdup(""); in mandoc_normdate()
188 return mandoc_strdup(""); in mandoc_normdate()
222 return mandoc_strdup(nch->string); in mandoc_normdate()
H A Dmandocdb.c484 conf.manpath.paths[i] = mandoc_strdup(argv[i]); in mandocdb()
867 linkfile = mandoc_strdup(infile); in filescan()
1001 mlink->dsec = mandoc_strdup(mlink->dsec ? mlink->dsec : ""); in mlink_add()
1002 mlink->arch = mandoc_strdup(mlink->arch ? mlink->arch : ""); in mlink_add()
1003 mlink->name = mandoc_strdup(mlink->name ? mlink->name : ""); in mlink_add()
1004 mlink->fsec = mandoc_strdup(mlink->fsec ? mlink->fsec : ""); in mlink_add()
1008 mlink->fsec = mandoc_strdup(mlink->dsec); in mlink_add()
1259 mpage->sec = mandoc_strdup( in mpages_merge()
1262 mpage->arch = mandoc_strdup( in mpages_merge()
1264 mpage->title = mandoc_strdup(meta->title); in mpages_merge()
[all …]
H A Dmain.c542 resn->file = mandoc_strdup(*argv); in main()
619 res[i].file = mandoc_strdup(argv[i]); in main()
763 page->file = copy ? mandoc_strdup(*file) : *file; in fs_append()
1363 argv[argc++] = mandoc_strdup("-T"); in spawn_pager()
1364 argv[argc++] = mandoc_strdup(outst->tag_files->tfn); in spawn_pager()
1366 argv[argc++] = mandoc_strdup("-t"); in spawn_pager()
1367 argv[argc++] = mandoc_strdup(tag_target); in spawn_pager()
1378 argv[argc] = mandoc_strdup(outst->tag_files->ofn); in spawn_pager()
H A Dmandoc_aux.h26 char *mandoc_strdup(const char *);
H A Dcgi.c925 conf.style = mandoc_strdup(CSS_DIR "/mandoc.css"); in resp_format()
1037 paths.paths[0] = mandoc_strdup("."); in pg_search()
1045 rp = query = mandoc_strdup(req->q.query); in pg_search()
1159 req.q.manpath = mandoc_strdup(req.p[0]); in main()
1214 req->q.sec = mandoc_strdup(sec); in parse_path_info()
1216 req->q.query = mandoc_strdup(name); in parse_path_info()
H A Dmdoc_validate.c2150 mdoc->meta.title = mandoc_strdup("UNTITLED"); in post_root()
2154 mdoc->meta.vol = mandoc_strdup("LOCAL"); in post_root()
2158 mdoc->meta.os = mandoc_strdup(""); in post_root()
2306 n->tag = mandoc_strdup(nch->string); in post_hyph()
2781 mdoc->meta.date = mandoc_strdup(""); in post_dd()
2822 mdoc->meta.title = mandoc_strdup("UNTITLED"); in post_dt()
2824 mdoc->meta.title = mandoc_strdup(nn->string); in post_dt()
2848 mdoc->meta.msec = mandoc_strdup(nn->string); in post_dt()
2857 mdoc->meta.vol = mandoc_strdup(cp); in post_dt()
2872 mdoc->meta.arch = mandoc_strdup(n in post_dt()
[all...]
H A Dtag.c279 np->tag = mandoc_strdup(n->tag == NULL ? in tag_move_id()
333 n->tag = mandoc_strdup(tag); in tag_move_href()
H A Dmandoc_dbg.h49 #define mandoc_strdup(ptr) \ macro
H A Dmandoc_aux.c100 mandoc_strdup(const char *ptr) in mandoc_strdup() function
H A Ddba_array.c85 entry = mandoc_strdup(entry); in dba_array_set()
H A Dmdoc_argv.c660 p = mandoc_strdup(p); in argv_multi()
677 p = mandoc_strdup(p); in argv_single()
H A Dread.c252 thisln->buf = mandoc_strdup(ln.buf); in mparse_buf_r()
385 mandoc_strdup(ln.buf + of); in mparse_buf_r()
H A Dmdoc_html.c327 cp = mandoc_strdup(meta->title); in print_mdoc_head()
461 title = mandoc_strdup(meta->title); in mdoc_root_post()
489 volume = mandoc_strdup(meta->vol); in mdoc_root_pre()
495 title = mandoc_strdup(meta->title); in mdoc_root_pre()
1101 buf = mandoc_strdup(cp); in mdoc_fd_pre()
H A Dmandoc_dbg.c142 char *p = mandoc_strdup(ptr); in mandoc_dbg_strdup()
H A Droff.c719 p->name = mandoc_strdup(name); in roffnode_push()
1326 n->string = mandoc_strdup(stesc + 2); in roff_parse_comment()
1708 start = mandoc_strdup(start); in roff_getarg()
1717 buf.buf = mandoc_strdup(""); in roff_getarg()
3256 roffit_macro = mandoc_strdup(iv != 1 || in roff_it()
3303 buf->buf = mandoc_strdup(".sp"); in roff_TE()
4003 buf->buf = mandoc_strdup(r->current_string); in roff_userdef()
4310 return mandoc_strdup(p); in roff_strdup()
4312 return mandoc_strdup(""); in roff_strdup()
H A Dtbl_data.c232 dat->string = mandoc_strdup(p + pos); in tbl_cdata()
H A Dhtml.c374 buf = mandoc_strdup(n->tag); in html_make_id()
393 buf = mandoc_strdup(n->child->string); in html_make_id()
H A Ddba.c174 dba_array_add(page, mandoc_strdup(desc)); in dba_page_new()
H A Dman_term.c
H A Dout.c472 str = mw ? mandoc_strdup(dp->string) : dp->string; in tblcalc_literal()
H A Dmansearch.c560 return mandoc_strdup(page->desc); in buildoutput()
H A Dmdoc_term.c450 title = mandoc_strdup(meta->title); in print_mdoc_foot()
503 volume = mandoc_strdup(meta->vol); in print_mdoc_head()
512 title = mandoc_strdup(meta->title); in print_mdoc_head()