Searched refs:arg (Results 1 - 25 of 299) sorted by relevance

1234567891011>>

/ast/src/cmd/3d/
H A Dvex.sh35 for arg
38 else case $arg in
44 x=$(vpath "$arg" 2>/dev/null)
46 ?*) arg=${x#$PWD/} ;;
51 argv[argc]=$arg
H A Dfcntl3d.c35 void* arg; local
40 arg = va_arg(ap, void*);
42 n = (int)integralof(arg);
45 r = FCNTL(fd, op, arg);
/ast/src/cmd/mam/
H A Dmamold.sh46 while read -r op arg val extra junk
48 [0-9]*) op=$arg
49 arg=$val
54 setv) variable[nvariables++]=$arg
55 convert "$arg = $val"
59 implicit[$rule]="${implicit[$rule]} $arg" ||
60 prereqs[$rule]="${prereqs[$rule]} $arg"
62 target[++level]=$arg
63 [[ " $order " != *" $arg "* ]] && order="$order $arg"
[all...]
H A Dmamdot.sh72 while read -r label op arg arg2 arg3 args
75 arg2=$arg
76 arg=$op
80 rule=$arg
81 [[ ${top[$label]} || $arg == */* || $op != $tree ]] || {
82 arg=$label::$arg
83 [[ $op == make ]] && print "\"$arg\" [ label = \"$rule\" ]"
86 make) [[ $rule == $ignore ]] || list[level]=${list[level]}$'\n'\"$arg\"
90 prev) [[ $rule == $ignore ]] || list[level]=${list[level]}$'\n'\"$arg\"
[all...]
H A Dmamdag.sh64 while read op arg arg2 argx
67 [0-9]*) op=$arg
68 arg=$arg2
76 *" \"$arg\" "*) ;;
77 *) list[level]="${list[level]} \"$arg\"" ;;
80 list[level]=\"$arg\"
83 *" \"$arg\" "*) ;;
84 *) list[level]="${list[level]} \"$arg\"" ;;
91 then print -u2 "$COMMAND: line $line: $op $arg: no matching make op"
/ast/src/lib/libcmd/
H A Dmkfifo.c55 register char* arg; local
67 mode = strperm(arg = opt_info.arg, &opt_info.arg, mode);
68 if (*opt_info.arg)
69 error(ERROR_exit(0), "%s: invalid mode", arg);
72 error(2, "%s", opt_info.arg);
75 error(ERROR_usage(2), "%s", opt_info.arg);
90 while (arg = *argv++)
91 if (mkfifo(arg, mod
[all...]
H A Dlogname.c63 error(2, "%s", opt_info.arg);
66 error(ERROR_usage(2), "%s", opt_info.arg);
H A Dmktemp.c90 mode = strperm(pfx = opt_info.arg, &opt_info.arg, S_IRWXU);
91 if (*opt_info.arg)
98 dir = opt_info.arg;
111 if (!pathtemp(NiL, 0, opt_info.arg, "/seed", NiL))
112 error(2, "%s: regression test initializtion failed", opt_info.arg);
115 error(2, "%s", opt_info.arg);
118 error(ERROR_usage(2), "%s", opt_info.arg);
H A Dsync.c62 error(2, "%s", opt_info.arg);
65 error(ERROR_usage(2), "%s", opt_info.arg);
/ast/src/lib/libast/comp/
H A Dexeclp.c45 execlp(const char* name, const char* arg, ...)
47 return execvp(name, (char *const*)&arg);
/ast/src/lib/librecsort/
H A Drsnotify.c27 int rsnotify(Rs_t* rs, int op, Void_t* data, Void_t* arg, reg Rsdisc_t* disc) argument
29 int rsnotify(rs, op, data, arg, disc)
33 Void_t* arg;
43 (r = (*disc->eventf)(rs, op, data, arg, disc)))
/ast/src/lib/libtksh/src/
H A Ddebug.c50 int arg; local
54 for (arg=0; arg < argc; arg++)
55 sfprintf(outFile, " <%.10s>", argv[arg]);
59 for (arg=0; argv[arg]; arg++)
60 sfprintf(outFile, " <%.10s>", argv[arg]);
/ast/src/cmd/ksh93/bltins/
H A Dhist.c45 register char *arg; local
65 edit = opt_info.arg;
93 errormsg(SH_DICT,2, "%s", opt_info.arg);
96 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg);
107 while(arg=argv[1])
109 flag = hist_expand(arg,&replace);
122 while(flag<1 && (arg=argv[1]))
125 if(!replace && strchr(arg+1,'='))
127 replace = arg;
131 else if(isdigit(*arg) || *ar
[all...]
H A Dcflow.c48 register char *arg; local
56 errormsg(SH_DICT,2, "%s", opt_info.arg);
59 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg);
67 n = (((arg= *argv)?(int)strtol(arg, (char**)0, 10):shp->oldexit));
87 char *arg; local
93 errormsg(SH_DICT,2, "%s", opt_info.arg);
96 errormsg(SH_DICT,ERROR_usage(0), "%s", opt_info.arg);
103 if(arg= *argv)
105 n = (int)strtol(arg,
[all...]
H A Dtest.c178 errormsg(SH_DICT,ERROR_usage(2), "%s",opt_info.arg);
253 register char *arg, *cp; local
256 arg=nxtarg(tp,0);
257 if(arg && c_eq(arg, '!'))
259 if(c_eq(arg, '('))
270 if(c2_eq(arg,'-','t'))
284 if(*arg=='-' && arg[2]==0)
286 op = arg[
313 test_unop(Shell_t *shp,register int op,register const char *arg) argument
[all...]
/ast/src/cmd/nmake/
H A Dppcc.sh195 do arg=$1
197 case $arg in
202 ?*) set '' "$@" "$arg"
204 arg=$1
220 eval input$nfile='$arg'
223 "") file=`echo $arg | sed -e "s,.*/,," -e "s,^,$tmp/,"`
235 *) file=`echo $arg | sed -e "s,.*/,," -e "s,[.][^.]*,.i,"`
244 set '' "$@" "$arg"
247 # sub-shell to split pp and cc arg lists
268 do arg
[all...]
/ast/src/cmd/tests/vmalloc/
H A Dtmmopen.c31 char *arg[5]; local
91 arg[0] = argv[0];
92 arg[1] = "--child";
93 arg[2] = shmfile;
94 arg[3] = mapfile;
95 arg[4] = 0;
96 if(execv(argv[0], arg) < 0 )
/ast/src/cmd/tw/
H A Dxargs.c25 * xargs -- construct arg list and exec -- use tw instead
31 "[+NAME?xargs - construct arg list and execute command]"
140 if (opt_info.arg == argv[opt_info.index - 1])
142 opt_info.arg = 0;
147 eof = opt_info.arg;
155 if (opt_info.arg == argv[opt_info.index - 1])
157 opt_info.arg = 0;
162 insert = opt_info.arg ? opt_info.arg : "{}";
172 if (opt_info.arg
[all...]
/ast/src/cmd/kshlib/cmdtst/
H A Dxargs.c26 * xargs -- construct arg list and exec -- use tw instead
33 "[+NAME?xargs - construct arg list and execute command]"
151 if (opt_info.arg == argv[opt_info.index - 1])
153 opt_info.arg = 0;
158 eof = opt_info.arg;
166 if (opt_info.arg == argv[opt_info.index - 1])
168 opt_info.arg = 0;
173 insert = opt_info.arg ? opt_info.arg : "{}";
183 if (opt_info.arg
[all...]
/ast/src/lib/libmam/
H A Dmam.c153 char* arg; local
156 while (tokscan(s, &s, " %s ", &arg) == 1)
158 if (streq(arg, "archive"))
160 else if (streq(arg, "dontcare"))
162 else if (streq(arg, "implicit"))
164 else if (streq(arg, "metarule"))
166 else if (streq(arg, "virtual"))
184 char* arg; local
229 tokscan(s, &val, " %s ", &arg);
231 mamvar(pp, arg, strdu
[all...]
/ast/src/cmd/builtin/
H A Ddlls.c82 char* arg[3]; local
114 error(2, "%s", opt_info.arg);
117 error(ERROR_usage(2), "%s", opt_info.arg);
152 for (i = 0; i < elementsof(arg); i++)
153 if (arg[i] = *argv)
160 if (dls = dllsopen(arg[0], arg[1], arg[2]))
241 if (!r || !arg[0] || streq(arg[
[all...]
/ast/src/cmd/std/
H A Dfile.c214 if (streq(opt_info.arg, "-") || streq(opt_info.arg, "/dev/stdin") || streq(opt_info.arg, "/dev/fd/0"))
216 else if (!(list = sfopen(NiL, opt_info.arg, "r")))
217 error(3, "cannot open %s", opt_info.arg);
229 if (magicload(mp, opt_info.arg, 0))
230 error(3, "%s: cannot load magic file", opt_info.arg);
233 if (magicload(mp, opt_info.arg, 0))
234 error(3, "%s: cannot load magic file", opt_info.arg);
238 pattern = opt_info.arg;
[all...]
H A Dtouch.c144 if (streq(opt_info.arg, "access") || streq(opt_info.arg, "atime") || streq(opt_info.arg, "use"))
146 else if (streq(opt_info.arg, "change") || streq(opt_info.arg, "ctime"))
148 else if (streq(opt_info.arg, "modify") || streq(opt_info.arg, "mtime") || streq(opt_info.arg, "modification"))
153 t = tmxdate(opt_info.arg, &e, TMX_NOW);
166 reference = opt_info.arg;
[all...]
/ast/src/cmd/dss/
H A Ddss.c233 if (!(action = strdup(sfprints("{write %s}", fmtquote(opt_info.arg, "'", "'", strlen(opt_info.arg), FMT_ALWAYS|FMT_ESCAPED)))))
237 if (pathinclude(opt_info.arg))
241 if (!dssload(opt_info.arg, &disc))
245 disc.map = opt_info.arg;
251 if (!(action = strdup(sfprints("{print %s}", fmtquote(opt_info.arg, "'", "'", strlen(opt_info.arg), FMT_ALWAYS|FMT_ESCAPED)))))
261 if (!(meth = dssmeth(opt_info.arg, &disc)))
262 error(3, "%s: unknown method", opt_info.arg);
265 sfsprintf(plugins = style, sizeof(style), "?%s", opt_info.arg);
[all...]
/ast/src/lib/libvcodex/Vcmisc/
H A Dvcmtf.c206 Vcmtarg_t *arg; local
211 for(arg = _Mtfargs;; ++arg)
212 if(!arg->name || arg->data == mtdt)
214 if(!arg->name)
217 n = strlen(arg->name);
220 if(!(ident = vcstrcode(arg->name, ident, sizeof(int)*n+1)) )
235 Vcmtarg_t *arg; local
238 for(arg
256 Vcmtarg_t *arg; local
[all...]

Completed in 74 milliseconds

1234567891011>>