Lines Matching refs:LuaEnvironment

49 LuaEnvironment::LuaEnvironment() { state_ = luaL_newstate(); }  in LuaEnvironment()  function in libtextclassifier3::LuaEnvironment
51 LuaEnvironment::~LuaEnvironment() { in ~LuaEnvironment()
57 int LuaEnvironment::Iterator::NextCallback(lua_State *state) { in NextCallback()
61 int LuaEnvironment::Iterator::LengthCallback(lua_State *state) { in LengthCallback()
65 int LuaEnvironment::Iterator::ItemCallback(lua_State *state) { in ItemCallback()
69 int LuaEnvironment::Iterator::IteritemsCallback(lua_State *state) { in IteritemsCallback()
73 void LuaEnvironment::PushFlatbuffer(const char *name, in PushFlatbuffer()
88 int LuaEnvironment::GetFieldCallback(lua_State *state) { in GetFieldCallback()
99 int LuaEnvironment::GetField(const reflection::Schema *schema, in GetField()
164 int LuaEnvironment::ReadFlatbuffer(ReflectiveFlatbuffer *buffer) { in ReadFlatbuffer()
218 void LuaEnvironment::LoadDefaultLibraries() { in LoadDefaultLibraries()
225 void LuaEnvironment::PushValue(const Variant &value) { in PushValue()
244 StringPiece LuaEnvironment::ReadString(const int index) const { in ReadString()
250 void LuaEnvironment::PushString(const StringPiece str) { in PushString()
254 void LuaEnvironment::PushFlatbuffer(const reflection::Schema *schema, in PushFlatbuffer()
260 int LuaEnvironment::RunProtected(const std::function<int()> &func, in RunProtected()
282 bool LuaEnvironment::Compile(StringPiece snippet, std::string *bytecode) { in Compile()
300 return LuaEnvironment().Compile(snippet, bytecode); in Compile()