Home
last modified time | relevance | path

Searched defs:L (Results 1 – 25 of 75) sorted by relevance

123

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlapi.c50 #define api_checkstackindex(L, i, o) \ argument
54 static TValue *index2addr (lua_State *L, int idx) { in index2addr()
85 static void growstack (lua_State *L, void *ud) { in growstack()
159 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
248 LUA_API int lua_type (lua_State *L, int idx) { in lua_type()
464 LUA_API void lua_pushnil (lua_State *L) { in lua_pushnil()
592 LUA_API int lua_pushthread (lua_State *L) { in lua_pushthread()
874 #define checkresults(L,na,nr) \ argument
920 static void f_call (lua_State *L, void *ud) { in f_call()
1011 LUA_API int lua_status (lua_State *L) { in lua_status()
[all …]
H A Dlbaselib.c32 static int luaB_tonumber (lua_State *L) { in luaB_tonumber()
73 static int luaB_error (lua_State *L) { in luaB_error()
117 static int luaB_rawlen (lua_State *L) { in luaB_rawlen()
126 static int luaB_rawget (lua_State *L) { in luaB_rawget()
134 static int luaB_rawset (lua_State *L) { in luaB_rawset()
173 static int luaB_type (lua_State *L) { in luaB_type()
197 static int luaB_next (lua_State *L) { in luaB_next()
209 static int luaB_pairs (lua_State *L) { in luaB_pairs()
214 static int ipairsaux (lua_State *L) { in ipairsaux()
224 static int luaB_ipairs (lua_State *L) { in luaB_ipairs()
[all …]
H A Dlauxlib.c38 static int findfield (lua_State *L, int objidx, int level) { in findfield()
78 static void pushfuncname (lua_State *L, lua_Debug *ar) { in pushfuncname()
96 static int countlevels (lua_State *L) { in countlevels()
173 static void tag_error (lua_State *L, int narg, int tag) { in tag_error()
178 LUALIB_API void luaL_where (lua_State *L, int level) { in luaL_where()
312 LUALIB_API void luaL_checkany (lua_State *L, int narg) { in luaL_checkany()
399 lua_State *L = B->L; in luaL_prepbuffsize() local
433 lua_State *L = B->L; in luaL_pushresult() local
447 lua_State *L = B->L; in luaL_addvalue() local
483 LUALIB_API int luaL_ref (lua_State *L, int t) { in luaL_ref()
[all …]
H A Dlbitlib.c36 static b_uint andaux (lua_State *L) { in andaux()
45 static int b_and (lua_State *L) { in b_and()
52 static int b_test (lua_State *L) { in b_test()
59 static int b_or (lua_State *L) { in b_or()
69 static int b_xor (lua_State *L) { in b_xor()
79 static int b_not (lua_State *L) { in b_not()
103 static int b_lshift (lua_State *L) { in b_lshift()
108 static int b_rshift (lua_State *L) { in b_rshift()
113 static int b_arshift (lua_State *L) { in b_arshift()
139 static int b_lrot (lua_State *L) { in b_lrot()
[all …]
H A Dldo.c50 #define LUAI_THROW(L,c) longjmp(&(c)->b) argument
56 #define LUAI_THROW(L,c) throw(c) argument
57 #define LUAI_TRY(L,c,a) \ argument
63 #define LUAI_THROW(L,c) _longjmp((c)->b, 1) argument
69 #define LUAI_THROW(L,c) longjmp((c)->b, 1) argument
107 l_noret luaD_throw (lua_State *L, int errcode) { in luaD_throw()
179 void luaD_growstack (lua_State *L, int n) { in luaD_growstack()
198 static int stackinuse (lua_State *L) { in stackinuse()
209 void luaD_shrinkstack (lua_State *L) { in luaD_shrinkstack()
412 static void finishCcall (lua_State *L) { in finishCcall()
[all …]
H A Dltablib.c24 static int maxn (lua_State *L) { in maxn()
41 static int tinsert (lua_State *L) { in tinsert()
68 static int tremove (lua_State *L) { in tremove()
93 static int tconcat (lua_State *L) { in tconcat()
119 static int pack (lua_State *L) { in pack()
136 static int unpack (lua_State *L) { in unpack()
165 static void set2 (lua_State *L, int i, int j) { in set2()
170 static int sort_comp (lua_State *L, int a, int b) { in sort_comp()
185 static void auxsort (lua_State *L, int l, int u) { in auxsort()
248 static int sort (lua_State *L) { in sort()
[all …]
H A Dlcorolib.c19 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume()
48 static int luaB_coresume (lua_State *L) { in luaB_coresume()
66 static int luaB_auxwrap (lua_State *L) { in luaB_auxwrap()
81 static int luaB_cocreate (lua_State *L) { in luaB_cocreate()
91 static int luaB_cowrap (lua_State *L) { in luaB_cowrap()
98 static int luaB_yield (lua_State *L) { in luaB_yield()
103 static int luaB_costatus (lua_State *L) { in luaB_costatus()
131 static int luaB_corunning (lua_State *L) { in luaB_corunning()
150 LUAMOD_API int luaopen_coroutine (lua_State *L) { in luaopen_coroutine()
H A Dlstate.c87 static unsigned int makeseed (lua_State *L) { in makeseed()
110 CallInfo *luaE_extendCI (lua_State *L) { in luaE_extendCI()
120 void luaE_freeCI (lua_State *L) { in luaE_freeCI()
131 static void stack_init (lua_State *L1, lua_State *L) { in stack_init()
151 static void freestack (lua_State *L) { in freestack()
181 static void f_luaopen (lua_State *L, void *ud) { in f_luaopen()
221 static void close_state (lua_State *L) { in close_state()
235 LUA_API lua_State *lua_newthread (lua_State *L) { in lua_newthread()
254 void luaE_freethread (lua_State *L, lua_State *L1) { in luaE_freethread()
266 lua_State *L; in lua_newstate() local
[all …]
H A Dlmem.h24 #define luaM_reallocv(L,b,on,n,e) \ argument
29 #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) argument
30 #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) argument
31 #define luaM_freearray(L, b, n) luaM_reallocv(L, (b), n, 0, sizeof((b)[0])) argument
33 #define luaM_malloc(L,s) luaM_realloc_(L, NULL, 0, (s)) argument
34 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) argument
35 #define luaM_newvector(L,n,t) \ argument
38 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) argument
40 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument
44 #define luaM_reallocvector(L, v,oldn,n,t) \ argument
H A Dlauxlib.h29 #define luaL_checkversion(L) luaL_checkversion_(L, LUA_VERSION_NUM) argument
97 #define luaL_newlibtable(L,l) \ argument
102 #define luaL_argcheck(L, cond,numarg,extramsg) \ argument
106 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) argument
107 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) argument
108 #define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n))) argument
111 #define luaL_typename(L,i) lua_typename(L, lua_type(L,(i))) argument
113 #define luaL_dofile(L, fn) \ argument
116 #define luaL_dostring(L, s) \ argument
136 lua_State *L; member
[all …]
H A Dlfunc.c23 Closure *luaF_newCclosure (lua_State *L, int n) { in luaF_newCclosure()
30 Closure *luaF_newLclosure (lua_State *L, int n) { in luaF_newLclosure()
39 UpVal *luaF_newupval (lua_State *L) { in luaF_newupval()
47 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval()
82 void luaF_freeupval (lua_State *L, UpVal *uv) { in luaF_freeupval()
89 void luaF_close (lua_State *L, StkId level) { in luaF_close()
110 Proto *luaF_newproto (lua_State *L) { in luaF_newproto()
135 void luaF_freeproto (lua_State *L, Proto *f) { in luaF_freeproto()
H A Dldebug.c47 static void swapextra (lua_State *L) { in swapextra()
75 LUA_API lua_Hook lua_gethook (lua_State *L) { in lua_gethook()
80 LUA_API int lua_gethookmask (lua_State *L) { in lua_gethookmask()
85 LUA_API int lua_gethookcount (lua_State *L) { in lua_gethookcount()
90 LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar) { in lua_getstack()
125 static const char *findlocal (lua_State *L, CallInfo *ci, int n, in findlocal()
208 static void collectvalidlines (lua_State *L, Closure *f) { in collectvalidlines()
546 l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) { in luaG_concaterror()
571 static void addinfo (lua_State *L, const char *msg) { in addinfo()
587 l_noret luaG_errormsg (lua_State *L) { in luaG_errormsg()
[all …]
H A Dlvm.c47 int luaV_tostring (lua_State *L, StkId obj) { in luaV_tostring()
60 static void traceexec (lua_State *L) { in traceexec()
93 static void callTM (lua_State *L, const TValue *f, const TValue *p1, in callTM()
231 int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r) { in luaV_lessthan()
293 void luaV_concat (lua_State *L, int total) { in luaV_concat()
335 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen()
409 void luaV_arith (lua_State *L, StkId ra, const TValue *rb, in luaV_arith()
483 void luaV_finishOp (lua_State *L) { in luaV_finishOp()
545 #define luai_runtimecheck(L, c) /* void */ argument
573 #define checkGC(L,c) \ argument
[all …]
H A Dllimits.h76 #define luai_apicheck(L,e) assert(e) argument
78 #define luai_apicheck(L,e) lua_assert(e) argument
157 #define lua_lock(L) ((void) 0) argument
158 #define lua_unlock(L) ((void) 0) argument
172 #define luai_userstateopen(L) ((void)L) argument
176 #define luai_userstateclose(L) ((void)L) argument
180 #define luai_userstatethread(L,L1) ((void)L) argument
184 #define luai_userstatefree(L,L1) ((void)L) argument
295 #define condmovestack(L) ((void)0) argument
302 #define condchangemem(L) condmovestack(L) argument
[all …]
H A Dldo.h16 #define luaD_checkstack(L,n) if (L->stack_last - L->top <= (n)) \ argument
20 #define incr_top(L) {L->top++; luaD_checkstack(L,0);} argument
22 #define savestack(L,p) ((char *)(p) - (char *)L->stack) argument
23 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) argument
H A Dlgc.c663 static void freeobj (lua_State *L, GCObject *o) { in freeobj()
778 static void checkSizes (lua_State *L) { in checkSizes()
803 static void dothecall (lua_State *L, void *ud) { in dothecall()
936 static int entersweep (lua_State *L) { in entersweep()
952 void luaC_changemode (lua_State *L, int mode) { in luaC_changemode()
983 void luaC_freeallobjects (lua_State *L) { in luaC_freeallobjects()
999 static l_mem atomic (lua_State *L) { in atomic()
1040 static lu_mem singlestep (lua_State *L) { in singlestep()
1139 static void incstep (lua_State *L) { in incstep()
1163 void luaC_forcestep (lua_State *L) { in luaC_forcestep()
[all …]
H A Dluaconf.h263 #define lua_cpcall(L,f,u) \ argument
291 #define lua_strlen(L,i) lua_rawlen(L, (i)) argument
293 #define lua_objlen(L,i) lua_rawlen(L, (i)) argument
431 #define luai_nummod(L,a,b) ((a) % (b)) argument
437 #define luai_numadd(L,a,b) ((a)+(b)) argument
438 #define luai_numsub(L,a,b) ((a)-(b)) argument
439 #define luai_nummul(L,a,b) ((a)*(b)) argument
440 #define luai_numdiv(L,a,b) ((a)/(b)) argument
441 #define luai_numunm(L,a) (-(a)) argument
443 #define luai_numlt(L,a,b) ((a)<(b)) argument
[all …]
H A Dlua.h272 #define lua_yield(L,n) lua_yieldk(L, (n), 0, NULL) argument
318 #define lua_tonumber(L,i) lua_tonumberx(L,i,NULL) argument
319 #define lua_tointeger(L,i) lua_tointegerx(L,i,NULL) argument
320 #define lua_tounsigned(L,i) lua_tounsignedx(L,i,NULL) argument
322 #define lua_pop(L,n) lua_settop(L, -(n)-1) argument
324 #define lua_newtable(L) lua_createtable(L, 0, 0) argument
333 #define lua_isnil(L,n) (lua_type(L, (n)) == LUA_TNIL) argument
337 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) argument
339 #define lua_pushliteral(L, s) \ argument
342 #define lua_pushglobaltable(L) \ argument
[all …]
H A Dlstring.c64 void luaS_resize (lua_State *L, int newsize) { in luaS_resize()
98 static TString *createstrobj (lua_State *L, const char *str, size_t l, in createstrobj()
116 static TString *newshrstr (lua_State *L, const char *str, size_t l, in newshrstr()
133 static TString *internshrstr (lua_State *L, const char *str, size_t l) { in internshrstr()
156 TString *luaS_newlstr (lua_State *L, const char *str, size_t l) { in luaS_newlstr()
170 TString *luaS_new (lua_State *L, const char *str) { in luaS_new()
175 Udata *luaS_newudata (lua_State *L, size_t s, Table *e) { in luaS_newudata()
H A Dlapi.h14 #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top, \ argument
17 #define adjustresults(L,nres) \ argument
20 #define api_checknelems(L,n) api_check(L, (n) < (L->top - L->ci->func), \ argument
H A Dlstrlib.c60 static int str_len (lua_State *L) { in str_len()
76 static int str_sub (lua_State *L) { in str_sub()
90 static int str_reverse (lua_State *L) { in str_reverse()
102 static int str_lower (lua_State *L) { in str_lower()
115 static int str_upper (lua_State *L) { in str_upper()
131 static int str_rep (lua_State *L) { in str_rep()
156 static int str_byte (lua_State *L) { in str_byte()
175 static int str_char (lua_State *L) { in str_char()
197 static int str_dump (lua_State *L) { in str_dump()
226 lua_State *L; member
[all …]
H A Dltable.c144 static int findindex (lua_State *L, Table *t, StkId key) { in findindex()
169 int luaH_next (lua_State *L, Table *t, StkId key) { in luaH_next()
270 static void setarrayvector (lua_State *L, Table *t, int size) { in setarrayvector()
279 static void setnodevector (lua_State *L, Table *t, int size) { in setnodevector()
304 void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize) { in luaH_resize()
337 void luaH_resizearray (lua_State *L, Table *t, int nasize) { in luaH_resizearray()
343 static void rehash (lua_State *L, Table *t, const TValue *ek) { in rehash()
368 Table *luaH_new (lua_State *L) { in luaH_new()
379 void luaH_free (lua_State *L, Table *t) { in luaH_free()
405 TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { in luaH_newkey()
[all …]
H A Dlzio.c23 lua_State *L = z->L; in luaZ_fill() local
36 void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data) { in luaZ_init()
68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { in luaZ_openspace()
H A Dlgc.h122 #define luaC_condGC(L,c) \ argument
124 #define luaC_checkGC(L) luaC_condGC(L, luaC_step(L);) argument
127 #define luaC_barrier(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ argument
130 #define luaC_barrierback(L,p,v) { if (valiswhite(v) && isblack(obj2gco(p))) \ argument
133 #define luaC_objbarrier(L,p,o) \ argument
137 #define luaC_objbarrierback(L,p,o) \ argument
140 #define luaC_barrierproto(L,p,c) \ argument
/illumos-gate/usr/src/cmd/sort/common/
H A Dfields.c363 field_boundary(field_t *F, line_rec_t *L, int is_end, int is_blanks) in field_boundary()
397 field_delimit(field_t *F, line_rec_t *L, ssize_t *start, ssize_t *end) in field_delimit()
561 field_delimit_tabbed_wide(field_t *F, line_rec_t *L, ssize_t *start, in field_delimit_tabbed_wide()
574 field_convert_month(field_t *F, line_rec_t *L, vchar_t delimiter, in field_convert_month()
625 field_convert_month_wide(field_t *F, line_rec_t *L, vchar_t delimiter, in field_convert_month_wide()
677 field_convert_alpha(field_t *F, line_rec_t *L, vchar_t delimiter, in field_convert_alpha()
748 field_convert_alpha_wide(field_t *F, line_rec_t *L, vchar_t delimiter, in field_convert_alpha_wide()
796 field_convert_numeric(field_t *F, line_rec_t *L, vchar_t delimiter, in field_convert_numeric()
1138 field_convert_wide(field_t *F, line_rec_t *L, int flags, in field_convert_wide()
1218 line_convert(line_rec_t *L) in line_convert()
[all …]

123