Searched refs:strsave (Results 1 - 25 of 50) sorted by relevance

12

/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dchange_lf.cpp22 extern char *strsave(const char *);
31 current_filename = strsave(f);
H A Dstrsave.cpp23 char *strsave(const char *s) function
H A Drelocate.cpp132 char *tmpathext = strsave(pathext); // strtok modifies this string,
179 pathextstr = strsave(getenv("PATHEXT"));
181 pathextstr = strsave(PATH_EXT);
213 return strsave(path);
233 p = strsave(path);
H A Dsearchpath.cpp34 # define relocate(path) strsave(path)
104 *pathp = strsave(name);
154 *pathp = strsave(reading ? "stdin" : "stdout");
161 *pathp = strsave(name);
H A DMakefile.sub43 strsave.$(OBJEXT) \
85 $(srcdir)/strsave.cpp \
/freebsd-11-stable/contrib/groff/src/preproc/refer/
H A Dtoken.cpp202 store_token(strsave(buf), TOKEN_LOWER);
204 store_token(strsave(buf), TOKEN_UPPER);
210 const char *s = strsave(buf);
217 store_token(strsave(buf), TOKEN_PUNCT);
238 store_letter(strsave(lbuf), strsave(ubuf), sort_key);
288 const char *p = strsave(buf);
291 store_letter(p, strsave(buf), sk);
295 p = strsave(buf);
298 store_letter(strsave(bu
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dtc.prompt.c60 month_list[0] = strsave(_time_info->abbrev_month[0]);
61 month_list[1] = strsave(_time_info->abbrev_month[1]);
62 month_list[2] = strsave(_time_info->abbrev_month[2]);
63 month_list[3] = strsave(_time_info->abbrev_month[3]);
64 month_list[4] = strsave(_time_info->abbrev_month[4]);
65 month_list[5] = strsave(_time_info->abbrev_month[5]);
66 month_list[6] = strsave(_time_info->abbrev_month[6]);
67 month_list[7] = strsave(_time_info->abbrev_month[7]);
68 month_list[8] = strsave(_time_info->abbrev_month[8]);
69 month_list[9] = strsave(_time_inf
[all...]
H A Dtc.who.c529 return strsave(wp->who_new);
531 return strsave(wp->who_name);
540 return strsave(CGETS(26, 9, "logged on"));
542 return strsave(CGETS(26, 10, "logged off"));
553 return strsave(CGETS(26, 12, "local"));
573 return strsave(CGETS(26, 12, "local"));
587 return strsave(wp->who_tty);
H A Dma.setp.c256 p = strsave(path);
272 p = strsave(p);
373 p = strsave(p);
464 new = strsave(new);
566 new = strsave(new);
H A Dsh.h123 # define SAVE(a) (strsave(a))
1124 #define Strsave(a) strsave(a)
1251 # define CSAVS(b, c, d) strsave(CGETS(b, c, d))
1258 # define CSAVS(b, c, d) strsave(CGETS(b, c, d))
H A Ded.screen.c386 s = strsave(T_HasMeta ? CGETS(7, 5, "a") : CGETS(7, 6, "no"));
390 s = strsave(T_Tabs ? "" : CGETS(7, 8, " not"));
393 s = strsave((T_Margin&MARGIN_AUTO) ?
398 s = strsave((T_Margin & MARGIN_MAGIC) ?
404 s = strsave(t->str && *t->str ? t->str : CGETS(7, 13, "(empty)"));
553 cv = strsave(short2str(*v));
H A Dsh.file.c602 p1 = strsave(short2str(*(Char *const *) p));
603 q1 = strsave(short2str(*(Char *const *) q));
/freebsd-11-stable/contrib/groff/src/libs/libbib/
H A Dsearch.cpp84 : list(p), ptr(p->list), iter(0), query(strsave(q)),
112 : name(strsave(nm)), filename_id(fid), next(0)
/freebsd-11-stable/contrib/groff/src/preproc/eqn/
H A Deqn.y232 { $$ = new font_box(strsave(get_grfont()), $2); }
234 { $$ = new font_box(strsave(get_gbfont()), $2); }
236 { $$ = new font_box(strsave(get_gfont()), $2); }
325 { $$ = strsave("{"); }
327 { $$ = strsave("}"); }
H A Dlex.cpp271 def->contents = strsave(def_table[i].def);
277 def->contents = strsave("1");
362 filename = strsave(fn);
426 p = s = strsave(str);
453 filename = strsave(fn);
486 p = s = strsave(body);
715 argv[argc] = strsave(token_buffer.contents());
928 def->contents = strsave(token_buffer.contents());
1056 set_char_type(type.contents(), strsave(token_buffer.contents()));
1141 yylval.str = strsave(token_buffe
[all...]
H A Dbox.cpp209 gfont = strsave(s);
215 grfont = strsave(s);
221 gbfont = strsave(s);
289 b = new size_box(strsave(buf), b);
/freebsd-11-stable/contrib/groff/src/preproc/pic/
H A Dlex.cpp133 p = s = strsave(str);
162 char *s = strsave(body);
381 argv[argc] = strsave(token_buffer.contents());
1314 macro_table.define(name, strsave(token_buffer.contents()));
1516 until = strsave(u);
1719 return strsave(def);
1727 return strsave(token_buffer.contents());
1757 yylval.str = strsave(token_buffer.contents());
1797 yylval.lstr.str = strsave(token_buffer.contents());
1802 yylval.str = strsave(token_buffe
[all...]
H A Dmain.cpp226 graphname = strsave("graph"); // default picture name in TeX mode
251 do_file(strsave(filename.contents()));
/freebsd-11-stable/contrib/groff/src/include/
H A Dlib.h44 char *strsave(const char *s);
/freebsd-11-stable/gnu/usr.bin/groff/src/libs/libgroff/
H A DMakefile10 ptable.cpp searchpath.cpp string.cpp strsave.cpp symbol.cpp\
/freebsd-11-stable/release/picobsd/tinyware/msh/
H A Dsh5.c553 *name = strsave(tname, areanum);
H A Dsh4.c123 cp = strsave(cp, areanum);
134 cp = strsave(cp, areanum);
322 dolp = strsave(cp, areanum);
335 dolp = strsave(cp, areanum);
385 cp = strsave(e.iop->argp->aword, 0);
417 #define scopy(x) strsave((x), areanum)
/freebsd-11-stable/contrib/groff/src/roff/groff/
H A Dgroff.cpp391 if (putenv(strsave(e.contents())))
403 if (putenv(strsave(e.contents())))
417 if (putenv(strsave(f.contents())))
455 spooler = strsave(arg);
469 predriver = strsave(arg);
484 postdriver = strsave(arg);
526 name = strsave(s);
/freebsd-11-stable/contrib/groff/src/devices/grohtml/
H A Dpost-html.cpp1836 val_sp = replace_str(val_sp, strsave(v));
1837 file_sp = replace_str(file_sp, strsave(f));
1838 line_sp = replace_str(line_sp, strsave(l));
1841 val_br = replace_str(val_br, strsave(v));
1842 file_br = replace_str(file_br, strsave(f));
1843 line_br = replace_str(line_br, strsave(l));
1846 val_fi = replace_str(val_fi, strsave(v));
1847 file_fi = replace_str(file_fi, strsave(f));
1848 line_fi = replace_str(line_fi, strsave(l));
1851 val_fi = replace_negate_str(val_fi, strsave(
[all...]
/freebsd-11-stable/contrib/groff/src/utils/indxbib/
H A Dindxbib.cpp217 char *dir = strsave(base_name);
234 temp_index_file = strsave(TEMP_INDEX_TEMPLATE);

Completed in 465 milliseconds

12