Searched defs:ports (Results 1 - 25 of 43) sorted by relevance

12

/external/apache-http/src/org/apache/http/cookie/
H A DSetCookie2.java56 * Sets the Port attribute. It restricts the ports to which a cookie
59 void setPorts(int[] ports); argument
/external/apache-http/src/org/apache/http/impl/cookie/
H A DRFC2965PortAttributeHandler.java60 * into an array of ports.
63 * @return parsed array of ports
70 int[] ports = new int[st.countTokens()];
74 ports[i] = Integer.parseInt(st.nextToken().trim());
75 if (ports[i] < 0) {
84 return ports;
89 * ports list.
92 * @param ports port list
94 * the given ports list; <tt>false</tt> otherwise.
96 private static boolean portMatch(int port, int[] ports) { argument
[all...]
H A DBasicClientCookie2.java53 private int[] ports; field in class:BasicClientCookie2
68 return this.ports;
71 public void setPorts(final int[] ports) { argument
72 this.ports = ports;
101 clone.ports = this.ports.clone();
/external/chromium-trace/catapult/telemetry/telemetry/internal/app/
H A Dandroid_process.py9 from devil.android import ports namespace
11 ports = None variable
23 self._local_port = ports.AllocateTestServerPort()
/external/iptables/include/linux/netfilter/
H A Dxt_multiport.h17 __u8 count; /* Number of ports */
18 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport
23 __u8 count; /* Number of ports */
24 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport_v1
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_multiport.h17 __u8 count; /* Number of ports */
18 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport
23 __u8 count; /* Number of ports */
24 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member in struct:xt_multiport_v1
/external/autotest/server/cros/
H A Dusb_mux_controller.py27 ports = {0:'000', 1:'001', 2:'010', 3:'011', 4:'100', 5:'101', 6:'110', 7:'111'} variable
30 """Class to control individual ports on a 8 port USB switch/hub.
35 and drives the 8 port relay switch to turn the individual ports on the USB
86 logging.info('Completed USB multiplexer teardown. All USB ports should'
108 port = ports[usb_port]
124 Disables all USB ports that are currently enabled.
128 logging.info('Disable USB ports.')
/external/selinux/prebuilts/bin/
H A Dseinfo.py198 ports = [int(i) for i in args.portconquery.split("-")] variable
202 if len(ports) == 2:
203 q.ports = ports
204 elif len(ports) == 1:
205 q.ports = (ports[0], ports[0])
/external/selinux/libsemanage/src/
H A Dports_local.c79 semanage_port_t **ports = NULL; local
83 /* List and sort the ports */
84 if (semanage_port_list_local(handle, &ports, &nports) < 0)
86 qsort(ports, nports, sizeof(semanage_port_t *),
93 int proto = semanage_port_get_proto(ports[i]);
94 int low = semanage_port_get_low(ports[i]);
95 int high = semanage_port_get_high(ports[i]);
107 proto2 = semanage_port_get_proto(ports[j]);
108 low2 = semanage_port_get_low(ports[j]);
109 high2 = semanage_port_get_high(ports[
[all...]
H A Ddirect_api.c1085 dbase_config_t *ports = semanage_port_dbase_local(sh); local
1160 ports_modified = ports->dtable->is_modified(ports->dbase);
1349 /* Validate local ports for overlap */
/external/iproute2/examples/bpf/
H A Dbpf_prog.c229 __u32 ports; member in union:flow_keys::__anon7029
377 flow->ports = load_word(skb, nh_off);
/external/iptables/extensions/
H A Dlibxt_multiport.c26 " --source-ports port[,port,port...]\n"
29 " --destination-ports port[,port,port...]\n"
32 " --ports port[,port,port]\n"
41 "[!] --source-ports port[,port:port,port...]\n"
44 "[!] --destination-ports port[,port:port,port...]\n"
47 "[!] --ports port[,port:port,port]\n"
52 {.name = "source-ports", .id = O_SOURCE_PORTS, .type = XTTYPE_STRING,
56 {.name = "destination-ports", .id = O_DEST_PORTS,
60 {.name = "ports", .id = O_SD_PORTS, .type = XTTYPE_STRING,
85 parse_multi_ports(const char *portstring, uint16_t *ports, cons argument
[all...]
H A Dlibxt_sctp.c67 uint16_t *ports)
75 ports[0] = ports[1] = xtables_parse_port(buffer, "sctp");
81 ports[0] = buffer[0] ? xtables_parse_port(buffer, "sctp") : 0;
82 ports[1] = cp[0] ? xtables_parse_port(cp, "sctp") : 0xFFFF;
84 if (ports[0] > ports[1])
66 parse_sctp_ports(const char *portstring, uint16_t *ports) argument
H A Dlibxt_tcp.c41 parse_tcp_ports(const char *portstring, uint16_t *ports) argument
48 ports[0] = ports[1] = xtables_parse_port(buffer, "tcp");
53 ports[0] = buffer[0] ? xtables_parse_port(buffer, "tcp") : 0;
54 ports[1] = cp[0] ? xtables_parse_port(cp, "tcp") : 0xFFFF;
56 if (ports[0] > ports[1])
/external/kernel-headers/original/uapi/linux/
H A Dif_bonding.h113 __u16 ports; member in struct:ad_info
/external/webrtc/webrtc/p2p/base/
H A Dp2ptransportchannel.h12 // two P2P clients. Clients have candidate ports for connecting, and
110 const std::vector<PortInterface*>& ports() { return ports_; } function in class:cricket::P2PTransportChannel
H A Dportallocator.h29 // what kinds of ports are allocated.
32 // Disable local UDP ports. This doesn't impact how we connect to relay
37 // Disable local TCP ports. This doesn't impact how we connect to relay
101 ports.push_back(
106 PortList ports; member in struct:cricket::RelayServerConfig
120 // Subclasses should clean up any ports created.
133 // Whether the process of getting ports has been stopped.
206 // Gets/Sets the port range to use when choosing client ports.
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_roboswitch.c62 u16 ports; member in struct:wpa_driver_roboswitch_data
241 u16 ports, const u8 *addr)
256 ROBO_ARLCTRL_VEC_1, &ports, 1);
260 ROBO_ARLCTRL_VEC_2, &ports, 1);
280 ROBO_ARLCTRL_VEC_1, &ports, 1);
287 u16 ports, const u8 *addr)
303 if (os_memcmp(addr_read, addr_be16, 6) == 0 && ports_read == ports) {
310 ports_read == ports) {
336 ports_read == ports) {
433 drv->ports
240 wpa_driver_roboswitch_join(struct wpa_driver_roboswitch_data *drv, u16 ports, const u8 *addr) argument
286 wpa_driver_roboswitch_leave(struct wpa_driver_roboswitch_data *drv, u16 ports, const u8 *addr) argument
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_roboswitch.c62 u16 ports; member in struct:wpa_driver_roboswitch_data
241 u16 ports, const u8 *addr)
256 ROBO_ARLCTRL_VEC_1, &ports, 1);
260 ROBO_ARLCTRL_VEC_2, &ports, 1);
280 ROBO_ARLCTRL_VEC_1, &ports, 1);
287 u16 ports, const u8 *addr)
303 if (os_memcmp(addr_read, addr_be16, 6) == 0 && ports_read == ports) {
310 ports_read == ports) {
336 ports_read == ports) {
433 drv->ports
240 wpa_driver_roboswitch_join(struct wpa_driver_roboswitch_data *drv, u16 ports, const u8 *addr) argument
286 wpa_driver_roboswitch_leave(struct wpa_driver_roboswitch_data *drv, u16 ports, const u8 *addr) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_roboswitch.c62 u16 ports; member in struct:wpa_driver_roboswitch_data
241 u16 ports, const u8 *addr)
256 ROBO_ARLCTRL_VEC_1, &ports, 1);
260 ROBO_ARLCTRL_VEC_2, &ports, 1);
280 ROBO_ARLCTRL_VEC_1, &ports, 1);
287 u16 ports, const u8 *addr)
303 if (os_memcmp(addr_read, addr_be16, 6) == 0 && ports_read == ports) {
310 ports_read == ports) {
336 ports_read == ports) {
433 drv->ports
240 wpa_driver_roboswitch_join(struct wpa_driver_roboswitch_data *drv, u16 ports, const u8 *addr) argument
286 wpa_driver_roboswitch_leave(struct wpa_driver_roboswitch_data *drv, u16 ports, const u8 *addr) argument
[all...]
/external/google-breakpad/src/client/mac/handler/
H A Dexception_handler.cc106 mach_port_t ports[EXC_TYPES_COUNT]; member in struct:google_breakpad::ExceptionParameters
429 // so that the current exception ports are the ones that we should be
439 current.ports,
453 fprintf(stderr, "** No previous ports for forwarding!! \n");
457 mach_port_t target_port = current.ports[found];
667 // Save the current exception ports so that we can forward to them
674 previous_->ports,
678 // Setup the exception ports on this task
705 // Restore the previous ports
708 previous_->ports[
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig_file.c926 int *ports; local
930 ports = cred->req_conn_capab_port[i];
931 if (ports) {
933 for (j = 0; ports[j] != -1; j++) {
935 ports[j]);
H A Dconfig.c2786 int *ports, *nports; local
2812 ports = NULL;
2816 nports = os_realloc_array(ports, num_ports + 1, sizeof(int));
2818 os_free(ports);
2821 ports = nports;
2822 ports[num_ports++] = atoi(pos);
2830 nports = os_realloc_array(ports, num_ports + 1, sizeof(int));
2832 os_free(ports);
2835 ports = nports;
2836 ports[num_port
3245 int *ports; local
[all...]
/external/opencv3/modules/videoio/src/
H A Dcap_dc1394.cpp173 struct raw1394_portinfo ports[MAX_PORTS]; variable in typeref:struct:raw1394_portinfo
208 numPorts = raw1394_get_port_info(raw_handle, ports, MAX_PORTS);
232 return 0; /* No i1394 ports found */
/external/webrtc/webrtc/p2p/client/
H A Dbasicportallocator.cc110 config.ports.push_back(ProtocolAddress(relay_address_udp, PROTO_UDP));
113 config.ports.push_back(ProtocolAddress(relay_address_tcp, PROTO_TCP));
116 config.ports.push_back(ProtocolAddress(relay_address_ssl, PROTO_SSLTCP));
119 if (!config.ports.empty()) {
167 // AllocationSequence should clear it's map entry for turn ports before
168 // ports are destroyed.
272 // If any of the allocated ports have not completed the candidates allocation,
341 // create a new sequence to create the appropriate ports.
348 LOG(LS_WARNING) << "Machine has no networks; no ports will be allocated";
358 // If all the ports ar
672 std::vector<Port*> ports; local
[all...]

Completed in 662 milliseconds

12