Home
last modified time | relevance | path

Searched refs:nresults (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/third_party/skia/third_party/lua/src/
Dldo.c295 int luaD_precall (lua_State *L, StkId func, int nresults) { in luaD_precall() argument
309 ci->nresults = nresults; in luaD_precall()
334 ci->nresults = nresults; in luaD_precall()
349 return luaD_precall(L, func, nresults); /* now it must be a function */ in luaD_precall()
368 wanted = ci->nresults; in luaD_poscall()
411 adjustresults(L, ci->nresults); in finishCcall()
559 LUA_API int lua_yieldk (lua_State *L, int nresults, int ctx, lua_CFunction k) { in lua_yieldk() argument
561 luai_userstateyield(L, nresults); in lua_yieldk()
563 api_checknelems(L, nresults); in lua_yieldk()
578 ci->func = L->top - nresults - 1; /* protect stack below results */ in lua_yieldk()
Dlapi.c889 LUA_API void lua_callk (lua_State *L, int nargs, int nresults, int ctx, in lua_callk() argument
897 checkresults(L, nargs, nresults); in lua_callk()
902 luaD_call(L, func, nresults, 1); /* do the call */ in lua_callk()
905 luaD_call(L, func, nresults, 0); /* just do the call */ in lua_callk()
906 adjustresults(L, nresults); in lua_callk()
917 int nresults; member
923 luaD_call(L, c->func, c->nresults, 0); in f_call()
928 LUA_API int lua_pcallk (lua_State *L, int nargs, int nresults, int errfunc, in lua_pcallk() argument
938 checkresults(L, nargs, nresults); in lua_pcallk()
948 c.nresults = nresults; /* do a 'conventional' protected call */ in lua_pcallk()
[all …]
Dldo.h32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
Dlua.h251 LUA_API void (lua_callk) (lua_State *L, int nargs, int nresults, int ctx,
257 LUA_API int (lua_pcallk) (lua_State *L, int nargs, int nresults, int errfunc,
271 LUA_API int (lua_yieldk) (lua_State *L, int nresults, int ctx,
Dlcode.h67 LUAI_FUNC void luaK_setreturns (FuncState *fs, expdesc *e, int nresults);
Dlstate.h73 short nresults; /* expected number of results from this function */ member
Dlcode.c359 void luaK_setreturns (FuncState *fs, expdesc *e, int nresults) { in luaK_setreturns() argument
361 SETARG_C(getcode(fs, e), nresults+1); in luaK_setreturns()
364 SETARG_B(getcode(fs, e), nresults+1); in luaK_setreturns()
Dlvm.c711 int nresults = GETARG_C(i) - 1; in luaV_execute()
713 if (luaD_precall(L, ra, nresults)) { /* C function? */ in luaV_execute()
714 if (nresults >= 0) L->top = ci->top; /* adjust results */ in luaV_execute()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_pattern.cpp63 int nresults = 0; in _DrawAxialShading() local
64 if (pFuncs[j]->Call(&input, 1, pResults + offset, nresults)) { in _DrawAxialShading()
65 offset += nresults; in _DrawAxialShading()
144 int nresults; in _DrawRadialShading() local
145 if (pFuncs[j]->Call(&input, 1, pResults + offset, nresults)) { in _DrawRadialShading()
146 offset += nresults; in _DrawRadialShading()
275 int nresults; in _DrawFuncShading() local
276 if (pFuncs[j]->Call(input, 2, pResults + offset, nresults)) { in _DrawFuncShading()
277 offset += nresults; in _DrawFuncShading()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_func.cpp772 int nresults; in v_Call() local
773 m_pSubFunctions[i]->Call(&input, m_nInputs, outputs, nresults); in v_Call()
862 FX_BOOL CPDF_Function::Call(FX_FLOAT* inputs, int ninputs, FX_FLOAT* results, int& nresults) const in Call()
867 nresults = m_nOutputs; in Call()
Dfpdf_page_colors.cpp946 int nresults; in GetRGB() local
947 m_pFunc->Call(pBuf, 1, results, nresults); in GetRGB()
948 if (nresults == 0) { in GetRGB()
1028 int nresults; in GetRGB() local
1029 m_pFunc->Call(pBuf, m_nComponents, results, nresults); in GetRGB()
1030 if (nresults == 0) { in GetRGB()
Dpageint.h444 FX_BOOL Call(FX_FLOAT* inputs, int ninputs, FX_FLOAT* results, int& nresults) const;