Home
last modified time | relevance | path

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

/freebsd-12.1/stand/liblua/
H A Dlutils.c59 lua_pushinteger(L, res); in lua_command()
75 lua_pushinteger(L, res); in lua_perform()
103 lua_pushinteger(L, interp_run(interp_string)); in lua_interpret()
129 lua_pushinteger(L, getchar()); in lua_getchar()
155 lua_pushinteger(L, time(NULL)); in lua_time()
182 lua_pushinteger(L, setenv(key, val, 1)); in lua_setenv()
193 lua_pushinteger(L, unsetenv(ev)); in lua_unsetenv()
267 lua_pushinteger(L, 0); in lua_readfile()
275 lua_pushinteger(L, 0); in lua_readfile()
289 lua_pushinteger(L, r); in lua_readfile()
[all …]
H A Dlfs.c202 lua_pushinteger(L, (lua_Integer)sb->st_ ## stname); \
288 lua_pushinteger(L, EINVAL); in lua_attributes()
298 lua_pushinteger(L, errno); in lua_attributes()
H A Dlerrno.c164 lua_pushinteger(L, errnoconstants[i].err_num); in lerrno_register()
/freebsd-12.1/contrib/lua/src/
H A Dlutf8lib.c85 lua_pushinteger(L, posi + 1); /* ... and current position */ in utflen()
91 lua_pushinteger(L, n); in utflen()
121 lua_pushinteger(L, code); in codepoint()
194 lua_pushinteger(L, posi + 1); in byteoffset()
218 lua_pushinteger(L, n + 1); in iter_aux()
219 lua_pushinteger(L, code); in iter_aux()
229 lua_pushinteger(L, 0); in iter_codes()
H A Dlmathlib.c43 lua_pushinteger(L, n); in math_abs()
87 lua_pushinteger(L, n); in math_toint()
99 lua_pushinteger(L, n); /* result is integer */ in pushnumint()
132 lua_pushinteger(L, 0); /* avoid overflow with 0x80000... / -1 */ in math_fmod()
135 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod()
272 lua_pushinteger(L, (lua_Integer)r + low); in math_random()
331 lua_pushinteger(L, e); in math_frexp()
404 lua_pushinteger(L, LUA_MAXINTEGER); in luaopen_math()
406 lua_pushinteger(L, LUA_MININTEGER); in luaopen_math()
H A Dlbaselib.c93 lua_pushinteger(L, n); in luaB_tonumber()
150 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
194 lua_pushinteger(L, res); in luaB_collectgarbage()
215 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta()
248 lua_pushinteger(L, i); in ipairsaux()
264 lua_pushinteger(L, 0); /* initial value */ in luaB_ipairs()
388 lua_pushinteger(L, n-1); in luaB_select()
H A Dlstrlib.c57 lua_pushinteger(L, (lua_Integer)l); in str_len()
162 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
562 lua_pushinteger(ms->L, (ms->capture[i].init - ms->src_init) + 1); in push_onecapture()
622 lua_pushinteger(L, (s2 - s) + 1); in str_find_aux()
623 lua_pushinteger(L, (s2 - s) + lp); in str_find_aux()
640 lua_pushinteger(L, (s1 - s) + 1); /* start */ in str_find_aux()
641 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
796 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
1454 lua_pushinteger(L, (lua_Integer)totalsize);
1516 lua_pushinteger(L, res);
[all …]
H A Dldblib.c113 lua_pushinteger(L, v); in settabsi()
313 lua_pushinteger(L, ar->currentline); /* push current line */ in hookf()
397 lua_pushinteger(L, lua_gethookcount(L1)); /* 3rd result = count */ in db_gethook()
H A Dloslib.c67 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t))
198 lua_pushinteger(L, value); in setfield()
H A Dlua.h226 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
385 #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
H A Dlbitlib.c22 #define pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
H A Dlauxlib.c246 lua_pushinteger(L, en); in luaL_fileresult()
285 lua_pushinteger(L, stat); in luaL_execresult()
621 lua_pushinteger(L, ref); in luaL_unref()
H A Dliolib.c342 lua_pushinteger(L, n); /* number of arguments to read */ in aux_lines()
669 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek()
H A Dltablib.c201 lua_pushinteger(L, n); in pack()
H A Dluac.c201 lua_pushinteger(L,argc); in main()
H A Dlua.c604 lua_pushinteger(L, argc); /* 1st argument */ in main()
H A Dlapi.c466 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger() function
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/lua/
H A Dlbaselib.c125 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
162 lua_pushinteger(L, b); in luaB_collectgarbage()
170 lua_pushinteger(L, res); in luaB_collectgarbage()
190 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta()
222 lua_pushinteger(L, i); in ipairsaux()
243 lua_pushinteger(L, n-1); in luaB_select()
H A Dlstrlib.c69 lua_pushinteger(L, (lua_Integer)l); in str_len()
176 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
577 lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1); in push_onecapture()
621 lua_pushinteger(L, s2 - s + 1); in str_find_aux()
622 lua_pushinteger(L, s2 - s + lp); in str_find_aux()
644 lua_pushinteger(L, s1 - s + 1); /* start */ in str_find_aux()
645 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
688 lua_pushinteger(L, newstart); in gmatch_aux()
701 lua_pushinteger(L, 0); in str_gmatch()
804 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
H A Dltablib.c122 lua_pushinteger(L, n); in pack()
H A Dlua.h206 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
H A Dlauxlib.c509 lua_pushinteger(L, ref); in luaL_unref()
H A Dlapi.c482 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger() function
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzcp.c511 (void) lua_pushinteger(state, i); in zcp_nvlist_to_lua()
558 (void) lua_pushinteger(state, fnvpair_value_int64(pair)); in zcp_nvpair_value_to_lua()
570 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
582 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
583 (void) lua_pushinteger(state, intarr[i]); in zcp_nvpair_value_to_lua()
594 (void) lua_pushinteger(state, i + 1); in zcp_nvpair_value_to_lua()
595 (void) lua_pushinteger(state, intarr[i]); in zcp_nvpair_value_to_lua()
1293 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
1312 lua_pushinteger(state, i + 1); in zcp_parse_table_args()
/freebsd-12.1/contrib/libucl/lua/
H A Dlua_ucl.c233 lua_pushinteger (L, ucl_obj_toint (obj)); in ucl_object_lua_push_scalar()
336 lua_pushinteger (L, i); in ucl_object_lua_fromtable()