Home
last modified time | relevance | path

Searched refs:nres (Results 1 – 15 of 15) sorted by relevance

/external/lua/src/
Dlcorolib.c33 int status, nres; in auxresume() local
39 status = lua_resume(co, L, narg, &nres); in auxresume()
41 if (!lua_checkstack(L, nres + 1)) { in auxresume()
42 lua_pop(co, nres); /* remove results anyway */ in auxresume()
46 lua_xmove(co, L, nres); /* move yielded values */ in auxresume()
47 return nres; in auxresume()
Dlapi.h25 #define adjustresults(L,nres) \ argument
26 { if ((nres) <= LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
Dldo.c326 static StkId rethook (lua_State *L, CallInfo *ci, StkId firstres, int nres) { in rethook() argument
340 luaD_hook(L, LUA_HOOKRET, -1, ftransfer, nres); /* call it */ in rethook()
372 static void moveresults (lua_State *L, StkId res, int nres, int wanted) { in moveresults() argument
380 if (nres == 0) /* no results? */ in moveresults()
383 setobjs2s(L, res, L->top - nres); /* move it to proper place */ in moveresults()
387 wanted = nres; /* we want all results */ in moveresults()
396 wanted = nres; in moveresults()
400 firstresult = L->top - nres; /* index of first result */ in moveresults()
402 for (i = 0; i < nres && i < wanted; i++) in moveresults()
414 void luaD_poscall (lua_State *L, CallInfo *ci, int nres) { in luaD_poscall() argument
[all …]
Dldo.h67 LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, int nres);
Dlua.c132 static int docall (lua_State *L, int narg, int nres) { in docall() argument
139 status = lua_pcall(L, narg, nres, base); in docall()
Dlvm.c1676 int nres = ci->nresults; in luaV_execute() local
1679 while (nres-- > 0) in luaV_execute()
1690 int nres = ci->nresults; in luaV_execute() local
1692 if (nres == 0) in luaV_execute()
1697 while (--nres > 0) /* complete missing results */ in luaV_execute()
Dlua.h301 int *nres);
/external/oss-fuzz/projects/lua/
Dfuzz_lua.c120 static int docall (lua_State *L, int narg, int nres) { in docall() argument
127 status = lua_pcall(L, narg, nres, base); in docall()
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c419 if (cbuf->cres >= cbuf->nres) { in virgl_vtest_add_res()
420 unsigned new_nres = cbuf->nres + 256; in virgl_vtest_add_res()
422 cbuf->nres * sizeof(struct virgl_hw_buf*), in virgl_vtest_add_res()
425 fprintf(stderr,"failure to add relocation %d, %d\n", cbuf->cres, cbuf->nres); in virgl_vtest_add_res()
430 cbuf->nres = new_nres; in virgl_vtest_add_res()
451 cbuf->nres = 512; in virgl_vtest_cmd_buf_create()
452 cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*)); in virgl_vtest_cmd_buf_create()
Dvirgl_vtest_winsys.h78 unsigned nres; member
/external/bc/include/
Dprogram.h122 #define bc_program_retire(p, nres, nops) \ argument
123 (bc_vec_npopAt(&(p)->results, (nops), (p)->results.len - (nres + nops)))
/external/libffi/testsuite/libffi.call/
Dcls_align_complex.inc80 /* { dg-output "\nres: 13 14271,8i 140" } */
88 /* { dg-output "\nres: 13 14271,8i 140" } */
/external/libffi/testsuite/libffi.complex/
Dcls_align_complex.inc80 /* { dg-output "\nres: 13 14271,8i 140" } */
88 /* { dg-output "\nres: 13 14271,8i 140" } */
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c601 cbuf->nres = initial_size; in virgl_drm_alloc_res_list()
604 cbuf->res_bo = CALLOC(cbuf->nres, sizeof(struct virgl_hw_buf*)); in virgl_drm_alloc_res_list()
608 cbuf->res_hlist = MALLOC(cbuf->nres * sizeof(uint32_t)); in virgl_drm_alloc_res_list()
656 if (cbuf->cres >= cbuf->nres) { in virgl_drm_add_res()
657 unsigned new_nres = cbuf->nres + 256; in virgl_drm_add_res()
659 cbuf->nres * sizeof(struct virgl_hw_buf*), in virgl_drm_add_res()
668 cbuf->nres * sizeof(uint32_t), in virgl_drm_add_res()
671 _debug_printf("failure to add hlist relocation %d, %d\n", cbuf->cres, cbuf->nres); in virgl_drm_add_res()
675 cbuf->nres = new_nres; in virgl_drm_add_res()
Dvirgl_drm_winsys.h110 unsigned nres; member