/minix3/external/mit/lua/dist/src/ |
H A D | lmathlib.c | 41 static int math_abs (lua_State *L) { in math_abs() 52 static int math_sin (lua_State *L) { in math_sin() 57 static int math_cos (lua_State *L) { in math_cos() 62 static int math_tan (lua_State *L) { in math_tan() 67 static int math_asin (lua_State *L) { in math_asin() 72 static int math_acos (lua_State *L) { in math_acos() 77 static int math_atan (lua_State *L) { in math_atan() 85 static int math_toint (lua_State *L) { in math_toint() 98 static void pushnumint (lua_State *L, lua_Number d) { in pushnumint() 107 static int math_floor (lua_State *L) { in math_floor() [all …]
|
H A D | lbaselib.c | 28 static int luaB_print (lua_State *L) { in luaB_print() 73 static int luaB_tonumber (lua_State *L) { in luaB_tonumber() 106 static int luaB_error (lua_State *L) { in luaB_error() 118 static int luaB_getmetatable (lua_State *L) { in luaB_getmetatable() 129 static int luaB_setmetatable (lua_State *L) { in luaB_setmetatable() 142 static int luaB_rawequal (lua_State *L) { in luaB_rawequal() 150 static int luaB_rawlen (lua_State *L) { in luaB_rawlen() 159 static int luaB_rawget (lua_State *L) { in luaB_rawget() 167 static int luaB_rawset (lua_State *L) { in luaB_rawset() 177 static int luaB_collectgarbage (lua_State *L) { in luaB_collectgarbage() [all …]
|
H A D | lcorolib.c | 25 static lua_State *getco (lua_State *L) { in getco() 32 static int auxresume (lua_State *L, lua_State *co, int narg) { in auxresume() 61 static int luaB_coresume (lua_State *L) { in luaB_coresume() 78 static int luaB_auxwrap (lua_State *L) { in luaB_auxwrap() 93 static int luaB_cocreate (lua_State *L) { in luaB_cocreate() 103 static int luaB_cowrap (lua_State *L) { in luaB_cowrap() 110 static int luaB_yield (lua_State *L) { in luaB_yield() 115 static int luaB_costatus (lua_State *L) { in luaB_costatus() 142 static int luaB_yieldable (lua_State *L) { in luaB_yieldable() 148 static int luaB_corunning (lua_State *L) { in luaB_corunning() [all …]
|
H A D | ldblib.c | 39 static void checkstack (lua_State *L, lua_State *L1, int n) { in checkstack() 45 static int db_getregistry (lua_State *L) { in db_getregistry() 51 static int db_getmetatable (lua_State *L) { in db_getmetatable() 60 static int db_setmetatable (lua_State *L) { in db_setmetatable() 70 static int db_getuservalue (lua_State *L) { in db_getuservalue() 79 static int db_setuservalue (lua_State *L) { in db_setuservalue() 94 static lua_State *getthread (lua_State *L, int *arg) { in getthread() 111 static void settabss (lua_State *L, const char *k, const char *v) { in settabss() 116 static void settabsi (lua_State *L, const char *k, int v) { in settabsi() 121 static void settabsb (lua_State *L, const char *k, int v) { in settabsb() [all …]
|
H A D | lbitlib.c | 45 static lua_Unsigned andaux (lua_State *L) { in andaux() 54 static int b_and (lua_State *L) { in b_and() 61 static int b_test (lua_State *L) { in b_test() 68 static int b_or (lua_State *L) { in b_or() 78 static int b_xor (lua_State *L) { in b_xor() 88 static int b_not (lua_State *L) { in b_not() 95 static int b_shift (lua_State *L, lua_Unsigned r, lua_Integer i) { in b_shift() 112 static int b_lshift (lua_State *L) { in b_lshift() 117 static int b_rshift (lua_State *L) { in b_rshift() 122 static int b_arshift (lua_State *L) { in b_arshift() [all …]
|
H A D | lapi.c | 64 static TValue *index2addr (lua_State *L, int idx) { in index2addr() 95 static void growstack (lua_State *L, void *ud) { in growstack() 101 LUA_API int lua_checkstack (lua_State *L, int n) { in lua_checkstack() 138 LUA_API lua_CFunction lua_atpanic (lua_State *L, lua_CFunction panicf) { in lua_atpanic() 148 LUA_API const lua_Number *lua_version (lua_State *L) { in lua_version() 164 LUA_API int lua_absindex (lua_State *L, int idx) { in lua_absindex() 171 LUA_API int lua_gettop (lua_State *L) { in lua_gettop() 176 LUA_API void lua_settop (lua_State *L, int idx) { in lua_settop() 197 static void reverse (lua_State *L, StkId from, StkId to) { in reverse() 211 LUA_API void lua_rotate (lua_State *L, int idx, int n) { in lua_rotate() [all …]
|
H A D | lauxlib.c | 51 static int findfield (lua_State *L, int objidx, int level) { in findfield() 79 static int pushglobalfuncname (lua_State *L, lua_Debug *ar) { in pushglobalfuncname() 100 static void pushfuncname (lua_State *L, lua_Debug *ar) { in pushfuncname() 116 static int countlevels (lua_State *L) { in countlevels() 131 LUALIB_API void luaL_traceback (lua_State *L, lua_State *L1, in luaL_traceback() 168 LUALIB_API int luaL_argerror (lua_State *L, int arg, const char *extramsg) { in luaL_argerror() 186 static int typeerror (lua_State *L, int arg, const char *tname) { in typeerror() 200 static void tag_error (lua_State *L, int arg, int tag) { in tag_error() 205 LUALIB_API void luaL_where (lua_State *L, int level) { in luaL_where() 218 LUALIB_API int luaL_error (lua_State *L, const char *fmt, ...) { in luaL_error() [all …]
|
H A D | liolib.c | 54 #define l_popen(L,c,m) (fflush(NULL), popen(c,m)) argument 55 #define l_pclose(L,file) (pclose(file)) argument 59 #define l_popen(L,c,m) (_popen(c,m)) argument 60 #define l_pclose(L,file) (_pclose(file)) argument 65 #define l_popen(L,c,m) \ argument 69 #define l_pclose(L,file) ((void)L, (void)file, -1) argument 140 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument 145 static int io_type (lua_State *L) { in io_type() 159 static int f_tostring (lua_State *L) { in f_tostring() 169 static FILE *tofile (lua_State *L) { in tofile() [all …]
|
H A D | loadlib.c | 99 #define setprogdir(L) ((void)0) argument 158 static void *lsys_load (lua_State *L, const char *path, int seeglb) { in lsys_load() 165 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 194 static void setprogdir (lua_State *L) { in setprogdir() 209 static void pusherror (lua_State *L) { in pusherror() 224 static void *lsys_load (lua_State *L, const char *path, int seeglb) { in lsys_load() 232 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 260 static void *lsys_load (lua_State *L, const char *path, int seeglb) { in lsys_load() 267 static lua_CFunction lsys_sym (lua_State *L, void *lib, const char *sym) { in lsys_sym() 280 static void *checkclib (lua_State *L, const char *path) { in checkclib() [all …]
|
H A D | lua.c | 84 #define lua_readline(L,b,p) ((void)L, ((b)=readline(p)) != NULL) argument 85 #define lua_saveline(L,line) ((void)L, add_history(line)) argument 86 #define lua_freeline(L,b) ((void)L, free(b)) argument 90 #define lua_readline(L,b,p) \ argument 93 #define lua_saveline(L,line) { (void)L; (void)line; } argument 94 #define lua_freeline(L,b) { (void)L; (void)b; } argument 111 static void lstop (lua_State *L, lua_Debug *ar) { in lstop() 166 static int report (lua_State *L, int status) { in report() 179 static int msghandler (lua_State *L) { in msghandler() 198 static int docall (lua_State *L, int narg, int nres) { in docall() [all …]
|
H A D | lmem.h | 34 #define luaM_reallocv(L,b,on,n,e) \ argument 42 #define luaM_reallocvchar(L,b,on,n) \ argument 45 #define luaM_freemem(L, b, s) luaM_realloc_(L, (b), (s), 0) argument 46 #define luaM_free(L, b) luaM_realloc_(L, (b), sizeof(*(b)), 0) argument 47 #define luaM_freearray(L, b, n) luaM_realloc_(L, (b), (n)*sizeof(*(b)), 0) argument 49 #define luaM_malloc(L,s) luaM_realloc_(L, NULL, 0, (s)) argument 50 #define luaM_new(L,t) cast(t *, luaM_malloc(L, sizeof(t))) argument 51 #define luaM_newvector(L,n,t) \ argument 54 #define luaM_newobject(L,tag,s) luaM_realloc_(L, NULL, tag, (s)) argument 56 #define luaM_growvector(L,v,nelems,size,t,limit,e) \ argument [all …]
|
H A D | ldo.c | 62 #define LUAI_THROW(L,c) throw(c) argument 63 #define LUAI_TRY(L,c,a) \ argument 70 #define LUAI_THROW(L,c) _longjmp((c)->b, 1) argument 71 #define LUAI_TRY(L,c,a) if (_setjmp((c)->b) == 0) { a } argument 77 #define LUAI_THROW(L,c) longjmp((c)->b, 1) argument 78 #define LUAI_TRY(L,c,a) if (setjmp((c)->b) == 0) { a } argument 95 static void seterrorobj (lua_State *L, int errcode, StkId oldtop) { in seterrorobj() 114 l_noret luaD_throw (lua_State *L, int errcode) { in luaD_throw() 140 int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) { in luaD_rawrunprotected() 157 static void correctstack (lua_State *L, TValue *oldstack) { in correctstack() [all …]
|
H A D | loslib.c | 58 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t)) argument 59 #define l_checktime(L,a) ((time_t)luaL_checkinteger(L,a)) argument 127 static int os_execute (lua_State *L) { in os_execute() 139 static int os_remove (lua_State *L) { in os_remove() 145 static int os_rename (lua_State *L) { in os_rename() 152 static int os_tmpname (lua_State *L) { in os_tmpname() 163 static int os_getenv (lua_State *L) { in os_getenv() 169 static int os_clock (lua_State *L) { in os_clock() 183 static void setfield (lua_State *L, const char *key, int value) { in setfield() 188 static void setboolfield (lua_State *L, const char *key, int value) { in setboolfield() [all …]
|
H A D | lstate.c | 74 #define fromstate(L) (cast(LX *, cast(lu_byte *, (L)) - offsetof(LX, l))) argument 85 static unsigned int makeseed (lua_State *L) { in makeseed() 108 CallInfo *luaE_extendCI (lua_State *L) { in luaE_extendCI() 121 void luaE_freeCI (lua_State *L) { in luaE_freeCI() 135 void luaE_shrinkCI (lua_State *L) { in luaE_shrinkCI() 148 static void stack_init (lua_State *L1, lua_State *L) { in stack_init() 168 static void freestack (lua_State *L) { in freestack() 180 static void init_registry (lua_State *L, global_State *g) { in init_registry() 199 static void f_luaopen (lua_State *L, void *ud) { in f_luaopen() 217 static void preinit_thread (lua_State *L, global_State *g) { in preinit_thread() [all …]
|
H A D | ltablib.c | 40 static void checktab (lua_State *L, int arg, TabA *ta) { in checktab() 59 #define aux_getn(L,n,ta) (checktab(L, n, ta), luaL_len(L, n)) argument 63 static int maxn (lua_State *L) { in maxn() 80 static int tinsert (lua_State *L) { in tinsert() 108 static int tremove (lua_State *L) { in tremove() 125 static int tmove (lua_State *L) { in tmove() 162 static void addfield (lua_State *L, luaL_Buffer *b, TabA *ta, lua_Integer i) { in addfield() 171 static int tconcat (lua_State *L) { in tconcat() 198 static int pack (lua_State *L) { in pack() 211 static int unpack (lua_State *L) { in unpack() [all …]
|
H A D | ldo.h | 18 #define luaD_checkstack(L,n) if (L->stack_last - L->top <= (n)) \ argument 22 #define incr_top(L) {L->top++; luaD_checkstack(L,0);} argument 24 #define savestack(L,p) ((char *)(p) - (char *)L->stack) argument 25 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) argument
|
H A D | llimits.h | 215 #define lua_lock(L) ((void) 0) argument 216 #define lua_unlock(L) ((void) 0) argument 224 #define luai_threadyield(L) {lua_unlock(L); lua_lock(L);} argument 234 #define luai_userstateopen(L) ((void)L) argument 238 #define luai_userstateclose(L) ((void)L) argument 242 #define luai_userstatethread(L,L1) ((void)L) argument 246 #define luai_userstatefree(L,L1) ((void)L) argument 250 #define luai_userstateresume(L,n) ((void)L) argument 254 #define luai_userstateyield(L,n) ((void)L) argument 265 #define luai_numidiv(L,a,b) ((void)L, l_floor(luai_numdiv(L,a,b))) argument [all …]
|
H A D | lauxlib.h | 36 #define luaL_checkversion(L) \ argument 56 #define luaL_optinteger(L,a,d) luaL_optnumber(L, (a), (lua_Number)(d)) argument 90 #define luaL_loadfile(L,f) luaL_loadfilex(L,f,NULL) argument 121 #define luaL_newlibtable(L,l) \ argument 124 #define luaL_newlib(L,l) \ argument 127 #define luaL_argcheck(L, cond,arg,extramsg) \ argument 129 #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) argument 130 #define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL)) argument 132 #define luaL_typename(L,i) lua_typename(L, lua_type(L,(i))) argument 135 #define luaL_dofile(L, fn) \ argument [all …]
|
H A D | lfunc.c | 29 CClosure *luaF_newCclosure (lua_State *L, int n) { in luaF_newCclosure() 37 LClosure *luaF_newLclosure (lua_State *L, int n) { in luaF_newLclosure() 49 void luaF_initupvals (lua_State *L, LClosure *cl) { in luaF_initupvals() 61 UpVal *luaF_findupval (lua_State *L, StkId level) { in luaF_findupval() 87 void luaF_close (lua_State *L, StkId level) { in luaF_close() 103 Proto *luaF_newproto (lua_State *L) { in luaF_newproto() 129 void luaF_freeproto (lua_State *L, Proto *f) { in luaF_freeproto()
|
/minix3/lib/lua/sqlite/ |
H A D | sqlite.c | 46 sqlite_error(lua_State *L, const char *fmt, ...) in sqlite_error() 65 sqlite_initialize(lua_State *L) in sqlite_initialize() 72 sqlite_shutdown(lua_State *L) in sqlite_shutdown() 79 sqlite_open(lua_State *L) in sqlite_open() 97 sqlite_libversion(lua_State *L) in sqlite_libversion() 104 sqlite_libversion_number(lua_State *L) in sqlite_libversion_number() 111 sqlite_sourceid(lua_State *L) in sqlite_sourceid() 118 db_close(lua_State *L) in db_close() 129 db_prepare(lua_State *L) in db_prepare() 147 db_exec(lua_State *L) in db_exec() [all …]
|
/minix3/libexec/httpd/lua/ |
H A D | glue.c | 71 l_new(lua_State *L) in l_new() 82 l_init_httpd(lua_State *L) in l_init_httpd() 93 l_init_prefs(lua_State *L) in l_init_prefs() 105 l_bozo_set_pref(lua_State *L) in l_bozo_set_pref() 120 l_bozo_get_pref(lua_State *L) in l_bozo_get_pref() 133 l_bozo_setup(lua_State *L) in l_bozo_setup() 153 l_bozo_read_request(lua_State *L) in l_bozo_read_request() 166 l_bozo_process_request(lua_State *L) in l_bozo_process_request() 180 l_bozo_clean_request(lua_State *L) in l_bozo_clean_request() 192 l_bozo_dynamic_mime(lua_State *L) in l_bozo_dynamic_mime() [all …]
|
/minix3/lib/lua/gpio/ |
H A D | gpio.c | 49 gpio_error(lua_State *L, const char *fmt, ...) in gpio_error() 68 gpio_open(lua_State *L) in gpio_open() 85 gpio_close(lua_State *L) in gpio_close() 98 gpio_info(lua_State *L) in gpio_info() 111 gpio_get_pin(lua_State *L, int n, struct gpio_req *req) in gpio_get_pin() 127 gpio_set(lua_State *L) in gpio_set() 142 gpio_unset(lua_State *L) in gpio_unset() 156 gpio_read(lua_State *L) in gpio_read() 172 gpio_write(lua_State *L) in gpio_write() 191 gpio_toggle(lua_State *L) in gpio_toggle() [all …]
|
/minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/ |
H A D | lambda-expressions-nested-linkage.cpp | 8 auto L = [](int a) { in foo() local 18 struct L { struct 19 int t = ([](int a) { return [](int b) { return b; };})(2)(3); in __anond1ca49d60402() 26 struct L { struct 27 T t2 = ([](int a) { return [](int b) { return b; };})(T{})(T{}); in __anond1ca49d60502() 37 auto L = [](int a) { in foo() local
|
/minix3/lib/lua/syslog/ |
H A D | syslog.c | 42 syslog_openlog(lua_State *L) in syslog_openlog() 56 syslog_syslog(lua_State *L) in syslog_syslog() 63 syslog_closelog(lua_State *L) in syslog_closelog() 70 syslog_setlogmask(lua_State *L) in syslog_setlogmask() 77 syslog_set_info(lua_State *L) in syslog_set_info() 143 luaopen_syslog(lua_State *L) in luaopen_syslog()
|
/minix3/external/bsd/llvm/dist/clang/test/SemaCXX/ |
H A D | cxx1y-generic-lambdas-variadics.cpp | 17 auto L = [](auto ... as) { }; in test() local 21 auto L = [](auto a) { }; in test() local 25 auto L = [](auto a, auto b) { }; in test() local 29 auto L = [](auto a, auto b) { }; in test() local 33 auto L = [](auto a, auto b, auto ... cs) { }; in test() local 39 auto L = [](auto ... As) { in test() local 44 auto L = [](auto A, auto B, auto ... As) { in test() local 51 auto L = [](auto ... As) { in test() local 64 auto L = [](auto A, auto ... As) { in test() local
|