Home
last modified time | relevance | path

Searched refs:destroy_func (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc458 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()
Dmetadata.h131 void* grpc_mdelem_set_user_data(grpc_mdelem md, void (*destroy_func)(void*),
/external/vulkan-validation-layers/scripts/
Dlayer_chassis_dispatch_generator.py1488 …def outputNDOs(self, ndo_type, ndo_name, ndo_count, prefix, index, indent, destroy_func, destroy_a… argument
1516 if (destroy_func == False) or (destroy_array == True):
1533 …def uniquify_members(self, members, indent, prefix, array_index, create_func, destroy_func, destro… argument
1550 …tputNDOs(member.type, member.name, count_name, prefix, index, indent, destroy_func, destroy_array,…
1582 …_members(struct_info, indent, local_prefix, array_index, create_func, destroy_func, destroy_array,…
1606 …fy_members(struct_info, indent, new_prefix, array_index, create_func, destroy_func, destroy_array,…
1623 …fy_members(struct_info, indent, new_prefix, array_index, create_func, destroy_func, destroy_array,…
1655 destroy_func = True if destroy_ndo_code else False
1656 …t_code) = self.uniquify_members(cmd_info, indent, '', 0, create_func, destroy_func, destroy_array,…
1664 if (not destroy_func) or (destroy_array):
Dobject_tracker_generator.py412 destroy_func = self.GenDestroyFunc()
416 self.otwrite('cpp', '%s' % destroy_func)
/external/vulkan-validation-layers/tests/
Dvktestbinding.cpp40 #define NON_DISPATCHABLE_HANDLE_DTOR(cls, destroy_func) \ argument
42 if (initialized()) destroy_func(device(), handle(), NULL); \