Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/external/curl/tests/data/
Dtest1309130 remove pointer 7, payload 718
181 remove pointer 8, payload 236
231 remove pointer 9, payload 777
280 remove pointer 10, payload 295
328 remove pointer 11, payload 836
375 remove pointer 12, payload 354
421 remove pointer 13, payload 895
466 remove pointer 14, payload 413
510 remove pointer 15, payload 954
553 remove pointer 16, payload 472
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_payload_registry.cc78 RtpUtility::Payload* payload = it->second; in RegisterReceivePayload() local
80 assert(payload); in RegisterReceivePayload()
82 size_t name_length = strlen(payload->name); in RegisterReceivePayload()
88 payload->name, payload_name, payload_name_length)) { in RegisterReceivePayload()
89 if (rtp_payload_strategy_->PayloadIsCompatible(*payload, frequency, in RegisterReceivePayload()
91 rtp_payload_strategy_->UpdatePayloadRate(payload, rate); in RegisterReceivePayload()
105 RtpUtility::Payload* payload = rtp_payload_strategy_->CreatePayloadType( in RegisterReceivePayload() local
108 payload_type_map_[payload_type] = payload; in RegisterReceivePayload()
146 RtpUtility::Payload* payload = iterator->second; in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() local
147 size_t name_length = strlen(payload->name); in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType()
[all …]
Drtp_format_h264_unittest.cc392 parsed_payload->payload, in ExpectPacket()
393 parsed_payload->payload + parsed_payload->payload_length), in ExpectPacket()
402 RtpDepacketizer::ParsedPayload payload; in TEST_F() local
404 ASSERT_TRUE(depacketizer_->Parse(&payload, packet, sizeof(packet))); in TEST_F()
405 ExpectPacket(&payload, packet, sizeof(packet)); in TEST_F()
406 EXPECT_EQ(kVideoFrameKey, payload.frame_type); in TEST_F()
407 EXPECT_EQ(kRtpVideoH264, payload.type.Video.codec); in TEST_F()
408 EXPECT_TRUE(payload.type.Video.isFirstPacket); in TEST_F()
410 payload.type.Video.codecHeader.H264.packetization_type); in TEST_F()
411 EXPECT_EQ(kIdr, payload.type.Video.codecHeader.H264.nalu_type); in TEST_F()
[all …]
Drtp_format_vp8_unittest.cc419 parsed_payload->payload, in ExpectPacket()
420 parsed_payload->payload + parsed_payload->payload_length), in ExpectPacket()
432 RtpDepacketizer::ParsedPayload payload; in TEST_F() local
434 ASSERT_TRUE(depacketizer_->Parse(&payload, packet, sizeof(packet))); in TEST_F()
436 &payload, packet + kHeaderLength, sizeof(packet) - kHeaderLength); in TEST_F()
437 EXPECT_EQ(kVideoFrameDelta, payload.frame_type); in TEST_F()
438 EXPECT_EQ(kRtpVideoVp8, payload.type.Video.codec); in TEST_F()
439 VerifyBasicHeader(&payload.type, 0, 1, 4); in TEST_F()
441 &payload.type, kNoPictureId, kNoTl0PicIdx, kNoTemporalIdx, kNoKeyIdx); in TEST_F()
452 RtpDepacketizer::ParsedPayload payload; in TEST_F() local
[all …]
/external/autotest/client/tests/isic/
Disic-gcc41-fix.patch6 payload = (short int *)((u_char *) icmp + 4);
8 - (u_short) payload[cx] = rand() & 0xffff;
9 +// (u_short) payload[cx] = rand() & 0xffff;
10 + payload[cx] = rand() & 0xffff;
19 payload = (short int *)(buf + IP_H);
21 - (u_int16_t) payload[cx] = rand() & 0xffff;
22 - (u_int16_t) payload[payload_s] = rand() & 0xffff;
23 +/* (u_int16_t) payload[cx] = rand() & 0xffff;
24 + (u_int16_t) payload[payload_s] = rand() & 0xffff;*/
25 + payload[cx] = rand() & 0xffff;
[all …]
/external/autotest/client/cros/cellular/wardmodem/
Dat_channel_unittest.py64 payload = 'A not so huge AT+CEREG command.'
65 self._at_channel.send(payload)
68 self.assertEqual(payload.strip(), received_command.strip())
73 payload = 'A not so huge AT+CEREG command.'
74 self._at_channel.send(payload)
78 self.assertEqual(payload.strip(),
87 payload = 'We send you our AT+good wishes too!\r\n'
88 callback = lambda channel, payload: None argument
90 self._mox_task_loop.post_task(callback, payload.strip())
92 self._send_command_remote(payload)
[all …]
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_ocsp.c149 pos = hdr.payload; in tls_process_ocsp_single_response()
150 end = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
173 name_hash = hdr.payload; in tls_process_ocsp_single_response()
177 pos = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
200 key_hash = hdr.payload; in tls_process_ocsp_single_response()
203 pos = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
224 serial_number = hdr.payload; in tls_process_ocsp_single_response()
254 hdr.payload, hdr.length); in tls_process_ocsp_single_response()
255 pos = hdr.payload + hdr.length; in tls_process_ocsp_single_response()
262 x509_parse_time(hdr.payload, hdr.length, hdr.tag, &update) < 0) { in tls_process_ocsp_single_response()
[all …]
Dtlsv1_cred.c467 pos = hdr.payload; in pkcs12_certbag()
468 end = hdr.payload + hdr.length; in pkcs12_certbag()
494 if (asn1_get_next(hdr.payload, hdr.length, &hdr) < 0 || in pkcs12_certbag()
504 hdr.payload, hdr.length); in pkcs12_certbag()
509 cert = x509_certificate_parse(hdr.payload, hdr.length); in pkcs12_certbag()
519 return tlsv1_set_cert(cred, NULL, hdr.payload, hdr.length); in pkcs12_certbag()
545 hdr.payload, hdr.length); in pkcs12_parse_attr_friendly_name()
572 hdr.payload, hdr.length); in pkcs12_parse_attr_local_key_id()
608 hdr.payload, hdr.length); in pkcs12_parse_attr()
609 pos = hdr.payload; in pkcs12_parse_attr()
[all …]
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/
DNanoWSD.java237 public void ping(byte[] payload) throws IOException { in ping() argument
238 sendFrame(new WebSocketFrame(OpCode.Ping, true, payload)); in ping()
262 public void send(byte[] payload) throws IOException { in send() argument
263 sendFrame(new WebSocketFrame(OpCode.Binary, true, payload)); in send()
266 public void send(String payload) throws IOException { in send() argument
267 sendFrame(new WebSocketFrame(OpCode.Text, true, payload)); in send()
348 byte[] payload = new byte[reasonBytes.length + 2]; in generatePayload()
349 payload[0] = (byte) (code.getValue() >> 8 & 0xFF); in generatePayload()
350 payload[1] = (byte) (code.getValue() & 0xFF); in generatePayload()
351 System.arraycopy(reasonBytes, 0, payload, 2, reasonBytes.length); in generatePayload()
[all …]
/external/libese/tools/ese_replay/
Dmain.c96 struct Payload payload; in main() local
97 if (!payload_init(&payload, 10 * 1024 * 1024, 1024 * 4)) { in main()
104 while (!feof(stdin) && payload_read(&payload, stdin)) { in main()
105 payload_dump(&payload, stdout); in main()
107 &ese, payload.tx.buffer, payload.tx.len, reply.buffer, reply.size); in main()
118 if (reply.len < payload.expected.len) { in main()
120 payload.expected.len); in main()
125 if (memcmp(payload.expected.buffer, in main()
126 (reply.buffer + reply.len) - payload.expected.len, in main()
127 payload.expected.len)) { in main()
/external/android-clat/
Dclatd_microbenchmark.c87 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 …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter_unittest.cc47 void CreateOpusFecPayload(uint8_t* payload, size_t payload_length, in CreateOpusFecPayload() argument
52 payload[0] = 0x08; in CreateOpusFecPayload()
53 payload[1] = 0x40; in CreateOpusFecPayload()
54 memset(&payload[2], payload_value, payload_length - 2); in CreateOpusFecPayload()
85 uint8_t* payload = new uint8_t[packet->payload_length]; in CreateRedPayload() local
86 uint8_t* payload_ptr = payload; in CreateRedPayload()
118 packet->payload = payload; in CreateRedPayload()
130 uint8_t* payload = new uint8_t[packet->payload_length]; in CreatePacket() local
131 packet->payload = payload; in CreatePacket()
133 CreateOpusFecPayload(packet->payload, packet->payload_length, in CreatePacket()
[all …]
Dpayload_splitter.cc33 assert(red_packet->payload); in SplitRed()
34 uint8_t* payload_ptr = red_packet->payload; in SplitRed()
88 red_packet->payload + red_packet->payload_length) { in SplitRed()
95 assert(!(*new_it)->payload); in SplitRed()
102 (*new_it)->payload = new uint8_t[payload_length]; in SplitRed()
103 memcpy((*new_it)->payload, payload_ptr, payload_length); in SplitRed()
114 delete [] (*it)->payload; in SplitRed()
149 !decoder->PacketHasFec(packet->payload, packet->payload_length)) { in SplitFec()
164 PacketDurationRedundant(packet->payload, packet->payload_length); in SplitFec()
166 new_packet->payload = new uint8_t[packet->payload_length]; in SplitFec()
[all …]
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java76 public void writePing(Buffer payload) throws IOException { in writePing() argument
78 writeControlFrameSynchronized(OPCODE_CONTROL_PING, payload); in writePing()
83 public void writePong(Buffer payload) throws IOException { in writePong() argument
85 writeControlFrameSynchronized(OPCODE_CONTROL_PONG, payload); in writePong()
98 Buffer payload = null; in writeClose() local
103 payload = new Buffer(); in writeClose()
104 payload.writeShort(code); in writeClose()
106 payload.writeUtf8(reason); in writeClose()
111 writeControlFrameSynchronized(OPCODE_CONTROL_CLOSE, payload); in writeClose()
116 private void writeControlFrameSynchronized(int opcode, Buffer payload) throws IOException { in writeControlFrameSynchronized() argument
[all …]
/external/boringssl/src/ssl/test/runner/
Dconn.go327 func removePadding(payload []byte) ([]byte, byte) {
328 if len(payload) < 1 {
329 return payload, 0
332 paddingLen := payload[len(payload)-1]
333 t := uint(len(payload)-1) - uint(paddingLen)
339 if toCheck+1 > len(payload) {
340 toCheck = len(payload) - 1
347 b := payload[len(payload)-1-i]
359 return payload[:len(payload)-int(toRemove)], good
365 func removePaddingSSL30(payload []byte) ([]byte, byte) {
[all …]
/external/autotest/scheduler/
Drdb_unittest.py117 payload = {'status': 'Ready'}
119 self.update_manager.add_request(host_id=host_id, payload=payload)
122 [host_id], **payload)
130 self.update_manager.add_request(host_id=host_id, payload=payload_1)
131 self.update_manager.add_request(host_id=host_id, payload=payload_2)
142 self.update_manager.add_request(host_id=host_id, payload=payload_1)
143 self.update_manager.add_request(host_id=host_id, payload=payload_2)
151 payload = {'status': 'Ready'}
154 self.update_manager.add_request(host_id=host_1_id, payload=payload)
155 self.update_manager.add_request(host_id=host_2_id, payload=payload)
[all …]
/external/tcpdump/tests/
Dbabel1v.out1 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/syslinux/gpxe/src/core/
Dgdbstub.c53 char *payload; /* start of payload */ member
139 uint8_t cksum = gdbstub_cksum ( stub->payload, stub->len ); in gdbstub_tx_packet()
150 stub->payload [ 0 ] = 'O'; in gdbstub_send_ok()
151 stub->payload [ 1 ] = 'K'; in gdbstub_send_ok()
157 stub->payload [ 0 ] = reply; in gdbstub_send_num_packet()
158 stub->payload [ 1 ] = gdbstub_to_hex_digit ( ( char ) num >> 4 ); in gdbstub_send_num_packet()
159 stub->payload [ 2 ] = gdbstub_to_hex_digit ( ( char ) num ); in gdbstub_send_num_packet()
171 ch = stub->payload [ i ]; in gdbstub_get_packet_args()
199 gdbstub_to_hex_buf ( stub->payload, ( char * ) stub->regs, GDBMACH_SIZEOF_REGS ); in gdbstub_read_regs()
209 gdbstub_from_hex_buf ( ( char * ) stub->regs, &stub->payload [ 1 ], GDBMACH_SIZEOF_REGS ); in gdbstub_write_regs()
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/conversion/
DArrayFilledDataPayloadResolver.java32 FillArrayDataPayload payload = unresolvedPayload.remove(payloadOffset); in addPayloadUser() local
33 resolve(payload); in addPayloadUser()
37 public void resolve(FillArrayDataPayload payload) { in resolve() argument
38 int payloadOffset = payload.getOffset(); in resolve()
41 unresolvedPayload.put(payloadOffset, payload); in resolve()
45 data.element_width = payload.element_width; in resolve()
46 data.size = payload.size; in resolve()
47 data.data = payload.data; in resolve()
/external/parameter-framework/upstream/test/functional-tests/
DFloatingPoint.cpp67 create(Config{&Config::instances, vec.payload});
91 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
100 CHECK_NOTHROW(setParameter(path, vec.payload));
103 CHECK(getValueBack == vec.payload);
124 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
139 CHECK_NOTHROW(setParameter(path, vec.payload));
142 CHECK(getValueBack == vec.payload);
162 CHECK_NOTHROW(handle.setAsDouble(vec.payload));
165 CHECK(getValueBack == vec.payload);
172 CHECK_THROWS_AS(handle.setAsDouble(vec.payload), Exception);
/external/syslinux/core/lwip/src/core/
Dpbuf.c227 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + (SIZEOF_STRUCT_PBUF + offset))); in pbuf_alloc()
229 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
235 ((u8_t*)p->payload + p->len <= in pbuf_alloc()
268 q->payload = (void *)((u8_t *)q + SIZEOF_STRUCT_PBUF); in pbuf_alloc()
270 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
272 ((u8_t*)p->payload + p->len <= in pbuf_alloc()
291 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)); in pbuf_alloc()
297 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
312 p->payload = NULL; in pbuf_alloc()
379 p->pbuf.payload = LWIP_MEM_ALIGN((void *)((u8_t *)payload_mem + offset)); in pbuf_alloced_custom()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dpsfb.cc34 void Psfb::ParseCommonFeedback(const uint8_t* payload) { in ParseCommonFeedback() argument
35 sender_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[0]); in ParseCommonFeedback()
36 media_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[4]); in ParseCommonFeedback()
39 void Psfb::CreateCommonFeedback(uint8_t* payload) const { in CreateCommonFeedback()
40 ByteWriter<uint32_t>::WriteBigEndian(&payload[0], sender_ssrc_); in CreateCommonFeedback()
41 ByteWriter<uint32_t>::WriteBigEndian(&payload[4], media_ssrc_); in CreateCommonFeedback()
Drtpfb.cc34 void Rtpfb::ParseCommonFeedback(const uint8_t* payload) { in ParseCommonFeedback() argument
35 sender_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[0]); in ParseCommonFeedback()
36 media_ssrc_ = ByteReader<uint32_t>::ReadBigEndian(&payload[4]); in ParseCommonFeedback()
39 void Rtpfb::CreateCommonFeedback(uint8_t* payload) const { in CreateCommonFeedback()
40 ByteWriter<uint32_t>::WriteBigEndian(&payload[0], sender_ssrc_); in CreateCommonFeedback()
41 ByteWriter<uint32_t>::WriteBigEndian(&payload[4], media_ssrc_); in CreateCommonFeedback()
/external/google-tv-pairing-protocol/cpp/src/polo/wire/protobuf/
Dprotobufwireadapter.cc201 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 …]
/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c67 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 …]

12345678910>>...28