/illumos-gate/usr/src/uts/sparc/os/ |
H A D | obpsym_1275.c | 73 unsigned int nargs, nresults; in ieee_sym_to_value() local 78 nresults = p1275_cell2uint(cif[2]); in ieee_sym_to_value() 80 if (nresults == 0) in ieee_sym_to_value() 107 if (nresults > 1) { in ieee_sym_to_value() 120 u_int nargs, nresults; in ieee_value_to_sym() local 127 nresults = p1275_cell2uint(cif[2]); in ieee_value_to_sym() 129 if (nresults == 0) in ieee_value_to_sym() 163 if (nresults > 1) { in ieee_value_to_sym()
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ops.c | 216 if (fc_cell2int(cp->nresults) < 1) in fco_getproplen() 238 cp->nresults = fc_int2cell(1); in fco_getproplen() 263 if (fc_cell2int(cp->nresults) < 1) in fco_getprop() 295 cp->nresults = fc_int2cell(1); in fco_getprop() 308 if (fc_cell2int(cp->nresults) < 1) in fco_ap_phandle() 314 cp->nresults = fc_int2cell(1); in fco_ap_phandle() 328 if (fc_cell2int(cp->nresults) < 1) in fco_child() 346 cp->nresults = fc_int2cell(1); in fco_child() 360 if (fc_cell2int(cp->nresults) < 1) in fco_peer() 378 cp->nresults = fc_int2cell(1); in fco_peer() [all …]
|
H A D | fcode.c | 621 int nresults, nargs, error; in fc_run_priv() local 655 nresults = fc_cell2int(tc.nresults); /* save me for later */ in fc_run_priv() 657 csize = (FCC_FIXED_CELLS + nargs + nresults) * sizeof (fc_cell_t); in fc_run_priv() 662 if (copyin((void *)arg, cp, csize - (nresults * sizeof (fc_cell_t)))) { in fc_run_priv() 692 name, fc_cell2int(cp->nargs), fc_cell2int(cp->nresults)); in fc_run_priv() 712 cp->nresults = fc_int2cell(0); in fc_run_priv() 714 error |= copyout(&cp->nresults, &ap->nresults, in fc_run_priv() 730 cp->nresults = fc_int2cell(0); in fc_run_priv() 734 error |= copyout(&cp->nresults, &ap->nresults, in fc_run_priv() 752 if (fc_cell2int(cp->nresults) > nresults) in fc_run_priv() [all …]
|
H A D | fcpci.c | 308 if (fc_cell2int(cp->nresults) < 1) in pfc_dma_map_in() 363 cp->nresults = fc_int2cell(1); in pfc_dma_map_in() 431 cp->nresults = fc_int2cell(0); in pfc_dma_sync() 491 cp->nresults = fc_int2cell(0); in pfc_dma_map_out() 539 cp->nresults = fc_int2cell(0); in pfc_dma_cleanup() 557 if (fc_cell2int(cp->nresults) < 1) in pfc_map_in() 590 cp->nresults = fc_int2cell(1); in pfc_map_in() 651 cp->nresults = fc_int2cell(0); in pfc_map_out() 671 if (fc_cell2int(cp->nresults) < 1) in pfc_register_fetch() 735 cp->nresults = fc_int2cell(1); in pfc_register_fetch() [all …]
|
H A D | fc_subr.c | 394 cp->nresults = fc_int2cell(0); in fc_syntax_error() 404 cp->nresults = fc_int2cell(0); in fc_priv_error() 429 cp->nresults = fc_int2cell(0); in fc_fail_op()
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ldo.c | 300 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall() argument 314 ci->nresults = nresults; in luaD_precall() 345 ci->nresults = nresults; in luaD_precall() 360 return luaD_precall(L, func, nresults); /* now it must be a function */ in luaD_precall() 379 wanted = ci->nresults; in luaD_poscall() 422 adjustresults(L, ci->nresults); in finishCcall() 571 LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_CFunction k) { in lua_yieldk() argument 573 luai_userstateyield(L, nresults); in lua_yieldk() 575 api_checknelems(L, nresults); in lua_yieldk() 590 ci->func = L->top - nresults - 1; /* protect stack below results */ in lua_yieldk()
|
H A D | lapi.c | 888 LUA_API void lua_callk (lua_State *L, int nargs, int nresults, int ctx, in lua_callk() argument 896 checkresults(L, nargs, nresults); in lua_callk() 901 luaD_call(L, func, nresults, 1); /* do the call */ in lua_callk() 904 luaD_call(L, func, nresults, 0); /* just do the call */ in lua_callk() 905 adjustresults(L, nresults); in lua_callk() 916 int nresults; member 922 luaD_call(L, c->func, c->nresults, 0); in f_call() 927 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument 937 checkresults(L, nargs, nresults); in lua_pcallk() 947 c.nresults = nresults; /* do a 'conventional' protected call */ in lua_pcallk() [all …]
|
H A D | lua.h | 250 LUA_API void (lua_callk) (lua_State *L, int nargs, int nresults, int ctx, 256 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc, 270 LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx,
|
H A D | ldo.h | 32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
|
H A D | lcode.h | 67 LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
|
H A D | lstate.h | 73 short nresults; /* expected number of results from this function */ member
|
H A D | lcode.c | 358 void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) { in luaK_setreturns() argument 360 SETARG_C(getcode(fs, e), nresults+1); in luaK_setreturns() 363 SETARG_B(getcode(fs, e), nresults+1); in luaK_setreturns()
|
H A D | lvm.c | 774 int nresults = GETARG_C(i) - 1; in luaV_execute() 776 if (luaD_precall(L, ra, nresults)) { /* C function? */ in luaV_execute() 777 if (nresults >= 0) L->top = ci->top; /* adjust results */ in luaV_execute()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 1284 if (fc_cell2int(cp->nresults) < 1) in opl_map_in() 1311 cp->nresults = fc_int2cell(1); in opl_map_in() 1373 cp->nresults = fc_int2cell(0); in opl_map_out() 1394 if (fc_cell2int(cp->nresults) < 1) in opl_register_fetch() 1484 cp->nresults = fc_int2cell(1); in opl_register_fetch() 1605 cp->nresults = fc_int2cell(0); in opl_register_store() 1625 if (fc_cell2int(cp->nresults) < 1) in opl_claim_memory() 1663 cp->nresults = fc_int2cell(1); in opl_claim_memory() 1692 if (fc_cell2int(cp->nresults) != 0) in opl_release_memory() 1728 cp->nresults = fc_int2cell(0); in opl_release_memory() [all …]
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 829 int nresults; in ldap_lookup_domains_in_forest() local 853 nresults = ldap_count_entries(*ld, result); in ldap_lookup_domains_in_forest() 854 domains = calloc(nresults + 1, sizeof (*domains)); in ldap_lookup_domains_in_forest() 907 if (ndomains < nresults) { in ldap_lookup_domains_in_forest()
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | fcode.h | 145 fc_cell_t nresults; member
|