Home
last modified time | relevance | path

Searched refs:context_allocator (Results 1 – 7 of 7) sorted by relevance

/third_party/grpc/include/grpcpp/
Dserver.h206 ContextAllocator* context_allocator() { return context_allocator_.get(); } in context_allocator() function
247 std::unique_ptr<ContextAllocator> context_allocator) { in RegisterContextAllocator() argument
248 context_allocator_ = std::move(context_allocator); in RegisterContextAllocator()
266 std::unique_ptr<ContextAllocator> context_allocator) override { in RegisterContextAllocator() argument
267 server_->context_allocator_ = std::move(context_allocator); in RegisterContextAllocator()
Dserver_builder.h275 std::unique_ptr<grpc::ContextAllocator> context_allocator);
/third_party/grpc/include/grpcpp/impl/codegen/
Dserver_callback_handlers.h213 if (ctx_->context_allocator() != nullptr) { in CallOnDone()
214 ctx_->context_allocator()->Release(ctx_); in CallOnDone()
408 if (ctx_->context_allocator() != nullptr) { in CallOnDone()
409 ctx_->context_allocator()->Release(ctx_); in CallOnDone()
637 if (ctx_->context_allocator() != nullptr) { in CallOnDone()
638 ctx_->context_allocator()->Release(ctx_); in CallOnDone()
851 if (ctx_->context_allocator() != nullptr) { in CallOnDone()
852 ctx_->context_allocator()->Release(ctx_); in CallOnDone()
Dserver_context.h344 void set_context_allocator(ContextAllocator* context_allocator) { in set_context_allocator() argument
345 context_allocator_ = context_allocator; in set_context_allocator()
348 ContextAllocator* context_allocator() const { return context_allocator_; } in context_allocator() function
601 using ServerContextBase::context_allocator;
Dserver_interface.h151 std::unique_ptr<ContextAllocator> context_allocator) {} in RegisterContextAllocator() argument
/third_party/grpc/src/cpp/server/
Dserver_cc.cc556 ctx_(server_->context_allocator() != nullptr in CallbackRequest()
557 ? server_->context_allocator()->NewCallbackServerContext() in CallbackRequest()
574 ctx_(server_->context_allocator() != nullptr in CallbackRequest()
575 ? server_->context_allocator() in CallbackRequest()
589 if (server_->context_allocator() == nullptr || ctx_alloc_by_default_) { in ~CallbackRequest()
713 ctx_->set_context_allocator(server->context_allocator()); in CommonSetup()
Dserver_builder.cc134 std::unique_ptr<grpc::ContextAllocator> context_allocator) { in SetContextAllocator() argument
135 builder_->context_allocator_ = std::move(context_allocator); in SetContextAllocator()