Searched refs:lua_isnoneornil (Results 1 – 12 of 12) sorted by relevance
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | liolib.c | 201 if (!lua_isnoneornil(L, 1)) { in g_iofile() 249 if (lua_isnoneornil(L, 1)) { /* no arguments? */ in io_lines()
|
| H A D | loslib.c | 172 if (lua_isnoneornil(L, 1)) /* called without args? */ in os_time()
|
| H A D | lauxlib.h | 119 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
| H A D | ltablib.c | 259 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in sort()
|
| H A D | lua.h | 271 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
|
| H A D | ldblib.c | 262 if (lua_isnoneornil(L, arg+1)) { in db_sethook()
|
| H A D | lauxlib.c | 167 if (lua_isnoneornil(L, narg)) { in luaL_optlstring()
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lbaselib.c | 31 if (lua_isnoneornil(L, 2)) { /* standard conversion */ in luaB_tonumber()
|
| H A D | ltablib.c | 250 if (!lua_isnoneornil(L, 2)) /* is there a 2nd argument? */ in tsort()
|
| H A D | lauxlib.c | 326 if (lua_isnoneornil(L, narg)) { in luaL_optlstring()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/lua/ |
| H A D | lauxlib.h | 120 #define luaL_opt(L,f,n,d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n)))
|
| H A D | lua.h | 338 #define lua_isnoneornil(L, n) (lua_type(L, (n)) <= 0) macro
|