Home
last modified time | relevance | path

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

12

/freebsd-14.2/stand/liblua/
H A Dlutils.c56 lua_pushinteger(L, res); in lua_command()
107 lua_pushinteger(L, res); in lua_perform()
168 lua_pushinteger(L, getchar()); in lua_getchar()
194 lua_pushinteger(L, time(NULL)); in lua_time()
306 lua_pushinteger(L, 0); in lua_readfile()
314 lua_pushinteger(L, 0); in lua_readfile()
328 lua_pushinteger(L, r); in lua_readfile()
384 lua_pushinteger(L, w); in lua_writefile()
459 lua_pushinteger(L, CMD_OK); in luaopen_loader()
461 lua_pushinteger(L, CMD_WARN); in luaopen_loader()
[all …]
H A Dlerrno.c162 lua_pushinteger(L, errnoconstants[i].err_num); in lerrno_register()
/freebsd-14.2/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-14.2/libexec/flua/modules/
H A Dlfs.c137 lua_pushinteger(L, ent->d_type); in lua_dir_iter_pushtype()
237 lua_pushinteger(L, (lua_Integer)sb->st_ ## stname); \
323 lua_pushinteger(L, EINVAL); in lua_attributes()
333 lua_pushinteger(L, errno); in lua_attributes()
378 lua_pushinteger(L, EINVAL); in lua_mkdir()
388 lua_pushinteger(L, serrno); in lua_mkdir()
406 lua_pushinteger(L, EINVAL); in lua_rmdir()
416 lua_pushinteger(L, serrno); in lua_rmdir()
444 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()
115 lua_pushinteger(L, errno); in lua_chown()
118 lua_pushinteger(L, 0); in lua_chown()
129 lua_pushinteger(L, getpid()); in lua_getpid()
147 lua_pushinteger(L, error); in lua_uname()
/freebsd-14.2/contrib/lua/src/
H A Dlutf8lib.c111 lua_pushinteger(L, posi + 1); /* ... and current position */ in utflen()
117 lua_pushinteger(L, n); in utflen()
148 lua_pushinteger(L, code); in codepoint()
221 lua_pushinteger(L, posi + 1); in byteoffset()
242 lua_pushinteger(L, n + 1); in iter_aux()
243 lua_pushinteger(L, code); in iter_aux()
264 lua_pushinteger(L, 0); in iter_codes()
H A Dltests.c54 lua_pushinteger(L, val); in setnameval()
740 lua_pushinteger(L, pc+1); in listcode()
985 lua_pushinteger(L, L->nCcalls); in stacklevel()
986 lua_pushinteger(L, L->nci); in stacklevel()
1000 lua_pushinteger(L, asize); in table_query()
1007 lua_pushinteger(L, i); in table_query()
1035 lua_pushinteger(L ,tb->size); in string_query()
1036 lua_pushinteger(L ,tb->nuse); in string_query()
1126 lua_pushinteger(L, status); in doonnewstack()
1218 lua_pushinteger(L, status); in doremote()
[all …]
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()
571 lua_pushinteger(L, I2UInt(rv)); /* full random integer */ in math_random()
587 lua_pushinteger(L, p + (lua_Unsigned)low); in math_random()
601 lua_pushinteger(L, n1); in setseed()
602 lua_pushinteger(L, n2); in setseed()
684 lua_pushinteger(L, e); in math_frexp()
757 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()
227 lua_pushinteger(L, previous); in luaB_collectgarbage()
250 lua_pushinteger(L, res); in luaB_collectgarbage()
305 lua_pushinteger(L, i); in ipairsaux()
318 lua_pushinteger(L, 0); /* initial value */ in luaB_ipairs()
441 lua_pushinteger(L, n-1); in luaB_select()
H A Dldblib.c117 lua_pushinteger(L, v); in settabsi()
331 lua_pushinteger(L, ar->currentline); /* push current line */ in hookf()
415 lua_pushinteger(L, lua_gethookcount(L1)); /* 3rd result = count */ in db_gethook()
452 lua_pushinteger(L, res); in db_setcstacklimit()
H A Dlstrlib.c58 lua_pushinteger(L, (lua_Integer)l); in str_len()
190 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
716 lua_pushinteger(ms->L, (ms->capture[i].init - ms->src_init) + 1); in get_onecapture()
787 lua_pushinteger(L, (s2 - s) + 1); in str_find_aux()
788 lua_pushinteger(L, (s2 - s) + lp); in str_find_aux()
805 lua_pushinteger(L, (s1 - s) + 1); /* start */ in str_find_aux()
806 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
981 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
1731 lua_pushinteger(L, (lua_Integer)totalsize);
1793 lua_pushinteger(L, res);
[all …]
H A Dloslib.c59 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t))
214 lua_pushinteger(L, (lua_Integer)value + delta); in setfield()
H A Dlauxlib.c257 lua_pushinteger(L, en); in luaL_fileresult()
296 lua_pushinteger(L, stat); in luaL_execresult()
670 lua_pushinteger(L, 0); /* initialize as an empty list */ in luaL_ref()
695 lua_pushinteger(L, ref); in luaL_unref()
H A Dlua.h246 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
417 #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
H A Dliolib.c367 lua_pushinteger(L, n); /* number of arguments to read */ in aux_lines()
710 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek()
H A Dltablib.c188 lua_pushinteger(L, n); in tpack()
/freebsd-14.2/sys/contrib/openzfs/module/lua/
H A Dlbaselib.c118 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
155 lua_pushinteger(L, b); in luaB_collectgarbage()
163 lua_pushinteger(L, res); in luaB_collectgarbage()
183 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta()
215 lua_pushinteger(L, i); in ipairsaux()
236 lua_pushinteger(L, n-1); in luaB_select()
H A Dlstrlib.c49 lua_pushinteger(L, (lua_Integer)l); in str_len()
156 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
558 lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1); in push_onecapture()
602 lua_pushinteger(L, s2 - s + 1); in str_find_aux()
603 lua_pushinteger(L, s2 - s + lp); in str_find_aux()
625 lua_pushinteger(L, s1 - s + 1); /* start */ in str_find_aux()
626 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
669 lua_pushinteger(L, newstart); in gmatch_aux()
682 lua_pushinteger(L, 0); in str_gmatch()
785 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
H A Dltablib.c120 lua_pushinteger(L, n); in pack()
/freebsd-14.2/lib/flua/libjail/
H A Dlua_jail.c271 lua_pushinteger(L, jid); in l_getid()
443 lua_pushinteger(L, jid); in l_getparams()
567 lua_pushinteger(L, jid); in l_setparams()
699 lua_pushinteger(L, JAIL_CREATE); in luaopen_jail()
701 lua_pushinteger(L, JAIL_UPDATE); in luaopen_jail()
703 lua_pushinteger(L, JAIL_ATTACH); in luaopen_jail()
705 lua_pushinteger(L, JAIL_DYING); in luaopen_jail()
/freebsd-14.2/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-14.2/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++;%}
147 lua_pushinteger(L, $1[i - 1]);
/freebsd-14.2/lib/clang/liblldb/
H A DLLDBWrapLua.cpp4322 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetFileAddress()
4353 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetLoadAddress()
4560 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetOffset()
5024 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetProcessID()
5379 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetResumeCount()
5479 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetUserID()
5503 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetGroupID()
5627 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetEffectiveUserID()
5651 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetEffectiveGroupID()
5775 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetParentProcessID()
[all …]

12