Home
last modified time | relevance | path

Searched refs:original_state (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dcall_combiner.cc148 gpr_atm original_state = gpr_atm_acq_load(&call_combiner->cancel_state); in grpc_call_combiner_set_notify_on_cancel() local
149 grpc_error* original_error = decode_cancel_state_error(original_state); in grpc_call_combiner_set_notify_on_cancel()
162 if (gpr_atm_full_cas(&call_combiner->cancel_state, original_state, in grpc_call_combiner_set_notify_on_cancel()
171 if (original_state != 0) { in grpc_call_combiner_set_notify_on_cancel()
172 closure = (grpc_closure*)original_state; in grpc_call_combiner_set_notify_on_cancel()
191 gpr_atm original_state = gpr_atm_acq_load(&call_combiner->cancel_state); in grpc_call_combiner_cancel() local
192 grpc_error* original_error = decode_cancel_state_error(original_state); in grpc_call_combiner_cancel()
197 if (gpr_atm_full_cas(&call_combiner->cancel_state, original_state, in grpc_call_combiner_cancel()
199 if (original_state != 0) { in grpc_call_combiner_cancel()
200 grpc_closure* notify_on_cancel = (grpc_closure*)original_state; in grpc_call_combiner_cancel()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dcall_combiner.cc193 gpr_atm original_state = gpr_atm_acq_load(&cancel_state_); in SetNotifyOnCancel() local
194 grpc_error* original_error = DecodeCancelStateError(original_state); in SetNotifyOnCancel()
207 if (gpr_atm_full_cas(&cancel_state_, original_state, in SetNotifyOnCancel()
216 if (original_state != 0) { in SetNotifyOnCancel()
217 closure = reinterpret_cast<grpc_closure*>(original_state); in SetNotifyOnCancel()
235 gpr_atm original_state = gpr_atm_acq_load(&cancel_state_); in Cancel() local
236 grpc_error* original_error = DecodeCancelStateError(original_state); in Cancel()
241 if (gpr_atm_full_cas(&cancel_state_, original_state, in Cancel()
243 if (original_state != 0) { in Cancel()
245 reinterpret_cast<grpc_closure*>(original_state); in Cancel()