Searched refs:luaL_checknumber (Results 1 – 5 of 5) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lmathlib.c | 27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs() 32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin() 37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh() 42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos() 47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh() 52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan() 57 lua_pushnumber(L, l_mathop(tanh)(luaL_checknumber(L, 1))); in math_tanh() 62 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1))); in math_asin() 67 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); in math_acos() 72 lua_pushnumber(L, l_mathop(atan)(luaL_checknumber(L, 1))); in math_atan() [all …]
|
D | loslib.c | 197 time_t t = luaL_opt(L, (time_t)luaL_checknumber, 2, time(NULL)); in os_date() 267 lua_pushnumber(L, difftime((time_t)(luaL_checknumber(L, 1)), in os_difftime()
|
D | lstrlib.c | 918 lua_Number n = luaL_checknumber(L, arg); in str_format() 928 lua_Number n = luaL_checknumber(L, arg); in str_format() 943 nb = sprintf(buff, form, (LUA_FLTFRM_T)luaL_checknumber(L, arg)); in str_format()
|
D | lauxlib.c | 375 LUALIB_API lua_Number luaL_checknumber (lua_State *L, int narg) { in luaL_checknumber() function 385 return luaL_opt(L, luaL_checknumber, narg, def); in luaL_optnumber()
|
/device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
D | lauxlib.h | 40 LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int numArg);
|