/minix3/lib/lua/sqlite/ |
H A D | sqlite.c | 67 lua_pushinteger(L, sqlite3_initialize()); in sqlite_initialize() 74 lua_pushinteger(L, sqlite3_shutdown()); in sqlite_shutdown() 88 lua_pushinteger(L, sqlite3_open_v2(luaL_checkstring(L, -3), db, in sqlite_open() 91 lua_pushinteger(L, sqlite3_open(luaL_checkstring(L, -2), db)); in sqlite_open() 106 lua_pushinteger(L, sqlite3_libversion_number()); in sqlite_libversion_number() 123 lua_pushinteger(L, sqlite3_close(*db)); in db_close() 138 lua_pushinteger(L, sqlite3_prepare_v2(*db, sql, in db_prepare() 152 lua_pushinteger(L, sqlite3_exec(*db, lua_tostring(L, 2), NULL, in db_exec() 163 lua_pushinteger(L, sqlite3_errcode(*db)); in db_errcode() 193 lua_pushinteger(L, sqlite3_changes(*db)); in db_changes() [all …]
|
/minix3/external/bsd/lutok/dist/ |
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() 288 lua_pushinteger(raw(state), 5555); in ATF_TEST_CASE_BODY() 329 lua_pushinteger(raw(state), 1); in ATF_TEST_CASE_BODY() 355 lua_pushinteger(raw(state), 3); in ATF_TEST_CASE_BODY() 357 lua_pushinteger(raw(state), 3); in ATF_TEST_CASE_BODY() 367 lua_pushinteger(raw(state), 1); in ATF_TEST_CASE_BODY() 368 lua_pushinteger(raw(state), 2); in ATF_TEST_CASE_BODY() 369 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() 699 lua_pushinteger(_pimpl->lua_state, value); in push_integer()
|
/minix3/external/mit/lua/dist/src/ |
H A D | lutf8lib.c | 89 lua_pushinteger(L, posi + 1); /* ... and current position */ in utflen() 95 lua_pushinteger(L, n); in utflen() 125 lua_pushinteger(L, code); in codepoint() 198 lua_pushinteger(L, posi + 1); in byteoffset() 222 lua_pushinteger(L, n + 1); in iter_aux() 223 lua_pushinteger(L, code); in iter_aux() 233 lua_pushinteger(L, 0); in iter_codes()
|
H A D | lmathlib.c | 45 lua_pushinteger(L, n); in math_abs() 89 lua_pushinteger(L, n); in math_toint() 101 lua_pushinteger(L, n); /* result is integer */ in pushnumint() 134 lua_pushinteger(L, 0); /* avoid overflow with 0x80000... / -1 */ in math_fmod() 137 lua_pushinteger(L, lua_tointeger(L, 1) % d); in math_fmod() 271 lua_pushinteger(L, (lua_Integer)r + low); in math_random() 330 lua_pushinteger(L, e); in math_frexp() 403 lua_pushinteger(L, LUA_MAXINTEGER); in luaopen_math() 405 lua_pushinteger(L, LUA_MININTEGER); in luaopen_math()
|
H A D | lbaselib.c | 97 lua_pushinteger(L, n); in luaB_tonumber() 154 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen() 198 lua_pushinteger(L, res); in luaB_collectgarbage() 221 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta() 255 lua_pushinteger(L, i); in ipairsaux_raw() 265 lua_pushinteger(L, i); in ipairsaux() 284 lua_pushinteger(L, 0); /* initial value */ in luaB_ipairs() 412 lua_pushinteger(L, n-1); in luaB_select()
|
H A D | lstrlib.c | 57 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() 606 lua_pushinteger(L, (s2 - s) + 1); in str_find_aux() 607 lua_pushinteger(L, (s2 - s) + lp); in str_find_aux() 629 lua_pushinteger(L, (s1 - s) + 1); /* start */ in str_find_aux() 630 lua_pushinteger(L, res - s); /* end */ in str_find_aux() 673 lua_pushinteger(L, newstart); in gmatch_aux() 686 lua_pushinteger(L, 0); in gmatch() 791 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub() [all …]
|
H A D | ldblib.c | 117 lua_pushinteger(L, v); in settabsi() 317 lua_pushinteger(L, ar->currentline); /* push current line */ in hookf() 401 lua_pushinteger(L, lua_gethookcount(L1)); /* 3rd result = count */ in db_gethook()
|
H A D | loslib.c | 58 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t)) 184 lua_pushinteger(L, value); in setfield()
|
H A D | lua.h | 257 #define lua_pushnumber(L, n) lua_pushinteger(L, (lua_Integer)(n)) 259 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable 418 #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
|
H A D | lauxlib.c | 242 lua_pushinteger(L, en); in luaL_fileresult() 283 lua_pushinteger(L, stat); in luaL_execresult() 571 lua_pushinteger(L, ref); in luaL_unref()
|
H A D | liolib.c | 325 lua_pushinteger(L, n); /* number of arguments to read */ in aux_lines() 647 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek()
|
H A D | ltablib.c | 205 lua_pushinteger(L, n); in pack()
|
H A D | luac.c | 203 lua_pushinteger(L,argc); in main()
|
H A D | lua.c | 607 lua_pushinteger(L, argc); /* 1st argument */ in main()
|
H A D | lapi.c | 474 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger() function
|
/minix3/lib/lua/gpio/ |
H A D | gpio.c | 106 lua_pushinteger(L, info.gpio_npins); in gpio_info() 166 lua_pushinteger(L, req.gp_value); in gpio_read() 186 lua_pushinteger(L, req.gp_value); in gpio_write() 201 lua_pushinteger(L, req.gp_value); in gpio_toggle() 314 lua_pushinteger(L, gpio_constant[n].value); in luaopen_gpio()
|
/minix3/lib/lua/syslog/ |
H A D | syslog.c | 72 lua_pushinteger(L, setlogmask((int) luaL_checkinteger(L, 1))); in syslog_setlogmask() 161 lua_pushinteger(L, syslog_constant[n].value); in luaopen_syslog()
|
/minix3/libexec/httpd/ |
H A D | lua-bozo.c | 145 lua_pushinteger(L, bozo_write(httpd, STDIN_FILENO, data, strlen(data))); in lua_write()
|