/ast/src/cmd/ksh93/tests/ |
H A D | arrays.sh | 34 function fun function 116 fun 120 fun
|
H A D | attributes.sh | 216 unset -f fun 217 function fun function 223 fun
|
H A D | cubetype.sh | 112 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 D | io.sh | 36 function fun function 51 [[ $(fun) == good ]] || err_exit 'file 3 closed before subshell completes'
|
H A D | basic.sh | 444 function fun function 449 fun
|
H A D | namespace.sh | 42 function fun function 44 print global fun $foo 76 [[ $(fun) == 'global fun abc' ]] || err_exit 'global fun run from namespace not working'
|
H A D | variables.sh | 445 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 D | functions.sh | 138 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 D | nameref.sh | 223 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 D | optjoin.c | 29 * 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 D | signal.c | 26 * 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 D | rslib.c | 44 Rslib_f fun; local 58 if (!(fun = (Rslib_f)dlllook(dll, symbol))) 69 disc = (*fun)(kp, s);
|
/ast/src/lib/libcmd/ |
H A D | cmd.h | 102 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 D | cslocal.c | 56 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 D | fcin.c | 131 void fcnotify(void (*fun)(Sfio_t*,const char*,int,void*),void* context) argument 133 _Fcin.fcfun = fun;
|
/ast/src/lib/libast/regex/ |
H A D | regclass.c | 254 * 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 D | exgram.h | 344 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 D | alarm.c | 40 Namfun_t fun; member in struct:tevent 268 tp->fun.disc = &alarmdisc;
|
H A D | mkservice.c | 117 Namfun_t fun; member in struct:Service_s 443 sp->fun.disc = &servdisc;
|
/ast/src/cmd/re/ |
H A D | testfmt.c | 160 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 D | lib.c | 454 * 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 D | open.c | 41 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 D | iconv.c | 75 _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 D | cxcomp.c | 278 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 D | streval.h | 76 Sfdouble_t (*fun)(Sfdouble_t,...); member in struct:lval 100 Sfdouble_t (*fun)(const char**,struct lval*,int,Sfdouble_t); member in struct:_arith_
|