Searched defs:fun (Results 1 - 25 of 44) sorted by relevance

12

/ast/src/cmd/ksh93/tests/
H A Darrays.sh34 function fun function
116 fun
120 fun
H A Dattributes.sh216 unset -f fun
217 function fun function
223 fun
H A Dcubetype.sh112 fun() function
130 [[ $(c.fun) == 'hello world' ]] || err_exit '$(c.fun) != "hello world"'
131 [[ ${c.fun} == 'hello world' ]] || err_exit '${c.fun} != "hello world"'
H A Dio.sh36 function fun function
51 [[ $(fun) == good ]] || err_exit 'file 3 closed before subshell completes'
H A Dbasic.sh444 function fun function
449 fun
H A Dnamespace.sh42 function fun function
44 print global fun $foo
76 [[ $(fun) == 'global fun abc' ]] || err_exit 'global fun run from namespace not working'
H A Dvariables.sh445 function fun function
460 [[ $(fun .sh.file) == $tmp/script ]] || err_exit ".sh.file not working for functions"
461 [[ $(posixfun .sh.fun) == posixfun ]] || err_exit ".sh.fun not working for posix functions"
462 [[ $(fun .sh.fun) == fun ]] || err_exit ".sh.fun not working for functions"
464 [[ $(fun .sh.subshell) == 1 ]] || err_exit ".sh.subshell not working for functions"
467 [[ $(fun
[all...]
H A Dfunctions.sh138 fun() /bin/echo hello function
139 if [[ $(fun) != hello ]]
313 val=$(myexport dgk fun)
314 if [[ $val != fun ]]
315 then err_exit "export inside function not working -- expected 'fun', got '$val'"
321 val=$(myexport dgk fun fun2)
338 val=$(myexport zzz fun)
339 if [[ $val != fun ]]
340 then err_exit "export inside function not working -- expected 'fun', got '$val'"
454 print ${.sh.fun}
842 function fun function
[all...]
H A Dnameref.sh223 unset fun i
225 function fun function
231 [[ $(fun $i) == hi ]] || err_exit 'nameref for compound variable with in function name of caller fails'
/ast/src/lib/libast/misc/
H A Doptjoin.c29 * int fun(char** argv, int last)
31 * each fun() argument parses as much of argv as
35 * if last!=0 then fun is the last pass to view
36 * the current arg, otherwise fun sets opt_info.again=1
39 * 0 fun() return causes immediate optjoin() 0 return
53 register Optpass_f fun; local
72 while (fun = va_arg(ap, Optpass_f))
77 user = (*fun)(argv, 0);
104 err = fun;
113 rep = fun;
[all...]
H A Dsignal.c26 * fun==SIG_DFL also unblocks signal
75 signal(int sig, Sig_handler_t fun) argument
90 unblock = fun == SIG_DFL;
96 na.sa_handler = fun;
/ast/src/lib/librecsort/
H A Drslib.c44 Rslib_f fun; local
58 if (!(fun = (Rslib_f)dlllook(dll, symbol)))
69 disc = (*fun)(kp, s);
/ast/src/lib/libcmd/
H A Dcmd.h102 Shbltin_f fun; local
122 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
124 if (fun = (Shbltin_f)dlsym(dll, buf))
129 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
131 if (fun = (Shbltin_f)dlsym(dll, buf))
136 return (*fun)(argc, argv, NiL);
/ast/src/lib/libcs/
H A Dcslocal.c56 Handler_t fun; local
59 if ((fun = signal(SIGCHLD, child)) == SIG_DFL) signal(SIGCHLD, fun);
73 if (fun != SIG_DFL)
75 signal(SIGCHLD, fun);
76 if (fun != SIG_IGN)
78 (*fun)(SIGCHLD);
/ast/src/cmd/ksh93/sh/
H A Dfcin.c131 void fcnotify(void (*fun)(Sfio_t*,const char*,int,void*),void* context) argument
133 _Fcin.fcfun = fun;
/ast/src/lib/libast/regex/
H A Dregclass.c254 * associate the ctype function fun with name
258 regaddclass(const char* name, regclass_t fun) argument
268 cp->ctype = fun;
275 np->ctype = fun;
/ast/src/lib/libexpr/
H A Dexgram.h344 call(Exref_t* ref, register Exid_t* fun, register Exnode_t* args) argument
352 t = fun->type;
353 x->data.variable.symbol = fun = QUALIFY(ref, fun);
361 exerror("%s: not enough args", fun->name);
371 exerror("%s: too many args", fun->name);
/ast/src/cmd/ksh93/bltins/
H A Dalarm.c40 Namfun_t fun; member in struct:tevent
268 tp->fun.disc = &alarmdisc;
H A Dmkservice.c117 Namfun_t fun; member in struct:Service_s
443 sp->fun.disc = &servdisc;
/ast/src/cmd/re/
H A Dtestfmt.c160 report(char* comment, char* fun, char* re, char* msg, int expand) argument
165 if (fun)
166 sfprintf(sfstdout, " %s", fun);
323 char* fun; local
514 fun = "fmtmatch";
519 fun = "fmtre";
526 sfprintf(sfstdout, "test %-3d %s \"%s\" \"%s\"\n", state.lineno, fun, re, ans ? ans : "NIL");
539 report("failed: ", fun, re, msg, expand);
/ast/src/cmd/3d/
H A Dlib.c454 * iterate fun over tab
455 * terminates on first negative return from fun
459 iterate(register Table_t* tab, int (*fun)(Map_t*, char*, int), register char* buf, int flags) argument
469 if ((n = (*fun)(cp, buf, flags)) < 0)
/ast/src/cmd/kshlib/open/
H A Dopen.c41 Namfun_t fun; member in struct:dctime
114 dp->fun.disc = &timedisc;
115 nv_stack(np,&dp->fun);
218 Namfun_t fun; member in struct:dcclass
378 tcp->fun.disc = &classdisc;
381 nv_stack(np,&tcp->fun);
/ast/src/lib/libast/comp/
H A Diconv.c75 _ast_iconv_f fun; member in struct:Map_s
1117 cc->from.fun = (_ast_iconv_f)iconv;
1121 cc->from.fun = (_ast_iconv_f)_win_iconv;
1128 cc->from.fun = utf2bin;
1131 cc->from.fun = ume2bin;
1134 cc->from.fun = ucs2bin;
1137 cc->from.fun = scu2bin;
1150 cc->to.fun = bin2utf;
1153 cc->to.fun = bin2ume;
1156 cc->to.fun
[all...]
/ast/src/lib/libdss/
H A Dcxcomp.c278 cxcodetrace(Cx_t* cx, const char* fun, Cxinstruction_t* pc, unsigned int offset, Cxoperand_t* bp, Cxoperand_t* sp) argument
325 error(0, "%s %04u %8s %-12s pp %2d%s%s%s", fun, offset, o, pc->type->name, pc->pp, val, a, b);
/ast/src/cmd/ksh93/include/
H A Dstreval.h76 Sfdouble_t (*fun)(Sfdouble_t,...); member in struct:lval
100 Sfdouble_t (*fun)(const char**,struct lval*,int,Sfdouble_t); member in struct:_arith_

Completed in 90 milliseconds

12