Home
last modified time | relevance | path

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

123456

/titanic_51/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfwohci.c78 uint32_t fun; in fwphy_wrdata() local
83 fun = (PHYDEV_WRCMD | (addr << PHYDEV_REGADDR) | (data << PHYDEV_WRDATA)); in fwphy_wrdata()
84 OWRITE(sc, OHCI_PHYACCESS, fun); in fwphy_wrdata()
93 uint32_t fun, stat; in fwphy_rddata() local
100 fun = PHYDEV_RDCMD | (addr << PHYDEV_REGADDR); in fwphy_rddata()
101 OWRITE(sc, OHCI_PHYACCESS, fun); in fwphy_rddata()
103 fun = OREAD(sc, OHCI_PHYACCESS); in fwphy_rddata()
104 if ((fun & PHYDEV_RDCMD) == 0 && (fun & PHYDEV_RDDONE) != 0) in fwphy_rddata()
119 ((fun >> PHYDEV_REGADD in fwphy_rddata()
324 uint32_t fun; global() local
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dstreval.c165 Math_f fun; in arith_exec() local
210 (*ep->fun)(&ptr,&node,ASSIGN,num+1); in arith_exec()
214 (*ep->fun)(&ptr,&node,ASSIGN,num-1); in arith_exec()
219 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
224 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
250 num = (*ep->fun)(&ptr,&node,VALUE,num); in arith_exec()
296 num = (*ep->fun)(&ptr,&node,ASSIGN,num); in arith_exec()
302 r = (*ep->fun)(&ptr,&node,VALUE,num); in arith_exec()
307 num = (*ep->fun)(&ptr,&node,ASSIGN,r); in arith_exec()
430 fun in arith_exec()
718 Sfdouble_t (*fun)(Sfdouble_t,...); expr() local
[all...]
H A Darray.c127 (*ap->fun)(np, NIL(char*), NV_AFREE); in array_unscope()
142 if(!ap->header.fun && aq) in array_covered()
208 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT)); in array_getup()
215 return((union Value*)((*arp->fun)(np,NIL(char*),0))); in array_getup()
301 (*ap->header.fun)(np,"0",flag==ARRAY_ASSIGN?NV_AADD:0); in array_find()
317 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT)); in array_find()
504 if(ap->fun) in array_clone()
505 (*ap->fun)(np,(char*)np,0); in array_clone()
650 (*ap->fun)(np,NIL(char*),NV_ADELETE); in array_putval()
684 (*ap->fun)(n in array_putval()
[all...]
H A Dnvtype.c74 Namfun_t fun; member
81 Namfun_t fun; member
243 if(mp->nvalue.cp >= pp->ttype->data && mp->nvalue.cp < (char*)pp+pp->ttype->fun.dsize) in put_chtype()
333 if(nq->nvalue.cp >= pp->data && nq->nvalue.cp < (char*)pp +pp->fun.dsize) in fixnode()
336 if(data >= pp->data && data < (char*)pp +pp->fun.dsize) in fixnode()
360 nv_disc(nq, &dp->childfun.fun, NV_LAST); in fixnode()
398 dp->fun.nofree = (flags&NV_RDONLY?1:0); in clone_type()
402 dp->childfun.ttype = (Namtype_t*)nv_hasdisc(dp->fun.type,&type_disc); in clone_type()
450 cp = (char*)((*ap->fun)(nr,NIL(char*),NV_ANAME)); in clone_type()
456 Namval_t *mp = (Namval_t*)((*ap->fun)(n in clone_type()
[all...]
/titanic_51/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_51/usr/src/contrib/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; in optjoin() local
72 while (fun = va_arg(ap, Optpass_f)) in optjoin()
77 user = (*fun)(argv, 0); in optjoin()
104 err = fun; in optjoin()
113 rep = fun; in optjoin()
[all...]
H A Dsignal.c26 * fun==SIG_DFL also unblocks signal
75 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_51/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 …]
/titanic_51/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()
/titanic_51/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_51/usr/src/contrib/ast/src/lib/libcmd/
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_51/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_51/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_51/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_51/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_51/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, res in ypmatch()
306 char *fun = "ypfirst"; ypfirst() local
346 char *fun = "ypnext"; ypnext() local
394 char *fun = "ypxfr"; ypxfr() local
515 char *fun = "ypall"; ypall() local
596 char *fun = "ypmaster"; ypmaster() local
640 char *fun = "yporder"; yporder() local
686 char *fun = "ypmaplist"; ypmaplist() local
987 char *fun = "ypoldmatch"; ypoldmatch() local
1097 char *fun = "ypoldfirst"; ypoldfirst() local
1161 char *fun = "ypoldnext"; ypoldnext() local
1232 char *fun = "ypoldpoll"; ypoldpoll() local
1300 char *fun = "ypoldpush"; ypoldpush() local
1351 char *fun = "ypoldpull"; ypoldpull() local
1399 char *fun = "ypoldget"; ypoldget() local
[all...]
/titanic_51/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_51/usr/src/contrib/ast/src/cmd/ksh93/tests/
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 global() function
[all...]
/titanic_51/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_51/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_51/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
/titanic_51/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 …]

123456