Home
last modified time | relevance | path

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

12

/freebsd/libexec/flua/modules/
H A Dlposix.c57 lua_pushinteger(L, ENOMEM); in lua_basename()
80 lua_pushinteger(L, errno); in lua_chmod()
83 lua_pushinteger(L, 0); in lua_chmod()
143 lua_pushinteger(L, errno); in lua_chown()
146 lua_pushinteger(L, 0); in lua_chown()
164 lua_pushinteger(L, 0); in lua_pclose()
172 lua_pushinteger(L, error); in lua_pclose()
198 lua_pushinteger(L, error); in lua_dup2()
206 lua_pushinteger(L, error); in lua_dup2()
239 lua_pushinteger(L, 0); in lua_execp()
[all …]
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 Dlfbsd.c104 lua_pushinteger(L, errno); in lua_exec()
111 lua_pushinteger(L, errno); in lua_exec()
148 lua_pushinteger(L, r); in lua_exec()
176 lua_pushinteger(L, r); in lua_process_close()
220 lua_pushinteger(L, r); in lua_process_makestdio()
/freebsd/stand/liblua/
H A Dlutils.c56 lua_pushinteger(L, res); in lua_command()
107 lua_pushinteger(L, res); in lua_perform()
142 lua_pushinteger(L, interp_run(interp_string)); in lua_interpret()
168 lua_pushinteger(L, getchar()); in lua_getchar()
194 lua_pushinteger(L, time(NULL)); in lua_time()
221 lua_pushinteger(L, setenv(key, val, 1)); in lua_setenv()
232 lua_pushinteger(L, unsetenv(ev)); in lua_unsetenv()
306 lua_pushinteger(L, 0); in lua_readfile()
314 lua_pushinteger(L, 0); in lua_readfile()
328 lua_pushinteger(L, r); in lua_readfile()
[all …]
H A Dlerrno.c162 lua_pushinteger(L, errnoconstants[i].err_num); in lerrno_register()
/freebsd/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()
133 lua_pushinteger(raw(state), f1 * f2); in cxx_multiply_closure()
270 lua_pushinteger(raw(state), 5555); in ATF_TEST_CASE_BODY()
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()
[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/libexec/flua/libfreebsd/sys/linker/
H A Dlinker.c31 lua_pushinteger(L, errno); in lua_kldload()
34 lua_pushinteger(L, ret); in lua_kldload()
53 lua_pushinteger(L, errno); in lua_kldunload()
57 lua_pushinteger(L, ret); in lua_kldunload()
61 lua_pushinteger(L, errno); in lua_kldunload()
64 lua_pushinteger(L, 0); in lua_kldunload()
/freebsd/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()
788 lua_pushinteger(L, p->abslineinfo[i].pc); in listabslineinfo()
790 lua_pushinteger(L, p->abslineinfo[i].line); in listabslineinfo()
840 lua_pushinteger(L, l_memcontrol.total); in mem_query()
841 lua_pushinteger(L, l_memcontrol.numblocks); in mem_query()
842 lua_pushinteger(L, l_memcontrol.maxmem); in mem_query()
856 lua_pushinteger(L, l_memcontrol.objcount[i]); in mem_query()
968 lua_pushinteger(L, tsvalue(obj_at(L, 1))->hash); in hash_query()
975 lua_pushinteger(L, luaH_mainposition(t, o) - t->node); in hash_query()
[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()
122 lua_pushinteger(L, 0); /* avoid overflow with 0x80000... / -1 */ in math_fmod()
125 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
588 lua_pushinteger(L, I2UInt(rv)); /* full random integer */ in math_random()
604 lua_pushinteger(L, p + (lua_Unsigned)low); in math_random()
618 lua_pushinteger(L, n1); in setseed()
619 lua_pushinteger(L, n2); in setseed()
701 lua_pushinteger(L, e); in math_frexp()
[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))
216 lua_pushinteger(L, (lua_Integer)value + delta); in setfield()
H A Dlauxlib.c260 lua_pushinteger(L, en); in luaL_fileresult()
299 lua_pushinteger(L, stat); in luaL_execresult()
673 lua_pushinteger(L, 0); /* initialize as an empty list */ in luaL_ref()
698 lua_pushinteger(L, ref); in luaL_unref()
/freebsd/libexec/flua/libfreebsd/kenv/
H A Dkenv.c35 lua_pushinteger(L, errno); in lua_kenv_get()
43 lua_pushinteger(L, errno); in lua_kenv_get()
50 lua_pushinteger(L, errno); in lua_kenv_get()
76 lua_pushinteger(L, errno); in lua_kenv_get()
/freebsd/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()
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c270 lua_pushinteger(L, jid); in l_getid()
442 lua_pushinteger(L, jid); in l_getparams()
574 lua_pushinteger(L, jid); in l_setparams()
706 lua_pushinteger(L, JAIL_CREATE); in luaopen_jail()
708 lua_pushinteger(L, JAIL_UPDATE); in luaopen_jail()
710 lua_pushinteger(L, JAIL_ATTACH); in luaopen_jail()
712 lua_pushinteger(L, JAIL_DYING); in luaopen_jail()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp.c494 (void) lua_pushinteger(state, i); in zcp_nvlist_to_lua()
541 (void) lua_pushinteger(state, fnvpair_value_int64(pair)); in zcp_nvpair_value_to_lua()
553 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
565 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
566 (void) lua_pushinteger(state, intarr[i]); in zcp_nvpair_value_to_lua()
577 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
578 (void) lua_pushinteger(state, intarr[i]); in zcp_nvpair_value_to_lua()
1321 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
1340 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
/freebsd/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/lib/clang/liblldb/
H A DLLDBWrapLua.cpp2661 lua_pushinteger(L,(lua_Integer)constants[i].lvalue); in SWIG_Lua_InstallConstants()
4381 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetFileAddress()
4412 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetLoadAddress()
4619 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetOffset()
5092 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddressRange_GetByteSize()
5315 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddressRangeList_GetSize()
5794 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetProcessID()
6149 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetResumeCount()
6249 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetUserID()
6273 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetGroupID()
[all …]
/freebsd/contrib/lyaml/ext/yaml/
H A Dlyaml.h63 lua_pushinteger (L, (_v)); \

12