Home
last modified time | relevance | path

Searched refs:luaL_checkinteger (Results 1 – 19 of 19) sorted by relevance

/freebsd/libexec/flua/modules/
H A Dlposix.c35 code = luaL_checkinteger(L, 1); in lua__exit()
72 mode = (mode_t)luaL_checkinteger(L, 2); in lua_chmod()
148 fd = luaL_checkinteger(L, 1); in lua_pclose()
306 fd = luaL_checkinteger(L, 1); in lua_read()
307 sz = luaL_checkinteger(L, 2); in lua_read()
377 pid = luaL_checkinteger(L, 1); in lua_wait()
379 options = luaL_checkinteger(L, 2); in lua_wait()
430 fd = luaL_checkinteger(L, 1); in lua_write()
440 sz = luaL_checkinteger(L, 3); in lua_write()
444 offset = luaL_checkinteger( in lua_write()
[all...]
/freebsd/contrib/lua/src/
H A Dldblib.c162 if (!lua_getstack(L1, (int)luaL_checkinteger(L, arg + 1), &ar)) { in db_getinfo()
206 int nvar = (int)luaL_checkinteger(L, arg + 2); /* local-variable index */ in db_getlocal()
215 int level = (int)luaL_checkinteger(L, arg + 1); in db_getlocal()
239 int level = (int)luaL_checkinteger(L, arg + 1); in db_setlocal()
240 int nvar = (int)luaL_checkinteger(L, arg + 2); in db_setlocal()
260 int n = (int)luaL_checkinteger(L, 2); /* upvalue index */ in auxupvalue()
287 int nup = (int)luaL_checkinteger(L, argnup); /* upvalue index */ in checkupval()
450 int limit = (int)luaL_checkinteger(L, 1); in db_setcstacklimit()
H A Dltablib.c72 pos = luaL_checkinteger(L, 2); /* 2nd argument is the position */ in tinsert()
116 lua_Integer f = luaL_checkinteger(L, 2); in tmove()
117 lua_Integer e = luaL_checkinteger(L, 3); in tmove()
118 lua_Integer t = luaL_checkinteger(L, 4); in tmove()
197 lua_Integer e = luaL_opt(L, luaL_checkinteger, 3, luaL_len(L, 1)); in tunpack()
H A Dlmathlib.c163 lua_Integer a = luaL_checkinteger(L, 1); in math_ult()
164 lua_Integer b = luaL_checkinteger(L, 2); in math_ult()
569 up = luaL_checkinteger(L, 1); in math_random()
577 low = luaL_checkinteger(L, 1); in math_random()
578 up = luaL_checkinteger(L, 2); in math_random()
624 lua_Integer n1 = luaL_checkinteger(L, 1); in math_randomseed()
690 int ep = (int)luaL_checkinteger(L, 2); in math_ldexp()
H A Dlauxlib.h62 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int arg);
284 #define luaL_checkunsigned(L,a) ((lua_Unsigned)luaL_checkinteger(L,a))
288 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
291 #define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
H A Dlutf8lib.c156 lua_Unsigned code = (lua_Unsigned)luaL_checkinteger(L, arg); in pushutfchar()
190 lua_Integer n = luaL_checkinteger(L, 2); in byteoffset()
H A Dlbaselib.c100 lua_Integer base = luaL_checkinteger(L, 2); in luaB_tonumber()
303 lua_Integer i = luaL_checkinteger(L, 2); in ipairsaux()
445 lua_Integer i = luaL_checkinteger(L, 1); in luaB_select()
H A Dlstrlib.c103 size_t start = posrelatI(luaL_checkinteger(L, 2), l); in str_sub()
153 lua_Integer n = luaL_checkinteger(L, 2); in str_rep()
201 lua_Unsigned c = (lua_Unsigned)luaL_checkinteger(L, i); in str_char()
1304 nb = l_sprintf(buff, maxitem, form, (int)luaL_checkinteger(L, arg));
1316 lua_Integer n = luaL_checkinteger(L, arg);
1631 lua_Integer n = luaL_checkinteger(L, arg);
1640 lua_Integer n = luaL_checkinteger(L, arg);
H A Dltests.c799 int pc = cast_int(luaL_checkinteger(L, 2)) - 1; in listlocals()
846 unsigned long limit = cast(unsigned long, luaL_checkinteger(L, 1)); in mem_query()
869 l_memcontrol.countlimit = luaL_checkinteger(L, 1); in alloc_count()
1065 lua_rawgeti(L, LUA_REGISTRYINDEX, luaL_checkinteger(L, 1)); in getref()
1073 luaL_unref(L, LUA_REGISTRYINDEX, cast_int(luaL_checkinteger(L, 1))); in unref()
1081 int n = cast_int(luaL_checkinteger(L, 2)); in upvalue()
1107 lua_Integer u = luaL_checkinteger(L, 1); in pushuserdata()
1232 unsigned int x = (unsigned int)luaL_checkinteger(L, 1); in log2_aux()
H A Dloslib.c60 #define l_gettime(L,arg) luaL_checkinteger(L, arg)
H A Dlauxlib.c442 LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int arg) { in luaL_checkinteger() function
454 return luaL_opt(L, luaL_checkinteger, arg, def); in luaL_optinteger()
H A Dliolib.c580 size_t l = (size_t)luaL_checkinteger(L, n); in g_read()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h41 LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg);
105 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n)))
107 #define luaL_checklong(L,n) ((long)luaL_checkinteger(L, (n)))
/freebsd/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-typemaps.swig79 $2 = luaL_checkinteger(L, $input);
117 $2 = luaL_checkinteger(L, $input);
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c349 LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int narg) { in luaL_checkinteger() function
369 return luaL_opt(L, luaL_checkinteger, narg, def); in luaL_optinteger()
H A Dlstrlib.c66 size_t start = posrelat(luaL_checkinteger(L, 2), l); in str_sub()
/freebsd/stand/liblua/
H A Dlutils.c115 exit(luaL_checkinteger(L, 1)); in lua_exit()
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c280 jid = luaL_checkinteger(L, 1); in l_getname()
/freebsd/lib/clang/liblldb/
H A DLLDBWrapLua.cpp18868 arg5 = luaL_checkinteger(L, 4); in _wrap_SBData_ReadRawData()
43706 arg3 = luaL_checkinteger(L, 2); in _wrap_SBProcess_GetSTDOUT()
43749 arg3 = luaL_checkinteger(L, 2); in _wrap_SBProcess_GetSTDERR()
43792 arg3 = luaL_checkinteger(L, 2); in _wrap_SBProcess_GetAsyncProfileData()
45085 arg4 = luaL_checkinteger(L, 3); in _wrap_SBProcess_ReadMemory()
45177 arg4 = luaL_checkinteger(L, 3); in _wrap_SBProcess_ReadCStringFromMemory()
52288 arg3 = luaL_checkinteger(L, 2); in _wrap_SBStructuredData_GetStringValue()
56687 arg4 = luaL_checkinteger(L, 3); in _wrap_SBTarget_ReadMemory()
61577 arg3 = luaL_checkinteger(L, 2); in _wrap_SBThread_GetStopDescription()