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

12

/illumos-gate/usr/src/lib/libshell/common/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.sh113 fun() function
131 [[ $(c.fun) == 'hello world' ]] || err_exit '$(c.fun) != "hello world"'
132 [[ ${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.sh443 function fun function
448 fun
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 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'
H A Dfunctions.sh135 fun() /bin/echo hello function
136 if [[ $(fun) != hello ]]
310 val=$(myexport dgk fun)
311 if [[ $val != fun ]]
312 then err_exit "export inside function not working -- expected 'fun', got '$val'"
318 val=$(myexport dgk fun fun2)
335 val=$(myexport zzz fun)
336 if [[ $val != fun ]]
337 then err_exit "export inside function not working -- expected 'fun', got '$val'"
451 print ${.sh.fun}
839 function fun function
[all...]
/illumos-gate/usr/src/lib/libast/common/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
70 while (fun = va_arg(ap, Optpass_f))
75 user = (*fun)(argv, 0);
100 err = fun;
109 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;
/illumos-gate/usr/src/lib/libcmd/amd64/include/ast/
H A Dcmd.h111 Shbltin_f fun; local
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
145 return (*fun)(argc, argv, NiL);
/illumos-gate/usr/src/lib/libcmd/common/
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);
/illumos-gate/usr/src/lib/libcmd/i386/include/ast/
H A Dcmd.h111 Shbltin_f fun; local
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
145 return (*fun)(argc, argv, NiL);
/illumos-gate/usr/src/lib/libcmd/sparc/include/ast/
H A Dcmd.h111 Shbltin_f fun; local
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
145 return (*fun)(argc, argv, NiL);
/illumos-gate/usr/src/lib/libcmd/sparcv9/include/ast/
H A Dcmd.h111 Shbltin_f fun; local
131 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
133 if (fun = (Shbltin_f)dlsym(dll, buf))
138 if (fun = (Shbltin_f)dlsym(dll, buf + 1))
140 if (fun = (Shbltin_f)dlsym(dll, buf))
145 return (*fun)(argc, argv, NiL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rtmp.c38 rtmp_func_long(uint8_t fun) argument
40 switch (fun) {
53 rtmp_func_short(uint8_t fun) argument
55 switch (fun) {
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dfcin.c131 void fcnotify(void (*fun)(Sfio_t*,const char*,int,void*),void* context) argument
133 _Fcin.fcfun = fun;
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dmain.c322 setcom(Cmd_info *cmd_info, Cmd_func *fun) argument
328 cmd_info->comfun = fun;
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dadspriv_impl.c206 adspriv_program_1_freeresult(SVCXPRT *xprt, xdrproc_t fun, caddr_t res) argument
208 (void) xdr_free(fun, res);
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dspec.c204 spec_attr_fun_t fun,
277 (*fun) (spec_p, refattr, refvals, calldatap);
279 (*fun) (spec_p, refattr, emptystr, calldatap);
300 spec_val_fun_t fun,
315 (*fun) (spec_p, valstr, calldatap);
323 (*fun) (spec_p, s0, calldatap);
334 (*fun) (spec_p, s0, calldatap);
356 (*fun) (spec_p, s0, calldatap);
389 (*fun) (spec_p, v, calldatap);
202 spec_attrtrav(spec_t * spec_p, char *attrs, spec_attr_fun_t fun, void *calldatap) argument
298 spec_valtrav(spec_t * spec_p, char *valstr, spec_val_fun_t fun, void *calldatap) argument
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfwohci.c78 uint32_t fun; local
83 fun = (PHYDEV_WRCMD | (addr << PHYDEV_REGADDR) | (data << PHYDEV_WRDATA));
84 OWRITE(sc, OHCI_PHYACCESS, fun);
93 uint32_t fun, stat; local
100 fun = PHYDEV_RDCMD | (addr << PHYDEV_REGADDR);
101 OWRITE(sc, OHCI_PHYACCESS, fun);
103 fun = OREAD(sc, OHCI_PHYACCESS);
104 if ((fun & PHYDEV_RDCMD) == 0 && (fun & PHYDEV_RDDONE) != 0)
119 ((fun >> PHYDEV_REGADD
324 uint32_t fun; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dalarm.c40 Namfun_t fun; member in struct:tevent
268 tp->fun.disc = &alarmdisc;
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DRequestHandler.java667 int ver = 0, fun = 0;
682 fun = (int) ((char)b[1] & 0XFF);
689 printInternalizeErrorMessage(ver, fun, ex);
742 hdr.parseHeader(fun, dis);
756 printInternalizeErrorMessage(ver, fun, ex);
764 if (fun != SrvLocHeader.DAAdvert &&
765 fun != SrvLocHeader.SAAdvert &&
781 private void printInternalizeErrorMessage(int ver, int fun, Exception ex) { argument
807 new Integer(fun),
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_i386.c1227 fun = 7.922816251e+28f, /* 2^96 */ variable
1367 *(float *)ea = (fpreg(uap, 0) * fun) * fun;
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw2plus/fcal_leds/
H A Dfc_led_parse.c42 static token_t get_token(char **pptr, int lineNo, actfun_t *fun);
121 actfun_t *fun) /* pointer to function variable to receive action */
130 *fun = NULL;
158 *fun = table[i].action;
116 get_token( char **pptr, int lineNo, actfun_t *fun) argument

Completed in 103 milliseconds

12