Home
last modified time | relevance | path

Searched refs:BaseNode (Results 1 – 21 of 21) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannelz_registry.cc58 void ChannelzRegistry::InternalRegister(BaseNode* node) { in InternalRegister()
71 RefCountedPtr<BaseNode> ChannelzRegistry::InternalGet(intptr_t uuid) { in InternalGet()
80 BaseNode* node = it->second; in InternalGet()
86 absl::InlinedVector<RefCountedPtr<BaseNode>, 10> top_level_channels; in InternalGetTopChannels()
87 RefCountedPtr<BaseNode> node_after_pagination_limit; in InternalGetTopChannels()
92 BaseNode* node = it->second; in InternalGetTopChannels()
93 RefCountedPtr<BaseNode> node_ref; in InternalGetTopChannels()
94 if (node->type() == BaseNode::EntityType::kTopLevelChannel && in InternalGetTopChannels()
125 absl::InlinedVector<RefCountedPtr<BaseNode>, 10> servers; in InternalGetServers()
126 RefCountedPtr<BaseNode> node_after_pagination_limit; in InternalGetServers()
[all …]
Dchannelz_registry.h46 static void Register(BaseNode* node) { in Register()
50 static RefCountedPtr<BaseNode> Get(intptr_t uuid) { in Get()
75 void InternalRegister(BaseNode* node);
83 RefCountedPtr<BaseNode> InternalGet(intptr_t uuid);
92 std::map<intptr_t, BaseNode*> node_map_;
Dchannelz.h72 class BaseNode : public RefCounted<BaseNode> {
86 BaseNode(EntityType type, std::string name);
89 ~BaseNode() override;
173 class ChannelNode : public BaseNode {
190 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
230 class ServerNode : public BaseNode {
255 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
272 class SocketNode : public BaseNode {
311 class ListenSocketNode : public BaseNode {
Dchannel_trace.h37 class BaseNode; variable
76 RefCountedPtr<BaseNode> referenced_entity);
91 RefCountedPtr<BaseNode> referenced_entity_);
115 RefCountedPtr<BaseNode> referenced_entity_;
Dchannel_trace.cc45 RefCountedPtr<BaseNode> referenced_entity) in TraceEvent()
122 RefCountedPtr<BaseNode> referenced_entity) { in AddTraceEventWithReference()
159 (referenced_entity_->type() == BaseNode::EntityType::kTopLevelChannel || in RenderTraceEvent()
160 referenced_entity_->type() == BaseNode::EntityType::kInternalChannel); in RenderTraceEvent()
Dchannelz.cc57 BaseNode::BaseNode(EntityType type, std::string name) in BaseNode() function in grpc_core::channelz::BaseNode
63 BaseNode::~BaseNode() { ChannelzRegistry::Unregister(uuid_); } in ~BaseNode()
65 std::string BaseNode::RenderJsonString() { in RenderJsonString()
143 : BaseNode(is_internal_channel ? EntityType::kInternalChannel in ChannelNode()
254 : BaseNode(EntityType::kServer, ""), trace_(channel_tracer_max_nodes) {} in ServerNode()
380 : BaseNode(EntityType::kSocket, std::move(name)), in SocketNode()
480 : BaseNode(EntityType::kSocket, std::move(name)), in ListenSocketNode()
/external/grpc-grpc/test/core/channel/
Dchannelz_registry_test.cc47 BaseNode* channelz_channel = nullptr; in TEST()
57 BaseNode* channelz_channel = nullptr; in TEST()
71 BaseNode* channelz_channel = (BaseNode*)42; in TEST()
73 BaseNode* retrieved = ChannelzRegistry::Get(uuid); in TEST()
79 BaseNode* channelz_channel = (BaseNode*)42; in TEST()
82 BaseNode* retrieved = ChannelzRegistry::Get(uuid); in TEST()
89 BaseNode* channelz_channel = (BaseNode*)42; in TEST()
92 BaseNode* nonexistant = ChannelzRegistry::Get(uuid + 1); in TEST()
94 BaseNode* retrieved = ChannelzRegistry::Get(uuid); in TEST()
/external/grpc-grpc/src/core/lib/channel/
Dchannelz.h51 class BaseNode : public RefCounted<BaseNode> {
64 explicit BaseNode(EntityType type);
65 virtual ~BaseNode();
115 class ChannelNode : public BaseNode {
155 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
173 class ServerNode : public BaseNode {
186 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
201 class SocketNode : public BaseNode {
203 SocketNode() : BaseNode(EntityType::kSocket) {} in SocketNode()
Dchannelz_registry.cc56 intptr_t ChannelzRegistry::InternalRegister(BaseNode* node) { in InternalRegister()
70 BaseNode* ChannelzRegistry::InternalGet(intptr_t uuid) { in InternalGet()
82 InlinedVector<BaseNode*, 10> top_level_channels; in InternalGetTopChannels()
91 grpc_core::channelz::BaseNode::EntityType::kTopLevelChannel) { in InternalGetTopChannels()
119 InlinedVector<BaseNode*, 10> servers; in InternalGetServers()
127 grpc_core::channelz::BaseNode::EntityType::kServer) { in InternalGetServers()
164 grpc_core::channelz::BaseNode* channel_node = in grpc_channelz_get_channel()
168 grpc_core::channelz::BaseNode::EntityType::kTopLevelChannel && in grpc_channelz_get_channel()
170 grpc_core::channelz::BaseNode::EntityType::kInternalChannel)) { in grpc_channelz_get_channel()
184 grpc_core::channelz::BaseNode* subchannel_node = in grpc_channelz_get_subchannel()
[all …]
Dchannelz_registry.h43 static intptr_t Register(BaseNode* node) { in Register()
47 static BaseNode* Get(intptr_t uuid) { return Default()->InternalGet(uuid); } in Get()
72 intptr_t InternalRegister(BaseNode* node);
80 BaseNode* InternalGet(intptr_t uuid);
87 InlinedVector<BaseNode*, 20> entities_;
Dchannelz.cc44 BaseNode::BaseNode(EntityType type) in BaseNode() function in grpc_core::channelz::BaseNode
47 BaseNode::~BaseNode() { ChannelzRegistry::Unregister(uuid_); } in ~BaseNode()
49 char* BaseNode::RenderJsonString() { in RenderJsonString()
93 : BaseNode(is_top_level_channel ? EntityType::kTopLevelChannel in ChannelNode()
151 : BaseNode(EntityType::kServer), trace_(channel_tracer_max_nodes) {} in ServerNode()
Dchannel_trace.h33 class BaseNode; variable
66 RefCountedPtr<BaseNode> referenced_entity);
79 RefCountedPtr<BaseNode> referenced_entity_);
101 RefCountedPtr<BaseNode> referenced_entity_;
Dchannel_trace.cc45 RefCountedPtr<BaseNode> referenced_entity) in TraceEvent()
113 RefCountedPtr<BaseNode> referenced_entity) { in AddTraceEventWithReference()
150 (referenced_entity_->type() == BaseNode::EntityType::kTopLevelChannel || in RenderTraceEvent()
151 referenced_entity_->type() == BaseNode::EntityType::kInternalChannel); in RenderTraceEvent()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DVerifier.h62 MDNode *getFieldNodeFromTBAABaseNode(Instruction &I, const MDNode *BaseNode,
65 const MDNode *BaseNode,
68 const MDNode *BaseNode,
/external/llvm-project/llvm/include/llvm/IR/
DVerifier.h62 MDNode *getFieldNodeFromTBAABaseNode(Instruction &I, const MDNode *BaseNode,
65 const MDNode *BaseNode,
68 const MDNode *BaseNode,
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dclient_channel_channelz.h34 class SubchannelNode : public BaseNode {
55 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
Dclient_channel_channelz.cc35 : BaseNode(EntityType::kSubchannel, target_address), in SubchannelNode()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dclient_channel_channelz.h67 class SubchannelNode : public BaseNode {
85 RefCountedPtr<BaseNode> referenced_channel) { in AddTraceEventWithReference()
Dclient_channel_channelz.cc117 : BaseNode(EntityType::kSubchannel), in SubchannelNode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DVerifier.cpp5191 TBAAVerifier::verifyTBAABaseNode(Instruction &I, const MDNode *BaseNode, in verifyTBAABaseNode() argument
5193 if (BaseNode->getNumOperands() < 2) { in verifyTBAABaseNode()
5194 CheckFailed("Base nodes must have at least two operands", &I, BaseNode); in verifyTBAABaseNode()
5198 auto Itr = TBAABaseNodes.find(BaseNode); in verifyTBAABaseNode()
5202 auto Result = verifyTBAABaseNodeImpl(I, BaseNode, IsNewFormat); in verifyTBAABaseNode()
5203 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode()
5210 TBAAVerifier::verifyTBAABaseNodeImpl(Instruction &I, const MDNode *BaseNode, in verifyTBAABaseNodeImpl() argument
5214 if (BaseNode->getNumOperands() == 2) { in verifyTBAABaseNodeImpl()
5216 return isValidScalarTBAANode(BaseNode) in verifyTBAABaseNodeImpl()
5222 if (BaseNode->getNumOperands() % 3 != 0) { in verifyTBAABaseNodeImpl()
[all …]
/external/llvm-project/llvm/lib/IR/
DVerifier.cpp5611 TBAAVerifier::verifyTBAABaseNode(Instruction &I, const MDNode *BaseNode, in verifyTBAABaseNode() argument
5613 if (BaseNode->getNumOperands() < 2) { in verifyTBAABaseNode()
5614 CheckFailed("Base nodes must have at least two operands", &I, BaseNode); in verifyTBAABaseNode()
5618 auto Itr = TBAABaseNodes.find(BaseNode); in verifyTBAABaseNode()
5622 auto Result = verifyTBAABaseNodeImpl(I, BaseNode, IsNewFormat); in verifyTBAABaseNode()
5623 auto InsertResult = TBAABaseNodes.insert({BaseNode, Result}); in verifyTBAABaseNode()
5630 TBAAVerifier::verifyTBAABaseNodeImpl(Instruction &I, const MDNode *BaseNode, in verifyTBAABaseNodeImpl() argument
5634 if (BaseNode->getNumOperands() == 2) { in verifyTBAABaseNodeImpl()
5636 return isValidScalarTBAANode(BaseNode) in verifyTBAABaseNodeImpl()
5642 if (BaseNode->getNumOperands() % 3 != 0) { in verifyTBAABaseNodeImpl()
[all …]