/freebsd-src/stand/liblua/ |
H A D | lutils.c | 56 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 D | lerrno.c | 162 lua_pushinteger(L, errnoconstants[i].err_num); in lerrno_register()
|
/freebsd-src/contrib/lutok/ |
H A D | state_test.cpp | 114 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 D | c_gate_test.cpp | 46 lua_pushinteger(raw(state), 123); in ATF_TEST_CASE_BODY()
|
H A D | state.cpp | 322 lua_pushinteger(_pimpl->lua_state, LUA_RIDX_GLOBALS); in get_global_table() 711 lua_pushinteger(_pimpl->lua_state, value); in push_integer()
|
/freebsd-src/libexec/flua/modules/ |
H A D | lfbsd.c | 80 lua_pushinteger(L, errno); in lua_exec() 93 lua_pushinteger(L, r); in lua_exec() 100 lua_pushinteger(L, r); in lua_exec() 108 lua_pushinteger(L, r); in lua_exec() 118 lua_pushinteger(L, pid); in lua_exec()
|
H A D | lfs.c | 137 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 D | lposix.c | 51 lua_pushinteger(L, ENOMEM); in lua_chmod() 76 lua_pushinteger(L, errno); in lua_chown() 79 lua_pushinteger(L, 0); in lua_chown() 132 lua_pushinteger(L, errno); 135 lua_pushinteger(L, 0); 155 lua_pushinteger(L, 0); in luaopen_posix_unistd() 163 lua_pushinteger(L, error); 180 lua_pushinteger(L, fnmatch(pattern, string, flags)); 199 lua_pushinteger(L, error); 231 lua_pushinteger( [all...] |
/freebsd-src/contrib/lua/src/ |
H A D | lutf8lib.c | 111 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 D | ltests.c | 54 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 D | lmathlib.c | 33 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() 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() [all …]
|
H A D | lbaselib.c | 105 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 D | ldblib.c | 117 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 D | lstrlib.c | 58 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 D | loslib.c | 59 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t)) 214 lua_pushinteger(L, (lua_Integer)value + delta); in setfield()
|
H A D | lauxlib.c | 257 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 D | lua.h | 246 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 D | liolib.c | 367 lua_pushinteger(L, n); /* number of arguments to read */ in aux_lines() 710 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek()
|
/freebsd-src/sys/contrib/openzfs/module/lua/ |
H A D | lbaselib.c | 118 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 D | lstrlib.c | 49 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 D | ltablib.c | 120 lua_pushinteger(L, n); in pack()
|
/freebsd-src/lib/flua/libjail/ |
H A D | lua_jail.c |
|
/freebsd-src/sys/contrib/openzfs/module/zfs/ |
H A D | zcp.c | 493 (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() 1316 lua_pushinteger(state, i + 1); in zcp_parse_table_args() 1335 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
|
/freebsd-src/contrib/llvm-project/lldb/bindings/lua/ |
H A D | lua-typemaps.swig | 19 %{ 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-src/lib/clang/liblldb/ |
H A D | LLDBWrapLua.cpp | 2661 lua_pushinteger(L,(lua_Integer)constants[i].lvalue); 4381 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_SetAddress() 4412 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_SetLoadAddress() 4619 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAddress_GetCompileUnit() 5092 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_SetExecutable__SWIG_1() 5315 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_GetIgnoreExisting() 5794 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBAttachInfo_SetParentProcessID() 6149 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_new_SBBlock__SWIG_0() 6249 lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; in _wrap_SBBlock_IsValid() 6273 lua_pushinteger( in _wrap_SBBlock_GetInlinedName() [all...] |