Searched refs:luaL_optinteger (Results 1 – 10 of 10) sorted by relevance
| /minix3/external/mit/lua/dist/src/ |
| H A D | lutf8lib.c | 79 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in utflen() 80 lua_Integer posj = u_posrelat(luaL_optinteger(L, 3, -1), len); in utflen() 107 lua_Integer posi = u_posrelat(luaL_optinteger(L, 2, 1), len); in codepoint() 108 lua_Integer pose = u_posrelat(luaL_optinteger(L, 3, posi), len); in codepoint() 169 posi = u_posrelat(luaL_optinteger(L, 3, posi), len); in byteoffset()
|
| H A D | lauxlib.h | 52 LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int arg, 56 #define luaL_optinteger(L,a,d) luaL_optnumber(L, (a), (lua_Number)(d)) macro 260 ((lua_Unsigned)luaL_optinteger(L,a,(lua_Integer)(d))) 263 #define luaL_optint(L,n,d) ((int)luaL_optinteger(L, (n), (d))) 266 #define luaL_optlong(L,n,d) ((long)luaL_optinteger(L, (n), (d)))
|
| H A D | ltablib.c | 111 lua_Integer pos = luaL_optinteger(L, 2, size); in tremove() 178 i = luaL_optinteger(L, 3, 1); in tconcat() 216 i = luaL_optinteger(L, 2, 1); in unpack()
|
| H A D | ldblib.c | 362 count = (int)luaL_optinteger(L, arg + 3, 0); in db_sethook() 430 int level = (int)luaL_optinteger(L, arg + 2, (L == L1) ? 1 : 0); in db_traceback()
|
| H A D | lbaselib.c | 107 int level = (int)luaL_optinteger(L, 2, 1); in luaB_error() 185 int ex = (int)luaL_optinteger(L, 2, 0); in luaB_collectgarbage()
|
| H A D | lstrlib.c | 74 lua_Integer end = posrelat(luaL_optinteger(L, 3, -1), l); in str_sub() 151 lua_Integer posi = posrelat(luaL_optinteger(L, 2, 1), l); in str_byte() 152 lua_Integer pose = posrelat(luaL_optinteger(L, 3, posi), l); in str_byte() 595 lua_Integer init = posrelat(luaL_optinteger(L, 3, 1), ls); in str_find_aux() 756 lua_Integer max_s = luaL_optinteger(L, 4, srcl + 1); in str_gsub() 1436 size_t pos = (size_t)posrelat(luaL_optinteger(L, 3, 1), ld) - 1; in str_unpack()
|
| H A D | lbitlib.c | 166 lua_Integer w = luaL_optinteger(L, farg + 1, 1); in fieldargs()
|
| H A D | loslib.c | 341 status = (int)luaL_optinteger(L, 1, EXIT_SUCCESS); in os_exit()
|
| H A D | liolib.c | 639 lua_Integer p3 = luaL_optinteger(L, 3, 0); in f_seek() 658 lua_Integer sz = luaL_optinteger(L, 3, LUAL_BUFFERSIZE); in f_setvbuf()
|
| H A D | lauxlib.c | 435 LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int arg, in luaL_optinteger() function
|