Searched refs:LuaEnvironment (Results 1 – 8 of 8) sorted by relevance
/external/libtextclassifier/native/utils/ |
D | lua-utils.cc | 56 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 …]
|
D | lua-utils.h | 65 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()
|
D | regex-match.cc | 41 class LuaVerifier : public LuaEnvironment {
|
D | lua-utils_test.cc | 39 class LuaUtilsTest : public testing::Test, protected LuaEnvironment {
|
/external/libtextclassifier/native/actions/ |
D | lua-ranker.h | 29 class ActionsSuggestionsLuaRanker : public LuaEnvironment {
|
D | lua-actions.h | 29 class LuaActionsSuggestions : public LuaEnvironment {
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.h | 36 class JniLuaEnvironment : public LuaEnvironment {
|
D | jni-lua.cc | 49 : LuaEnvironment(), in JniLuaEnvironment()
|