Searched refs:destroy_func (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/ |
D | metadata.cc | 562 static void* get_user_data(UserData* user_data, void (*destroy_func)(void*)) { in get_user_data() 564 destroy_func) { in get_user_data() 571 void* grpc_mdelem_get_user_data(grpc_mdelem md, void (*destroy_func)(void*)) { in grpc_mdelem_get_user_data() 583 return get_user_data(am->user_data(), destroy_func); in grpc_mdelem_get_user_data() 587 return get_user_data(im->user_data(), destroy_func); in grpc_mdelem_get_user_data() 593 static void* set_user_data(UserData* ud, void (*destroy_func)(void*), in set_user_data() 595 GPR_ASSERT((data == nullptr) == (destroy_func == nullptr)); in set_user_data() 600 if (destroy_func != nullptr) { in set_user_data() 601 destroy_func(data); in set_user_data() 606 ud->destroy_user_data.Store(destroy_func, grpc_core::MemoryOrder::RELEASE); in set_user_data() [all …]
|
D | metadata.h | 186 void* grpc_mdelem_set_user_data(grpc_mdelem md, void (*destroy_func)(void*),
|
/external/grpc-grpc/src/core/lib/transport/ |
D | metadata.cc | 458 void* grpc_mdelem_get_user_data(grpc_mdelem md, void (*destroy_func)(void*)) { in grpc_mdelem_get_user_data() 470 if (gpr_atm_acq_load(&im->destroy_user_data) == (gpr_atm)destroy_func) { in grpc_mdelem_get_user_data() 481 void* grpc_mdelem_set_user_data(grpc_mdelem md, void (*destroy_func)(void*), in grpc_mdelem_set_user_data() 486 destroy_func(user_data); in grpc_mdelem_set_user_data() 489 destroy_func(user_data); in grpc_mdelem_set_user_data() 496 GPR_ASSERT((user_data == nullptr) == (destroy_func == nullptr)); in grpc_mdelem_set_user_data() 501 if (destroy_func != nullptr) { in grpc_mdelem_set_user_data() 502 destroy_func(user_data); in grpc_mdelem_set_user_data() 507 gpr_atm_rel_store(&im->destroy_user_data, (gpr_atm)destroy_func); in grpc_mdelem_set_user_data()
|
D | metadata.h | 131 void* grpc_mdelem_set_user_data(grpc_mdelem md, void (*destroy_func)(void*),
|
/external/mesa3d/src/gallium/winsys/virgl/common/ |
D | virgl_resource_cache.c | 71 virgl_resource_cache_entry_release_func destroy_func, in virgl_resource_cache_init() argument 77 cache->entry_release_func = destroy_func; in virgl_resource_cache_init()
|
D | virgl_resource_cache.h | 65 virgl_resource_cache_entry_release_func destroy_func,
|
/external/vulkan-validation-layers/scripts/ |
D | layer_chassis_dispatch_generator.py | 1462 …def outputNDOs(self, ndo_type, ndo_name, ndo_count, prefix, index, indent, destroy_func, destroy_a… argument 1490 if (destroy_func == False) or (destroy_array == True): 1507 …def uniquify_members(self, members, indent, prefix, array_index, create_func, destroy_func, destro… argument 1524 …tputNDOs(member.type, member.name, count_name, prefix, index, indent, destroy_func, destroy_array,… 1556 …_members(struct_info, indent, local_prefix, array_index, create_func, destroy_func, destroy_array,… 1580 …fy_members(struct_info, indent, new_prefix, array_index, create_func, destroy_func, destroy_array,… 1597 …fy_members(struct_info, indent, new_prefix, array_index, create_func, destroy_func, destroy_array,… 1629 destroy_func = True if destroy_ndo_code else False 1630 …t_code) = self.uniquify_members(cmd_info, indent, '', 0, create_func, destroy_func, destroy_array,… 1638 if (not destroy_func) or (destroy_array):
|
D | object_tracker_generator.py | 421 destroy_func = self.GenDestroyFunc() 425 self.otwrite('cpp', '%s' % destroy_func)
|
/external/vulkan-validation-layers/tests/ |
D | vktestbinding.cpp | 40 #define NON_DISPATCHABLE_HANDLE_DTOR(cls, destroy_func) \ argument 42 if (initialized()) destroy_func(device(), handle(), NULL); \
|