Home
last modified time | relevance | path

Searched refs:PortName (Results 1 – 25 of 28) sorted by relevance

12

/external/libchrome/mojo/core/ports/
Devent.h66 PortName peer_port_name; in COMPONENT_EXPORT()
68 PortName referring_port_name; in COMPONENT_EXPORT()
86 const PortName& port_name() const { return port_name_; } in COMPONENT_EXPORT()
87 void set_port_name(const PortName& port_name) { port_name_ = port_name; } in COMPONENT_EXPORT()
94 Event(Type type, const PortName& port_name); in COMPONENT_EXPORT()
101 PortName port_name_; in COMPONENT_EXPORT()
136 PortName* ports() { return ports_.data(); } in COMPONENT_EXPORT()
138 static ScopedEvent Deserialize(const PortName& port_name, in COMPONENT_EXPORT()
145 UserMessageEvent(const PortName& port_name, uint64_t sequence_num); in COMPONENT_EXPORT()
152 std::vector<PortName> ports_; in COMPONENT_EXPORT()
[all …]
Devent.cc26 PortName port_name;
37 PortName proxy_port_name;
39 PortName proxy_target_port_name;
51 PortName new_port_name;
92 const PortName& port_name = header->port_name; in Deserialize()
115 Event::Event(Type type, const PortName& port_name) in Event()
157 ScopedEvent UserMessageEvent::Deserialize(const PortName& port_name, in Deserialize()
165 port_data_size *= sizeof(PortDescriptor) + sizeof(PortName); in Deserialize()
183 reinterpret_cast<const PortName*>(in_descriptors + data->num_ports); in Deserialize()
188 UserMessageEvent::UserMessageEvent(const PortName& port_name, in UserMessageEvent()
[all …]
Dnode.h92 int GetPort(const PortName& port_name, PortRef* port_ref); in COMPONENT_EXPORT()
103 const PortName& peer_port_name); in COMPONENT_EXPORT()
158 const PortName& destination_port_name); in COMPONENT_EXPORT()
203 int AddPortWithName(const PortName& port_name, scoped_refptr<Port> port); in COMPONENT_EXPORT()
204 void ErasePort(const PortName& port_name); in COMPONENT_EXPORT()
213 PortName* port_name, in COMPONENT_EXPORT()
215 int AcceptPort(const PortName& port_name, in COMPONENT_EXPORT()
228 const PortName& port_name); in COMPONENT_EXPORT()
241 std::unordered_map<PortName, scoped_refptr<Port>> ports_; in COMPONENT_EXPORT()
Dname.h40 struct COMPONENT_EXPORT(MOJO_CORE_PORTS) PortName : Name { in COMPONENT_EXPORT()
41 PortName() : Name(0, 0) {} in COMPONENT_EXPORT()
42 PortName(uint64_t v1, uint64_t v2) : Name(v1, v2) {} in COMPONENT_EXPORT()
45 extern COMPONENT_EXPORT(MOJO_CORE_PORTS) const PortName kInvalidPortName;
61 struct COMPONENT_EXPORT(MOJO_CORE_PORTS) hash<mojo::core::ports::PortName> { in COMPONENT_EXPORT()
62 std::size_t operator()(const mojo::core::ports::PortName& name) const { in COMPONENT_EXPORT()
Dname_unittest.cc15 PortName default_port_name; in TEST()
23 PortName port_name_a(50, 100); in TEST()
24 PortName port_name_b(50, 100); in TEST()
25 PortName port_name_c(100, 50); in TEST()
36 std::hash<PortName> port_hash_fn; in TEST()
Dport_ref.h24 PortRef(const PortName& name, scoped_refptr<Port> port); in COMPONENT_EXPORT()
32 const PortName& name() const { return name_; } in COMPONENT_EXPORT()
41 PortName name_; in COMPONENT_EXPORT()
Dnode.cc51 PortName GenerateRandomPortName() { in GenerateRandomPortName()
55 base::RandBytes(cache_, sizeof(PortName) * kRandomNameCacheSize); in GenerateRandomPortName()
57 crypto::RandBytes(cache_, sizeof(PortName) * kRandomNameCacheSize); in GenerateRandomPortName()
66 PortName cache_[kRandomNameCacheSize];
95 void GenerateRandomPortName(PortName* name) { in GenerateRandomPortName()
150 int Node::GetPort(const PortName& port_name, PortRef* port_ref) { in GetPort()
167 PortName port_name; in CreateUninitializedPort()
181 const PortName& peer_port_name) { in InitializePort()
247 PortName peer_port_name; in ClosePort()
399 const PortName& destination_port_name) { in MergePorts()
[all …]
Dname.cc11 const PortName kInvalidPortName = {0, 0};
Dport_ref.cc17 PortRef::PortRef(const PortName& name, scoped_refptr<Port> port) in PortRef()
Dport.h107 PortName peer_port_name;
/external/libchrome/mojo/core/
Dnode_channel.h53 const ports::PortName& connector_port_name,
74 const ports::PortName& port_name) = 0;
119 const ports::PortName& port_name);
126 void RequestPortMerge(const ports::PortName& connector_port_name,
Dplatform_handle_dispatcher.h32 ports::PortName* ports,
41 const ports::PortName* ports,
Dplatform_handle_dispatcher.cc44 ports::PortName* ports, in EndSerialize()
76 const ports::PortName* ports, in Deserialize()
Dmessage_pipe_dispatcher.h68 ports::PortName* ports,
76 const ports::PortName* ports,
Dshared_buffer_dispatcher.h60 const ports::PortName* ports,
89 ports::PortName* ports,
Ddata_pipe_consumer_dispatcher.h59 ports::PortName* ports,
68 const ports::PortName* ports,
Ddata_pipe_producer_dispatcher.h58 ports::PortName* ports,
67 const ports::PortName* ports,
Ddispatcher.h189 ports::PortName* ports,
210 const ports::PortName* ports,
Ddispatcher.cc143 ports::PortName* ports, in EndSerialize()
162 const ports::PortName* ports, in Deserialize()
Dnode_channel.cc67 ports::PortName port_name;
100 ports::PortName connector_port_name;
272 const ports::PortName& port_name) { in AcceptPeer()
329 void NodeChannel::RequestPortMerge(const ports::PortName& connector_port_name, in RequestPortMerge()
Dnode_controller.h207 const ports::PortName& connector_port_name,
228 const ports::PortName& port_name) override;
Dmessage_pipe_dispatcher.cc277 ports::PortName* ports, in EndSerialize()
316 const ports::PortName* ports, in Deserialize()
Dshared_buffer_dispatcher.cc123 const ports::PortName* ports, in Deserialize()
325 ports::PortName* ports, in EndSerialize()
Ddata_pipe_producer_dispatcher.cc260 ports::PortName* ports, in EndSerialize()
324 const ports::PortName* ports, in Deserialize()
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/
Dlist_ports_windows.py128 PortName = serial.to_bytes([80, 111, 114, 116, 78, 97, 109, 101]) # "PortName" variable
166 PortName,

12