Home
last modified time | relevance | path

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

12345678910>>...48

/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/grpc-grpc/test/core/tsi/alts/frame_protector/
Dframe_handler_test.cc62 static void frame(frame_handler* handler, unsigned char* payload, in frame() argument
67 GPR_ASSERT(alts_reset_frame_writer(handler->writer, payload, payload_length)); in frame()
96 static void frame_n_deframe(frame_handler* handler, unsigned char* payload, in frame_n_deframe() argument
99 frame(handler, payload, payload_length, write_length); in frame_n_deframe()
104 GPR_ASSERT(memcmp(payload, bytes, payload_length) == 0); in frame_n_deframe()
109 unsigned char payload[] = "hello world"; in frame_handler_test_frame_deframe() local
110 size_t payload_length = strlen((char*)payload) + 1; in frame_handler_test_frame_deframe()
112 frame_n_deframe(handler, payload, payload_length, in frame_handler_test_frame_deframe()
118 unsigned char payload[] = "hello world"; in frame_handler_test_small_buffer() local
119 size_t payload_length = strlen(reinterpret_cast<char*>(payload)) + 1; in frame_handler_test_small_buffer()
[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/scapy/scapy/modules/
Dp0f.py120 if isinstance(pkt.payload, TCP):
122 pkt = pkt.payload
124 if not isinstance(pkt, IP) or not isinstance(pkt.payload, TCP):
129 db = p0f_selectdb(pkt.payload.flags)
156 ilen = (pkt.payload.dataofs << 2) - 20 # from p0f.c
157 for option in pkt.payload.options:
194 win = pkt.payload.window
205 if pkt.payload.flags & 0x10 == 0x10:
213 if pkt.payload.seq == pkt.payload.ack:
217 if pkt.payload.seq == 0:
[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 …]
/external/scapy/scapy/contrib/
Dppi.py68 if (out.payload):
69 out.payload = conf.raw_layer(out.payload.load)
70 out.payload.underlayer = out
72 out.payload.payload = conf.padding_layer(p[pfh_len:])
73 out.payload.payload.underlayer = out.payload
75 out.payload = conf.padding_layer(p[pfh_len:])
76 out.payload.underlayer = out
91 def guess_payload_class(self,payload): argument
92 return conf.l2types.get(self.dlt, Packet.guess_payload_class(self, payload))
/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/parameter-framework/upstream/test/functional-tests/
DEnumParameter.cpp63 create(Config{&Config::instances, vec.payload});
85 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
92 CHECK_NOTHROW(setParameter(path, vec.payload));
95 CHECK(getValueBack == vec.payload);
106 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
113 CHECK_NOTHROW(setParameter(path, vec.payload));
116 CHECK(getValueBack == vec.payload);
124 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
131 CHECK_NOTHROW(setParameter(path, vec.payload));
134 CHECK(getValueBack == vec.payload);
[all …]
DInteger.cpp96 create(Config{&Config::instances, vec.payload});
118 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
125 CHECK_NOTHROW(setParameter(path, vec.payload));
128 CHECK(getValueBack == vec.payload);
141 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
150 CHECK_NOTHROW(setParameter(path, vec.payload));
153 CHECK(getValueBack == vec.payload);
168 CHECK_NOTHROW(handle.setAsSignedInteger(vec.payload));
171 CHECK(getValueBack == vec.payload);
178 CHECK_THROWS_AS(handle.setAsSignedInteger(vec.payload), Exception);
[all …]
DBoolean.cpp69 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
76 CHECK_NOTHROW(setParameter(path, vec.payload));
79 CHECK(getValueBack == vec.payload);
94 CHECK_NOTHROW(handle.setAsBoolean(vec.payload));
97 CHECK(getValueBack == vec.payload);
112 CHECK_NOTHROW(handle.setAsInteger(vec.payload));
115 CHECK(getValueBack == vec.payload);
122 CHECK_THROWS_AS(handle.setAsInteger(vec.payload), Exception);
138 CHECK_THROWS_AS(setParameter(path, vec.payload), Exception);
145 CHECK_NOTHROW(setParameter(path, vec.payload));
[all …]
/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()
138 void benchmark(const char *name, int fd, int s, int num, int do_read, uint8_t payload[], int len, in benchmark() argument
146 if (send_packet(fd, payload, len, payload_sum) == -1) write_err++; in benchmark()
188 uint8_t payload[PAYLOADSIZE]; in main() local
189 for (i = 0; i < (int)sizeof(payload); i++) { in main()
190 payload[i] = (uint8_t)i; in main()
192 uint32_t payload_sum = ip_checksum_add(0, payload, sizeof(payload)); in main()
196 if (send_packet(fd, payload, sizeof(payload), payload_sum) == -1) die("send_packet"); in main()
199 benchmark("Blocking", fd, sock, NUMPACKETS, 1, payload, sizeof(payload), payload_sum); in main()
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/protos/requests/r/
Dtest_requests.proto17 import "tests/protoc_plugin/protos/payload/test_payload.proto";
22 // Desired payload type in the response from the server.
26 // Desired payload size in the response from the server.
30 // input payload sent along with the request.
31 Payload payload = 3; field
35 // input payload sent along with the request.
36 Payload payload = 1; field
38 // Not expecting any payload from the response.
42 // Desired payload sizes in responses from the server.
52 // Desired payload type in the response from the server.
[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/grpc-grpc/src/php/tests/interop/
Dinterop_client.php93 $payload = new Grpc\Testing\Payload();
94 $payload->setType(Grpc\Testing\PayloadType::COMPRESSABLE);
95 $payload->setBody(str_repeat("\0", $request_len));
96 $request->setPayload($payload);
108 $payload = $result->getPayload();
109 hardAssert($payload->getType() === Grpc\Testing\PayloadType::COMPRESSABLE,
111 hardAssert(strlen($payload->getBody()) === $response_len,
113 hardAssert($payload->getBody() === str_repeat("\0", $response_len),
242 $payload = new Grpc\Testing\Payload();
243 $payload->setBody(str_repeat("\0", $length));
[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/grpc-grpc/src/objective-c/examples/RemoteTestClient/
Dmessages.proto23 // The type of payload that should be returned.
39 // Primary contents of payload.
45 // Desired payload type in the response from the server.
49 // Desired payload size in the response from the server.
53 // Optional input payload sent along with the request.
54 Payload payload = 3; field
66 Payload payload = 1; field
76 // Optional input payload sent along with the request.
77 Payload payload = 1; field
79 // Not expecting any payload from the response.
[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/scapy/scapy/layers/
Ddot11.py86 return self.payload.answers(other.payload)
88 return self.payload.answers(other)
141 def guess_payload_class(self, payload): argument
147 return Packet.guess_payload_class(self, payload)
156 return self.payload.answers(other.payload)
160 return self.payload.answers(other.payload)
169 if isinstance(self.payload.payload, NoPayload):
171 self.payload.decrypt(key)
172 if isinstance(self.payload.payload, NoPayload):
177 self.payload=self.payload.payload
[all …]
/external/python/oauth2client/tests/
Dtest_service_account.py98 def _from_json_keyfile_name_helper(payload, scopes=None, argument
104 json.dump(payload, file_obj)
120 payload = {
131 payload, scopes=scopes, token_uri=token_uri, revoke_uri=revoke_uri)
135 payload['token_uri'] = token_uri
136 payload['revoke_uri'] = revoke_uri
138 payload, scopes=scopes)
153 payload = {'type': type_}
155 self._from_json_keyfile_name_helper(payload)
158 payload = {
[all …]
/external/grpc-grpc/src/ruby/pb/test/
Dclient.rb195 req = req_cls.new(payload: Payload.new(body: nulls(req_size)),
200 assert('payload type is wrong') { :COMPRESSABLE == resp.payload.type }
202 resp_size == resp.payload.body.length
226 req = req_cls.new(payload: Payload.new(body: nulls(@req_size)))
274 payload = Payload.new(type: :COMPRESSABLE, body: nulls(req_size))
277 payload: payload,
291 resp.payload.body.length == wanted_response_size
302 payload: payload,
308 resp.payload.body.length == wanted_response_size
378 StreamingInputCallRequest.new(payload: req)
[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 …]

12345678910>>...48