/external/apache-http/src/org/apache/http/impl/conn/ |
D | LoggingSessionOutputBuffer.java | 57 private final Wire wire; field in LoggingSessionOutputBuffer 64 public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire) { in LoggingSessionOutputBuffer() argument 67 this.wire = wire; in LoggingSessionOutputBuffer() 72 if (this.wire.enabled()) { in write() 73 this.wire.output(b, off, len); in write() 79 if (this.wire.enabled()) { in write() 80 this.wire.output(b); in write() 86 if (this.wire.enabled()) { in write() 87 this.wire.output(b); in write() 97 if (this.wire.enabled()) { in writeLine() [all …]
|
D | LoggingSessionInputBuffer.java | 59 private final Wire wire; field in LoggingSessionInputBuffer 66 public LoggingSessionInputBuffer(final SessionInputBuffer in, final Wire wire) { in LoggingSessionInputBuffer() argument 69 this.wire = wire; in LoggingSessionInputBuffer() 78 if (this.wire.enabled() && l > 0) { in read() 79 this.wire.input(b, off, l); in read() 86 if (this.wire.enabled() && l > 0) { in read() 87 this.wire.input(l); in read() 94 if (this.wire.enabled() && l > 0) { in read() 95 this.wire.input(b, 0, l); in read() 102 if (this.wire.enabled() && s != null) { in readLine() [all …]
|
D | Wire.java | 58 private void wire(String header, InputStream instream) in wire() method in Wire 97 wire(">> ", outstream); in output() 105 wire("<< ", instream); in input() 113 wire(">> ", new ByteArrayInputStream(b, off, len)); in output() 121 wire("<< ", new ByteArrayInputStream(b, off, len)); in input() 129 wire(">> ", new ByteArrayInputStream(b)); in output() 137 wire("<< ", new ByteArrayInputStream(b)); in input()
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
D | serverpairingsession.cc | 24 ServerPairingSession::ServerPairingSession(wire::PoloWireAdapter *wire, in ServerPairingSession() argument 28 : PairingSession(wire, context, challenge), in ServerPairingSession() 37 wire()->GetNextMessage(); in DoInitializationPhase() 42 wire()->GetNextMessage(); in DoConfigurationPhase() 54 wire()->SendPairingRequestAckMessage(ack); in OnPairingRequestMessage() 57 wire()->GetNextMessage(); in OnPairingRequestMessage() 64 wire()->SendOptionsMessage(local_options()); in OnOptionsMessage() 72 wire()->SendErrorMessage(kErrorBadConfiguration); in OnConfigurationMessage() 83 wire()->SendErrorMessage(kErrorBadConfiguration); in OnConfigurationMessage() 91 wire()->SendErrorMessage(kErrorBadConfiguration); in OnConfigurationMessage() [all …]
|
D | clientpairingsession.cc | 26 ClientPairingSession::ClientPairingSession(wire::PoloWireAdapter *wire, in ClientPairingSession() argument 31 : PairingSession(wire, context, challenge), in ClientPairingSession() 42 wire()->SendPairingRequestMessage(message); in DoInitializationPhase() 45 wire()->SendPairingRequestMessage(message); in DoInitializationPhase() 49 wire()->GetNextMessage(); in DoInitializationPhase() 60 wire()->SendConfigurationMessage(*config); in DoConfigurationPhase() 61 wire()->GetNextMessage(); in DoConfigurationPhase() 74 wire()->SendOptionsMessage(local_options()); in OnPairingRequestAckMessage() 75 wire()->GetNextMessage(); in OnPairingRequestAckMessage() 89 wire()->SendErrorMessage(kErrorBadConfiguration); in OnOptionsMessage() [all …]
|
D | pairingsession.h | 59 PairingSession(wire::PoloWireAdapter* wire, 152 wire::PoloWireAdapter* wire() const { return wire_; } in wire() function 186 wire::PoloWireAdapter* wire_;
|
D | pairingsession.cc | 24 PairingSession::PairingSession(wire::PoloWireAdapter* wire, in PairingSession() argument 28 wire_(wire), in PairingSession() 165 wire()->SendErrorMessage(kErrorProtocol); in DoOutputPairing() 219 wire()->SendErrorMessage(kErrorProtocol); in OnSecretMessage() 225 wire()->SendErrorMessage(kErrorInvalidChallengeResponse); in OnSecretMessage() 233 wire()->SendErrorMessage(kErrorProtocol); in OnSecretMessage() 249 wire()->SendErrorMessage(kErrorInvalidChallengeResponse); in OnSecretAckMessage()
|
/external/okhttp/okhttp-hpacktests/src/test/java/com/squareup/okhttp/internal/spdy/hpackjson/ |
D | Case.java | 34 private String wire; field in Case 47 return ByteString.decodeHex(wire); in getWire() 54 public void setWire(ByteString wire) { in setWire() argument 55 this.wire = wire.hex(); in setWire() 62 result.wire = wire; in clone()
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
D | tsig.py | 60 def sign(wire, keyname, secret, time, fudge, original_id, error, argument 80 ctx.update(wire[2:]) 111 def hmac_md5(wire, keyname, secret, time, fudge, original_id, error, argument 114 return sign(wire, keyname, secret, time, fudge, original_id, error, 117 def validate(wire, keyname, secret, now, request_mac, tsig_start, tsig_rdata, argument 127 (adcount,) = struct.unpack("!H", wire[10:12]) 131 new_wire = wire[0:10] + struct.pack("!H", adcount) + wire[12:tsig_start] 133 (aname, used) = dns.name.from_wire(wire, current) 136 struct.unpack("!HIHH", wire[current:current + 10]) 139 mac = wire[current:current + mac_size] [all …]
|
D | query.py | 113 wire = q.to_wire() 134 s.sendto(wire, destination) 137 (wire, from_address) = s.recvfrom(65535) 148 r = dns.message.from_wire(wire, keyring=q.keyring, request_mac=q.mac, 218 wire = q.to_wire() 240 l = len(wire) 245 tcpmsg = struct.pack("!H", l) + wire 249 wire = _net_read(s, l, expiration) 252 r = dns.message.from_wire(wire, keyring=q.keyring, request_mac=q.mac, 322 wire = q.to_wire() [all …]
|
D | edns.py | 36 def from_wire(cls, otype, wire, current, olen): argument 111 def from_wire(cls, otype, wire, current, olen): argument 112 return cls(otype, wire[current : current + olen]) 128 def option_from_wire(otype, wire, current, olen): argument 142 return cls.from_wire(otype, wire, current, olen)
|
/external/google-tv-pairing-protocol/cpp/ |
D | Makefile.am | 70 polo_wire_includedir = $(includedir)/polo/wire 72 src/polo/wire/polowireadapter.h \ 73 src/polo/wire/polowireinterface.h \ 74 src/polo/wire/polowirelistener.h 76 polo_wire_protobuf_includedir = $(includedir)/polo/wire/protobuf 78 src/polo/wire/protobuf/polo.pb.h \ 79 src/polo/wire/protobuf/protobufwireadapter.h 100 src/polo/wire/protobuf/polo.pb.cc \ 101 src/polo/wire/protobuf/polo.pb.h 107 --cpp_out=$(srcdir)/src/polo/wire/protobuf \ [all …]
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/ |
D | WireFormat.java | 17 package com.google.polo.wire; 20 import com.google.polo.wire.json.JsonWireAdapter; 21 import com.google.polo.wire.protobuf.ProtobufWireAdapter; 22 import com.google.polo.wire.xml.XmlWireAdapter;
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/ANY/ |
D | NSEC3.py | 143 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 145 wire[current : current + 5]) 148 salt = wire[current : current + slen] 151 (nlen, ) = struct.unpack('!B', wire[current]) 154 next = wire[current : current + nlen] 161 window = ord(wire[current]) 162 octets = ord(wire[current + 1]) 169 bitmap = wire[current : current + octets]
|
D | GPOS.py | 96 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 97 l = ord(wire[current]) 102 latitude = wire[current : current + l] 105 l = ord(wire[current]) 110 longitude = wire[current : current + l] 113 l = ord(wire[current]) 118 altitude = wire[current : current + l]
|
D | HINFO.py | 60 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 61 l = ord(wire[current]) 66 cpu = wire[current : current + l] 69 l = ord(wire[current]) 74 os = wire[current : current + l]
|
D | ISDN.py | 70 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 71 l = ord(wire[current]) 76 address = wire[current : current + l] 80 l = ord(wire[current]) 85 subaddress = wire[current : current + l]
|
D | NSEC.py | 98 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 99 (next, cused) = dns.name.from_wire(wire[: current + rdlen], current) 106 window = ord(wire[current]) 107 octets = ord(wire[current + 1]) 114 bitmap = wire[current : current + octets]
|
D | X25.py | 50 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 51 l = ord(wire[current]) 56 address = wire[current : current + l]
|
D | HIP.py | 84 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 86 wire[current : current + 4]) 89 hit = wire[current : current + lh] 92 key = wire[current : current + lk] 97 (server, cused) = dns.name.from_wire(wire[: current + rdlen],
|
/external/google-tv-pairing-protocol/cpp/tests/polo/pairing/ |
D | serverpairingsessiontest.cc | 33 TestServerPairingSession(wire::PoloWireAdapter* wire, in TestServerPairingSession() argument 36 : ServerPairingSession(wire, context, challenge, "server1") { in TestServerPairingSession() 77 StrictMock<wire::MockWireInterface> interface_; 78 StrictMock<wire::MockWireAdapter> wire_;
|
D | clientpairingsessiontest.cc | 33 TestClientPairingSession(wire::PoloWireAdapter* wire, in TestClientPairingSession() argument 36 : ClientPairingSession(wire, context, challenge, "service1", "client1") { in TestClientPairingSession() 86 StrictMock<wire::MockWireInterface> interface_; 87 StrictMock<wire::MockWireAdapter> wire_;
|
/external/boringssl/src/tool/ |
D | client.cc | 198 std::vector<uint8_t> wire; in Client() local 210 wire.push_back(static_cast<uint8_t>(len)); in Client() 211 wire.resize(wire.size() + len); in Client() 212 memcpy(wire.data() + wire.size() - len, alpn_protos.data() + i, len); in Client() 215 if (SSL_CTX_set_alpn_protos(ctx.get(), wire.data(), wire.size()) != 0) { in Client()
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/rdtypes/IN/ |
D | IPSECKEY.py | 117 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 120 header = struct.unpack('!BBB', wire[current : current + 3]) 128 wire[current : current + 4]) 133 wire[current : current + 16]) 137 (gateway, cused) = dns.name.from_wire(wire[: current + rdlen], 143 key = wire[current : current + rdlen]
|
D | NAPTR.py | 90 def from_wire(cls, rdclass, rdtype, wire, current, rdlen, origin = None): argument 91 (order, preference) = struct.unpack('!HH', wire[current : current + 4]) 96 l = ord(wire[current]) 101 s = wire[current : current + l] 105 (replacement, cused) = dns.name.from_wire(wire[: current + rdlen],
|