Lines Matching refs:lua_State
56 T FromUpValue(const int index, lua_State *state) { in FromUpValue()
66 static int NextCallback(lua_State *state);
67 static int LengthCallback(lua_State *state);
68 static int ItemCallback(lua_State *state);
69 static int IteritemsCallback(lua_State *state);
72 virtual int Next(lua_State *state) const = 0;
75 virtual int Length(lua_State *state) const = 0;
78 virtual int Item(lua_State *state) const = 0;
81 virtual int Iteritems(lua_State *state) const = 0;
90 void NewIterator(StringPiece name, const T *items, lua_State *state) const { in NewIterator()
108 int Iteritems(lua_State *state) const override { in Iteritems()
117 int Length(lua_State *state) const override { in Length()
122 int Next(lua_State *state) const override { in Next()
128 int Next(const T *items, const int64 pos, lua_State *state) const { in Next()
144 int Item(lua_State *state) const override { in Item()
171 lua_State *state) const = 0;
173 virtual int Item(const T *items, StringPiece key, lua_State *state) const { in Item()
192 typedef int (*CallbackHandler)(lua_State *);
238 lua_State *state() const { return state_; } in state()
241 lua_State *state_;
247 const flatbuffers::Table *table, lua_State *state);
248 static int GetFieldCallback(lua_State *state);
251 const flatbuffers::Table *table, lua_State *state);
254 static int Dispatch(lua_State *state) { in Dispatch()