Lines Matching refs:ci
56 CallInfo *ci = L->ci;
58 TValue *o = ci->func + idx;
59 api_check(L, idx <= ci->top - (ci->func + 1), "unacceptable index");
64 api_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
72 if (ttislcf(ci->func)) /* light C function? */
75 CClosure *func = clCvalue(ci->func);
94 CallInfo *ci = L->ci;
105 if (res && ci->top < L->top + size)
106 ci->top = L->top + size; /* adjust frame top */
118 api_check(from, to->ci->top - to->top >= n, "not enough elements to move");
156 : cast_int(L->top - L->ci->func + idx);
161 return cast_int(L->top - (L->ci->func + 1));
166 StkId func = L->ci->func;
211 luaC_barrier(L, clCvalue(L->ci->func), fr);
876 api_check(L, (nr) == LUA_MULTRET || (L->ci->top - L->top >= (nr) - (na)), \
881 if (L->ci->callstatus & CIST_YIELDED) {
882 if (ctx) *ctx = L->ci->u.c.ctx;
883 return L->ci->u.c.status;
893 api_check(L, k == NULL || !isLua(L->ci),
900 L->ci->u.c.k = k; /* save continuation */
901 L->ci->u.c.ctx = ctx; /* save context */
934 api_check(L, k == NULL || !isLua(L->ci),
952 CallInfo *ci = L->ci;
953 ci->u.c.k = k; /* save continuation */
954 ci->u.c.ctx = ctx; /* save context */
956 ci->extra = savestack(L, c.func);
957 ci->u.c.old_allowhook = L->allowhook;
958 ci->u.c.old_errfunc = L->errfunc;
961 ci->callstatus |= CIST_YPCALL;
963 ci->callstatus &= ~CIST_YPCALL;
964 L->errfunc = ci->u.c.old_errfunc;