Searched refs:lua_newuserdata (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/freedreno/decode/ |
D | script.c | 131 struct rnndenum *e = lua_newuserdata(L, sizeof(*e)); in pushenum() 162 struct rnndoff *rnndoff = lua_newuserdata(L, sizeof(*rnndoff)); in push_rnndoff() 453 struct rnndec *rnndec = lua_newuserdata(L, sizeof(*rnndec)); in l_rnn_init() 707 struct rnndec *rnndec = lua_newuserdata(L, sizeof(*rnndec)); in script_packet()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/bindings/lua/ |
D | def.c | 254 int *index = lua_newuserdata(L, sizeof(int)); in lupb_oneofdef_fields() 431 int *index = lua_newuserdata(L, sizeof(int)); in lupb_msgdef_fields() 471 int *index = lua_newuserdata(L, sizeof(int)); in lupb_msgdef_oneofs() 589 upb_enum_iter *i = lua_newuserdata(L, sizeof(upb_enum_iter)); in lupb_enumdef_values()
|
D | upb.c | 57 void *ret = lua_newuserdata(L, size); in lupb_newuserdata()
|
D | msg.c | 582 size_t *iter = lua_newuserdata(L, sizeof(*iter)); in lupb_map_pairs()
|
/external/skqp/src/utils/ |
D | SkLua.cpp | 76 T* addr = (T*)lua_newuserdata(L, sizeof(T)); in DEF_MTNAME() 84 new (lua_newuserdata(L, sizeof(T))) T(obj); in push_obj() 90 *(T**)lua_newuserdata(L, sizeof(T*)) = ptr; in push_ptr() 97 *(T**)lua_newuserdata(L, sizeof(T*)) = SkSafeRef(ref); in push_ref() 104 *(T**)lua_newuserdata(L, sizeof(T*)) = sp.release(); in push_ref()
|
/external/lua/src/ |
D | lua.h | 411 #define lua_newuserdata(L,s) lua_newuserdatauv(L,s,1) macro
|
/external/libtextclassifier/native/utils/ |
D | lua-utils.h | 87 new (lua_newuserdata(state_, sizeof(func))) F(func); in PushFunction()
|