Home
last modified time | relevance | path

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

12

/external/syslinux/com32/lua/src/
Ddhcp.c206 lua_pushinteger(L, ntohl(*(long*)value)); in dhcp_getoptions()
216 lua_pushinteger(L, ntohs(*(short*)value)); in dhcp_getoptions()
236 lua_pushinteger(L, *value); in dhcp_getoptions()
275 lua_pushinteger(L, dhcp->op); in dhcp_gettable()
279 lua_pushinteger(L, dhcp->htype); in dhcp_gettable()
283 lua_pushinteger(L, dhcp->hlen); in dhcp_gettable()
287 lua_pushinteger(L, dhcp->hops); in dhcp_gettable()
291 lua_pushinteger(L, ntohl(dhcp->xid)); in dhcp_gettable()
295 lua_pushinteger(L, ntohs(dhcp->secs)); in dhcp_gettable()
299 lua_pushinteger(L, ntohs(dhcp->flags)); in dhcp_gettable()
Dcmenu.c22 lua_pushinteger (L, add_menu (luaL_checkstring (L, 1), in l_add_menu()
29 lua_pushinteger (L, add_named_menu (luaL_checkstring (L, 1), in l_add_named_menu()
50 lua_pushinteger (L, find_menu_num (luaL_checkstring (L, 1))); in l_find_menu_num()
58 lua_pushinteger (L, reply->action); in l_showmenus()
78 #define export_opt(x) lua_pushinteger (L, OPT_##x); lua_setfield (L, -2, #x); in luaopen_cmenu()
Dlbaselib.c137 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
174 lua_pushinteger(L, b); in luaB_collectgarbage()
182 lua_pushinteger(L, res); in luaB_collectgarbage()
202 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta()
234 lua_pushinteger(L, i); in ipairsaux()
356 lua_pushinteger(L, n-1); in luaB_select()
Dsyslinux.c313 lua_pushinteger(L, file->size); in sl_filesize()
402 lua_pushinteger(L, i + 1); in sl_ipappend_strs()
447 lua_pushinteger (L, get_key (stdin, timeout)); in sl_get_key()
453 lua_pushinteger (L, KEY_CTRL (luaL_checkint (L, 1))); in sl_KEY_CTRL()
493 #define export_key(x) lua_pushinteger (L, KEY_##x); lua_setfield (L, -2, #x); in luaopen_syslinux()
Dlstrlib.c40 lua_pushinteger(L, (lua_Integer)l); in str_len()
147 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
548 lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1); in push_onecapture()
592 lua_pushinteger(L, s2 - s + 1); in str_find_aux()
593 lua_pushinteger(L, s2 - s + lp); in str_find_aux()
615 lua_pushinteger(L, s1 - s + 1); /* start */ in str_find_aux()
616 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
659 lua_pushinteger(L, newstart); in gmatch_aux()
672 lua_pushinteger(L, 0); in gmatch()
775 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
Dldblib.c78 lua_pushinteger(L, v); in settabsi()
268 lua_pushinteger(L, ar->currentline); in hookf()
339 lua_pushinteger(L, lua_gethookcount(L1)); in db_gethook()
Ddmi.c200 lua_pushinteger(L, j++); in get_base_board_table()
333 lua_pushinteger(L, j++); in get_memory_table()
370 lua_pushinteger(L, j++); in get_memory_module_table()
396 lua_pushinteger(L, i + 1); in get_cache_table()
Dlauxlib.c219 lua_pushinteger(L, en); in luaL_fileresult()
258 lua_pushinteger(L, stat); in luaL_execresult()
548 lua_pushinteger(L, ref); in luaL_unref()
Dltablib.c122 lua_pushinteger(L, n); in pack()
Dlmathlib.c157 lua_pushinteger(L, e); in math_frexp()
Dloslib.c142 lua_pushinteger(L, value); in setfield()
Dluac.c198 lua_pushinteger(L,argc); in main()
Dlua.h212 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
Dlua.c499 lua_pushinteger(L, argc); /* 1st argument */ in main()
/external/skia/third_party/lua/src/
Dlbaselib.c137 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
174 lua_pushinteger(L, b); in luaB_collectgarbage()
182 lua_pushinteger(L, res); in luaB_collectgarbage()
202 if (iszero) lua_pushinteger(L, 0); /* and initial value */ in pairsmeta()
234 lua_pushinteger(L, i); in ipairsaux()
356 lua_pushinteger(L, n-1); in luaB_select()
Dlstrlib.c40 lua_pushinteger(L, (lua_Integer)l); in str_len()
147 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
548 lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1); in push_onecapture()
592 lua_pushinteger(L, s2 - s + 1); in str_find_aux()
593 lua_pushinteger(L, s2 - s + lp); in str_find_aux()
615 lua_pushinteger(L, s1 - s + 1); /* start */ in str_find_aux()
616 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
659 lua_pushinteger(L, newstart); in gmatch_aux()
672 lua_pushinteger(L, 0); in gmatch()
775 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
Dldblib.c78 lua_pushinteger(L, v); in settabsi()
268 lua_pushinteger(L, ar->currentline); in hookf()
339 lua_pushinteger(L, lua_gethookcount(L1)); in db_gethook()
Dlauxlib.c219 lua_pushinteger(L, en); in luaL_fileresult()
258 lua_pushinteger(L, stat); in luaL_execresult()
548 lua_pushinteger(L, ref); in luaL_unref()
Dlmathlib.c157 lua_pushinteger(L, e); in math_frexp()
Dltablib.c122 lua_pushinteger(L, n); in pack()
Dloslib.c137 lua_pushinteger(L, value); in setfield()
Dluac.c198 lua_pushinteger(L,argc); in main()
Dlua.c489 lua_pushinteger(L, argc); /* 1st argument */ in main()
Dlua.h207 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
/external/skia/src/utils/
DSkLua.cpp577 lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->save()); in lcanvas_save()
583lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->saveLayer(nullptr, lua2OptionalPaint(L, 2, &paint))); in lcanvas_saveLayer()
1448 lua_pushinteger(L, get_obj<SkPath>(L, 1)->countPoints()); in lpath_countPoints()
1604 lua_pushinteger(L, get_ref<SkImage>(L, 1)->width()); in limage_width()
1609 lua_pushinteger(L, get_ref<SkImage>(L, 1)->height()); in limage_height()
1636 lua_pushinteger(L, get_ref<SkSurface>(L, 1)->width()); in lsurface_width()
1641 lua_pushinteger(L, get_ref<SkSurface>(L, 1)->height()); in lsurface_height()

12