Home
last modified time | relevance | path

Searched refs:result_handler (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dresolver.h129 std::unique_ptr<ResultHandler> result_handler);
138 ResultHandler* result_handler() const { return result_handler_.get(); } in result_handler() function
Dresolver_registry.cc159 std::unique_ptr<Resolver::ResultHandler> result_handler) { in CreateResolver() argument
168 resolver_args.result_handler = std::move(result_handler); in CreateResolver()
Dresolver.cc33 std::unique_ptr<ResultHandler> result_handler) in Resolver() argument
38 result_handler_(std::move(result_handler)) {} in Resolver()
Dresolver_factory.h46 std::unique_ptr<Resolver::ResultHandler> result_handler; member
Dresolver_registry.h73 std::unique_ptr<Resolver::ResultHandler> result_handler);
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/native/
Ddns_resolver.cc102 : Resolver(std::move(args.work_serializer), std::move(args.result_handler)), in NativeDnsResolver()
189 result_handler()->ReturnResult(std::move(result)); in OnResolvedLocked()
199 result_handler()->ReturnError(grpc_error_set_int( in OnResolvedLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/fake/
Dfake_resolver.cc92 : Resolver(std::move(args.work_serializer), std::move(args.result_handler)), in FakeResolver()
143 result_handler()->ReturnError(grpc_error_set_int( in MaybeSendResultLocked()
158 result_handler()->ReturnResult(std::move(result)); in MaybeSendResultLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/sockaddr/
Dsockaddr_resolver.cc62 : Resolver(std::move(args.work_serializer), std::move(args.result_handler)), in SockaddrResolver()
76 result_handler()->ReturnResult(std::move(result)); in StartLocked()
/external/python/cpython2/Lib/multiprocessing/
Dpool.py492 worker_handler, task_handler, result_handler, cache): argument
502 assert result_handler.is_alive() or len(cache) == 0
504 result_handler._state = TERMINATE
525 if threading.current_thread() is not result_handler:
526 result_handler.join(1e100)
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Ddns_resolver_ares.cc129 : Resolver(std::move(args.work_serializer), std::move(args.result_handler)), in AresDnsResolver()
358 result_handler()->ReturnResult(std::move(result)); in OnResolvedLocked()
369 result_handler()->ReturnError(grpc_error_set_int( in OnResolvedLocked()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/xds/
Dxds_resolver.cc50 std::move(args.result_handler)), in XdsResolver()
573 result_handler()->ReturnError(error); in StartLocked()
665 result_handler()->ReturnResult(std::move(result)); in OnError()
679 result_handler()->ReturnResult(std::move(result)); in OnResourceDoesNotExist()
737 result_handler()->ReturnResult(std::move(result)); in GenerateResult()
/external/python/cpython3/Lib/multiprocessing/
Dpool.py679 worker_handler, task_handler, result_handler, cache): argument
694 if (not result_handler.is_alive()) and (len(cache) != 0):
698 result_handler._state = TERMINATE
720 if threading.current_thread() is not result_handler:
721 result_handler.join()