Home
last modified time | relevance | path

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

123

/freebsd-11-stable/contrib/groff/src/preproc/refer/
HDtoken.cpp202 store_token(strsave(buf), TOKEN_LOWER); in init_ascii()
204 store_token(strsave(buf), TOKEN_UPPER); in init_ascii()
210 const char *s = strsave(buf); in init_ascii()
217 store_token(strsave(buf), TOKEN_PUNCT); in init_ascii()
238 store_letter(strsave(lbuf), strsave(ubuf), sort_key); in init_letter()
288 const char *p = strsave(buf); in init_two_char_letter()
291 store_letter(p, strsave(buf), sk); in init_two_char_letter()
295 p = strsave(buf); in init_two_char_letter()
298 store_letter(strsave(buf), p, sk); in init_two_char_letter()
342 store_token(strsave(buf), TOKEN_ACCENT); in init_strings()
[all …]
/freebsd-11-stable/contrib/tcsh/
HDtc.prompt.c60 month_list[0] = strsave(_time_info->abbrev_month[0]); in dateinit()
61 month_list[1] = strsave(_time_info->abbrev_month[1]); in dateinit()
62 month_list[2] = strsave(_time_info->abbrev_month[2]); in dateinit()
63 month_list[3] = strsave(_time_info->abbrev_month[3]); in dateinit()
64 month_list[4] = strsave(_time_info->abbrev_month[4]); in dateinit()
65 month_list[5] = strsave(_time_info->abbrev_month[5]); in dateinit()
66 month_list[6] = strsave(_time_info->abbrev_month[6]); in dateinit()
67 month_list[7] = strsave(_time_info->abbrev_month[7]); in dateinit()
68 month_list[8] = strsave(_time_info->abbrev_month[8]); in dateinit()
69 month_list[9] = strsave(_time_info->abbrev_month[9]); in dateinit()
[all …]
HDtc.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);
HDma.setp.c256 p = strsave(path); in initpaths()
272 p = strsave(p); in initpaths()
373 p = strsave(p); in tcsh_rcmd()
464 new = strsave(new); in insert()
566 new = strsave(new); in change()
HDsh.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))
HDed.screen.c386 s = strsave(T_HasMeta ? CGETS(7, 5, "a") : CGETS(7, 6, "no")); in TellTC()
390 s = strsave(T_Tabs ? "" : CGETS(7, 8, " not")); in TellTC()
393 s = strsave((T_Margin&MARGIN_AUTO) ? in TellTC()
398 s = strsave((T_Margin & MARGIN_MAGIC) ? in TellTC()
404 s = strsave(t->str && *t->str ? t->str : CGETS(7, 13, "(empty)")); in TellTC()
553 cv = strsave(short2str(*v)); in EchoTC()
HDtc.func.c420 tv[0] = strsave(short2str(v[1])); in dosettc()
422 tv[1] = strsave(short2str(v[2])); in dosettc()
1752 char *sa = strsave(short2str(a)); in collate()
1753 char *sb = strsave(short2str(b)); in collate()
1755 char *sa = strip(strsave(a)); in collate()
1756 char *sb = strip(strsave(b)); in collate()
/freebsd-11-stable/contrib/groff/src/libs/libgroff/
HDrelocate.cpp132 char *tmpathext = strsave(pathext); // strtok modifies this string, in searchpathext()
179 pathextstr = strsave(getenv("PATHEXT")); in set_current_prefix()
181 pathextstr = strsave(PATH_EXT); in set_current_prefix()
213 return strsave(path); in relocatep()
233 p = strsave(path); in relocate()
HDsearchpath.cpp34 # define relocate(path) strsave(path)
104 *pathp = strsave(name); in open_file()
154 *pathp = strsave(reading ? "stdin" : "stdout"); in open_file_cautious()
161 *pathp = strsave(name); in open_file_cautious()
HDchange_lf.cpp22 extern char *strsave(const char *);
31 current_filename = strsave(f); in change_filename()
HDMakefile.sub43 strsave.$(OBJEXT) \
85 $(srcdir)/strsave.cpp \
HDstrsave.cpp23 char *strsave(const char *s) in strsave() function
/freebsd-11-stable/contrib/groff/src/preproc/pic/
HDlex.cpp133 p = s = strsave(str); in macro_input()
162 char *s = strsave(body); in process_body()
381 argv[argc] = strsave(token_buffer.contents()); in interpolate_macro_with_args()
1314 macro_table.define(name, strsave(token_buffer.contents())); in do_define()
1516 until = strsave(u); in copy_thru_input()
1719 return strsave(def); in get_thru_arg()
1727 return strsave(token_buffer.contents()); in get_thru_arg()
1757 yylval.str = strsave(token_buffer.contents()); in yylex()
1797 yylval.lstr.str = strsave(token_buffer.contents()); in yylex()
1802 yylval.str = strsave(token_buffer.contents()); in yylex()
[all …]
HDmain.cpp226 graphname = strsave("graph"); // default picture name in TeX mode in do_picture()
251 do_file(strsave(filename.contents())); in do_picture()
HDtroff.cpp505 last_filled = strsave(color_fill); in set_color()
509 last_outlined = strsave(color_outlined); in set_color()
/freebsd-11-stable/contrib/groff/src/preproc/eqn/
HDlex.cpp271 def->contents = strsave(def_table[i].def); in init_table()
277 def->contents = strsave("1"); in init_table()
362 filename = strsave(fn); in file_input()
426 p = s = strsave(str); in macro_input()
453 filename = strsave(fn); in top_input()
486 p = s = strsave(body); in argument_macro_input()
715 argv[argc] = strsave(token_buffer.contents()); in interpolate_macro_with_args()
928 def->contents = strsave(token_buffer.contents()); in do_definition()
1056 set_char_type(type.contents(), strsave(token_buffer.contents())); in do_chartype()
1141 yylval.str = strsave(token_buffer.contents()); in yylex()
HDeqn.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("}"); }
HDbox.cpp209 gfont = strsave(s); in set_gfont()
215 grfont = strsave(s); in set_grfont()
221 gbfont = strsave(s); in set_gbfont()
289 b = new size_box(strsave(buf), b); in top_level()
HDtext.cpp229 s = strsave(t); in special_char_box()
488 b = new quoted_text_box(strsave(buf)); in split_text()
493 b = new quoted_text_box(strsave(s - 2)); in split_text()
/freebsd-11-stable/contrib/groff/src/roff/groff/
HDgroff.cpp391 if (putenv(strsave(e.contents()))) in main()
403 if (putenv(strsave(e.contents()))) in main()
417 if (putenv(strsave(f.contents()))) in main()
455 spooler = strsave(arg); in handle_unknown_desc_command()
469 predriver = strsave(arg); in handle_unknown_desc_command()
484 postdriver = strsave(arg); in handle_unknown_desc_command()
526 name = strsave(s); in set_name()
/freebsd-11-stable/contrib/groff/src/libs/libbib/
HDsearch.cpp84 : list(p), ptr(p->list), iter(0), query(strsave(q)), in search_list_iterator()
112 : name(strsave(nm)), filename_id(fid), next(0) in search_item()
/freebsd-11-stable/release/picobsd/tinyware/msh/
HDsh4.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/include/
HDlib.h44 char *strsave(const char *s);
/freebsd-11-stable/gnu/usr.bin/groff/src/libs/libgroff/
HDMakefile10 ptable.cpp searchpath.cpp string.cpp strsave.cpp symbol.cpp\
/freebsd-11-stable/contrib/groff/src/devices/grohtml/
HDpost-html.cpp1836 val_sp = replace_str(val_sp, strsave(v)); in set()
1837 file_sp = replace_str(file_sp, strsave(f)); in set()
1838 line_sp = replace_str(line_sp, strsave(l)); in set()
1841 val_br = replace_str(val_br, strsave(v)); in set()
1842 file_br = replace_str(file_br, strsave(f)); in set()
1843 line_br = replace_str(line_br, strsave(l)); in set()
1846 val_fi = replace_str(val_fi, strsave(v)); in set()
1847 file_fi = replace_str(file_fi, strsave(f)); in set()
1848 line_fi = replace_str(line_fi, strsave(l)); in set()
1851 val_fi = replace_negate_str(val_fi, strsave(v)); in set()
[all …]

123