Searched refs:CensusContext (Results 1 – 6 of 6) sorted by relevance
/external/grpc-grpc/src/cpp/ext/filters/census/ |
D | context.h | 42 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);
|
D | context.cc | 30 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()
|
D | server_filter.h | 71 CensusContext context_;
|
D | grpc_plugin.cc | 58 return reinterpret_cast<const CensusContext*>(context->census_context()) in GetSpanFromServerContext()
|
D | client_filter.h | 73 CensusContext context_;
|
D | client_filter.cc | 87 (ctxt == nullptr) ? nullptr : reinterpret_cast<CensusContext*>(ctxt)); in StartTransportStreamOpBatch()
|