/l4re-core-master/lua/lib/contrib/src/ |
A D | lutf8lib.c | 43 static lua_Integer u_posrelat (lua_Integer pos, size_t len) { in u_posrelat() 46 else return (lua_Integer)len + pos + 1; in u_posrelat() 96 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in utflen() 99 luaL_argcheck(L, 1 <= posi && --posi <= (lua_Integer)len, 2, in utflen() 101 luaL_argcheck(L, --posj < (lua_Integer)len, 3, in utflen() 186 lua_Integer n = luaL_checkinteger(L, 2); in byteoffset() 187 lua_Integer posi = (n >= 0) ? 1 : len + 1; in byteoffset() 208 while (n > 0 && posi < (lua_Integer)len) { in byteoffset() 227 lua_Integer n = lua_tointeger(L, 2) - 1; in iter_aux() 230 else if (n < (lua_Integer)len) { in iter_aux() [all …]
|
A D | lvm.h | 119 LUAI_FUNC int luaV_tointeger (const TValue *obj, lua_Integer *p, F2Imod mode); 120 LUAI_FUNC int luaV_tointegerns (const TValue *obj, lua_Integer *p, 122 LUAI_FUNC int luaV_flttointeger (lua_Number n, lua_Integer *p, F2Imod mode); 130 LUAI_FUNC lua_Integer luaV_idiv (lua_State *L, lua_Integer x, lua_Integer y); 131 LUAI_FUNC lua_Integer luaV_mod (lua_State *L, lua_Integer x, lua_Integer y); 133 LUAI_FUNC lua_Integer luaV_shiftl (lua_Integer x, lua_Integer y);
|
A D | ltablib.c | 70 lua_Integer i; in tinsert() 91 lua_Integer size = aux_getn(L, 1, TAB_RW); in tremove() 92 lua_Integer pos = luaL_optinteger(L, 2, size); in tremove() 115 lua_Integer f = luaL_checkinteger(L, 2); in tmove() 116 lua_Integer e = luaL_checkinteger(L, 3); in tmove() 117 lua_Integer t = luaL_checkinteger(L, 4); in tmove() 122 lua_Integer n, i; in tmove() 157 lua_Integer last = aux_getn(L, 1, TAB_R); in tconcat() 160 lua_Integer i = luaL_optinteger(L, 3, 1); in tconcat() 195 lua_Integer i = luaL_optinteger(L, 2, 1); in tunpack() [all …]
|
A D | lvm.c | 177 lua_Integer *p, lua_Integer step) { in forlimit() 213 lua_Integer limit; in forprep() 413 lua_Integer fi; in LTintfloat() 430 lua_Integer fi; in LEintfloat() 447 lua_Integer fi; in LTfloatint() 464 lua_Integer fi; in LEfloatint() 718 lua_Integer luaV_idiv (lua_State *L, lua_Integer m, lua_Integer n) { in luaV_idiv() 738 lua_Integer luaV_mod (lua_State *L, lua_Integer m, lua_Integer n) { in luaV_mod() 771 lua_Integer luaV_shiftl (lua_Integer x, lua_Integer y) { in luaV_shiftl() 938 lua_Integer i1 = ivalue(v1); lua_Integer i2 = ivalue(v2); \ [all …]
|
A D | lstrlib.c | 58 lua_pushinteger(L, (lua_Integer)l); in str_len() 89 lua_Integer pos = luaL_optinteger(L, arg, def); in getendpos() 90 if (pos > (lua_Integer)len) in getendpos() 94 else if (pos < -(lua_Integer)len) in getendpos() 153 lua_Integer n = luaL_checkinteger(L, 2); in str_rep() 180 lua_Integer pi = luaL_optinteger(L, 2, 1); in str_byte() 950 lua_Integer n = 0; /* replacement count */ in str_gsub() 1345 #define SZINT ((int)sizeof(lua_Integer)) 1564 lua_Integer lim = (lua_Integer)1 << ((size * NB) - 1); in str_pack() 1658 lua_pushinteger(L, (lua_Integer)totalsize); in str_packsize() [all …]
|
A D | lauxlib.h | 44 #define LUAL_NUMSIZES (sizeof(lua_Integer)*16 + sizeof(lua_Number)) 62 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int arg); 63 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg, 64 lua_Integer def); 103 LUALIB_API lua_Integer (luaL_len) (lua_State *L, int idx); 278 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d)))
|
A D | lmathlib.c | 31 lua_Integer n = lua_tointeger(L, 1); in math_abs() 32 if (n < 0) n = (lua_Integer)(0u - (lua_Unsigned)n); in math_abs() 75 lua_Integer n = lua_tointegerx(L, 1, &valid); in math_toint() 87 lua_Integer n; in pushnumint() 119 lua_Integer d = lua_tointeger(L, 2); in math_fmod() 163 lua_Integer a = luaL_checkinteger(L, 1); in math_ult() 164 lua_Integer b = luaL_checkinteger(L, 2); in math_ult() 558 lua_Integer low, up; in math_random() 624 lua_Integer n1 = luaL_checkinteger(L, 1); in math_randomseed() 625 lua_Integer n2 = luaL_optinteger(L, 2, 0); in math_randomseed()
|
A D | lobject.c | 53 static lua_Integer intarith (lua_State *L, int op, lua_Integer v1, in intarith() 54 lua_Integer v2) { in intarith() 95 lua_Integer i1; lua_Integer i2; in luaO_rawarith() 276 static const char *l_str2int (const char *s, lua_Integer *result) { in l_str2int() 309 lua_Integer i; lua_Number n; in luaO_str2num() 497 setivalue(&num, cast(lua_Integer, va_arg(argp, l_uacInt))); in luaO_pushvfstring()
|
A D | lua.h | 94 typedef LUA_INTEGER lua_Integer; typedef 191 LUA_API lua_Integer (lua_tointegerx) (lua_State *L, int idx, int *isnum); 235 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); 253 LUA_API int (lua_geti) (lua_State *L, int idx, lua_Integer n); 255 LUA_API int (lua_rawgeti) (lua_State *L, int idx, lua_Integer n); 270 LUA_API void (lua_seti) (lua_State *L, int idx, lua_Integer n); 272 LUA_API void (lua_rawseti) (lua_State *L, int idx, lua_Integer n); 406 #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
|
A D | lbaselib.c | 60 static const char *b_str2int (const char *s, int base, lua_Integer *pn) { in b_str2int() 76 *pn = (lua_Integer)((neg) ? (0u - n) : n); in b_str2int() 99 lua_Integer n = 0; /* to avoid warnings */ in luaB_tonumber() 100 lua_Integer base = luaL_checkinteger(L, 2); in luaB_tonumber() 283 lua_Integer i = luaL_checkinteger(L, 2) + 1; in ipairsaux() 424 lua_Integer i = luaL_checkinteger(L, 1); in luaB_select()
|
A D | loslib.c | 67 #define l_timet lua_Integer 68 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t)) 214 lua_pushinteger(L, (lua_Integer)value + delta); in setfield() 254 lua_Integer res = lua_tointegerx(L, -1, &isnum); in getfield() 265 : (lua_Integer)INT_MIN + delta <= res)) in getfield()
|
A D | ltable.h | 38 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key); 39 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key,
|
A D | ltable.c | 121 lua_Integer ni; in l_hashfloat() 144 lua_Integer key = ivalueraw(*kvl); in mainposition() 307 static unsigned int arrayindex (lua_Integer k) { in arrayindex() 402 static int countint (lua_Integer key, unsigned int *nums) { in countint() 661 lua_Integer k; in luaH_newkey() 719 const TValue *luaH_getint (Table *t, lua_Integer key) { in luaH_getint() 783 lua_Integer k; in luaH_get() 819 void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value) { in luaH_setint() 953 if (isdummy(t) || isempty(luaH_getint(t, cast(lua_Integer, limit + 1)))) in luaH_getn()
|
A D | llimits.h | 44 #define MAX_SIZE (sizeof(size_t) < sizeof(lua_Integer) ? MAX_SIZET \ 148 #define l_castU2S(i) ((lua_Integer)(i))
|
A D | lundump.c | 100 static lua_Integer loadInteger (LoadState *S) { in loadInteger() 101 lua_Integer x; in loadInteger() 299 checksize(S, lua_Integer); in checkHeader()
|
A D | lauxlib.c | 442 LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) { in luaL_checkinteger() 444 lua_Integer d = lua_tointegerx(L, arg, &isnum); in luaL_checkinteger() 452 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() 453 lua_Integer def) { in luaL_optinteger() 871 LUALIB_API lua_Integer luaL_len (lua_State *L, int idx) { in luaL_len() 872 lua_Integer l; in luaL_len()
|
A D | llex.h | 51 lua_Integer i;
|
A D | ldump.c | 83 static void dumpInteger (DumpState *D, lua_Integer x) { in dumpInteger() 203 dumpByte(D, sizeof(lua_Integer)); in dumpHeader()
|
A D | liolib.c | 702 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek() 704 luaL_argcheck(L, (lua_Integer)offset == p3, 3, in f_seek() 710 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek() 721 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
|
A D | lparser.h | 71 lua_Integer ival; /* for VKINT */
|
A D | ltm.h | 90 LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2,
|
A D | lcode.c | 587 static int luaK_intK (FuncState *fs, lua_Integer n) { in luaK_intK() 641 static int fitsC (lua_Integer i) { in fitsC() 649 static int fitsBx (lua_Integer i) { in fitsBx() 654 void luaK_int (FuncState *fs, int reg, lua_Integer i) { in luaK_int() 663 lua_Integer fi; in luaK_float() 1238 lua_Integer i; in isSCnumber() 1300 lua_Integer i; in validop() 1403 lua_Integer i2 = e2->u.ival; in finishbinexpneg()
|
A D | lapi.c | 383 LUA_API lua_Integer lua_tointegerx (lua_State *L, int idx, int *pisnum) { in lua_tointegerx() 384 lua_Integer res = 0; in lua_tointegerx() 507 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger() 689 LUA_API int lua_geti (lua_State *L, int idx, lua_Integer n) { in lua_geti() 738 LUA_API int lua_rawgeti (lua_State *L, int idx, lua_Integer n) { in lua_rawgeti() 871 LUA_API void lua_seti (lua_State *L, int idx, lua_Integer n) { in lua_seti() 915 LUA_API void lua_rawseti (lua_State *L, int idx, lua_Integer n) { in lua_rawseti()
|
A D | lcode.h | 73 LUAI_FUNC void luaK_int (FuncState *fs, int reg, lua_Integer n);
|
/l4re-core-master/ned/server/src/ |
A D | lua_ns.cc | 93 lua_Integer type = lua_type(l, 3); in __register()
|