Searched refs:lua_State (Results 1 - 25 of 115) sorted by relevance

12345

/external/skia/third_party/lua/src/
H A Dlualib.h15 LUAMOD_API int (luaopen_base) (lua_State *L);
18 LUAMOD_API int (luaopen_coroutine) (lua_State *L);
21 LUAMOD_API int (luaopen_table) (lua_State *L);
24 LUAMOD_API int (luaopen_io) (lua_State *L);
27 LUAMOD_API int (luaopen_os) (lua_State *L);
30 LUAMOD_API int (luaopen_string) (lua_State *L);
33 LUAMOD_API int (luaopen_bit32) (lua_State *L);
36 LUAMOD_API int (luaopen_math) (lua_State *L);
39 LUAMOD_API int (luaopen_debug) (lua_State *L);
42 LUAMOD_API int (luaopen_package) (lua_State *
[all...]
H A Dlua.h54 typedef struct lua_State lua_State; typedef in typeref:struct:lua_State
56 typedef int (*lua_CFunction) (lua_State *L);
62 typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
64 typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
131 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
132 LUA_API void (lua_close) (lua_State *L);
133 LUA_API lua_State *(lua_newthread) (lua_State *L);
135 LUA_API lua_CFunction (lua_atpanic) (lua_State *
[all...]
H A Dlfunc.h21 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
24 LUAI_FUNC UpVal *luaF_newupval (lua_State *L);
25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
26 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
27 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
28 LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
H A Dldo.h27 typedef void (*Pfunc) (lua_State *L, void *ud);
29 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
31 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
33 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
35 LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
38 LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
39 LUAI_FUNC void luaD_growstack (lua_State *L, int n);
40 LUAI_FUNC void luaD_shrinkstack (lua_State *
[all...]
H A Dlvm.h26 LUAI_FUNC int luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2);
29 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
30 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
32 LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
33 LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,
35 LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key,
37 LUAI_FUNC void luaV_finishOp (lua_State *L);
38 LUAI_FUNC void luaV_execute (lua_State *L);
39 LUAI_FUNC void luaV_concat (lua_State *L, int total);
40 LUAI_FUNC void luaV_arith (lua_State *
[all...]
H A Dlauxlib.h29 LUALIB_API void (luaL_checkversion_) (lua_State *L, lua_Number ver);
32 LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e);
33 LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e);
34 LUALIB_API const char *(luaL_tolstring) (lua_State *L, int idx, size_t *len);
35 LUALIB_API int (luaL_argerror) (lua_State *L, int numarg, const char *extramsg);
36 LUALIB_API const char *(luaL_checklstring) (lua_State *L, int numArg,
38 LUALIB_API const char *(luaL_optlstring) (lua_State *L, int numArg,
40 LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int numArg);
41 LUALIB_API lua_Number (luaL_optnumber) (lua_State *L, int nArg, lua_Number def);
43 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *
[all...]
H A Dldebug.h24 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
26 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
27 LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1,
29 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
31 LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);
32 LUAI_FUNC l_noret luaG_errormsg (lua_State *L);
H A Dltable.h22 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
25 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
26 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
27 LUAI_FUNC Table *luaH_new (lua_State *L);
28 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize);
29 LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
30 LUAI_FUNC void luaH_free (lua_State *L, Table *t);
31 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
H A Dlundump.h14 LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
20 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
H A Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) {
49 static int luaB_coresume (lua_State *L) {
50 lua_State *co = lua_tothread(L, 1);
67 static int luaB_auxwrap (lua_State *L) {
68 lua_State *co = lua_tothread(L, lua_upvalueindex(1));
82 static int luaB_cocreate (lua_State *L) {
83 lua_State *NL;
92 static int luaB_cowrap (lua_State *L) {
99 static int luaB_yield (lua_State *
[all...]
H A Dlmathlib.c26 static int math_abs (lua_State *L) {
31 static int math_sin (lua_State *L) {
36 static int math_sinh (lua_State *L) {
41 static int math_cos (lua_State *L) {
46 static int math_cosh (lua_State *L) {
51 static int math_tan (lua_State *L) {
56 static int math_tanh (lua_State *L) {
61 static int math_asin (lua_State *L) {
66 static int math_acos (lua_State *L) {
71 static int math_atan (lua_State *
[all...]
H A Dlbitlib.c36 static b_uint andaux (lua_State *L) {
45 static int b_and (lua_State *L) {
52 static int b_test (lua_State *L) {
59 static int b_or (lua_State *L) {
69 static int b_xor (lua_State *L) {
79 static int b_not (lua_State *L) {
86 static int b_shift (lua_State *L, b_uint r, int i) {
103 static int b_lshift (lua_State *L) {
108 static int b_rshift (lua_State *L) {
113 static int b_arshift (lua_State *
[all...]
/external/syslinux/com32/lua/src/
H A Dlualib.h15 LUAMOD_API int (luaopen_base) (lua_State *L);
18 LUAMOD_API int (luaopen_coroutine) (lua_State *L);
21 LUAMOD_API int (luaopen_table) (lua_State *L);
24 LUAMOD_API int (luaopen_io) (lua_State *L);
27 LUAMOD_API int (luaopen_os) (lua_State *L);
30 LUAMOD_API int (luaopen_string) (lua_State *L);
33 LUAMOD_API int (luaopen_bit32) (lua_State *L);
36 LUAMOD_API int (luaopen_math) (lua_State *L);
39 LUAMOD_API int (luaopen_debug) (lua_State *L);
42 LUAMOD_API int (luaopen_package) (lua_State *
[all...]
H A Dlua.h59 typedef struct lua_State lua_State; typedef in typeref:struct:lua_State
61 typedef int (*lua_CFunction) (lua_State *L);
67 typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz);
69 typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud);
136 LUA_API lua_State *(lua_newstate) (lua_Alloc f, void *ud);
137 LUA_API void (lua_close) (lua_State *L);
138 LUA_API lua_State *(lua_newthread) (lua_State *L);
140 LUA_API lua_CFunction (lua_atpanic) (lua_State *
[all...]
H A Dlfunc.h21 LUAI_FUNC Proto *luaF_newproto (lua_State *L);
22 LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
23 LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
24 LUAI_FUNC UpVal *luaF_newupval (lua_State *L);
25 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
26 LUAI_FUNC void luaF_close (lua_State *L, StkId level);
27 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f);
28 LUAI_FUNC void luaF_freeupval (lua_State *L, UpVal *uv);
H A Dldo.h27 typedef void (*Pfunc) (lua_State *L, void *ud);
29 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name,
31 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line);
32 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
33 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
35 LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
37 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
38 LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
39 LUAI_FUNC void luaD_growstack (lua_State *L, int n);
40 LUAI_FUNC void luaD_shrinkstack (lua_State *
[all...]
H A Dlvm.h26 LUAI_FUNC int luaV_equalobj_ (lua_State *L, const TValue *t1, const TValue *t2);
29 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r);
30 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r);
32 LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
33 LUAI_FUNC void luaV_gettable (lua_State *L, const TValue *t, TValue *key,
35 LUAI_FUNC void luaV_settable (lua_State *L, const TValue *t, TValue *key,
37 LUAI_FUNC void luaV_finishOp (lua_State *L);
38 LUAI_FUNC void luaV_execute (lua_State *L);
39 LUAI_FUNC void luaV_concat (lua_State *L, int total);
40 LUAI_FUNC void luaV_arith (lua_State *
[all...]
H A Dlauxlib.h29 LUALIB_API void (luaL_checkversion_) (lua_State *L, lua_Number ver);
32 LUALIB_API int (luaL_getmetafield) (lua_State *L, int obj, const char *e);
33 LUALIB_API int (luaL_callmeta) (lua_State *L, int obj, const char *e);
34 LUALIB_API const char *(luaL_tolstring) (lua_State *L, int idx, size_t *len);
35 LUALIB_API int (luaL_argerror) (lua_State *L, int numarg, const char *extramsg);
36 LUALIB_API const char *(luaL_checklstring) (lua_State *L, int numArg,
38 LUALIB_API const char *(luaL_optlstring) (lua_State *L, int numArg,
40 LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int numArg);
41 LUALIB_API lua_Number (luaL_optnumber) (lua_State *L, int nArg, lua_Number def);
43 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *
[all...]
H A Dldebug.h24 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o,
26 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
27 LUAI_FUNC l_noret luaG_aritherror (lua_State *L, const TValue *p1,
29 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1,
31 LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...);
32 LUAI_FUNC l_noret luaG_errormsg (lua_State *L);
H A Dlundump.h14 LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
20 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
H A Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) {
49 static int luaB_coresume (lua_State *L) {
50 lua_State *co = lua_tothread(L, 1);
67 static int luaB_auxwrap (lua_State *L) {
68 lua_State *co = lua_tothread(L, lua_upvalueindex(1));
82 static int luaB_cocreate (lua_State *L) {
83 lua_State *NL;
92 static int luaB_cowrap (lua_State *L) {
99 static int luaB_yield (lua_State *
[all...]
H A Dlmathlib.c26 static int math_abs (lua_State *L) {
31 static int math_sin (lua_State *L) {
36 static int math_sinh (lua_State *L) {
41 static int math_cos (lua_State *L) {
46 static int math_cosh (lua_State *L) {
51 static int math_tan (lua_State *L) {
56 static int math_tanh (lua_State *L) {
61 static int math_asin (lua_State *L) {
66 static int math_acos (lua_State *L) {
71 static int math_atan (lua_State *
[all...]
H A Dcmenu.c7 static int l_init (lua_State *L)
13 static int l_set_window_size (lua_State *L)
20 static int l_add_menu (lua_State *L)
27 static int l_add_named_menu (lua_State *L)
35 static int l_add_item (lua_State *L)
42 static int l_add_sep (lua_State *L)
48 static int l_find_menu_num (lua_State *L)
54 static int l_showmenus (lua_State *L)
75 LUALIB_API int luaopen_cmenu (lua_State *L) {
H A Dltable.h26 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
29 LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key);
30 LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
31 LUAI_FUNC Table *luaH_new (lua_State *L);
32 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize);
33 LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
34 LUAI_FUNC void luaH_free (lua_State *L, Table *t);
35 LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
/external/skia/include/utils/
H A DSkLua.h16 struct lua_State;
31 static void Load(lua_State*);
34 SkLua(lua_State*); // uses L, will not close it
37 lua_State* get() const { return fL; }
38 lua_State* operator*() const { return fL; }
39 lua_State* operator->() const { return fL; }
64 lua_State* fL;

Completed in 912 milliseconds

12345