Home
last modified time | relevance | path

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

12

/netbsd-src/external/gpl2/groff/dist/src/preproc/refer/
H A Dtoken.cpp204 store_token(strsave(buf), TOKEN_LOWER); in init_ascii()
206 store_token(strsave(buf), TOKEN_UPPER); in init_ascii()
212 const char *s = strsave(buf); in init_ascii()
219 store_token(strsave(buf), TOKEN_PUNCT); in init_ascii()
240 store_letter(strsave(lbuf), strsave(ubuf), sort_key); in init_letter()
290 const char *p = strsave(buf); in init_two_char_letter()
293 store_letter(p, strsave(buf), sk); in init_two_char_letter()
297 p = strsave(buf); in init_two_char_letter()
300 store_letter(strsave(buf), p, sk); in init_two_char_letter()
344 store_token(strsave(buf), TOKEN_ACCENT); in init_strings()
[all …]
/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Drelocate.cpp134 char *tmpathext = strsave(pathext); // strtok modifies this string, in searchpathext()
181 pathextstr = strsave(getenv("PATHEXT")); in set_current_prefix()
183 pathextstr = strsave(PATH_EXT); in set_current_prefix()
215 return strsave(path); in relocatep()
235 p = strsave(path); in relocate()
H A Dsearchpath.cpp36 # define relocate(path) strsave(path)
106 *pathp = strsave(name); in open_file()
156 *pathp = strsave(reading ? "stdin" : "stdout"); in open_file_cautious()
163 *pathp = strsave(name); in open_file_cautious()
H A Dchange_lf.cpp24 extern char *strsave(const char *);
33 current_filename = strsave(f); in change_filename()
H A DMakefile.sub43 strsave.$(OBJEXT) \
85 $(srcdir)/strsave.cpp \
H A Dstrsave.cpp25 char *strsave(const char *s) in strsave() function
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dlex.cpp135 p = s = strsave(str); in macro_input()
164 char *s = strsave(body); in process_body()
383 argv[argc] = strsave(token_buffer.contents()); in interpolate_macro_with_args()
1316 macro_table.define(name, strsave(token_buffer.contents())); in do_define()
1518 until = strsave(u); in copy_thru_input()
1721 return strsave(def); in get_thru_arg()
1729 return strsave(token_buffer.contents()); in get_thru_arg()
1759 yylval.str = strsave(token_buffer.contents()); in yylex()
1799 yylval.lstr.str = strsave(token_buffer.contents()); in yylex()
1804 yylval.str = strsave(token_buffer.contents()); in yylex()
[all …]
H A Dmain.cpp228 graphname = strsave("graph"); // default picture name in TeX mode in do_picture()
253 do_file(strsave(filename.contents())); in do_picture()
H A Dtroff.cpp507 last_filled = strsave(color_fill); in set_color()
511 last_outlined = strsave(color_outlined); in set_color()
/netbsd-src/external/gpl2/groff/dist/src/preproc/eqn/
H A Dlex.cpp273 def->contents = strsave(def_table[i].def); in init_table()
279 def->contents = strsave("1"); in init_table()
364 filename = strsave(fn); in file_input()
428 p = s = strsave(str); in macro_input()
455 filename = strsave(fn); in top_input()
488 p = s = strsave(body); in argument_macro_input()
717 argv[argc] = strsave(token_buffer.contents()); in interpolate_macro_with_args()
930 def->contents = strsave(token_buffer.contents()); in do_definition()
1058 set_char_type(type.contents(), strsave(token_buffer.contents())); in do_chartype()
1143 yylval.str = strsave(token_buffer.contents()); in yylex()
H A Deqn.y234 { $$ = new font_box(strsave(get_grfont()), $2); }
236 { $$ = new font_box(strsave(get_gbfont()), $2); }
238 { $$ = new font_box(strsave(get_gfont()), $2); }
327 { $$ = strsave("{"); }
329 { $$ = strsave("}"); }
H A Dbox.cpp211 gfont = strsave(s); in set_gfont()
217 grfont = strsave(s); in set_grfont()
223 gbfont = strsave(s); in set_gbfont()
291 b = new size_box(strsave(buf), b); in top_level()
H A Dtext.cpp231 s = strsave(t); in special_char_box()
490 b = new quoted_text_box(strsave(buf)); in split_text()
495 b = new quoted_text_box(strsave(s - 2)); in split_text()
/netbsd-src/external/gpl2/groff/dist/src/roff/groff/
H A Dgroff.cpp397 if (putenv(strsave(e.contents()))) in main()
409 if (putenv(strsave(e.contents()))) in main()
423 if (putenv(strsave(f.contents()))) in main()
461 spooler = strsave(arg); in handle_unknown_desc_command()
475 predriver = strsave(arg); in handle_unknown_desc_command()
490 postdriver = strsave(arg); in handle_unknown_desc_command()
532 name = strsave(s); in set_name()
/netbsd-src/external/gpl2/groff/dist/src/libs/libbib/
H A Dsearch.cpp86 : list(p), ptr(p->list), iter(0), query(strsave(q)), in search_list_iterator()
114 : name(strsave(nm)), filename_id(fid), next(0) in search_item()
/netbsd-src/external/gpl2/groff/dist/src/include/
H A Dlib.h46 char *strsave(const char *s);
/netbsd-src/external/gpl2/groff/dist/src/devices/grohtml/
H A Dpost-html.cpp1838 val_sp = replace_str(val_sp, strsave(v)); in set()
1839 file_sp = replace_str(file_sp, strsave(f)); in set()
1840 line_sp = replace_str(line_sp, strsave(l)); in set()
1843 val_br = replace_str(val_br, strsave(v)); in set()
1844 file_br = replace_str(file_br, strsave(f)); in set()
1845 line_br = replace_str(line_br, strsave(l)); in set()
1848 val_fi = replace_str(val_fi, strsave(v)); in set()
1849 file_fi = replace_str(file_fi, strsave(f)); in set()
1850 line_fi = replace_str(line_fi, strsave(l)); in set()
1853 val_fi = replace_negate_str(val_fi, strsave(v)); in set()
[all …]
/netbsd-src/external/gpl2/groff/lib/libgroff/
H A DMakefile19 strsave.cpp symbol.cpp tmpfile.cpp tmpname.cpp \
/netbsd-src/bin/csh/
H A Dcsh.h72 #define SAVE(a) (strsave(a))
494 #define Strsave(a) strsave(a)
H A Derr.c301 seterr = strsave(berr); in seterror()
H A Dmisc.c66 strsave(const char *s) in strsave() function
H A Dstr.c91 *dst++ = strsave(short2str(*src)); in short2blk()
H A Dextern.h225 char *strsave(const char *);
/netbsd-src/external/gpl2/groff/dist/src/utils/indxbib/
H A Dindxbib.cpp219 char *dir = strsave(base_name); in main()
236 temp_index_file = strsave(TEMP_INDEX_TEMPLATE); in main()
/netbsd-src/external/gpl2/groff/dist/src/utils/tfmtodit/
H A Dtfmtodit.cpp598 char_list::char_list(const char *s, char_list *p) : ch(strsave(s)), next(p) in char_list()
764 char *internal_name = strsave(argv[optind]); in main()

12