Searched refs:AsUserData (Results 1 – 2 of 2) sorted by relevance
/external/libtextclassifier/utils/ |
D | lua-utils.h | 46 void *AsUserData(const T *value) { in AsUserData() function 50 void *AsUserData(const T value) { in AsUserData() function 93 lua_pushlightuserdata(state, AsUserData(this)); in NewIterator() 94 lua_pushlightuserdata(state, AsUserData(items)); in NewIterator() 97 lua_pushlightuserdata(state, AsUserData(this)); in NewIterator() 98 lua_pushlightuserdata(state, AsUserData(items)); in NewIterator() 101 lua_pushlightuserdata(state, AsUserData(this)); in NewIterator() 102 lua_pushlightuserdata(state, AsUserData(items)); in NewIterator() 109 lua_pushlightuserdata(state, AsUserData(this)); in Iteritems()
|
D | lua-utils.cc | 80 lua_pushlightuserdata(state, AsUserData(schema)); in PushFlatbuffer() 81 lua_pushlightuserdata(state, AsUserData(type)); in PushFlatbuffer() 82 lua_pushlightuserdata(state, AsUserData(table)); in PushFlatbuffer()
|