/illumos-gate/usr/src/lib/libast/common/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 70 while (fun = va_arg(ap, Optpass_f)) 75 user = (*fun)(argv, 0); 100 err = fun; 109 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;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
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);
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | spec.h | 85 spec_attr_fun_t fun, void *calldata_p); 87 spec_val_fun_t fun, void *calldata_p);
|
H A D | spec.c | 204 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/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rtmp.c | 38 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/boot/sys/boot/i386/libfirewire/ |
H A D | fwohci.c | 78 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/libcmd/amd64/include/ast/ |
H A D | cmd.h | 111 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/i386/include/ast/ |
H A D | cmd.h | 111 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 D | cmd.h | 111 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 D | cmd.h | 111 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/tools/ctf/cvt/ |
H A D | hash.c | 142 hash_match(hash_t *hash, void *key, int (*fun)(void *, void *), 147 return (list_iter(hash->h_buckets[bucket], fun, private) < 0); 166 hash_find_iter(hash_t *hash, void *key, int (*fun)(void *, void *), 173 hd.hd_fun = fun; 211 hash_iter(hash_t *hash, int (*fun)(void *, void *), void *private) 219 if ((cbrc = list_iter(hash->h_buckets[i], fun,
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | array.c | 92 (*ap->fun)(np, NIL(char*), NV_AFREE); 107 if(!ap->header.fun && aq) 166 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT)); 173 return((union Value*)((*arp->fun)(np,NIL(char*),0))); 231 (*ap->header.fun)(np,"0",flag==ARRAY_ASSIGN?NV_AADD:0); 238 mp = (Namval_t*)((*arp->fun)(np,NIL(char*),NV_ACURRENT)); 400 if(ap->fun) 401 (*ap->fun)(np,(char*)np,0); 530 (*ap->fun)(np,NIL(char*),NV_ADELETE); 548 (*ap->fun)(n 751 nv_changearray(Namval_t *np, void *(*fun)(Namval_t*,const char*,int)) argument 797 nv_setarray(Namval_t *np, void *(*fun)(Namval_t*,const char*,int)) argument [all...] |
H A D | nvtype.c | 73 Namfun_t fun; member in struct:Namchld 80 Namfun_t fun; member in struct:Namtype 236 if(mp->nvalue.cp >= pp->ttype->data && mp->nvalue.cp < (char*)pp+pp->ttype->fun.dsize) 325 if(nq->nvalue.cp >= pp->data && nq->nvalue.cp < (char*)pp +pp->fun.dsize) 328 if(data >= pp->data && data < (char*)pp +pp->fun.dsize) 350 nv_disc(nq, &dp->childfun.fun, NV_LAST); 388 dp->fun.nofree = (flags&NV_RDONLY?1:0); 392 dp->childfun.ttype = (Namtype_t*)nv_hasdisc(dp->fun.type,&type_disc); 438 cp = (char*)((*ap->fun)(nr,NIL(char*),NV_ANAME)); 444 Namval_t *mp = (Namval_t*)((*ap->fun)(n [all...] |
H A D | nvdisc.c | 162 Namfun_t fun; member in struct:vardisc 436 if(vp->fun.disc && (vp->fun.disc->setdisc || vp->fun.disc->putval == assign)) 438 vp = (struct vardisc*)vp->fun.next; 440 if(vp && !vp->fun.disc) 489 if(vp && vp->fun.disc->putval!=assign) 499 vp->fun.disc = dp; 514 Namdisc_t *dp = (Namdisc_t*)vp->fun.disc; 639 vp->fun 1208 Namfun_t fun; member in struct:table [all...] |
H A D | fcin.c | 131 void fcnotify(void (*fun)(Sfio_t*,const char*,int,void*),void* context) argument 133 _Fcin.fcfun = fun;
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_proc.c | 89 #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"; local 153 if (!(check_secure_net_ti(nbuf, fun))) { 198 char *fun = "ypmatch"; local 224 fun, res 306 char *fun = "ypfirst"; local 346 char *fun = "ypnext"; local 394 char *fun = "ypxfr"; local 515 char *fun = "ypall"; local 596 char *fun = "ypmaster"; local 640 char *fun = "yporder"; local 686 char *fun = "ypmaplist"; local 987 char *fun = "ypoldmatch"; local 1097 char *fun = "ypoldfirst"; local 1161 char *fun = "ypoldnext"; local 1232 char *fun = "ypoldpoll"; local 1300 char *fun = "ypoldpush"; local 1351 char *fun = "ypoldpull"; local 1399 char *fun = "ypoldget"; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | streval.h | 73 Sfdouble_t (*fun)(Sfdouble_t,...); member in struct:lval 94 Sfdouble_t (*fun)(const char**,struct lval*,int,Sfdouble_t); member in struct:_arith_
|
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | functions.sh | 135 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...] |
H A D | substring.sh | 211 if [[ $(myexport dgk fun) != fun ]] 218 if [[ $(myexport dgk fun fun2) != fun2 ]] 233 if [[ $(myexport zzz fun) != fun ]]
|
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...] |
/illumos-gate/usr/src/lib/libast/common/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...] |
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | adspriv_impl.c | 206 adspriv_program_1_freeresult(SVCXPRT *xprt, xdrproc_t fun, caddr_t res) argument 208 (void) xdr_free(fun, res);
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_ioctl.h | 92 uint8_t fun : 3; /* 3 bit function number */ member in struct:cpqary3_ctlr_info
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | kmem.c | 128 kmem_cbrc_t (*fun)(void *, void *, size_t, void *))
|