Home
last modified time | relevance | path

Searched refs:L (Results 1 – 25 of 1286) sorted by relevance

12345678910>>...52

/l4re-core-master/lua/lib/contrib/src/
A Dlbaselib.c52 lua_warning(L, lua_tostring(L, i), 1); in luaB_warn()
53 lua_warning(L, lua_tostring(L, n), 0); /* close warning */ in luaB_warn()
116 lua_settop(L, 1); in luaB_error()
129 lua_pushnil(L); in luaB_getmetatable()
143 lua_settop(L, 2); in luaB_setmetatable()
152 lua_pushboolean(L, lua_rawequal(L, 1, 2)); in luaB_rawequal()
161 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
169 lua_settop(L, 2); in luaB_rawget()
227 return pushmode(L, lua_gc(L, o, minormul, majormul)); in luaB_collectgarbage()
233 return pushmode(L, lua_gc(L, o, pause, stepmul, stepsize)); in luaB_collectgarbage()
[all …]
A Dlapi.c266 setobj2s(L, L->top, index2value(L, idx)); in lua_pushvalue()
335 setobjs2s(L, L->top, L->top - 1); in lua_arith()
339 luaO_arith(L, op, s2v(L->top - 2), s2v(L->top - 1), L->top - 2); in lua_arith()
524 setsvalue2s(L, L->top, ts); in lua_pushlstring()
620 setthvalue(L, s2v(L->top), L); in lua_pushthread()
637 setobj2s(L, L->top, slot); in auxgetstr()
643 luaV_finishget(L, t, s2v(L->top - 1), L->top - 1, slot); in auxgetstr()
677 luaV_finishget(L, t, s2v(L->top - 1), L->top - 1, slot); in lua_gettable()
712 setobj2s(L, L->top, val); in finishrawget()
760 sethvalue2s(L, L->top, t); in lua_createtable()
[all …]
A Dldblib.c48 luaL_checkany(L, 1); in db_getmetatable()
59 lua_settop(L, 2); in db_setmetatable()
68 luaL_pushfail(L); in db_getuservalue()
80 luaL_checkany(L, 2); in db_setuservalue()
81 lua_settop(L, 2); in db_setuservalue()
83 luaL_pushfail(L); in db_setuservalue()
135 if (L == L1) in treatstackoption()
262 name = get ? lua_getupvalue(L, 1, n) : lua_setupvalue(L, 1, n); in auxupvalue()
312 luaL_argcheck(L, !lua_iscfunction(L, 1), 1, "Lua function expected"); in db_upvaluejoin()
327 lua_pushthread(L); in hookf()
[all …]
A Dloadlib.c186 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir()
324 setprogdir(L); in setpath()
354 lua_rawseti(L, -2, luaL_len(L, -2) + 1); /* CLIBS[#CLIBS + 1] = plib */ in addtoclib()
418 luaL_pushfail(L); in ll_loadlib()
419 lua_insert(L, -2); in ll_loadlib()
503 pusherrornotfound(L, lua_tostring(L, -1)); /* create error message */ in searchpath()
509 const char *f = searchpath(L, luaL_checkstring(L, 1), in ll_searchpath()
515 luaL_pushfail(L); in ll_searchpath()
550 return checkload(L, (luaL_loadfile(L, filename) == LUA_OK), filename); in searcher_Lua()
584 return checkload(L, (loadfunc(L, filename, name) == 0), filename); in searcher_C()
[all …]
A Dlauxlib.c102 lua_pushfstring(L, "function '%s'", lua_tostring(L, -1)); in pushfuncname()
208 luaL_typeerror(L, arg, lua_typename(L, tag)); in tag_error()
314 lua_pop(L, 1); in luaL_newmetatable()
551 lua_State *L = B->L; in prepbuffsize() local
594 lua_State *L = B->L; in luaL_pushresult() local
619 lua_State *L = B->L; in luaL_addvalue() local
630 B->L = L; in luaL_buffinit()
1050 lua_setwarnf(L, warnfoff, L); /* turn warnings off */ in checkcontrol()
1052 lua_setwarnf(L, warnfon, L); /* turn warnings on */ in checkcontrol()
1071 lua_setwarnf(L, warnfcont, L); /* to be continued */ in warnfcont()
[all …]
A Dldo.c207 correctstack(L, L->stack, newstack); in luaD_reallocstack()
210 L->stack_last = L->stack + newsize; in luaD_reallocstack()
336 L->top = restorestack(L, top); in luaD_hook()
433 rethook(L, L->ci, nres); in moveresults()
473 #define next_ci(L) (L->ci->next ? L->ci->next : luaE_extendCI(L)) argument
521 L->ci = ci = next_ci(L); in luaD_precall()
545 L->ci = ci = next_ci(L); in luaD_precall()
712 setsvalue2s(L, L->top, luaS_new(L, msg)); /* push error message */ in resume_error()
796 L->ci->top = L->top; in lua_resume()
818 if (L != G(L)->mainthread) in lua_yieldk()
[all …]
A Dliolib.c80 #define l_pclose(L,file) ((void)L, (void)file, -1) argument
158 #define tolstream(L) ((LStream *)luaL_checkudata(L, 1, LUA_FILEHANDLE)) argument
286 return luaL_execresult(L, l_pclose(L, p->f)); in io_pclose()
376 aux_lines(L, 0); in f_lines()
581 success = (l == 0) ? test_eof(L, f) : read_chars(L, f, l); in g_read()
617 return g_read(L, getiofile(L, IO_INPUT), 1); in io_read()
622 return g_read(L, tofile(L), 2); in f_read()
646 return luaL_error(L, "%s", lua_tostring(L, -n + 1)); in io_readline()
686 return g_write(L, getiofile(L, IO_OUTPUT), 1); in io_write()
734 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); in f_flush()
[all …]
A Dlua.c143 luaL_traceback(L, L, msg, 1); /* append a standard traceback */ in msghandler()
200 return dochunk(L, luaL_loadfile(L, name)); in dofile()
205 return dochunk(L, luaL_loadbuffer(L, s, strlen(s), name)); in dostring()
419 #define lua_initreadline(L) ((void)L, rl_readline_name="lua") argument
421 #define lua_saveline(L,line) ((void)L, add_history(line)) argument
422 #define lua_freeline(L,b) ((void)L, free(b)) argument
426 #define lua_initreadline(L) ((void)L) argument
430 #define lua_saveline(L,line) { (void)L; (void)line; } argument
431 #define lua_freeline(L,b) { (void)L; (void)b; } argument
527 if (!incomplete(L, status) || !pushline(L, 0)) { in multiline()
[all …]
A Dltablib.c33 #define aux_getn(L,n,w) (checktab(L, n, (w) | TAB_L), luaL_len(L, n)) argument
37 lua_pushstring(L, key); in checkfield()
102 lua_pushnil(L); in tremove()
147 lua_geti(L, 1, i); in addfield()
186 lua_seti(L, 1, i); in tpack()
196 lua_Integer e = luaL_opt(L, luaL_checkinteger, 3, luaL_len(L, 1)); in tunpack()
265 lua_seti(L, 1, i); in set2()
266 lua_seti(L, 1, j); in set2()
303 while ((void)lua_geti(L, 1, ++i), sort_comp(L, -1, -2)) { in partition()
310 while ((void)lua_geti(L, 1, --j), sort_comp(L, -3, -1)) { in partition()
[all …]
A Dlua.h305 #define lua_yield(L,n) lua_yieldk(L, (n), 0, NULL) argument
362 #define lua_tonumber(L,i) lua_tonumberx(L,(i),NULL) argument
363 #define lua_tointeger(L,i) lua_tointegerx(L,(i),NULL) argument
365 #define lua_pop(L,n) lua_settop(L, -(n)-1) argument
367 #define lua_newtable(L) lua_createtable(L, 0, 0) argument
369 #define lua_register(L,n,f) (lua_pushcfunction(L, (f)), lua_setglobal(L, (n))) argument
380 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) argument
382 #define lua_pushliteral(L, s) lua_pushstring(L, "" s) argument
390 #define lua_insert(L,idx) lua_rotate(L, (idx), 1) argument
392 #define lua_remove(L,idx) (lua_rotate(L, (idx), -1), lua_pop(L, 1)) argument
[all …]
A Dlstate.c114 L->nci++; in luaE_extendCI()
209 luaM_freearray(L, L->stack, stacksize(L) + EXTRA_STACK); /* free stack */ in freestack()
234 stack_init(L, L); /* init stack */ in f_luaopen()
250 G(L) = g; in preinit_thread()
254 L->twups = L; /* thread has no upvalues */ in preinit_thread()
278 luaM_freearray(L, G(L)->strt.hash, G(L)->strt.size); in close_state()
289 g = G(L); in lua_newthread()
299 setthvalue2s(L, L->top, L1); in lua_newthread()
335 luaD_seterrorobj(L, status, L->stack + 1); in luaE_resetthread()
337 L->top = L->stack + 1; in luaE_resetthread()
[all …]
A Dlcorolib.c38 lua_xmove(L, co, narg); in auxresume()
59 r = auxresume(L, co, lua_gettop(L) - 1); in luaB_coresume()
62 lua_insert(L, -2); in luaB_coresume()
75 int r = auxresume(L, co, lua_gettop(L)); in luaB_auxwrap()
86 lua_insert(L, -2); in luaB_auxwrap()
87 lua_concat(L, 2); in luaB_auxwrap()
98 NL = lua_newthread(L); in luaB_cocreate()
106 luaB_cocreate(L); in luaB_cowrap()
113 return lua_yield(L, lua_gettop(L)); in luaB_yield()
151 lua_pushstring(L, statname[auxstatus(L, co)]); in luaB_costatus()
[all …]
A Dlmathlib.c36 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
41 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
51 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
56 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1))); in math_asin()
61 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); in math_acos()
118 if (lua_isinteger(L, 1) && lua_isinteger(L, 2)) { in math_fmod()
125 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
128 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
157 lua_pushnumber(L, l_mathop(sqrt)(luaL_checknumber(L, 1))); in math_sqrt()
[all …]
A Dloslib.c68 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t)) argument
69 #define l_gettime(L,arg) luaL_checkinteger(L, arg) argument
74 #define l_pushtime(L,t) lua_pushnumber(L,(lua_Number)(t)) argument
75 #define l_gettime(L,arg) luaL_checknumber(L, arg) argument
181 lua_pushstring(L, getenv(luaL_checkstring(L, 1))); /* if NULL push nil */ in os_getenv()
245 res = (lua_getfield(L, -1, key) == LUA_TNIL) ? -1 : lua_toboolean(L, -1); in getboolfield()
246 lua_pop(L, 1); in getboolfield()
269 lua_pop(L, 1); in getfield()
287 luaL_argerror(L, 1, in checkoption()
367 l_pushtime(L, t); in os_time()
[all …]
A Dlauxlib.h95 #define luaL_loadfile(L,f) luaL_loadfilex(L,f,NULL) argument
131 (luaL_checkversion(L), luaL_newlibtable(L,l), luaL_setfuncs(L,l,0))
139 #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) argument
142 #define luaL_typename(L,i) lua_typename(L, lua_type(L,(i))) argument
145 (luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0))
148 (luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0))
152 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) argument
158 #define luaL_pushfail(L) lua_pushnil(L) argument
187 lua_State *L; member
280 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) argument
[all …]
A Dltm.c50 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]); in luaT_init()
51 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */ in luaT_init()
105 StkId func = L->top; in luaT_callTM()
110 L->top = func + 4; in luaT_callTM()
126 L->top += 3; in luaT_callTMres()
133 setobjs2s(L, res, --L->top); /* move result to its place */ in luaT_callTMres()
203 if (callbinTM(L, p1, p2, L->top, event)) /* try original event */ in luaT_callorderTM()
209 if (callbinTM(L, p2, p1, L->top, TM_LT)) { in luaT_callorderTM()
246 setobjs2s(L, L->top++, ci->func); in luaT_adjustvarargs()
249 setobjs2s(L, L->top++, ci->func + i); in luaT_adjustvarargs()
[all …]
A Dldo.h25 #define luaD_checkstackaux(L,n,pre,pos) \ argument
26 if (l_unlikely(L->stack_last - L->top <= (n))) \
27 { pre; luaD_growstack(L, n, 1); pos; } \
28 else { condmovestack(L,pre,pos); }
31 #define luaD_checkstack(L,n) luaD_checkstackaux(L,n,(void)0,(void)0) argument
35 #define savestack(L,p) ((char *)(p) - (char *)L->stack) argument
36 #define restorestack(L,n) ((StkId)((char *)L->stack + (n))) argument
40 #define checkstackGCp(L,n,p) \ argument
41 luaD_checkstackaux(L, n, \
48 #define checkstackGC(L,fsize) \ argument
[all …]
A Dlutf8lib.c113 lua_pushinteger(L, n); in utflen()
164 pushutfchar(L, 1); in utfchar()
168 luaL_buffinit(L, &b); in utfchar()
170 pushutfchar(L, i); in utfchar()
219 luaL_pushfail(L); in byteoffset()
249 return iter_aux(L, 1); in iter_auxstrict()
253 return iter_aux(L, 0); in iter_auxlax()
259 luaL_checkstring(L, 1); in iter_codes()
261 lua_pushvalue(L, 1); in iter_codes()
262 lua_pushinteger(L, 0); in iter_codes()
[all …]
A Dlfunc.c77 L->twups = G(L)->twups; /* link it to the list */ in newupval()
78 G(L)->twups = L; in newupval()
89 UpVal **pp = &L->openupval; in luaF_findupval()
91 lua_assert(isintwups(L) || L->openupval == NULL); in luaF_findupval()
109 StkId top = L->top; in callclosemethod()
116 luaD_call(L, top, 0); in callclosemethod()
130 const char *vname = luaG_findlocal(L, L->ci, idx, NULL); in checkclosemth()
179 L->tbclist = level; in luaF_newtbcupval()
215 StkId tbc = L->tbclist; in poptbclist()
220 L->tbclist = tbc; in poptbclist()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/misc/fnmatch/
A Dfnmatch.c285 case L' ': case L'!': case L'"': case L'#': case L'%': in is_char_class()
287 case L'+': case L',': case L'-': case L'.': case L'/': in is_char_class()
288 case L'0': case L'1': case L'2': case L'3': case L'4': in is_char_class()
289 case L'5': case L'6': case L'7': case L'8': case L'9': in is_char_class()
290 case L':': case L';': case L'<': case L'=': case L'>': in is_char_class()
292 case L'A': case L'B': case L'C': case L'D': case L'E': in is_char_class()
293 case L'F': case L'G': case L'H': case L'I': case L'J': in is_char_class()
294 case L'K': case L'L': case L'M': case L'N': case L'O': in is_char_class()
295 case L'P': case L'Q': case L'R': case L'S': case L'T': in is_char_class()
296 case L'U': case L'V': case L'W': case L'X': case L'Y': in is_char_class()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/test/locale/
A Dtst-digits.c90 { 0, L"%I'10d", L" " WZERO },
91 { 1, L"%I'10d", L" " WONE },
92 { 2, L"%I'10d", L" " WTWO },
94 { 4, L"%I'10d", L" " WFOUR },
95 { 5, L"%I'10d", L" " WFIVE },
96 { 6, L"%I'10d", L" " WSIX },
99 { 9, L"%I'10d", L" " WNINE },
105 { 1234, L"%I'10d", L" " WONE L"," WTWO WTHREE WFOUR },
106 { 12345, L"%I'10d", L" " WONE WTWO L"," WTHREE WFOUR WFIVE },
107 { 123456, L"%I'10d", L" " WONE WTWO WTHREE L"," WFOUR WFIVE WSIX },
[all …]
A Dtst-C-locale.c169 WSTRTEST (_NL_WABDAY_1, L"Sun"); in run_test()
170 WSTRTEST (_NL_WABDAY_2, L"Mon"); in run_test()
171 WSTRTEST (_NL_WABDAY_3, L"Tue"); in run_test()
172 WSTRTEST (_NL_WABDAY_4, L"Wed"); in run_test()
199 WSTRTEST (_NL_WMON_5, L"May"); in run_test()
200 WSTRTEST (_NL_WMON_6, L"June"); in run_test()
201 WSTRTEST (_NL_WMON_7, L"July"); in run_test()
207 WSTRTEST (_NL_WAM_STR, L"AM"); in run_test()
208 WSTRTEST (_NL_WPM_STR, L"PM"); in run_test()
213 WSTRTEST (_NL_WERA_D_FMT, L""); in run_test()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-11/include/std/
A Dversion47 #if __cplusplus >= 201103L
69 #if __cplusplus >= 201402L
100 #if __cplusplus >= 201703L
123 #define __cpp_lib_any 201606L
137 #define __cpp_lib_execution 201902L // FIXME: should be 201603L
142 #define __cpp_lib_invoke 201411L
172 #if __cplusplus >= 202002L
181 #if __cpp_concepts >= 201907L
252 #define __cpp_lib_shift 201806L
257 # define __cpp_lib_span 202002L
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-9/config/locale/generic/
A Dtime_members.cc141 __s[0] = L'\0'; in _M_put()
158 _M_data->_M_am = L"AM"; in _M_initialize_timepunct()
159 _M_data->_M_pm = L"PM"; in _M_initialize_timepunct()
163 _M_data->_M_day1 = L"Sunday"; in _M_initialize_timepunct()
172 _M_data->_M_aday1 = L"Sun"; in _M_initialize_timepunct()
173 _M_data->_M_aday2 = L"Mon"; in _M_initialize_timepunct()
174 _M_data->_M_aday3 = L"Tue"; in _M_initialize_timepunct()
175 _M_data->_M_aday4 = L"Wed"; in _M_initialize_timepunct()
176 _M_data->_M_aday5 = L"Thu"; in _M_initialize_timepunct()
177 _M_data->_M_aday6 = L"Fri"; in _M_initialize_timepunct()
[all …]
/l4re-core-master/libstdc++-v3/contrib/libstdc++-v3-5/config/locale/generic/
A Dtime_members.cc141 __s[0] = L'\0'; in _M_put()
158 _M_data->_M_am = L"AM"; in _M_initialize_timepunct()
159 _M_data->_M_pm = L"PM"; in _M_initialize_timepunct()
163 _M_data->_M_day1 = L"Sunday"; in _M_initialize_timepunct()
172 _M_data->_M_aday1 = L"Sun"; in _M_initialize_timepunct()
173 _M_data->_M_aday2 = L"Mon"; in _M_initialize_timepunct()
174 _M_data->_M_aday3 = L"Tue"; in _M_initialize_timepunct()
175 _M_data->_M_aday4 = L"Wed"; in _M_initialize_timepunct()
176 _M_data->_M_aday5 = L"Thu"; in _M_initialize_timepunct()
177 _M_data->_M_aday6 = L"Fri"; in _M_initialize_timepunct()
[all …]

Completed in 66 milliseconds

12345678910>>...52