/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
D | WebSocketFrame.java | 21 private byte[] payload; field in WebSocketFrame 31 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload, byte[] maskingKey) { in WebSocketFrame() argument 34 setBinaryPayload(payload); in WebSocketFrame() 37 public WebSocketFrame(OpCode opCode, boolean fin, byte[] payload) { in WebSocketFrame() argument 38 this(opCode, fin, payload, null); in WebSocketFrame() 41 …public WebSocketFrame(OpCode opCode, boolean fin, String payload, byte[] maskingKey) throws Charac… in WebSocketFrame() argument 44 setTextPayload(payload); in WebSocketFrame() 47 …public WebSocketFrame(OpCode opCode, boolean fin, String payload) throws CharacterCodingException { in WebSocketFrame() argument 48 this(opCode, fin, payload, null); in WebSocketFrame() 70 byte[] payload = new byte[this._payloadLength]; in WebSocketFrame() [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriterTest.java | 47 Buffer payload = new Buffer().writeUtf8("Hello"); in serverSendSimpleHello() local 48 serverWriter.sendMessage(TEXT, payload); in serverSendSimpleHello() 53 Buffer payload = new Buffer().writeUtf8("Hello"); in clientSendSimpleHello() local 54 clientWriter.sendMessage(TEXT, payload); in clientSendSimpleHello() 96 byte[] payload = binaryData(100); in serverSendBinary() 97 serverWriter.sendMessage(BINARY, new Buffer().write(payload)); in serverSendBinary() 99 assertData(payload); in serverSendBinary() 103 byte[] payload = binaryData(0xffff); in serverSendBinaryShort() 104 serverWriter.sendMessage(BINARY, new Buffer().write(payload)); in serverSendBinaryShort() 106 assertData(payload); in serverSendBinaryShort() [all …]
|
/external/lldb/source/Core/ |
D | ConnectionMachPort.cpp | 29 ConnectionMachPort::PayloadType payload; member 222 PayloadType payload; in Read() local 224 kern_return_t kret = Receive (payload); in Read() 227 memcpy (dst, payload.data, payload.data_length); in Read() 229 return payload.data_length; in Read() 241 PayloadType payload; in Write() local 242 payload.command = 0; in Write() 243 payload.data_length = src_len; in Write() 244 const size_t max_payload_size = sizeof(payload.data); in Write() 246 payload.data_length = max_payload_size; in Write() [all …]
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketGeneratorD06.java | 78 int payload=length; in addFrame() local 79 if (payload+space>_buffer.capacity()) in addFrame() 83 payload=_buffer.capacity()-space; in addFrame() 101 if (payload>0xffff) in addFrame() 110 (byte)((payload>>24)&0xff), in addFrame() 111 (byte)((payload>>16)&0xff), in addFrame() 112 (byte)((payload>>8)&0xff), in addFrame() 113 (byte)(payload&0xff)}); in addFrame() 115 else if (payload >=0x7e) in addFrame() 120 (byte)(payload>>8), in addFrame() [all …]
|
D | WebSocketGeneratorD08.java | 95 int payload = length; in addFrame() local 96 if (payload + space > _buffer.capacity()) in addFrame() 100 payload = _buffer.capacity() - space; in addFrame() 114 if (payload > 0xffff) in addFrame() 123 (byte)((payload >> 24) & 0xff), in addFrame() 124 (byte)((payload >> 16) & 0xff), in addFrame() 125 (byte)((payload >> 8) & 0xff), in addFrame() 126 (byte)(payload & 0xff)}); in addFrame() 128 else if (payload >= 0x7e) in addFrame() 133 (byte)(payload >> 8), in addFrame() [all …]
|
D | WebSocketGeneratorRFC6455.java | 99 int payload = length; in addFrame() local 100 if (payload + space > _buffer.capacity()) in addFrame() 104 payload = _buffer.capacity() - space; in addFrame() 118 if (payload > 0xffff) in addFrame() 127 (byte)((payload >> 24) & 0xff), in addFrame() 128 (byte)((payload >> 16) & 0xff), in addFrame() 129 (byte)((payload >> 8) & 0xff), in addFrame() 130 (byte)(payload & 0xff)}); in addFrame() 132 else if (payload >= 0x7e) in addFrame() 137 (byte)(payload >> 8), in addFrame() [all …]
|
/external/tcpdump/tests/ |
D | babel1v.out | 1 IP6 (hlim 1, next-header UDP (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.66… 3 IP6 (hlim 1, next-header UDP (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.669… 5 IP6 (hlim 1, next-header UDP (17) payload length: 122) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.6… 12 IP6 (hlim 1, next-header UDP (17) payload length: 36) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.66… 15 IP6 (hlim 1, next-header UDP (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.669… 17 IP6 (hlim 1, next-header UDP (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.66… 19 IP6 (hlim 1, next-header UDP (17) payload length: 36) fe80::3428:af91:251:d626.6697 > ff02::1:6.669… 22 IP6 (hlim 1, next-header UDP (17) payload length: 20) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.66… 24 IP6 (hlim 1, next-header UDP (17) payload length: 20) fe80::3428:af91:251:d626.6697 > ff02::1:6.669… 26 IP6 (hlim 1, next-header UDP (17) payload length: 64) fe80::68d3:1235:d068:1f9e.6697 > ff02::1:6.66… [all …]
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/ |
D | WebSocketWriter.java | 77 public void writePing(Buffer payload) throws IOException { in writePing() argument 79 writeControlFrame(OPCODE_CONTROL_PING, payload); in writePing() 84 public void writePong(Buffer payload) throws IOException { in writePong() argument 86 writeControlFrame(OPCODE_CONTROL_PONG, payload); in writePong() 99 Buffer payload = null; in writeClose() local 104 payload = new Buffer(); in writeClose() 105 payload.writeShort(code); in writeClose() 107 payload.writeUtf8(reason); in writeClose() 112 writeControlFrame(OPCODE_CONTROL_CLOSE, payload); in writeClose() 117 private void writeControlFrame(int opcode, Buffer payload) throws IOException { in writeControlFrame() argument [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | conn.go | 256 func removePadding(payload []byte) ([]byte, byte) { 257 if len(payload) < 1 { 258 return payload, 0 261 paddingLen := payload[len(payload)-1] 262 t := uint(len(payload)-1) - uint(paddingLen) 268 if toCheck+1 > len(payload) { 269 toCheck = len(payload) - 1 276 b := payload[len(payload)-1-i] 288 return payload[:len(payload)-int(toRemove)], good 294 func removePaddingSSL30(payload []byte) ([]byte, byte) { [all …]
|
D | packet_adapter.go | 76 payload := make([]byte, 1+4+len(b)) 77 payload[0] = opcodePacket 78 binary.BigEndian.PutUint32(payload[1:5], uint32(len(b))) 79 copy(payload[5:], b) 80 if _, err := p.Conn.Write(payload); err != nil { 90 payload := make([]byte, 1+8) 91 payload[0] = opcodeTimeout 92 binary.BigEndian.PutUint64(payload[1:], uint64(d.Nanoseconds())) 93 if _, err := p.Conn.Write(payload); err != nil {
|
/external/android-clat/ |
D | clatd_microbenchmark.c | 87 int send_packet(int fd, uint8_t payload[], int len, uint32_t payload_checksum) { in send_packet() argument 113 { payload, len }, // Payload in send_packet() 139 uint8_t payload[], int len, uint32_t payload_sum) { in benchmark() argument 146 if (send_packet(fd, payload, len, payload_sum) == -1) write_err++; in benchmark() 189 uint8_t payload[PAYLOADSIZE]; in main() local 190 for (i = 0; i < (int) sizeof(payload); i++) { in main() 191 payload[i] = (uint8_t) i; in main() 193 uint32_t payload_sum = ip_checksum_add(0, payload, sizeof(payload)); in main() 197 if (send_packet(fd, payload, sizeof(payload), payload_sum) == -1) die("send_packet"); in main() 200 benchmark("Blocking", fd, sock, NUMPACKETS, 1, payload, sizeof(payload), payload_sum); in main() [all …]
|
D | translate.c | 228 uint32_t checksum, const uint8_t *payload, size_t payload_size) { in icmp_to_icmp6() argument 246 clat_packet_len = ipv4_packet(out, pos + 1, payload, payload_size); in icmp_to_icmp6() 259 out[CLAT_POS_PAYLOAD].iov_base = (uint8_t *) payload; in icmp_to_icmp6() 282 const uint8_t *payload, size_t payload_size) { in icmp6_to_icmp() argument 300 clat_packet_len = ipv6_packet(out, pos + 1, payload, payload_size); in icmp6_to_icmp() 305 out[CLAT_POS_PAYLOAD].iov_base = (uint8_t *) payload; in icmp6_to_icmp() 327 int generic_packet(clat_packet out, clat_packet_index pos, const uint8_t *payload, size_t len) { in generic_packet() argument 329 out[CLAT_POS_PAYLOAD].iov_base = (uint8_t *) payload; in generic_packet() 345 const uint8_t *payload; in udp_packet() local 353 payload = (const uint8_t *) (udp + 1); in udp_packet() [all …]
|
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/ |
D | protobufwireadapter.cc | 201 ParseConfigurationMessage(outer.payload()); in ParseMessage() 204 ParseConfigurationAckMessage(outer.payload()); in ParseMessage() 207 ParseOptionsMessage(outer.payload()); in ParseMessage() 210 ParsePairingRequestMessage(outer.payload()); in ParseMessage() 213 ParsePairingRequestAckMessage(outer.payload()); in ParseMessage() 216 ParseSecretMessage(outer.payload()); in ParseMessage() 219 ParseSecretAckMessage(outer.payload()); in ParseMessage() 229 const std::string& payload) { in ParseConfigurationMessage() argument 231 if (!configuration.ParseFromString(payload)) { in ParseConfigurationMessage() 248 const std::string& payload) { in ParseConfigurationAckMessage() argument [all …]
|
D | protobufwireadapter.h | 94 const std::string& payload); 103 void ParseConfigurationMessage(const std::string& payload); 106 void ParseConfigurationAckMessage(const std::string& payload); 109 void ParseOptionsMessage(const std::string& payload); 112 void ParsePairingRequestMessage(const std::string& payload); 115 void ParsePairingRequestAckMessage(const std::string& payload); 118 void ParseSecretMessage(const std::string& payload); 121 void ParseSecretAckMessage(const std::string& payload);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | common.c | 67 curTag = packet->payload; in parsePacket() 68 while(curTag - packet->payload < len) { in parsePacket() 75 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { in parsePacket() 99 unsigned char *cursor = packet.payload; in sendPADT() 127 memcpy(hostUniq.payload, &pid, sizeof(pid)); in sendPADT() 139 strcpy(err.payload, msg); in sendPADT() 147 CHECK_ROOM(cursor, packet.payload, in sendPADT() 155 CHECK_ROOM(cursor, packet.payload, in sendPADT() 218 tag = (packet->payload[i] << 8) + packet->payload[i+1]; in pppoe_printpkt() 219 tlen = (packet->payload[i+2] << 8) + packet->payload[i+3]; in pppoe_printpkt() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | isakmp_inf.c | 135 vchar_t *hash, *payload; local 219 payload = vmalloc(ntohs(nd->len)); 220 if (payload == NULL) { 226 memcpy(payload->v, (caddr_t) nd, ntohs(nd->len)); 229 hash = oakley_compute_hash1(iph1, isakmp->msgid, payload); 234 vfree(payload); 243 vfree(payload); 252 vfree(payload); 259 vfree(payload); 581 vchar_t *payload = NULL; local [all …]
|
/external/wpa_supplicant_8/src/tls/ |
D | pkcs8.c | 37 pos = hdr.payload; in pkcs8_key_import() 53 if (bignum_set_unsigned_bin(zero, hdr.payload, hdr.length) < 0) { in pkcs8_key_import() 58 pos = hdr.payload + hdr.length; in pkcs8_key_import() 81 if (asn1_get_oid(hdr.payload, hdr.length, &oid, &pos)) { in pkcs8_key_import() 103 pos = hdr.payload + hdr.length; in pkcs8_key_import() 117 crypto_rsa_import_private_key(hdr.payload, hdr.length); in pkcs8_key_import() 150 pos = hdr.payload; in pkcs8_enc_key_import() 163 enc_alg = hdr.payload; in pkcs8_enc_key_import() 165 pos = hdr.payload + hdr.length; in pkcs8_enc_key_import() 177 data = pkcs5_decrypt(enc_alg, enc_alg_len, hdr.payload, hdr.length, in pkcs8_enc_key_import()
|
D | x509v3.c | 202 pos = hdr.payload; in x509_parse_algorithm_identifier() 244 pos = hdr.payload; in x509_parse_public_key() 265 pos = hdr.payload; in x509_parse_public_key() 320 pos = hdr.payload; in x509_parse_name() 340 set_pos = hdr.payload; in x509_parse_name() 341 pos = set_end = hdr.payload + hdr.length; in x509_parse_name() 353 seq_pos = hdr.payload; in x509_parse_name() 354 seq_end = hdr.payload + hdr.length; in x509_parse_name() 419 os_memcpy(name->email, hdr.payload, hdr.length); in x509_parse_name() 436 hdr.payload, hdr.length); in x509_parse_name() [all …]
|
/external/libxml2/optim/ |
D | hash_dict.patch | 26 void *payload; 64 if ((f != NULL) && (iter->payload != NULL)) 65 f(iter->payload, iter->name); 72 iter->payload = NULL; 125 entry->payload = userdata; 149 f(insert->payload, insert->name); 150 insert->payload = userdata; 161 f(insert->payload, insert->name); 162 insert->payload = userdata; 173 entry->payload = userdata; [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | AutobahnTester.java | 78 @Override public void onMessage(BufferedSource payload, final WebSocket.PayloadType type) in runTest() 81 payload.readAll(buffer); in runTest() 82 payload.close(); in runTest() 95 @Override public void onPong(Buffer payload) { in runTest() 125 @Override public void onMessage(BufferedSource payload, WebSocket.PayloadType type) in getTestCount() 127 countRef.set(payload.readDecimalLong()); in getTestCount() 128 payload.close(); in getTestCount() 131 @Override public void onPong(Buffer payload) { in getTestCount() 164 @Override public void onMessage(BufferedSource payload, WebSocket.PayloadType type) in updateReports() 168 @Override public void onPong(Buffer payload) { in updateReports()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidRenderActivity.cpp | 131 …cessMessage(): message = { %s, %p }\n", getMessageTypeName(message.type), message.payload.window)); in processMessage() 147 m_window = message.payload.window; in processMessage() 151 if (m_window != message.payload.window) in processMessage() 158 onWindowCreated(message.payload.window); in processMessage() 161 onWindowResized(message.payload.window); in processMessage() 168 if (m_window != message.payload.window) in processMessage() 175 onWindowDestroyed(message.payload.window); in processMessage() 182 m_inputQueue = message.payload.inputQueue; in processMessage() 186 m_inputQueue = message.payload.inputQueue; in processMessage() 190 message.payload.semaphore->increment(); in processMessage()
|
/external/lldb/test/expression_command/issue_11588/ |
D | main.cpp | 28 StgClosure* payload[1]; member in StgClosure 33 payload[0] = new StgClosure(false); in StgClosure() 35 payload[0] = NULL; in StgClosure() 39 if (payload[0]) in ~StgClosure() 40 delete payload[0]; in ~StgClosure()
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | ParseTree.cs | 47 public object payload; field in Antlr.Runtime.Tree.ParseTree 51 this.payload = label; in ParseTree() 90 if (payload is IToken) { in ToString() 91 IToken t = (IToken)payload; in ToString() 97 return payload.ToString(); in ToString() 131 if (payload is IToken) { // leaf node token? in ToStringLeaves()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | ParseTree.cs | 49 public object payload; field in Antlr.Runtime.Tree.ParseTree 54 this.payload = label; in ParseTree() 107 if ( payload is IToken ) in ToString() 109 IToken t = (IToken)payload; in ToString() 116 return payload.ToString(); in ToString() 155 if ( payload is IToken ) in ToStringLeaves()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | ParseTree.java | 40 public Object payload; field in ParseTree 44 this.payload = label; in ParseTree() 74 if ( payload instanceof Token ) { in toString() 75 Token t = (Token)payload; in toString() 81 return payload.toString(); in toString() 110 if ( payload instanceof Token ) { // leaf node token? in _toStringLeaves()
|