Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 758) sorted by relevance

12345678910>>...31

/external/libchrome/mojo/core/
Dnode_controller.h47 class MOJO_SYSTEM_IMPL_EXPORT NodeController : public ports::NodeDelegate,
50 class PortObserver : public ports::UserData {
62 const ports::NodeName& name() const { return name_; } in name()
64 ports::Node* node() const { return node_.get(); } in node()
83 const std::vector<std::pair<std::string, ports::PortRef>>& attached_ports,
92 const ports::PortRef& port,
97 void SetPortObserver(const ports::PortRef& port,
102 void ClosePort(const ports::PortRef& port);
105 int SendUserMessage(const ports::PortRef& port_ref,
106 std::unique_ptr<ports::UserMessageEvent> message);
[all …]
Dnode_channel.h35 virtual void OnAcceptInvitee(const ports::NodeName& from_node,
36 const ports::NodeName& inviter_name,
37 const ports::NodeName& token) = 0;
38 virtual void OnAcceptInvitation(const ports::NodeName& from_node,
39 const ports::NodeName& token,
40 const ports::NodeName& invitee_name) = 0;
41 virtual void OnAddBrokerClient(const ports::NodeName& from_node,
42 const ports::NodeName& client_name,
44 virtual void OnBrokerClientAdded(const ports::NodeName& from_node,
45 const ports::NodeName& client_name,
[all …]
Dmessage_pipe_dispatcher.cc63 class PeekSizeMessageFilter : public ports::MessageFilter {
69 bool Match(const ports::UserMessageEvent& message_event) override { in Match()
87 const ports::PortRef& port, in MessagePipeDispatcher()
106 ports::PortRef port0; in Fuse()
114 ports::PortRef port1; in Fuse()
124 return rv == ports::OK; in Fuse()
139 std::unique_ptr<ports::UserMessageEvent> message) { in WriteMessage()
148 if (rv != ports::OK) { in WriteMessage()
149 if (rv == ports::ERROR_PORT_UNKNOWN || in WriteMessage()
150 rv == ports::ERROR_PORT_STATE_UNEXPECTED || in WriteMessage()
[all …]
Dnode_controller.cc60 ports::NodeName GetRandomNodeName() { in GetRandomNodeName()
61 ports::NodeName name; in GetRandomNodeName()
66 Channel::MessagePtr SerializeEventMessage(ports::ScopedEvent event) { in SerializeEventMessage()
67 if (event->type() == ports::Event::Type::kUserMessage) { in SerializeEventMessage()
70 ports::Event::Cast<ports::UserMessageEvent>(&event)); in SerializeEventMessage()
80 ports::ScopedEvent DeserializeEventMessage( in DeserializeEventMessage()
81 const ports::NodeName& from_node, in DeserializeEventMessage()
86 auto event = ports::Event::Deserialize(data, size); in DeserializeEventMessage()
90 if (event->type() != ports::Event::Type::kUserMessage) in DeserializeEventMessage()
100 auto message_event = ports::Event::Cast<ports::UserMessageEvent>(&event); in DeserializeEventMessage()
[all …]
Duser_message_impl.h33 class MOJO_SYSTEM_IMPL_EXPORT UserMessageImpl : public ports::UserMessage {
52 static std::unique_ptr<ports::UserMessageEvent> CreateEventForNewMessage();
64 std::unique_ptr<ports::UserMessageEvent>* out_event);
71 ports::UserMessageEvent* message_event,
81 std::unique_ptr<ports::UserMessageEvent> event);
117 void set_source_node(const ports::NodeName& name) { source_node_ = name; } in set_source_node()
118 const ports::NodeName& source_node() const { return source_node_; } in source_node()
157 UserMessageImpl(ports::UserMessageEvent* message_event);
163 UserMessageImpl(ports::UserMessageEvent* message_event,
175 ports::UserMessageEvent* const message_event_;
[all …]
Ddispatcher.cc43 std::unique_ptr<ports::UserMessageEvent> message) { in WriteMessage()
48 std::unique_ptr<ports::UserMessageEvent>* message) { in ReadMessage()
100 ports::PortRef remote_peer_port) { in AttachMessagePipe()
143 ports::PortName* ports, in EndSerialize() argument
162 const ports::PortName* ports, in Deserialize() argument
168 return MessagePipeDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()
172 return SharedBufferDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()
177 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize()
181 bytes, num_bytes, ports, num_ports, platform_handles, in Deserialize()
184 return PlatformHandleDispatcher::Deserialize(bytes, num_bytes, ports, in Deserialize()
Dnode_channel.cc55 ports::NodeName inviter_name;
56 ports::NodeName token;
60 ports::NodeName token;
61 ports::NodeName invitee_name;
65 ports::NodeName token;
66 ports::NodeName peer_name;
67 ports::PortName port_name;
72 ports::NodeName client_name;
88 ports::NodeName client_name;
94 ports::NodeName broker_name;
[all …]
Dmessage_pipe_dispatcher.h39 const ports::PortRef& port,
52 std::unique_ptr<ports::UserMessageEvent> message) override;
54 std::unique_ptr<ports::UserMessageEvent>* message) override;
68 ports::PortName* ports,
76 const ports::PortName* ports,
93 const ports::PortRef port_;
Ddata_pipe_producer_dispatcher.h36 const ports::PortRef& control_port,
58 ports::PortName* ports,
67 const ports::PortName* ports,
77 const ports::PortRef& port,
92 const ports::PortRef control_port_;
Ddata_pipe_consumer_dispatcher.h36 const ports::PortRef& control_port,
59 ports::PortName* ports,
68 const ports::PortName* ports,
78 const ports::PortRef& control_port,
93 const ports::PortRef control_port_;
Ddispatcher.h35 namespace ports {
89 std::unique_ptr<ports::UserMessageEvent> message);
92 std::unique_ptr<ports::UserMessageEvent>* message);
133 ports::PortRef remote_peer_port);
189 ports::PortName* ports,
210 const ports::PortName* ports,
/external/adhd/cras/src/server/
Dcras_dsp_mod_builtin.c81 float **ports; in swap_lr_connect_port() local
82 ports = (float **)module->data; in swap_lr_connect_port()
83 ports[port] = data_location; in swap_lr_connect_port()
89 float **ports = (float **)module->data; in swap_lr_run() local
95 float temp = ports[0][i]; in swap_lr_run()
96 ports[2][i] = ports[1][i]; in swap_lr_run()
97 ports[3][i] = temp; in swap_lr_run()
130 float **ports; in invert_lr_connect_port() local
131 ports = (float **)module->data; in invert_lr_connect_port()
132 ports[port] = data_location; in invert_lr_connect_port()
[all …]
/external/grpc-grpc/test/cpp/end2end/
Dclient_lb_end2end_test.cc135 std::vector<int> ports = std::vector<int>()) { in CreateServers() argument
139 if (ports.size() == num_servers) port = ports[i]; in CreateServers()
147 std::vector<int> ports = std::vector<int>()) { in StartServers() argument
148 CreateServers(num_servers, ports); in StartServers()
154 grpc_channel_args* BuildFakeResults(const std::vector<int>& ports) { in BuildFakeResults() argument
156 grpc_lb_addresses_create(ports.size(), nullptr); in BuildFakeResults()
157 for (size_t i = 0; i < ports.size(); ++i) { in BuildFakeResults()
159 gpr_asprintf(&lb_uri_str, "ipv4:127.0.0.1:%d", ports[i]); in BuildFakeResults()
176 void SetNextResolution(const std::vector<int>& ports) { in SetNextResolution() argument
178 grpc_channel_args* fake_results = BuildFakeResults(ports); in SetNextResolution()
[all …]
/external/skqp/
Dpublic.bzl222 "src/device/xps/*", # Windows-only. Move to ports?
223 "src/doc/*_XPS.cpp", # Windows-only. Move to ports?
232 "src/ports/**/*",
285 "src/ports/**/*.cpp",
286 "src/ports/**/*.h",
289 "src/ports/*CG*",
290 "src/ports/*WIC*",
291 "src/ports/*android*",
292 "src/ports/*chromium*",
293 "src/ports/*mac*",
[all …]
/external/skia/
Dpublic.bzl222 "src/device/xps/*", # Windows-only. Move to ports?
223 "src/doc/*_XPS.cpp", # Windows-only. Move to ports?
232 "src/ports/**/*",
287 "src/ports/**/*.cpp",
288 "src/ports/**/*.h",
291 "src/ports/*CG*",
292 "src/ports/*WIC*",
293 "src/ports/*android*",
294 "src/ports/*chromium*",
295 "src/ports/*mac*",
[all …]
/external/adhd/cras/src/tests/
Ddsp_ini_unittest.cc71 EXPECT_EQ(0, ARRAY_COUNT(&plugin->ports)); in TEST_F()
106 EXPECT_EQ(1, ARRAY_COUNT(&plugin->ports)); in TEST_F()
107 struct port* port = ARRAY_ELEMENT(&plugin->ports, 0); in TEST_F()
133 EXPECT_EQ(2, ARRAY_COUNT(&foo->ports)); in TEST_F()
134 EXPECT_EQ(2, ARRAY_COUNT(&bar->ports)); in TEST_F()
136 struct port* foo0 = ARRAY_ELEMENT(&foo->ports, 0); in TEST_F()
137 struct port* foo1 = ARRAY_ELEMENT(&foo->ports, 1); in TEST_F()
145 struct port* bar0 = ARRAY_ELEMENT(&bar->ports, 0); in TEST_F()
146 struct port* bar1 = ARRAY_ELEMENT(&bar->ports, 1); in TEST_F()
223 EXPECT_EQ(2, ARRAY_COUNT(&m0->ports)); in TEST_F()
[all …]
/external/selinux/libsemanage/src/
Dports_local.c79 semanage_port_t **ports = NULL; in hidden_def() local
84 if (semanage_port_list_local(handle, &ports, &nports) < 0) in hidden_def()
86 qsort(ports, nports, sizeof(semanage_port_t *), in hidden_def()
93 int proto = semanage_port_get_proto(ports[i]); in hidden_def()
94 int low = semanage_port_get_low(ports[i]); in hidden_def()
95 int high = semanage_port_get_high(ports[i]); in hidden_def()
107 proto2 = semanage_port_get_proto(ports[j]); in hidden_def()
108 low2 = semanage_port_get_low(ports[j]); in hidden_def()
109 high2 = semanage_port_get_high(ports[j]); in hidden_def()
132 semanage_port_free(ports[i]); in hidden_def()
[all …]
/external/iptables/extensions/
Dlibxt_multiport.man1 This module matches a set of source or destination ports. Up to 15
2 ports can be specified. A port range (port:port) counts as two
3 ports. It can only be used in conjunction with one of the
7 [\fB!\fP] \fB\-\-source\-ports\fP,\fB\-\-sports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\f…
8 Match if the source port is one of the given ports. The flag
10 is a convenient alias for this option. Multiple ports or port ranges are
12 \fB53,1024:65535\fP would therefore match ports 53 and all from 1024 through
15 [\fB!\fP] \fB\-\-destination\-ports\fP,\fB\-\-dports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport…
16 Match if the destination port is one of the given ports. The flag
20 [\fB!\fP] \fB\-\-ports\fP \fIport\fP[\fB,\fP\fIport\fP|\fB,\fP\fIport\fP\fB:\fP\fIport\fP]...
[all …]
Dlibxt_multiport.t6 -p udp -m multiport --ports 53,1024:65535;=;OK
7 -p udp -m multiport --ports 53,1024:65535;=;OK
16 -p tcp -m multiport --ports 1024:65536;;FAIL
17 -p udp -m multiport --ports 1024:65536;;FAIL
18 -p tcp -m multiport --ports 1,2,3,4,6,7,8,9,10,11,12,13,14,15;=;OK
19 # fix manpage, it says "up to 15 ports supported"
20 # ERROR: should fail: iptables -A INPUT -p tcp -m multiport --ports 1,2,3,4,6,7,8,9,10,11,12,13,14,…
21 # -p tcp -m multiport --ports 1,2,3,4,6,7,8,9,10,11,12,13,14,15,16;;FAIL
Dlibebt_ip6.c91 parse_port_range(const char *protocol, const char *portstring, uint16_t *ports) in parse_port_range() argument
98 ports[0] = ports[1] = xtables_parse_port(buffer, NULL); in parse_port_range()
103 ports[0] = buffer[0] ? xtables_parse_port(buffer, NULL) : 0; in parse_port_range()
104 ports[1] = cp[0] ? xtables_parse_port(cp, NULL) : 0xFFFF; in parse_port_range()
106 if (ports[0] > ports[1]) in parse_port_range()
183 static void print_port_range(uint16_t *ports) in print_port_range() argument
185 if (ports[0] == ports[1]) in print_port_range()
186 printf("%d ", ports[0]); in print_port_range()
188 printf("%d:%d ", ports[0], ports[1]); in print_port_range()
458 const uint16_t *ports; in brip_xlate_th() local
[all …]
Dlibebt_ip.c173 parse_port_range(const char *protocol, const char *portstring, uint16_t *ports) in parse_port_range() argument
180 ports[0] = ports[1] = xtables_parse_port(buffer, NULL); in parse_port_range()
185 ports[0] = buffer[0] ? xtables_parse_port(buffer, NULL) : 0; in parse_port_range()
186 ports[1] = cp[0] ? xtables_parse_port(cp, NULL) : 0xFFFF; in parse_port_range()
188 if (ports[0] > ports[1]) in parse_port_range()
460 static void print_port_range(uint16_t *ports) in print_port_range() argument
462 if (ports[0] == ports[1]) in print_port_range()
463 printf("%d ", ports[0]); in print_port_range()
465 printf("%d:%d ", ports[0], ports[1]); in print_port_range()
605 const uint16_t *ports; in brip_xlate_th() local
[all …]
/external/pdfium/skia/
DBUILD.gn181 "//third_party/skia/src/ports/SkFontHost_FreeType.cpp",
182 "//third_party/skia/src/ports/SkFontHost_FreeType_common.cpp",
183 "//third_party/skia/src/ports/SkFontHost_win.cpp",
184 "//third_party/skia/src/ports/SkFontMgr_android.cpp",
185 "//third_party/skia/src/ports/SkFontMgr_android_factory.cpp",
186 "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp",
187 "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp",
188 "//third_party/skia/src/ports/SkImageGenerator_none.cpp",
189 "//third_party/skia/src/ports/SkOSFile_posix.cpp",
190 "//third_party/skia/src/ports/SkOSFile_stdio.cpp",
[all …]
/external/apache-http/src/org/apache/http/impl/cookie/
DBasicClientCookie2.java53 private int[] ports; field in BasicClientCookie2
68 return this.ports; in getPorts()
71 public void setPorts(final int[] ports) { in setPorts() argument
72 this.ports = ports; in setPorts()
101 clone.ports = this.ports.clone(); in clone()
DRFC2965PortAttributeHandler.java70 int[] ports = new int[st.countTokens()]; in parsePortAttribute() local
74 ports[i] = Integer.parseInt(st.nextToken().trim()); in parsePortAttribute()
75 if (ports[i] < 0) { in parsePortAttribute()
84 return ports; in parsePortAttribute()
96 private static boolean portMatch(int port, int[] ports) { in portMatch() argument
98 for (int i = 0, len = ports.length; i < len; i++) { in portMatch()
99 if (port == ports[i]) { in portMatch()
118 int[] ports = parsePortAttribute(portValue); in parse() local
119 cookie2.setPorts(ports); in parse()
/external/tensorflow/tensorflow/lite/tools/pip_package/
Dupdate_sources.sh25 deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${UBUNTU_CODENAME} main universe
26 deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${UBUNTU_CODENAME}-updates main universe
27 deb [arch=arm64,armhf] http://ports.ubuntu.com/ubuntu-ports ${UBUNTU_CODENAME}-security main univer…

12345678910>>...31