Home
last modified time | relevance | path

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

/external/lua/src/
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()
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()
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()
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()
1437 lua_pushinteger(L, (lua_Integer)totalsize); in str_packsize()
1499 lua_pushinteger(L, res); in str_unpack()
[all …]
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()
Dloslib.c67 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t))
198 lua_pushinteger(L, value); in setfield()
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))
Dlbitlib.c22 #define pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
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()
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()
Dltablib.c201 lua_pushinteger(L, n); in pack()
Dluac.c201 lua_pushinteger(L,argc); in main()
Dlua.c604 lua_pushinteger(L, argc); /* 1st argument */ in main()
Dlapi.c466 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger() function
/external/libtextclassifier/actions/
Dlua-utils.cc85 lua_pushinteger(env->state(), in PushAnnotation()
88 lua_pushinteger(env->state(), in PushAnnotation()
115 lua_pushinteger(env->state(), annotated_span.span.first); in PushAnnotatedSpan()
117 lua_pushinteger(env->state(), annotated_span.span.second); in PushAnnotatedSpan()
239 lua_pushinteger(env->state(), annotation.span.message_index); in PushAnnotation()
241 lua_pushinteger(env->state(), annotation.span.span.first); in PushAnnotation()
243 lua_pushinteger(env->state(), annotation.span.span.second); in PushAnnotation()
340 lua_pushinteger(state, message.user_id); in Item()
344 lua_pushinteger(state, message.reference_time_ms_utc); in Item()
/external/libtextclassifier/utils/
Dregex-match.cc111 lua_pushinteger(state_, span.first); in GetCapturingGroup()
113 lua_pushinteger(state_, span.second); in GetCapturingGroup()
Dlua-utils.h118 lua_pushinteger(state, FromUpValue<T *>(kItemsArgId, state)->size()); in Length()
138 lua_pushinteger(state, pos + 1); in Next()
Dlua-utils.cc117 lua_pushinteger(state, table->GetField<int32>(field->offset(), in GetField()
121 lua_pushinteger(state, table->GetField<int64>(field->offset(), in GetField()
/external/libtextclassifier/utils/intents/
Dintent-generator.cc213 lua_pushinteger(state_, i + 1); in HandleAndroidCallback()
404 lua_pushinteger(state_, tc3farmhash::Hash32(input.data(), input.length())); in HandleHash()
720 lua_pushinteger(state_, reference_time_ms_utc_); in SetupExternalHook()
/external/bcc/src/lua/src/
Dmain.c82 lua_pushinteger(L, 2); /* skip this function and traceback */ in traceback()
/external/skqp/src/utils/
DSkLua.cpp595 lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->save()); in lcanvas_save()
601lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->saveLayer(nullptr, lua2OptionalPaint(L, 2, &paint))); in lcanvas_saveLayer()
1362 lua_pushinteger(L, get_obj<SkPath>(L, 1)->countPoints()); in lpath_countPoints()
1518 lua_pushinteger(L, get_ref<SkImage>(L, 1)->width()); in limage_width()
1523 lua_pushinteger(L, get_ref<SkImage>(L, 1)->height()); in limage_height()
1550 lua_pushinteger(L, get_ref<SkSurface>(L, 1)->width()); in lsurface_width()
1555 lua_pushinteger(L, get_ref<SkSurface>(L, 1)->height()); in lsurface_height()
/external/skia/src/utils/
DSkLua.cpp595 lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->save()); in lcanvas_save()
601lua_pushinteger(L, get_ref<SkCanvas>(L, 1)->saveLayer(nullptr, lua2OptionalPaint(L, 2, &paint))); in lcanvas_saveLayer()
1362 lua_pushinteger(L, get_obj<SkPath>(L, 1)->countPoints()); in lpath_countPoints()
1518 lua_pushinteger(L, get_ref<SkImage>(L, 1)->width()); in limage_width()
1523 lua_pushinteger(L, get_ref<SkImage>(L, 1)->height()); in limage_height()
1550 lua_pushinteger(L, get_ref<SkSurface>(L, 1)->width()); in lsurface_width()
1555 lua_pushinteger(L, get_ref<SkSurface>(L, 1)->height()); in lsurface_height()