Home
last modified time | relevance | path

Searched refs:LuaEnvironment (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/utils/
Dlua-utils.cc56 LuaEnvironment::LuaEnvironment() { state_ = luaL_newstate(); } in LuaEnvironment() function in libtextclassifier3::LuaEnvironment
58 LuaEnvironment::~LuaEnvironment() { in ~LuaEnvironment()
64 void LuaEnvironment::PushFlatbuffer(const reflection::Schema* schema, in PushFlatbuffer()
68 std::bind(&LuaEnvironment::GetField, this, schema, type, table)); in PushFlatbuffer()
71 int LuaEnvironment::GetField(const reflection::Schema* schema, in GetField()
207 int LuaEnvironment::ReadFlatbuffer(const int index, in ReadFlatbuffer()
330 void LuaEnvironment::LoadDefaultLibraries() { in LoadDefaultLibraries()
337 StringPiece LuaEnvironment::ReadString(const int index) const { in ReadString()
343 void LuaEnvironment::PushString(const StringPiece str) const { in PushString()
347 bool LuaEnvironment::Compile(StringPiece snippet, std::string* bytecode) const { in Compile()
[all …]
Dlua-utils.h65 class LuaEnvironment {
67 virtual ~LuaEnvironment();
68 explicit LuaEnvironment();
392 static int IterItems(const LuaEnvironment* env, const int length, in IterItems()
411 static int Next(const LuaEnvironment* env, const int length, in Next()
429 static int Length(const LuaEnvironment* env, const int length) { in Length()
440 static int Dispatch(const LuaEnvironment* env, const int length, in Dispatch()
466 static int Dispatch(const LuaEnvironment* env, const int length, in Dispatch()
Dregex-match.cc41 class LuaVerifier : public LuaEnvironment {
Dlua-utils_test.cc39 class LuaUtilsTest : public testing::Test, protected LuaEnvironment {
/external/libtextclassifier/native/actions/
Dlua-ranker.h29 class ActionsSuggestionsLuaRanker : public LuaEnvironment {
Dlua-actions.h29 class LuaActionsSuggestions : public LuaEnvironment {
/external/libtextclassifier/native/utils/intents/
Djni-lua.h36 class JniLuaEnvironment : public LuaEnvironment {
Djni-lua.cc49 : LuaEnvironment(), in JniLuaEnvironment()