Home
last modified time | relevance | path

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

12345678910>>...41

/external/syslinux/com32/lua/src/
Dlmathlib.c26 static int math_abs (lua_State *L) { in math_abs()
31 static int math_sin (lua_State *L) { in math_sin()
36 static int math_sinh (lua_State *L) { in math_sinh()
41 static int math_cos (lua_State *L) { in math_cos()
46 static int math_cosh (lua_State *L) { in math_cosh()
51 static int math_tan (lua_State *L) { in math_tan()
56 static int math_tanh (lua_State *L) { in math_tanh()
61 static int math_asin (lua_State *L) { in math_asin()
66 static int math_acos (lua_State *L) { in math_acos()
71 static int math_atan (lua_State *L) { in math_atan()
[all …]
Dlbaselib.c23 static int luaB_print (lua_State *L) { in luaB_print()
48 static int luaB_tonumber (lua_State *L) { in luaB_tonumber()
89 static int luaB_error (lua_State *L) { in luaB_error()
101 static int luaB_getmetatable (lua_State *L) { in luaB_getmetatable()
112 static int luaB_setmetatable (lua_State *L) { in luaB_setmetatable()
125 static int luaB_rawequal (lua_State *L) { in luaB_rawequal()
133 static int luaB_rawlen (lua_State *L) { in luaB_rawlen()
142 static int luaB_rawget (lua_State *L) { in luaB_rawget()
150 static int luaB_rawset (lua_State *L) { in luaB_rawset()
160 static int luaB_collectgarbage (lua_State *L) { in luaB_collectgarbage()
[all …]
Dcmenu.c7 static int l_init (lua_State *L) in l_init()
13 static int l_set_window_size (lua_State *L) in l_set_window_size()
20 static int l_add_menu (lua_State *L) in l_add_menu()
27 static int l_add_named_menu (lua_State *L) in l_add_named_menu()
35 static int l_add_item (lua_State *L) in l_add_item()
42 static int l_add_sep (lua_State *L) in l_add_sep()
48 static int l_find_menu_num (lua_State *L) in l_find_menu_num()
54 static int l_showmenus (lua_State *L) in l_showmenus()
75 LUALIB_API int luaopen_cmenu (lua_State *L) { in luaopen_cmenu()
Dliolib.c58 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) argument
59 #define lua_pclose(L,file) ((void)L, pclose(file)) argument
63 #define lua_popen(L,c,m) ((void)L, _popen(c,m)) argument
64 #define lua_pclose(L,file) ((void)L, _pclose(file)) argument
69 #define lua_popen(L,c,m) ((void)((void)c, m), \ argument
71 #define lua_pclose(L,file) ((void)((void)L, file), -1) argument
125 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument
130 static int io_type (lua_State *L) { in io_type()
144 static int f_tostring (lua_State *L) { in f_tostring()
154 static FILE *tofile (lua_State *L) { in tofile()
[all …]
Dlapi.c49 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument
51 #define api_checkstackindex(L, i, o) \ argument
55 static TValue *index2addr (lua_State *L, int idx) { in index2addr()
86 static void growstack (lua_State *L, void *ud) { in growstack()
92 LUA_API int lua_checkstack (lua_State *L, int size) { in lua_checkstack()
127 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic()
137 LUA_API const lua_Number *lua_version (lua_State *L) { in lua_version()
153 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex()
160 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
165 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop()
[all …]
Dldblib.c25 static int db_getregistry (lua_State *L) { in db_getregistry()
31 static int db_getmetatable (lua_State *L) { in db_getmetatable()
40 static int db_setmetatable (lua_State *L) { in db_setmetatable()
50 static int db_getuservalue (lua_State *L) { in db_getuservalue()
59 static int db_setuservalue (lua_State *L) { in db_setuservalue()
71 static void settabss (lua_State *L, const char *i, const char *v) { in settabss()
77 static void settabsi (lua_State *L, const char *i, int v) { in settabsi()
83 static void settabsb (lua_State *L, const char *i, int v) { in settabsb()
89 static lua_State *getthread (lua_State *L, int *arg) { in getthread()
101 static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { in treatstackoption()
[all …]
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()
86 static int b_shift (lua_State *L, b_uint r, int i) { in b_shift()
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()
[all …]
Dlauxlib.c43 static int findfield (lua_State *L, int objidx, int level) { in findfield()
67 static int pushglobalfuncname (lua_State *L, lua_Debug *ar) { in pushglobalfuncname()
83 static void pushfuncname (lua_State *L, lua_Debug *ar) { in pushfuncname()
101 static int countlevels (lua_State *L) { in countlevels()
116 LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, in luaL_traceback()
153 LUALIB_API int luaL_argerror (lua_State *L, int narg, const char *extramsg) { in luaL_argerror()
171 static int typeerror (lua_State *L, int narg, const char *tname) { in typeerror()
178 static void tag_error (lua_State *L, int narg, int tag) { in tag_error()
183 LUALIB_API void luaL_where (lua_State *L, int level) { in luaL_where()
196 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error()
[all …]
Dloadlib.c109 #define setprogdir(L) ((void)0) argument
138 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
145 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym()
172 static void setprogdir (lua_State *L) { in setprogdir()
187 static void pusherror (lua_State *L) { in pusherror()
202 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
210 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym()
233 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
251 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym()
283 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
[all …]
Dltablib.c19 #define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_len(L, n)) argument
24 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()
84 static void addfield (lua_State *L, luaL_Buffer *b, int i) { in addfield()
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()
164 static void set2 (lua_State *L, int i, int j) { in set2()
169 static int sort_comp (lua_State *L, int a, int b) { in sort_comp()
[all …]
Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume()
49 static int luaB_coresume (lua_State *L) { in luaB_coresume()
67 static int luaB_auxwrap (lua_State *L) { in luaB_auxwrap()
82 static int luaB_cocreate (lua_State *L) { in luaB_cocreate()
92 static int luaB_cowrap (lua_State *L) { in luaB_cowrap()
99 static int luaB_yield (lua_State *L) { in luaB_yield()
104 static int luaB_costatus (lua_State *L) { in luaB_costatus()
132 static int luaB_corunning (lua_State *L) { in luaB_corunning()
151 LUAMOD_API int luaopen_coroutine (lua_State *L) { in luaopen_coroutine()
Dloslib.c83 static int os_execute (lua_State *L) { in os_execute()
95 static int os_remove (lua_State *L) { in os_remove()
101 static int os_rename (lua_State *L) { in os_rename()
108 static int os_tmpname (lua_State *L) { in os_tmpname()
120 static int os_getenv (lua_State *L) { in os_getenv()
127 static int os_clock (lua_State *L) { in os_clock()
141 static void setfield (lua_State *L, const char *key, int value) { in setfield()
146 static void setboolfield (lua_State *L, const char *key, int value) { in setboolfield()
153 static int getboolfield (lua_State *L, const char *key) { in getboolfield()
162 static int getfield (lua_State *L, const char *key, int d) { in getfield()
[all …]
Dsyslinux.c148 static int sl_run_command(lua_State * L) in sl_run_command()
156 static int sl_run_default(lua_State * L) in sl_run_default()
165 static int sl_local_boot(lua_State * L) in sl_local_boot()
172 static int sl_final_cleanup(lua_State * L) in sl_final_cleanup()
180 static int sl_boot_linux(lua_State * L) in sl_boot_linux()
258 static int sl_sleep(lua_State * L) in sl_sleep()
266 static int sl_msleep(lua_State * L) in sl_msleep()
273 static int sl_run_kernel_image(lua_State * L) in sl_run_kernel_image()
284 static int sl_loadfile(lua_State * L) in sl_loadfile()
309 static int sl_filesize(lua_State * L) in sl_filesize()
[all …]
/external/skia/third_party/lua/src/
Dlmathlib.c26 static int math_abs (lua_State *L) { in math_abs()
31 static int math_sin (lua_State *L) { in math_sin()
36 static int math_sinh (lua_State *L) { in math_sinh()
41 static int math_cos (lua_State *L) { in math_cos()
46 static int math_cosh (lua_State *L) { in math_cosh()
51 static int math_tan (lua_State *L) { in math_tan()
56 static int math_tanh (lua_State *L) { in math_tanh()
61 static int math_asin (lua_State *L) { in math_asin()
66 static int math_acos (lua_State *L) { in math_acos()
71 static int math_atan (lua_State *L) { in math_atan()
[all …]
Dlbaselib.c23 static int luaB_print (lua_State *L) { in luaB_print()
48 static int luaB_tonumber (lua_State *L) { in luaB_tonumber()
89 static int luaB_error (lua_State *L) { in luaB_error()
101 static int luaB_getmetatable (lua_State *L) { in luaB_getmetatable()
112 static int luaB_setmetatable (lua_State *L) { in luaB_setmetatable()
125 static int luaB_rawequal (lua_State *L) { in luaB_rawequal()
133 static int luaB_rawlen (lua_State *L) { in luaB_rawlen()
142 static int luaB_rawget (lua_State *L) { in luaB_rawget()
150 static int luaB_rawset (lua_State *L) { in luaB_rawset()
160 static int luaB_collectgarbage (lua_State *L) { in luaB_collectgarbage()
[all …]
Dliolib.c58 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) argument
59 #define lua_pclose(L,file) ((void)L, pclose(file)) argument
63 #define lua_popen(L,c,m) ((void)L, _popen(c,m)) argument
64 #define lua_pclose(L,file) ((void)L, _pclose(file)) argument
69 #define lua_popen(L,c,m) ((void)((void)c, m), \ argument
71 #define lua_pclose(L,file) ((void)((void)L, file), -1) argument
124 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument
129 static int io_type (lua_State *L) { in io_type()
143 static int f_tostring (lua_State *L) { in f_tostring()
153 static FILE *tofile (lua_State *L) { in tofile()
[all …]
Dlapi.c49 #define api_checkvalidindex(L, o) api_check(L, isvalid(o), "invalid index") argument
51 #define api_checkstackindex(L, i, o) \ argument
55 static TValue *index2addr (lua_State *L, int idx) { in index2addr()
86 static void growstack (lua_State *L, void *ud) { in growstack()
92 LUA_API int lua_checkstack (lua_State *L, int size) { in lua_checkstack()
127 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic()
137 LUA_API const lua_Number *lua_version (lua_State *L) { in lua_version()
153 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex()
160 LUA_API int lua_gettop (lua_State *L) { in lua_gettop()
165 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop()
[all …]
Dldblib.c25 static int db_getregistry (lua_State *L) { in db_getregistry()
31 static int db_getmetatable (lua_State *L) { in db_getmetatable()
40 static int db_setmetatable (lua_State *L) { in db_setmetatable()
50 static int db_getuservalue (lua_State *L) { in db_getuservalue()
59 static int db_setuservalue (lua_State *L) { in db_setuservalue()
71 static void settabss (lua_State *L, const char *i, const char *v) { in settabss()
77 static void settabsi (lua_State *L, const char *i, int v) { in settabsi()
83 static void settabsb (lua_State *L, const char *i, int v) { in settabsb()
89 static lua_State *getthread (lua_State *L, int *arg) { in getthread()
101 static void treatstackoption (lua_State *L, lua_State *L1, const char *fname) { in treatstackoption()
[all …]
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()
86 static int b_shift (lua_State *L, b_uint r, int i) { in b_shift()
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()
[all …]
Dlauxlib.c43 static int findfield (lua_State *L, int objidx, int level) { in findfield()
67 static int pushglobalfuncname (lua_State *L, lua_Debug *ar) { in pushglobalfuncname()
83 static void pushfuncname (lua_State *L, lua_Debug *ar) { in pushfuncname()
101 static int countlevels (lua_State *L) { in countlevels()
116 LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, in luaL_traceback()
153 LUALIB_API int luaL_argerror (lua_State *L, int narg, const char *extramsg) { in luaL_argerror()
171 static int typeerror (lua_State *L, int narg, const char *tname) { in typeerror()
178 static void tag_error (lua_State *L, int narg, int tag) { in tag_error()
183 LUALIB_API void luaL_where (lua_State *L, int level) { in luaL_where()
196 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error()
[all …]
Dloadlib.c105 #define setprogdir(L) ((void)0) argument
134 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
141 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym()
168 static void setprogdir (lua_State *L) { in setprogdir()
183 static void pusherror (lua_State *L) { in pusherror()
198 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
206 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym()
234 static void *ll_load (lua_State *L, const char *path, int seeglb) { in ll_load()
241 static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { in ll_sym()
251 static void *ll_checkclib (lua_State *L, const char *path) { in ll_checkclib()
[all …]
Dltablib.c19 #define aux_getn(L,n) (luaL_checktype(L, n, LUA_TTABLE), luaL_len(L, n)) argument
24 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()
84 static void addfield (lua_State *L, luaL_Buffer *b, int i) { in addfield()
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()
164 static void set2 (lua_State *L, int i, int j) { in set2()
169 static int sort_comp (lua_State *L, int a, int b) { in sort_comp()
[all …]
Dlcorolib.c20 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume()
49 static int luaB_coresume (lua_State *L) { in luaB_coresume()
67 static int luaB_auxwrap (lua_State *L) { in luaB_auxwrap()
82 static int luaB_cocreate (lua_State *L) { in luaB_cocreate()
92 static int luaB_cowrap (lua_State *L) { in luaB_cowrap()
99 static int luaB_yield (lua_State *L) { in luaB_yield()
104 static int luaB_costatus (lua_State *L) { in luaB_costatus()
132 static int luaB_corunning (lua_State *L) { in luaB_corunning()
151 LUAMOD_API int luaopen_coroutine (lua_State *L) { in luaopen_coroutine()
Dloslib.c80 static int os_execute (lua_State *L) { in os_execute()
92 static int os_remove (lua_State *L) { in os_remove()
98 static int os_rename (lua_State *L) { in os_rename()
105 static int os_tmpname (lua_State *L) { in os_tmpname()
116 static int os_getenv (lua_State *L) { in os_getenv()
122 static int os_clock (lua_State *L) { in os_clock()
136 static void setfield (lua_State *L, const char *key, int value) { in setfield()
141 static void setboolfield (lua_State *L, const char *key, int value) { in setboolfield()
148 static int getboolfield (lua_State *L, const char *key) { in getboolfield()
157 static int getfield (lua_State *L, const char *key, int d) { in getfield()
[all …]
/external/skia/src/utils/
DSkLua.cpp70 template <typename T> void push_obj(lua_State* L, const T& obj) { in push_obj()
76 template <typename T> T* push_ptr(lua_State* L, T* ptr) { in push_ptr()
83 template <typename T> T* push_ref(lua_State* L, T* ref) { in push_ref()
90 template <typename T> void push_ref(lua_State* L, sk_sp<T> sp) { in push_ref()
96 template <typename T> T* get_ref(lua_State* L, int index) { in get_ref()
100 template <typename T> T* get_obj(lua_State* L, int index) { in get_obj()
104 static bool lua2bool(lua_State* L, int index) { in lua2bool()
116 SkLua::SkLua(lua_State* L) : fL(L), fWeOwnL(false) {} in SkLua()
148 static void setfield_bool_if(lua_State* L, const char key[], bool pred) { in setfield_bool_if()
155 static void setfield_string(lua_State* L, const char key[], const char value[]) { in setfield_string()
[all …]

12345678910>>...41