Home
last modified time | relevance | path

Searched refs:CensusContext (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/src/cpp/ext/filters/census/
Dcontext.h42 class CensusContext {
44 CensusContext() : span_(::opencensus::trace::Span::BlankSpan()) {} in CensusContext() function
46 explicit CensusContext(absl::string_view name) in CensusContext() function
49 CensusContext(absl::string_view name, const ::opencensus::trace::Span* parent) in CensusContext() function
52 CensusContext(absl::string_view name, in CensusContext() function
88 absl::string_view method, CensusContext* context);
94 void GenerateClientContext(absl::string_view method, CensusContext* ctxt,
95 CensusContext* parent_ctx);
Dcontext.cc30 absl::string_view method, CensusContext* context) { in GenerateServerContext()
34 new (context) CensusContext(method, parent_ctx); in GenerateServerContext()
37 void GenerateClientContext(absl::string_view method, CensusContext* ctxt, in GenerateClientContext()
38 CensusContext* parent_ctxt) { in GenerateClientContext()
43 new (ctxt) CensusContext(method, &span); in GenerateClientContext()
47 new (ctxt) CensusContext(method); in GenerateClientContext()
82 return reinterpret_cast<const CensusContext*>(ctxt)->Context(); in SpanContextFromCensusContext()
86 return reinterpret_cast<const CensusContext*>(ctxt)->Span(); in SpanFromCensusContext()
Dserver_filter.h71 CensusContext context_;
Dgrpc_plugin.cc58 return reinterpret_cast<const CensusContext*>(context->census_context()) in GetSpanFromServerContext()
Dclient_filter.h73 CensusContext context_;
Dclient_filter.cc87 (ctxt == nullptr) ? nullptr : reinterpret_cast<CensusContext*>(ctxt)); in StartTransportStreamOpBatch()