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

123

/external/chromium_org/third_party/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...]
H A Dldblib.c25 static int db_getregistry (lua_State *L) {
31 static int db_getmetatable (lua_State *L) {
40 static int db_setmetatable (lua_State *L) {
50 static int db_getuservalue (lua_State *L) {
59 static int db_setuservalue (lua_State *L) {
71 static void settabss (lua_State *L, const char *i, const char *v) {
77 static void settabsi (lua_State *L, const char *i, int v) {
83 static void settabsb (lua_State *L, const char *i, int v) {
89 static lua_State *getthread (lua_State *
[all...]
H A Dloslib.c80 static int os_execute (lua_State *L) {
92 static int os_remove (lua_State *L) {
98 static int os_rename (lua_State *L) {
105 static int os_tmpname (lua_State *L) {
116 static int os_getenv (lua_State *L) {
122 static int os_clock (lua_State *L) {
136 static void setfield (lua_State *L, const char *key, int value) {
141 static void setboolfield (lua_State *L, const char *key, int value) {
148 static int getboolfield (lua_State *L, const char *key) {
157 static int getfield (lua_State *
[all...]
H A Dlbaselib.c23 static int luaB_print (lua_State *L) {
48 static int luaB_tonumber (lua_State *L) {
89 static int luaB_error (lua_State *L) {
101 static int luaB_getmetatable (lua_State *L) {
112 static int luaB_setmetatable (lua_State *L) {
125 static int luaB_rawequal (lua_State *L) {
133 static int luaB_rawlen (lua_State *L) {
142 static int luaB_rawget (lua_State *L) {
150 static int luaB_rawset (lua_State *L) {
160 static int luaB_collectgarbage (lua_State *
[all...]
H A Dliolib.c129 static int io_type (lua_State *L) {
143 static int f_tostring (lua_State *L) {
153 static FILE *tofile (lua_State *L) {
167 static LStream *newprefile (lua_State *L) {
175 static int aux_close (lua_State *L) {
183 static int io_close (lua_State *L) {
191 static int f_gc (lua_State *L) {
202 static int io_fclose (lua_State *L) {
209 static LStream *newfile (lua_State *L) {
217 static void opencheck (lua_State *
[all...]
H A Dlstring.h40 LUAI_FUNC void luaS_resize (lua_State *L, int newsize);
41 LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, Table *e);
42 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
43 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str);
H A Dlstate.c63 lua_State l;
89 static unsigned int makeseed (lua_State *L) {
112 CallInfo *luaE_extendCI (lua_State *L) {
122 void luaE_freeCI (lua_State *L) {
133 static void stack_init (lua_State *L1, lua_State *L) {
153 static void freestack (lua_State *L) {
165 static void init_registry (lua_State *L, global_State *g) {
183 static void f_luaopen (lua_State *L, void *ud) {
202 static void preinit_state (lua_State *
[all...]
H A Dlauxlib.c43 static int findfield (lua_State *L, int objidx, int level) {
67 static int pushglobalfuncname (lua_State *L, lua_Debug *ar) {
83 static void pushfuncname (lua_State *L, lua_Debug *ar) {
101 static int countlevels (lua_State *L) {
116 LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1,
153 LUALIB_API int luaL_argerror (lua_State *L, int narg, const char *extramsg) {
171 static int typeerror (lua_State *L, int narg, const char *tname) {
178 static void tag_error (lua_State *L, int narg, int tag) {
183 LUALIB_API void luaL_where (lua_State *
[all...]
H A Dloadlib.c112 static void *ll_load (lua_State *L, const char *path, int seeglb);
113 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym);
134 static void *ll_load (lua_State *L, const char *path, int seeglb) {
141 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
168 static void setprogdir (lua_State *L) {
183 static void pusherror (lua_State *L) {
198 static void *ll_load (lua_State *L, const char *path, int seeglb) {
206 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
234 static void *ll_load (lua_State *L, const char *path, int seeglb) {
241 static lua_CFunction ll_sym (lua_State *
[all...]
H A Dllex.h58 struct lua_State *L;
68 LUAI_FUNC void luaX_init (lua_State *L);
69 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
/external/chromium_org/third_party/skia/include/utils/
H A DSkLua.h17 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; }
65 static int lcanvas_getReducedClipStack(lua_State* L);
68 lua_State* fL;
/external/skia/include/utils/
H A DSkLua.h17 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; }
65 static int lcanvas_getReducedClipStack(lua_State* L);
68 lua_State* fL;
/external/chromium_org/third_party/skia/src/utils/
H A DSkLua.cpp50 template <typename T> T* push_new(lua_State* L) {
58 template <typename T> void push_obj(lua_State* L, const T& obj) {
64 template <typename T> void push_ref(lua_State* L, T* ref) {
70 template <typename T> T* get_ref(lua_State* L, int index) {
74 template <typename T> T* get_obj(lua_State* L, int index) {
78 static bool lua2bool(lua_State* L, int index) {
90 SkLua::SkLua(lua_State* L) : fL(L), fWeOwnL(false) {}
122 static void setfield_bool_if(lua_State* L, const char key[], bool pred) {
129 static void setfield_string(lua_State* L, const char key[], const char value[]) {
134 static void setfield_number(lua_State*
[all...]
/external/skia/src/utils/
H A DSkLua.cpp50 template <typename T> T* push_new(lua_State* L) {
58 template <typename T> void push_obj(lua_State* L, const T& obj) {
64 template <typename T> void push_ref(lua_State* L, T* ref) {
70 template <typename T> T* get_ref(lua_State* L, int index) {
74 template <typename T> T* get_obj(lua_State* L, int index) {
78 static bool lua2bool(lua_State* L, int index) {
90 SkLua::SkLua(lua_State* L) : fL(L), fWeOwnL(false) {}
122 static void setfield_bool_if(lua_State* L, const char key[], bool pred) {
129 static void setfield_string(lua_State* L, const char key[], const char value[]) {
134 static void setfield_number(lua_State*
[all...]

Completed in 1315 milliseconds

123