Home
last modified time | relevance | path

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

/external/lua/src/
Dlutf8lib.c107 lua_pushinteger(L, posi + 1); /* ... and current position */ in utflen()
113 lua_pushinteger(L, n); in utflen()
144 lua_pushinteger(L, code); in codepoint()
217 lua_pushinteger(L, posi + 1); in byteoffset()
241 lua_pushinteger(L, n + 1); in iter_aux()
242 lua_pushinteger(L, code); in iter_aux()
262 lua_pushinteger(L, 0); in iter_codes()
Dlmathlib.c33 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()
570 lua_pushinteger(L, I2UInt(rv)); /* full random integer */ in math_random()
586 lua_pushinteger(L, p + (lua_Unsigned)low); in math_random()
600 lua_pushinteger(L, n1); in setseed()
601 lua_pushinteger(L, n2); in setseed()
683 lua_pushinteger(L, e); in math_frexp()
[all …]
Dlbaselib.c105 lua_pushinteger(L, n); in luaB_tonumber()
161 lua_pushinteger(L, lua_rawlen(L, 1)); in luaB_rawlen()
215 lua_pushinteger(L, previous); in luaB_collectgarbage()
236 lua_pushinteger(L, res); in luaB_collectgarbage()
283 lua_pushinteger(L, i); in ipairsaux()
296 lua_pushinteger(L, 0); /* initial value */ in luaB_ipairs()
419 lua_pushinteger(L, n-1); in luaB_select()
Dldblib.c117 lua_pushinteger(L, v); in settabsi()
322 lua_pushinteger(L, ar->currentline); /* push current line */ in hookf()
406 lua_pushinteger(L, lua_gethookcount(L1)); /* 3rd result = count */ in db_gethook()
446 lua_pushinteger(L, res); in db_setcstacklimit()
Dlstrlib.c58 lua_pushinteger(L, (lua_Integer)l); in str_len()
189 lua_pushinteger(L, uchar(s[posi+i-1])); in str_byte()
713 lua_pushinteger(ms->L, (ms->capture[i].init - ms->src_init) + 1); in get_onecapture()
784 lua_pushinteger(L, (s2 - s) + 1); in str_find_aux()
785 lua_pushinteger(L, (s2 - s) + lp); in str_find_aux()
802 lua_pushinteger(L, (s1 - s) + 1); /* start */ in str_find_aux()
803 lua_pushinteger(L, res - s); /* end */ in str_find_aux()
978 lua_pushinteger(L, n); /* number of substitutions */ in str_gsub()
1654 lua_pushinteger(L, (lua_Integer)totalsize); in str_packsize()
1716 lua_pushinteger(L, res); in str_unpack()
[all …]
Dloslib.c68 #define l_pushtime(L,t) lua_pushinteger(L,(lua_Integer)(t))
214 lua_pushinteger(L, (lua_Integer)value + delta); in setfield()
Dlua.h235 LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n); variable
405 #define lua_pushunsigned(L,n) lua_pushinteger(L, (lua_Integer)(n))
Dlauxlib.c257 lua_pushinteger(L, en); in luaL_fileresult()
296 lua_pushinteger(L, stat); in luaL_execresult()
672 lua_pushinteger(L, ref); in luaL_unref()
Dliolib.c361 lua_pushinteger(L, n); /* number of arguments to read */ in aux_lines()
703 lua_pushinteger(L, (lua_Integer)l_ftell(f)); in f_seek()
Dltablib.c187 lua_pushinteger(L, n); in tpack()
Dlua.c627 lua_pushinteger(L, argc); /* 1st argument */ in main()
Dluac.c206 lua_pushinteger(L,argc); in main()
Dlapi.c489 LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) { in lua_pushinteger() function
/external/libtextclassifier/native/utils/
Dlua-utils.h115 void Push(const int64 value) const { lua_pushinteger(state_, value); } in Push()
116 void Push(const uint64 value) const { lua_pushinteger(state_, value); } in Push()
117 void Push(const int32 value) const { lua_pushinteger(state_, value); } in Push()
118 void Push(const uint32 value) const { lua_pushinteger(state_, value); } in Push()
119 void Push(const int16 value) const { lua_pushinteger(state_, value); } in Push()
120 void Push(const uint16 value) const { lua_pushinteger(state_, value); } in Push()
121 void Push(const int8 value) const { lua_pushinteger(state_, value); } in Push()
122 void Push(const uint8 value) const { lua_pushinteger(state_, value); } in Push()
401 lua_pushinteger(env->state(), pos + 1); in IterItems()
418 lua_pushinteger(env->state(), pos + 1); in Next()
[all …]
Dregex-match.cc114 lua_pushinteger(state_, span.first); in GetCapturingGroup()
116 lua_pushinteger(state_, span.second); in GetCapturingGroup()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/
Ddef.c131 lua_pushinteger(L, upb_fielddef_index(f)); in lupb_fielddef_index()
143 lua_pushinteger(L, upb_fielddef_label(f)); in lupb_fielddef_label()
163 lua_pushinteger(L, num); in lupb_fielddef_number()
192 lua_pushinteger(L, upb_fielddef_type(f)); in lupb_fielddef_type()
265 lua_pushinteger(L, upb_oneofdef_fieldcount(o)); in lupb_oneofdef_len()
330 lua_pushinteger(L, upb_msgdef_fieldcount(m)); in lupb_msgdef_fieldcount()
336 lua_pushinteger(L, upb_msgdef_oneofcount(m)); in lupb_msgdef_oneofcount()
488 lua_pushinteger(L, upb_msgdef_syntax(m)); in lupb_msgdef_syntax()
531 lua_pushinteger(L, upb_enumdef_numvals(e)); in lupb_enumdef_len()
562 lua_pushinteger(L, num); in lupb_enumdef_value()
[all …]
Dmsg.c1046 lua_pushinteger(L, i); in lupb_setfieldi()
/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/libtextclassifier/native/utils/intents/
Dintent-generator.cc60 lua_pushinteger(state_, reference_time_ms_utc_); in SetupExternalHook()
Djni-lua.cc137 lua_pushinteger(state_, i + 1); in HandleAndroidCallback()
366 lua_pushinteger(state_, tc3farmhash::Hash32(input.data(), input.length())); in HandleHash()
/external/mesa3d/src/freedreno/decode/
Dscript.c119 lua_pushinteger(L, e->val); in l_meta_rnn_enum_tonumber()
183 lua_pushinteger(L, val.i); in pushdecval()