HomeSort by relevance Sort by last modified time
    Searched defs:packet (Results 176 - 200 of 551) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/webrtc/webrtc/modules/audio_coding/test/
RTPFile.cc 89 RTPPacket *packet = new RTPPacket(payloadType, timeStamp, seqNo, payloadData, local
92 _rtpQueue.push(packet);
99 RTPPacket *packet = _rtpQueue.front(); local
103 rtpInfo->header.payloadType = packet->payloadType;
104 rtpInfo->header.sequenceNumber = packet->seqNo;
106 rtpInfo->header.timestamp = packet->timeStamp;
107 if (packet->payloadSize > 0 && payloadSize >= packet->payloadSize) {
108 memcpy(payloadData, packet->payloadData, packet->payloadSize)
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/
send_time_history_unittest.cc 131 PacketInfo packet = received_packets[i]; local
132 EXPECT_TRUE(history_.GetInfo(&packet, false));
133 PacketInfo sent_packet = sent_packets[packet.sequence_number];
134 sent_packet.arrival_time_ms = packet.arrival_time_ms;
135 EXPECT_EQ(sent_packet, packet);
136 EXPECT_TRUE(history_.GetInfo(&packet, true));
138 for (PacketInfo packet : sent_packets)
139 EXPECT_FALSE(history_.GetInfo(&packet, false));
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
rtp_format_vp8_unittest.cc 128 // size fits exactly in the maximum packet size.
276 // Frag start only true for first packet in equal size mode.
302 // EqualSize mode => First packet full; other not.
305 // Frag start only true for first packet in equal size mode.
335 // Expect one single packet of payload_size() + 4 bytes header.
337 const int kExpectedPart[1] = {0}; // Packet starts with partition 0.
364 // Expect one single packet of payload_size() + 3 bytes header.
366 const int kExpectedPart[1] = {0}; // Packet starts with partition 0.
394 // Expect one single packet of payload_size() + 3 bytes header.
396 const int kExpectedPart[1] = {0}; // Packet starts with partition 0
429 uint8_t packet[4] = {0}; local
448 uint8_t packet[10] = {0}; local
482 uint8_t packet[13] = {0}; local
500 uint8_t packet[10] = {0}; local
519 uint8_t packet[10] = {0}; local
537 uint8_t packet[10] = {0}; local
556 uint8_t packet[4] = {0}; local
569 uint8_t packet[20] = {0}; local
    [all...]
  /external/webrtc/webrtc/modules/video_coding/
session_info_unittest.cc 15 #include "webrtc/modules/video_coding/packet.h"
171 // Insert empty packet which will be the new high sequence number.
313 // Insert an older packet with a first packet set.
373 // Insert out of bound regular packets, and then the first and last packet.
382 // Insert an older packet with a first packet set.
428 VCMPacket* packet = local
431 static_cast<size_t>(session_.InsertPacket(*packet, frame_buffer_,
433 delete packet;
478 VCMPacket* packet = local
540 VCMPacket* packet = local
602 VCMPacket* packet = local
664 VCMPacket* packet = local
726 VCMPacket* packet = local
812 VCMPacket* packet = local
    [all...]
  /external/webrtc/webrtc/test/
fake_network_pipe.cc 63 // The packet data.
67 // The time the packet was sent out on the network.
69 // The time the packet should arrive at the reciver.
111 // Too many packet on the link, drop this one.
130 NetworkPacket* packet = new NetworkPacket(data, data_length, time_now, local
132 capacity_link_.push(packet);
161 // Time to get this packet.
162 NetworkPacket* packet = capacity_link_.front(); local
167 delete packet;
172 // earlier than the last packet in the queue
191 NetworkPacket* packet = delay_link_.front(); local
202 NetworkPacket* packet = packets_to_deliver.front(); local
    [all...]
  /external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
conference_transport.cc 112 StorePacket(Packet::Rtp, data, len);
117 StorePacket(Packet::Rtcp, data, len);
131 void ConferenceTransport::StorePacket(Packet::Type type,
136 packet_queue_.push_back(Packet(type, data, len, rtc::Time()));
142 // a packet is first sent to the reflector, and then forwarded to the receiver
145 void ConferenceTransport::SendPacket(const Packet& packet) {
148 switch (packet.type_) {
149 case Packet::Rtp: {
151 rtp_header_parser_->Parse(packet.data_, packet.len_, &rtp_header)
199 Packet packet; local
    [all...]
  /hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
HidParser.cpp 233 ReportPacket packet = { local
255 .bitOffset = packet.bitSize,
260 packet.reports.push_back(digest);
261 packet.bitSize += digest.bitSize * digest.count;
263 if (!packet.reports.empty()) {
264 packets.push_back(std::move(packet));
287 << ", " << i.packets.size() << " report packet:" << LOG_ENDL;
288 for (const auto &packet : i.packets) {
289 os << reportTypeToString(packet.type) << " id: " << packet.i
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldAndroidDatagramTest.java 48 DatagramPacket packet; field in class:OldAndroidDatagramTest.Reflector
58 packet.setLength(buffer.length);
59 socket.receive(packet);
60 String s = stringFromPacket(packet);
61 // System.out.println(s + " (from " + packet.getAddress() + ":" + packet.getPort() + ")");
69 stringToPacket(s.toUpperCase(), packet); local
71 packet.setAddress(InetAddress.getLocalHost());
72 packet.setPort(2345);
74 socket.send(packet);
130 DatagramPacket packet = new DatagramPacket(buffer, buffer.length); local
    [all...]
  /system/bt/hci/src/
hci_packet_factory.cc 49 BT_HDR* packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); local
55 return packet;
73 BT_HDR* packet = local
77 return packet;
83 BT_HDR* packet = local
87 return packet;
93 BT_HDR* packet = local
97 return packet;
103 BT_HDR* packet = make_command(HCI_SET_EVENT_MASK, parameter_size, &stream); local
106 return packet;
113 BT_HDR* packet = local
165 BT_HDR* packet = local
180 BT_HDR* packet = make_packet(HCI_COMMAND_PREAMBLE_SIZE + parameter_size); local
    [all...]
  /system/bt/hci/test/
packet_fragmenter_test.cc 70 BT_HDR* packet = (BT_HDR*)osi_malloc(size + sizeof(BT_HDR)); local
71 packet->len = size;
72 packet->offset = 0;
73 packet->event = event;
74 packet->layer_specific = 0;
75 uint8_t* packet_data = packet->data;
83 return packet;
87 BT_HDR* packet, const char* expected_data,
89 uint8_t* data = packet->data + packet->offset
146 BT_HDR* packet = (BT_HDR*)osi_malloc(length_to_send + 4 + sizeof(BT_HDR)); local
168 BT_HDR* packet = (BT_HDR*)osi_malloc(data_length + sizeof(BT_HDR)); local
    [all...]
  /system/core/debuggerd/
protocol.h 52 // The full packet must always be written, regardless of whether the union is used.
57 } packet; member in struct:TombstonedCrashPacket
61 // This packet should be sent before an actual dump happens.
  /external/nist-sip/java/gov/nist/javax/sip/stack/
UDPMessageChannel.java 163 * Constructor - takes a datagram packet and a stack structure Extracts the
164 * address of the other from the datagram packet and stashes away the
196 * @param packet
197 * is the incoming datagram packet.
200 UDPMessageProcessor messageProcessor, DatagramPacket packet) {
202 this.incomingPacket = packet;
255 DatagramPacket packet; local
286 packet = (DatagramPacket) ((UDPMessageProcessor) messageProcessor).messageQueue
290 this.incomingPacket = packet;
292 packet = this.incomingPacket
    [all...]
  /device/google/cuttlefish_common/guest/hals/sensors/
vsoc_sensors.cpp 306 remoter_request_packet packet; local
307 remoter_request_packet_init(&packet, kRemoterSensorState, 0);
310 packet.params.sensor_state_params.type =
312 packet.params.sensor_state_params.enabled =
314 packet.params.sensor_state_params.delay_ns =
316 packet.params.sensor_state_params.handle = msg.sensor_handle;
320 msg_iov[0].iov_base = &packet;
412 remoter_request_packet packet; local
413 remoter_request_packet_init(&packet, kRemoterHALReady, 0);
414 packet.send_response = 0
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
res_update.c 90 * Create a dynamic update packet for each zone and send it to the
122 u_char buf[PACKETSZ], answer[PACKETSZ], packet[2*PACKETSZ]; local
507 n = res_mkupdate(zptr->z_rr, packet, sizeof packet);
513 fprintf(stdout, "res_mkupdate: packet size = %d\n", n);
544 n = res_send(packet, n, answer, sizeof(answer));
  /external/ImageMagick/coders/
pcx.c 261 packet,
424 packet=(unsigned char) ReadBlobByte(image);
427 *p++=packet;
433 packet=(unsigned char) ReadBlobByte(image);
436 if ((packet & 0xc0) != 0xc0)
438 *p++=packet;
442 count=(ssize_t) (packet & 0x3f);
443 packet=(unsigned char) ReadBlobByte(image);
448 *p++=packet;
809 packet,
255 packet, local
800 packet, local
    [all...]
  /external/android-clat/
clatd.c 71 * Binds the packet socket and attaches the receive filter to it.
82 logmsg(ANDROID_LOG_FATAL, "binding packet socket: %s", strerror(errno));
91 // doesn't match, jump ahead to statement that returns 0 (ignore packet). Repeat for the other
92 // three words of the IPv6 address, and if they all match, return PACKETLEN (accept packet).
110 logmsg(ANDROID_LOG_FATAL, "attach packet filter failed: %s", strerror(errno));
196 * opens a packet socket to receive IPv6 packets and a raw socket to send them
224 * picks the clat IPv6 address and configures packet translation to use it.
267 // Update our packet socket filter to reflect the new 464xlat IP address.
327 * reads a packet from the tunnel fd and translates it
328 * read_fd - file descriptor to read original packet fro
334 uint8_t buf[PACKETLEN], *packet; local
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
JDWPMethodVariableTableTestCase.java 306 CommandPacket packet = new CommandPacket(JDWPCommands.MethodCommandSet.CommandSetID, local
308 packet.setNextValueAsClassID(classID);
309 packet.setNextValueAsMethodID(methodInfo.getMethodID());
310 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ObjectReference/
InvokeMethodDefault002Test.java 57 CommandPacket packet = new CommandPacket( local
60 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY);
61 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL);
62 packet.setNextValueAsInt(1); // number of modifiers
63 packet.setNextValueAsByte(EventMod.ModKind.ClassOnly); // class-only modifier.
64 packet.setNextValueAsReferenceTypeID(debuggeeTypeID);
65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
130 packet = new CommandPacket(
133 packet.setNextValueAsObjectID(receiverObjectID);
134 packet.setNextValueAsThreadID(targetThreadID)
    [all...]
InvokeMethodDefaultTest.java 56 CommandPacket packet = new CommandPacket( local
59 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY);
60 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL);
61 packet.setNextValueAsInt(1);
62 packet.setNextValueAsByte(EventMod.ModKind.ClassOnly); // class-only modifier.
63 packet.setNextValueAsReferenceTypeID(debuggeeTypeID);
64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
130 packet = new CommandPacket(
133 packet.setNextValueAsObjectID(receiverObjectID);
134 packet.setNextValueAsThreadID(targetThreadID)
    [all...]
  /external/boringssl/src/ssl/test/
fuzzer.h 477 // Preserve packet boundaries for DTLS.
478 CBS packet; local
479 if (!CBS_get_u24_length_prefixed(&b->cbs, &packet)) {
482 len = std::min(static_cast<size_t>(len), CBS_len(&packet));
483 memcpy(out, CBS_data(&packet), len);
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineReferenceRenderer.hpp 68 rr::VertexPacket* const packet = packets[packetNdx]; member in class:vkt::pipeline::ColorVertexShader::rr
70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx);
71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx);
73 packet->outputs[0] = position;
74 packet->outputs[1] = color;
75 packet->position = position;
103 rr::VertexPacket* const packet = packets[packetNdx]; member in class:vkt::pipeline::TexCoordVertexShader::rr
105 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx)
145 const rr::FragmentPacket& packet = packets[packetNdx]; local
186 const rr::FragmentPacket& packet = packets[packetNdx]; local
    [all...]
  /external/deqp/modules/egl/
teglColorClearCase.cpp 371 ClearPacket& packet = packets[threadNdx][packetNdx]; local
374 packet.wait = semaphores[packetNdx*numThreads + threadNdx];
375 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1];
377 for (int clearNdx = 0; clearNdx < DE_LENGTH_OF_ARRAY(packet.clears); clearNdx++)
381 packet.clears[clearNdx] = ClearOp(0, 0, width, height, RGBA::black());
383 packet.clears[clearNdx] = computeRandomClear(rnd, width, height);
422 const ClearPacket& packet = packets[threadNdx][packetNdx]; local
423 for (int clearNdx = 0; clearNdx < DE_LENGTH_OF_ARRAY(packet.clears); clearNdx++)
426 packet.clears[clearNdx].x, packet.clears[clearNdx].y, 0
    [all...]
  /external/deqp/modules/gles31/functional/
es31fFboTestUtil.cpp 207 rr::VertexPacket& packet = *packets[packetNdx]; local
209 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx);
210 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx);
376 rr::VertexPacket& packet = *packets[packetNdx]; local
377 const tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy()
    [all...]
  /external/eigen/Eigen/src/Core/
Block.h 263 inline PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::internal::BlockImpl_dense
265 return m_xpr.template packet<Unaligned>(rowId + m_startRow.value(), colId + m_startCol.value());
275 inline PacketScalar packet(Index index) const function in class:Eigen::internal::BlockImpl_dense
277 return m_xpr.template packet<Unaligned>
DenseCoeffsBase.h 221 * \returns the packet of coefficients starting at the given row and column. It is your responsibility
222 * to ensure that a packet really starts there. This method is only available on expressions having the
227 * starting at an address which is a multiple of the packet size.
231 EIGEN_STRONG_INLINE PacketReturnType packet(Index row, Index col) const function in class:Eigen::DenseCoeffsBase
235 return internal::evaluator<Derived>(derived()).template packet<LoadMode,DefaultPacketType>(row,col);
243 return packet<LoadMode>(rowIndexByOuterInner(outer, inner),
248 * \returns the packet of coefficients starting at the given index. It is your responsibility
249 * to ensure that a packet really starts there. This method is only available on expressions having the
254 * starting at an address which is a multiple of the packet size.
258 EIGEN_STRONG_INLINE PacketReturnType packet(Index index) cons function in class:Eigen::DenseCoeffsBase
    [all...]

Completed in 1123 milliseconds

1 2 3 4 5 6 78 91011>>