Home
last modified time | relevance | path

Searched refs:fun (Results 1 – 25 of 75) sorted by relevance

123

/titanic_41/usr/src/lib/libast/common/misc/
H A Doptjoin.c53 register Optpass_f fun; in optjoin() local
70 while (fun = va_arg(ap, Optpass_f)) in optjoin()
75 user = (*fun)(argv, 0); in optjoin()
100 err = fun; in optjoin()
109 rep = fun; in optjoin()
110 else if (fun == rep) in optjoin()
H A Dsignal.c75 signal(int sig, Sig_handler_t fun) in signal() argument
90 unblock = fun == SIG_DFL; in signal()
96 na.sa_handler = fun; in signal()
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dstreval.c161 Math_f fun; in arith_exec() local
202 (*ep->fun)(&ptr,&node,ASSIGN,num+1); in arith_exec()
206 (*ep->fun)(&ptr,&node,ASSIGN,num-1); in arith_exec()
211 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
216 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
237 num = (*ep->fun)(&ptr,&node,VALUE,num); in arith_exec()
270 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
385 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
387 num = (*((Math_1f_f)fun))(num); in arith_exec()
391 fun = *((Math_f*)(ep->code+(int)(*sp))); in arith_exec()
[all …]
H A Darray.c92 (*ap->fun)(np, NIL(char*), NV_AFREE); in array_unscope()
107 if(!ap->header.fun && aq) in array_covered()
166 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT)); in array_getup()
173 return((union Value*)((*arp->fun)(np,NIL(char*),0))); in array_getup()
231 (*ap->header.fun)(np,"0",flag==ARRAY_ASSIGN?NV_AADD:0); in array_find()
238 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT)); in array_find()
400 if(ap->fun) in array_clone()
401 (*ap->fun)(np,(char*)np,0); in array_clone()
530 (*ap->fun)(np,NIL(char*),NV_ADELETE); in array_putval()
548 (*ap->fun)(np, NIL(char*), NV_AFREE); in array_putval()
[all …]
H A Dnvtype.c73 Namfun_t fun; member
80 Namfun_t fun; member
236 if(mp->nvalue.cp >= pp->ttype->data && mp->nvalue.cp < (char*)pp+pp->ttype->fun.dsize) in put_chtype()
325 if(nq->nvalue.cp >= pp->data && nq->nvalue.cp < (char*)pp +pp->fun.dsize) in fixnode()
328 if(data >= pp->data && data < (char*)pp +pp->fun.dsize) in fixnode()
350 nv_disc(nq, &dp->childfun.fun, NV_LAST); in fixnode()
388 dp->fun.nofree = (flags&NV_RDONLY?1:0); in clone_type()
392 dp->childfun.ttype = (Namtype_t*)nv_hasdisc(dp->fun.type,&type_disc); in clone_type()
438 cp = (char*)((*ap->fun)(nr,NIL(char*),NV_ANAME)); in clone_type()
444 Namval_t *mp = (Namval_t*)((*ap->fun)(nr,NIL(char*),NV_ACURRENT)); in clone_type()
[all …]
H A Dnvdisc.c162 Namfun_t fun; member
436 if(vp->fun.disc && (vp->fun.disc->setdisc || vp->fun.disc->putval == assign)) in nv_setdisc()
438 vp = (struct vardisc*)vp->fun.next; in nv_setdisc()
440 if(vp && !vp->fun.disc) in nv_setdisc()
489 if(vp && vp->fun.disc->putval!=assign) in nv_setdisc()
499 vp->fun.disc = dp; in nv_setdisc()
514 Namdisc_t *dp = (Namdisc_t*)vp->fun.disc; in nv_setdisc()
639 vp->fun.dsize = sizeof(Nambfun_t)+n*sizeof(Namval_t*); in nv_adddisc()
640 vp->fun.nofree |= 2; in nv_adddisc()
646 vp->fun.disc = &Nv_bdisc; in nv_adddisc()
[all …]
H A Dfault.c268 void (*fun)(int); in sh_sigtrap() local
275 if((fun=signal(sig,sh_fault))==SIG_IGN) in sh_sigtrap()
283 if(sig==SIGALRM && fun!=SIG_DFL && fun!=sh_fault) in sh_sigtrap()
284 signal(sig,fun); in sh_sigtrap()
579 if(ap && ap->fun) in array_notify()
580 (*ap->fun)(np, 0, NV_AFREE); in array_notify()
/titanic_41/usr/src/cmd/tnf/prex/
H A Dspec.c204 spec_attr_fun_t fun, in spec_attrtrav() argument
277 (*fun) (spec_p, refattr, refvals, calldatap); in spec_attrtrav()
279 (*fun) (spec_p, refattr, emptystr, calldatap); in spec_attrtrav()
300 spec_val_fun_t fun, in spec_valtrav() argument
315 (*fun) (spec_p, valstr, calldatap); in spec_valtrav()
323 (*fun) (spec_p, s0, calldatap); in spec_valtrav()
334 (*fun) (spec_p, s0, calldatap); in spec_valtrav()
356 (*fun) (spec_p, s0, calldatap); in spec_valtrav()
389 (*fun) (spec_p, v, calldatap); in spec_valtrav()
H A Dspec.h85 spec_attr_fun_t fun, void *calldata_p);
87 spec_val_fun_t fun, void *calldata_p);
/titanic_41/usr/src/lib/libcmd/common/
H A Dcmd.h102 Shbltin_f fun; in main() local
122 if (fun = (Shbltin_f)dlsym(dll, buf + 1)) in main()
124 if (fun = (Shbltin_f)dlsym(dll, buf)) in main()
129 if (fun = (Shbltin_f)dlsym(dll, buf + 1)) in main()
131 if (fun = (Shbltin_f)dlsym(dll, buf)) in main()
136 return (*fun)(argc, argv, NiL); in main()
/titanic_41/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);
/titanic_41/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);
/titanic_41/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);
/titanic_41/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);
/titanic_41/usr/src/cmd/ypcmd/
H A Dypserv_proc.c89 #define FORK_ERR logprintf(err_fork, fun)
91 #define EXEC_ERR logprintf(err_execl, fun)
93 #define RESPOND_ERR logprintf(err_respond, fun)
95 #define FREE_ERR logprintf(err_free, fun)
97 #define MAP_ERR logprintf(err_map, fun)
99 #define VERS_ERR logprintf(err_vers, fun)
129 char *fun = "ypdomain"; in ypdomain() local
153 if (!(check_secure_net_ti(nbuf, fun))) { in ypdomain()
198 char *fun = "ypmatch"; in ypmatch() local
224 fun, resp.valdat.dptr); in ypmatch()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_rtmp.c38 rtmp_func_long(uint8_t fun) in rtmp_func_long() argument
40 switch (fun) { in rtmp_func_long()
53 rtmp_func_short(uint8_t fun) in rtmp_func_short() argument
55 switch (fun) { in rtmp_func_short()
/titanic_41/usr/src/tools/ctf/cvt/
H A Dhash.c142 hash_match(hash_t *hash, void *key, int (*fun)(void *, void *), in hash_match()
147 return (list_iter(hash->h_buckets[bucket], fun, private) < 0); in hash_match()
166 hash_find_iter(hash_t *hash, void *key, int (*fun)(void *, void *), in hash_find_iter()
173 hd.hd_fun = fun; in hash_find_iter()
211 hash_iter(hash_t *hash, int (*fun)(void *, void *), void *private) in hash_iter()
219 if ((cbrc = list_iter(hash->h_buckets[i], fun, in hash_iter()
/titanic_41/usr/src/lib/libshell/
H A DMakefile.demo53 fun/dirs \
54 fun/popd \
55 fun/pushd \
56 fun/title \
171 $(ROOTDEMODIRBASE)/fun/% := FILEMODE= 755
184 $(ROOTDEMODIRBASE)/fun \
/titanic_41/usr/src/lib/libshell/common/tests/
H A Dfunctions.sh135 fun() /bin/echo hello function
136 if [[ $(fun) != hello ]]
310 val=$(myexport dgk fun)
311 if [[ $val != fun ]]
318 val=$(myexport dgk fun fun2)
335 val=$(myexport zzz fun)
336 if [[ $val != fun ]]
451 print ${.sh.fun}
918 function .sh.fun.set
932 unset -f .sh.fun.set
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 .sh.subshell) == 2 ]] || err_exit ".sh.subshell not working for functions in subshells"
H A Dbuiltins.sh156 for fun in break continue
158 do ${fun}fun
162 then err_exit "$fun call in ${fun}fun breaks out of for loop"
/titanic_41/usr/src/lib/libast/common/comp/
H A Diconv.c75 _ast_iconv_f fun; member
1117 cc->from.fun = (_ast_iconv_f)iconv; in _ast_iconv_open()
1121 cc->from.fun = (_ast_iconv_f)_win_iconv; in _ast_iconv_open()
1128 cc->from.fun = utf2bin; in _ast_iconv_open()
1131 cc->from.fun = ume2bin; in _ast_iconv_open()
1134 cc->from.fun = ucs2bin; in _ast_iconv_open()
1137 cc->from.fun = scu2bin; in _ast_iconv_open()
1150 cc->to.fun = bin2utf; in _ast_iconv_open()
1153 cc->to.fun = bin2ume; in _ast_iconv_open()
1156 cc->to.fun = bin2ucs; in _ast_iconv_open()
[all …]
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/
H A DRequestHandler.java667 int ver = 0, fun = 0; in internalize() local
682 fun = (int) ((char)b[1] & 0XFF); in internalize()
689 printInternalizeErrorMessage(ver, fun, ex); in internalize()
742 hdr.parseHeader(fun, dis); in internalize()
756 printInternalizeErrorMessage(ver, fun, ex); in internalize()
764 if (fun != SrvLocHeader.DAAdvert && in internalize()
765 fun != SrvLocHeader.SAAdvert && in internalize()
781 private void printInternalizeErrorMessage(int ver, int fun, Exception ex) { in printInternalizeErrorMessage() argument
807 new Integer(fun), in printInternalizeErrorMessage()
/titanic_41/usr/src/lib/libast/common/regex/
H A Dregclass.c203 regaddclass(const char* name, regclass_t fun) in regaddclass() argument
213 cp->ctype = fun; in regaddclass()
220 np->ctype = fun; in regaddclass()
/titanic_41/usr/src/lib/libshell/common/include/
H A Dstreval.h73 Sfdouble_t (*fun)(Sfdouble_t,...); member
94 Sfdouble_t (*fun)(const char**,struct lval*,int,Sfdouble_t); member

123