Home
last modified time | relevance | path

Searched refs:vtbl (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/vulkan/libvulkan/
Ddriver.h156 if (dispatch->magic != HWVULKAN_DISPATCH_MAGIC && dispatch->vtbl != data) { in SetDataInternal()
161 dispatch->vtbl = data; in SetDataInternal()
173 return const_cast<void*>(dispatch->vtbl); in GetDataInternal()
/frameworks/native/vulkan/include/hardware/
Dhwvulkan.h51 const void* vtbl; member
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/php/ext/google/protobuf/
Dupb.c98 const struct upb_refcounted_vtbl *vtbl, in upb_def_init() argument
100 if (!upb_refcounted_init(upb_def_upcast_mutable(def), vtbl, owner)) return false; in upb_def_init()
396 static const struct upb_refcounted_vtbl vtbl = {NULL, &upb_enumdef_free}; in upb_enumdef_new() local
399 if (!upb_def_init(upb_enumdef_upcast_mutable(e), UPB_DEF_ENUM, &vtbl, owner)) in upb_enumdef_new()
605 static const struct upb_refcounted_vtbl vtbl = {visitfield, freefield}; in upb_fielddef_new() local
608 if (!upb_def_init(upb_fielddef_upcast_mutable(f), UPB_DEF_FIELD, &vtbl, o)) { in upb_fielddef_new()
1262 static const struct upb_refcounted_vtbl vtbl = {visitmsg, freemsg}; in upb_msgdef_new() local
1265 if (!upb_def_init(upb_msgdef_upcast_mutable(m), UPB_DEF_MSG, &vtbl, owner)) in upb_msgdef_new()
1534 static const struct upb_refcounted_vtbl vtbl = {visitoneof, freeoneof}; in upb_oneofdef_new() local
1538 if (!upb_def_init(upb_oneofdef_upcast_mutable(o), UPB_DEF_ONEOF, &vtbl, in upb_oneofdef_new()
[all …]
Dupb.h1101 const struct upb_refcounted_vtbl *vtbl; member
1191 const struct upb_refcounted_vtbl *vtbl,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ext/google/protobuf_c/
Dupb.c69 return def->vtbl == &upb_oneofdef_vtbl; in upb_isoneof()
73 return def->vtbl == &upb_fielddef_vtbl; in upb_isfield()
140 const struct upb_refcounted_vtbl *vtbl, in upb_def_init() argument
142 if (!upb_refcounted_init(upb_def_upcast_mutable(def), vtbl, owner)) return false; in upb_def_init()
2165 static const struct upb_refcounted_vtbl vtbl = {visithandlers, freehandlers}; variable
2411 if (!upb_refcounted_init(upb_handlers_upcast_mutable(h), &vtbl, owner)) in upb_handlers_new()
3075 if (r->vtbl->visit) r->vtbl->visit(r, visit_check, &state); in visit()
3080 if (r->vtbl->visit) r->vtbl->visit(r, v, closure); in visit()
3127 if (r->vtbl->visit) r->vtbl->visit(r, v, closure); in visit()
3561 o->vtbl->free((upb_refcounted*)o); in freeobj()
[all …]
Dupb.h1387 const struct upb_refcounted_vtbl *vtbl;
1404 #define UPB_REFCOUNT_INIT(vtbl, refs, ref2s) \
1405 {&static_refcount, NULL, vtbl, 0, true, refs, ref2s}
1407 #define UPB_REFCOUNT_INIT(vtbl, refs, ref2s) \
1408 {&static_refcount, NULL, vtbl, 0, true}
1479 const struct upb_refcounted_vtbl *vtbl,
3718 #define UPB_DEF_INIT(name, type, vtbl, refs, ref2s) \
3719 { UPB_REFCOUNT_INIT(vtbl, refs, ref2s), name, NULL, type, false }