/external/lua/src/ |
D | lcorolib.c | 33 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()
|
D | lapi.h | 25 #define adjustresults(L,nres) \ argument 26 { if ((nres) <= LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; }
|
D | ldo.c | 326 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 …]
|
D | ldo.h | 67 LUAI_FUNC void luaD_poscall (lua_State *L, CallInfo *ci, int nres);
|
D | lua.c | 132 static int docall (lua_State *L, int narg, int nres) { in docall() argument 139 status = lua_pcall(L, narg, nres, base); in docall()
|
D | lvm.c | 1676 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()
|
D | lua.h | 301 int *nres);
|
/external/oss-fuzz/projects/lua/ |
D | fuzz_lua.c | 120 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/ |
D | virgl_vtest_winsys.c | 419 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()
|
D | virgl_vtest_winsys.h | 78 unsigned nres; member
|
/external/bc/include/ |
D | program.h | 122 #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/ |
D | cls_align_complex.inc | 80 /* { dg-output "\nres: 13 14271,8i 140" } */ 88 /* { dg-output "\nres: 13 14271,8i 140" } */
|
/external/libffi/testsuite/libffi.complex/ |
D | cls_align_complex.inc | 80 /* { dg-output "\nres: 13 14271,8i 140" } */ 88 /* { dg-output "\nres: 13 14271,8i 140" } */
|
/external/mesa3d/src/gallium/winsys/virgl/drm/ |
D | virgl_drm_winsys.c | 601 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()
|
D | virgl_drm_winsys.h | 110 unsigned nres; member
|