/ast/src/lib/libast/string/ |
H A D | strdup.c | 29 __STDPP__directive pragma pp:hide strdup 31 #define strdup ______strdup 39 __STDPP__directive pragma pp:nohide strdup 41 #undef strdup 54 strdup(register const char* s) function
|
H A D | stropt.c | 72 else if (!(x = s = strdup(as))) n = -1;
|
/ast/src/lib/libast/astsa/ |
H A D | strdup.c | 31 strdup(register const char* s) function
|
/ast/src/lib/libast/path/ |
H A D | pathbin.c | 41 if (!*(bin = astconf("PATH", NiL, NiL)) || !(bin = strdup(bin)))
|
H A D | pathpath.c | 69 cmd = a ? strdup(a) : (char*)0; 85 return (path == buf) ? strdup(path) : path; 103 cmd = strdup(s); 115 return path == buf ? strdup(s) : s; 126 return (s && path == buf) ? strdup(s) : s;
|
H A D | pathshell.c | 107 if (!*(sh = astconf("SH", NiL, NiL)) || *sh != '/' || eaccess(sh, X_OK) || !(sh = strdup(sh)))
|
H A D | pathprog.c | 122 if ((n = prog(command, path, size)) > 0 && n < size && *path != '/' && (rel = strdup(path)))
|
H A D | pathtemp.c | 137 tmp.pfx = dir ? strdup(dir) : (char*)0; 164 tmp.tmpdir = dir ? strdup(dir) : (char*)0; 176 tmp.tmppath = dir ? strdup(dir) : (char*)0;
|
/ast/src/lib/libast/stdio/ |
H A D | vasprintf.c | 35 if (!(*s = strdup(sfstruse(f))))
|
/ast/src/lib/libast/vec/ |
H A D | vecstring.c | 43 if (!str || !*str || !(buf = strdup(str))) vec = 0;
|
/ast/src/lib/libast/comp/ |
H A D | setenv.c | 51 if (!(s = sfprints("%s=%s", name, value)) || !(s = strdup(s)))
|
/ast/src/cmd/3d/ |
H A D | ast.c | 107 #undef strdup macro 113 extern char* strdup(const char*); 119 extern char* _ast_strdup(const char* s) { return strdup(s); }
|
/ast/src/cmd/cs/vcs_src/ |
H A D | mnt_mtab.c | 46 entry->mpoint = strdup(mpoint); 47 entry->vcscmd = strdup(cmd); 93 istate.cs_svc = strdup(s);
|
H A D | mnt_touch.c | 51 istate.cs_svc = strdup(s);
|
H A D | mnt_umount.c | 56 istate.cs_svc = strdup(s);
|
H A D | vcs_dir.c | 76 dp->link = strdup(link); 88 ndp->link = strdup(link); 101 ndp->link = strdup(link);
|
H A D | mnt_list.c | 59 istate.cs_svc = strdup(s);
|
H A D | ifs_agent.c | 49 newitem->name = strdup( name ); 203 mi->lpath = strdup( localpath ); 204 mi->proto = strdup( proto ); 208 mi->rpath = strdup( ptr ); 211 mi->rpath = strdup( "" ); 222 mi->user = strdup( host ); 231 mi->host = strdup( host ); 726 physical = strdup(srv.lpath);
|
/ast/src/lib/libast/tm/ |
H A D | tminit.c | 186 tm_info.deformat = (n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdup(v) : tm_info.format[TM_DEFAULT]; 189 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0; 252 local.standard = strdup(tzname[0]); 253 local.daylight = strdup(tzname[1]); 300 local.standard = strdup(tzname[0]); 302 local.daylight = strdup(tzname[1]); 306 if ((s = getenv("TZNAME")) && *s && (s = strdup(s))) 319 else if ((s = getenv("TZ")) && *s && *s != ':' && (s = strdup(s))) 361 s = strdup(buf); 375 local.standard = strdup(bu [all...] |
/ast/src/lib/libmam/ |
H A D | mam.c | 231 mamvar(pp, arg, strdup(val)); 273 a->data = strdup(s); 295 if (val) r->bound = strdup(val); 315 mp->version = strdup(arg); 346 pp->pwd = strdup(val); 351 pp->view = strdup(val);
|
/ast/src/lib/libast/preroot/ |
H A D | getpreroot.c | 62 return(path == buf ? strdup(path) : path); 116 if (path == buf) return(strdup(p));
|
/ast/src/cmd/dss/ |
H A D | dss.c | 233 if (!(action = strdup(sfprints("{write %s}", fmtquote(opt_info.arg, "'", "'", strlen(opt_info.arg), FMT_ALWAYS|FMT_ESCAPED))))) 251 if (!(action = strdup(sfprints("{print %s}", fmtquote(opt_info.arg, "'", "'", strlen(opt_info.arg), FMT_ALWAYS|FMT_ESCAPED)))))
|
/ast/src/cmd/pax/ |
H A D | pax-flash.c | 99 ap->package = strdup(sfprints("%s %s", fp->name, version));
|
H A D | pax.c | 606 ap->delta->base = initarchive(strdup(v), O_RDONLY); 648 state.checksum.name = strdup(e); 661 state.mode = strdup(v); 670 state.header.comment = y ? strdup(v) : (char*)0; 769 eomprompt = y ? strdup(v) : (char*)0; 775 state.header.extended = y ? strdup(v) : (char*)0; 781 ap->name = strdup(v); 796 else if (s = strdup(v)) 894 state.header.global = y ? strdup(v) : (char*)0; 897 v = y ? strdup( [all...] |
/ast/src/lib/libast/include/ |
H A D | vmalloc.h | 273 #ifndef strdup 274 #define strdup(s) ( _VMFL_(Vmregion), (strdup)((char*)(s)) ) 291 #ifndef strdup 292 #define strdup(s) ( _VMFL_(Vmregion), _VMNM_(strdu,/,*,*,/,p)\
|