Searched refs:luaL_checkint (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | lbitlib.c | 104 return b_shift(L, luaL_checkunsigned(L, 1), luaL_checkint(L, 2)); in b_lshift() 109 return b_shift(L, luaL_checkunsigned(L, 1), -luaL_checkint(L, 2)); in b_rshift() 115 int i = luaL_checkint(L, 2); in b_arshift() 140 return b_rot(L, luaL_checkint(L, 2)); in b_lrot() 145 return b_rot(L, -luaL_checkint(L, 2)); in b_rrot() 156 int f = luaL_checkint(L, farg); in fieldargs()
|
H A D | lbaselib.c | 46 int base = luaL_checkint(L, 2); in luaB_tonumber() 215 int i = luaL_checkint(L, 2); in ipairsaux() 243 int i = luaL_checkint(L, 1); in luaB_select()
|
H A D | ltablib.c | 51 pos = luaL_checkint(L, 2); /* 2nd argument is the position */ in tinsert() 100 last = luaL_opt(L, luaL_checkint, 4, luaL_len(L, 1)); in tconcat() 141 e = luaL_opt(L, luaL_checkint, 3, luaL_len(L, 1)); in unpack()
|
H A D | lstrlib.c | 134 int n = luaL_checkint(L, 2); in str_rep() 181 int c = luaL_checkint(L, i); in str_char() 944 nb = str_sprintf(buff, form, luaL_checkint(L, arg)); in str_format()
|
H A D | lauxlib.h | 106 #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, (n))) macro
|