Home
last modified time | relevance | path

Searched refs:lua_pushinteger (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-13.1/contrib/lutok/
H A Dstate_test.cpp114 lua_pushinteger(raw_state, i1); in c_get_upvalues()
115 lua_pushinteger(raw_state, i2); in c_get_upvalues()
311 lua_pushinteger(raw(state), 1); in ATF_TEST_CASE_BODY()
337 lua_pushinteger(raw(state), 3); in ATF_TEST_CASE_BODY()
339 lua_pushinteger(raw(state), 3); in ATF_TEST_CASE_BODY()
349 lua_pushinteger(raw(state), 1); in ATF_TEST_CASE_BODY()
350 lua_pushinteger(raw(state), 2); in ATF_TEST_CASE_BODY()
351 lua_pushinteger(raw(state), 3); in ATF_TEST_CASE_BODY()
352 lua_pushinteger(raw(state), 4); in ATF_TEST_CASE_BODY()
376 lua_pushinteger(raw(state), 5); in ATF_TEST_CASE_BODY()
[all …]
H A Dc_gate_test.cpp46 lua_pushinteger(raw(state), 123); in ATF_TEST_CASE_BODY()
H A Dstate.cpp322 lua_pushinteger(_pimpl->lua_state, LUA_RIDX_GLOBALS); in get_global_table()
711 lua_pushinteger(_pimpl->lua_state, value); in push_integer()
/freebsd-13.1/libexec/flua/modules/
H A Dlfs.c139 lua_pushinteger(L, ent->d_type); in lua_dir_iter_pushtype()
239 lua_pushinteger(L, (lua_Integer)sb->st_ ## stname); \
325 lua_pushinteger(L, EINVAL); in lua_attributes()
335 lua_pushinteger(L, errno); in lua_attributes()
380 lua_pushinteger(L, EINVAL); in lua_mkdir()
390 lua_pushinteger(L, serrno); in lua_mkdir()
408 lua_pushinteger(L, EINVAL); in lua_rmdir()
418 lua_pushinteger(L, serrno); in lua_rmdir()
446 lua_pushinteger(L, DT_DIR); in luaopen_lfs()
H A Dlposix.c59 lua_pushinteger(L, errno); in lua_chmod()
62 lua_pushinteger(L, 0); in lua_chmod()
73 lua_pushinteger(L, getpid()); in lua_getpid()
/freebsd-13.1/contrib/lua/src/
H A Dlutf8lib.c107 lua_pushinteger(L, posi + 1); /* ... and current position */ in utflen()
113 lua_pushinteger(L, n); in utflen()
144 lua_pushinteger(L, code); in codepoint()
217 lua_pushinteger(L, posi + 1); in byteoffset()
241 lua_pushinteger(L, n + 1); in iter_aux()
242 lua_pushinteger(L, code); in iter_aux()
262 lua_pushinteger(L, 0); in iter_codes()
H A Dlmathlib.c33 lua_pushinteger(L, n); in math_abs()
77 lua_pushinteger(L, n); in math_toint()
89 lua_pushinteger(L, n); /* result is integer */ in pushnumint()
125 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
570 lua_pushinteger(L, I2UInt(rv)); /* full random integer */ in math_random()
586 lua_pushinteger(L, p + (lua_Unsigned)low); in math_random()
600 lua_pushinteger(L, n1); in setseed()
601 lua_pushinteger(L, n2); in setseed()
683 lua_pushinteger(L, e); in math_frexp()
756 lua_pushinteger(L, LUA_MAXINTEGER); in luaopen_math()
[all …]
H A Dlbaselib.c105 lua_pushinteger(L, n); in luaB_tonumber()
161 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
215 lua_pushinteger(L, previous); in luaB_collectgarbage()
236 lua_pushinteger(L, res); in luaB_collectgarbage()
283 lua_pushinteger(L, i); in ipairsaux()
296 lua_pushinteger(L, 0); /* initial value */ in luaB_ipairs()
419 lua_pushinteger(L, n-1); in luaB_select()
H A Dldblib.c117 lua_pushinteger(L, v); in settabsi()
330 lua_pushinteger(L, ar->currentline); /* push current line */ in hookf()
414 lua_pushinteger(L, lua_gethookcount(L1)); /* 3rd result = count */ in db_gethook()
451 lua_pushinteger(L, res); in db_setcstacklimit()
H A Dlstrlib.c58 lua_pushinteger(L, (lua_Integer)l); in str_len()
189 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
713 lua_pushinteger(ms->L, (ms->capture[i].init - ms->src_init) + 1); in get_onecapture()
784 lua_pushinteger(L, (s2 - s) + 1); in str_find_aux()
785 lua_pushinteger(L, (s2 - s) + lp); in str_find_aux()
802 lua_pushinteger(L, (s1 - s) + 1); /* start */ in str_find_aux()
803 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
978 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
1670 lua_pushinteger(L, (lua_Integer)totalsize);
1732 lua_pushinteger(L, res);
[all …]
H A Dloslib.c68 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t))
214 lua_pushinteger(L, (lua_Integer)value + delta); in setfield()
H A Dlua.h235 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
405 #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
H A Dlauxlib.c257 lua_pushinteger(L, en); in luaL_fileresult()
296 lua_pushinteger(L, stat); in luaL_execresult()
672 lua_pushinteger(L, ref); in luaL_unref()
H A Dliolib.c361 lua_pushinteger(L, n); /* number of arguments to read */ in aux_lines()
703 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek()
H A Dltablib.c187 lua_pushinteger(L, n); in tpack()
/freebsd-13.1/stand/liblua/
H A Dlutils.c61 lua_pushinteger(L, res); in lua_command()
77 lua_pushinteger(L, res); in lua_perform()
105 lua_pushinteger(L, interp_run(interp_string)); in lua_interpret()
131 lua_pushinteger(L, getchar()); in lua_getchar()
157 lua_pushinteger(L, time(NULL)); in lua_time()
184 lua_pushinteger(L, setenv(key, val, 1)); in lua_setenv()
195 lua_pushinteger(L, unsetenv(ev)); in lua_unsetenv()
269 lua_pushinteger(L, 0); in lua_readfile()
277 lua_pushinteger(L, 0); in lua_readfile()
291 lua_pushinteger(L, r); in lua_readfile()
[all …]
H A Dlerrno.c165 lua_pushinteger(L, errnoconstants[i].err_num); in lerrno_register()
/freebsd-13.1/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c119 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
156 lua_pushinteger(L, b); in luaB_collectgarbage()
164 lua_pushinteger(L, res); in luaB_collectgarbage()
184 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta()
216 lua_pushinteger(L, i); in ipairsaux()
237 lua_pushinteger(L, n-1); in luaB_select()
H A Dlstrlib.c50 lua_pushinteger(L, (lua_Integer)l); in str_len()
157 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
559 lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1); in push_onecapture()
603 lua_pushinteger(L, s2 - s + 1); in str_find_aux()
604 lua_pushinteger(L, s2 - s + lp); in str_find_aux()
626 lua_pushinteger(L, s1 - s + 1); /* start */ in str_find_aux()
627 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
670 lua_pushinteger(L, newstart); in gmatch_aux()
683 lua_pushinteger(L, 0); in str_gmatch()
786 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
H A Dltablib.c121 lua_pushinteger(L, n); in pack()
/freebsd-13.1/lib/flua/libjail/
H A Dlua_jail.c275 lua_pushinteger(L, jid); in l_getid()
447 lua_pushinteger(L, jid); in l_getparams()
571 lua_pushinteger(L, jid); in l_setparams()
703 lua_pushinteger(L, JAIL_CREATE); in luaopen_jail()
705 lua_pushinteger(L, JAIL_UPDATE); in luaopen_jail()
707 lua_pushinteger(L, JAIL_ATTACH); in luaopen_jail()
709 lua_pushinteger(L, JAIL_DYING); in luaopen_jail()
/freebsd-13.1/contrib/llvm-project/lldb/bindings/lua/
H A Dlua-typemaps.swig19 %{ lua_pushinteger(L, (lua_Integer) $1); SWIG_arg++;%}
21 %{ lua_pushinteger(L, (lua_Integer) $1); SWIG_arg++;%}
30 %{ lua_pushinteger(L, (lua_Integer) *$1); SWIG_arg++;%}
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzcp.c493 (void) lua_pushinteger(state, i); in zcp_nvlist_to_lua()
540 (void) lua_pushinteger(state, fnvpair_value_int64(pair)); in zcp_nvpair_value_to_lua()
552 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
564 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
565 (void) lua_pushinteger(state, intarr[i]); in zcp_nvpair_value_to_lua()
576 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
577 (void) lua_pushinteger(state, intarr[i]); in zcp_nvpair_value_to_lua()
1317 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
1336 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
/freebsd-13.1/lib/clang/liblldb/
H A DLLDBWrapLua.cpp4183 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetFileAddress()
4214 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetLoadAddress()
4356 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetOffset()
4885 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetProcessID()
5240 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetResumeCount()
5340 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetUserID()
5364 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetGroupID()
5488 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetEffectiveUserID()
5512 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetEffectiveGroupID()
5636 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetParentProcessID()
[all …]
/freebsd-13.1/contrib/libucl/lua/
H A Dlua_ucl.c247 lua_pushinteger (L, ucl_obj_toint (obj)); in ucl_object_lua_push_scalar()
415 lua_pushinteger (L, i); in ucl_object_lua_fromtable()

12