Home
last modified time | relevance | path

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

12

/openbsd/usr.bin/less/
H A Dprompt.c78 prproto[0] = estrdup(s_proto); in init_prompt()
79 prproto[1] = estrdup(less_is_more ? more_proto : m_proto); in init_prompt()
80 prproto[2] = estrdup(less_is_more ? more_M_proto : M_proto); in init_prompt()
81 eqproto = estrdup(e_proto); in init_prompt()
82 hproto = estrdup(h_proto); in init_prompt()
83 wproto = estrdup(w_proto); in init_prompt()
H A Dlsystem.c89 p = estrdup(shell); in lsystem()
100 p = estrdup("sh"); in lsystem()
102 p = estrdup(cmd); in lsystem()
H A Dmain.c142 scan_option(estrdup(s), 1); in main()
310 estrdup(const char *str) in estrdup() function
H A Dtags.c96 tp->tag_file = estrdup(file); in maketagent()
102 tp->tag_pattern = estrdup(pattern); in maketagent()
H A Doptfunc.c74 namelogfile = estrdup(s); in opt_o()
351 *proto = estrdup(s); in opt__P()
H A Dscreen.c398 t2 = estrdup(tparm(sc_move, 0, 0, 0, 0, 0, 0, 0, 0, 0)); in get_term()
412 t2 = estrdup(tparm(sc_move, sc_height-1, in get_term()
H A Ddecode.c691 filename = estrdup(filename); in add_hometable()
693 filename = estrdup(def_filename); in add_hometable()
/openbsd/sbin/fsck/
H A Dfsck.c280 optbuf = estrdup(options); in checkfs()
283 optbuf = estrdup(extra); in checkfs()
414 e->type = estrdup(type); in addentry()
415 e->options = estrdup(opts); in addentry()
450 cp = estrdup(s1); in catopt()
H A Dpreen.c260 d->d_name = estrdup(name); in finddisk()
300 p->p_devname = estrdup(devname); in addpart()
301 p->p_mntpt = estrdup(mntpt); in addpart()
302 p->p_type = estrdup(type); in addpart()
H A Dfsutil.h46 char *estrdup(const char *);
H A Dfsutil.c272 estrdup(const char *s) in estrdup() function
/openbsd/usr.bin/finger/
H A Dutil.c52 char *estrdup(char *);
77 estrdup(char *s) in estrdup() function
97 pn->name = estrdup(pw->pw_name); in userinfo()
98 pn->dir = estrdup(pw->pw_dir); in userinfo()
99 pn->shell = estrdup(pw->pw_shell); in userinfo()
/openbsd/usr.bin/make/
H A Dsuff.c864 ret->file = estrdup(s->name); in SuffFindCmds()
1081 targ->file = estrdup(gn->name); in record_possible_suffix()
1185 targ->file = estrdup(gn->name); in SuffFindNormalDeps()
1190 targ->prefix = estrdup(gn->name); in SuffFindNormalDeps()
1234 prefix = targ != NULL ? estrdup(targ->prefix) : gn->name; in SuffFindNormalDeps()
1257 Var(TARGET_INDEX, gn) = estrdup(gn->path); in SuffFindNormalDeps()
1278 Var(PREFIX_INDEX, gn) = estrdup(ptr); in SuffFindNormalDeps()
1292 Var(PREFIX_INDEX, gn) = estrdup(ptr); in SuffFindNormalDeps()
1301 gn->path = estrdup(gn->name); in SuffFindNormalDeps()
1362 Var(PREFIX_INDEX, targ->node) = estrdup(targ->prefix); in SuffFindNormalDeps()
[all …]
H A Dmain.c341 Lst_AtEnd(create, estrdup(argv[optind])); in MainParseArgs()
532 return estrdup(dir); in figure_out_CURDIR()
546 return estrdup(path); in chdir_verify_path()
864 u->fname = estrdup(fname); in open_makefile()
892 Parse_File(estrdup("(stdin)"), stdin); in ReadMakefile()
H A Dmemory.h42 extern char *estrdup(const char *);
H A Dtargequiv.c240 return estrdup(buffer); in absolute_reduce()
258 return estrdup(buffer); in relative_reduce()
281 return estrdup(buffer); in relative_reduce2()
H A Dmemory.c72 estrdup(const char *str) in estrdup() function
H A Dcmd_exec.c214 return estrdup(""); in Cmd_Exec()
H A Ddir.c397 p == dot ? estrdup(entry) : in Dir_MatchFilesi()
716 fullName = estrdup(gn->name); in Dir_MTime()
/openbsd/usr.bin/spell/
H A Dspellprog.c106 char *estrdup(const char *);
732 tab->suf = estrdup(tab->suf); in ise()
735 tab->d1 = estrdup(tab->d1); in ise()
739 tab->a1 = estrdup(tab->a1); in ise()
756 estrdup(const char *s) in estrdup() function
/openbsd/usr.sbin/makefs/
H A Dwalk.c181 cur->symlink = estrdup(slink); in walk_dir()
200 cur->path = estrdup(path); in create_fsnode()
201 cur->name = estrdup(name); in create_fsnode()
H A Dxmalloc.c38 estrdup(const char *s) in estrdup() function
H A Dmakefs.c226 var = estrdup(option); in set_option()
264 s = estrdup(val); in set_option_var()
H A Dmakefs.h194 char *estrdup(const char *);
/openbsd/usr.bin/fgen/
H A Dfgen.l110 estrdup(const char *s) in estrdup() function
1259 fcode->name = estrdup(token->text);
1321 alias->name = estrdup(token->text);
1378 fcode->name = estrdup(token->text);
1411 fcode->name = estrdup(token->text);
1450 fcode->name = estrdup(token->text);
1531 fcode->name = estrdup(token->text);
1688 fcode->name = estrdup(token->text);
1919 fcode->name = estrdup(token->text);
1947 fcode->name = estrdup(token->text);
[all …]

12