/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/ |
packet.cc | 5 #include "nacl_io/socket/packet.h" 14 Packet::Packet(PepperInterface* ppapi) 18 Packet::~Packet() { 24 void Packet::Copy(const void* buffer, size_t len, PP_Resource addr) {
|
packet.h | 17 // NOTE: The Packet class always owns the buffer and address. 18 class Packet { 20 explicit Packet(PepperInterface* ppapi); 21 ~Packet(); 36 DISALLOW_COPY_AND_ASSIGN(Packet);
|
/external/chromium_org/third_party/webrtc/base/ |
testclient.cc | 17 // DESIGN: Each packet received is put it into a list of packets. 23 packets_ = new std::vector<Packet*>(); 54 TestClient::Packet* TestClient::NextPacket() { 56 // at most 1 second. If, during the loop, a packet arrives, then we can stop 59 // Note that the case where no packet arrives is important. We often want to 60 // test that a packet does not arrive. 77 // Return the first packet placed in the queue. 78 Packet* packet = NULL; local 81 packet = packets_->front() 91 Packet* packet = NextPacket(); local 103 Packet* packet = NextPacket(); local [all...] |
testclient.h | 24 // Records the contents of a packet that was received. 25 struct Packet { 26 Packet(const SocketAddress& a, const char* b, size_t s); 27 Packet(const Packet& p); 28 virtual ~Packet(); 57 // Returns the next packet received by the client or 0 if none is received 58 // within a reasonable amount of time. The caller must delete the packet 60 Packet* NextPacket(); 62 // Checks that the next packet has the given contents. Returns the remot [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
packet.h | 29 class Packet { 31 // Creates a packet, with the packet payload (including header bytes) in 34 // when the Packet object is deleted. The |time_ms| is an extra time 35 // associated with this packet, typically used to denote arrival time. 37 Packet(uint8_t* packet_memory, 45 // |virtual_packet_length_bytes| tells what size the packet had on wire, 48 Packet(uint8_t* packet_memory, 58 Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms); 60 Packet(uint8_t* packet_memory [all...] |
packet.cc | 11 #include "webrtc/modules/audio_coding/neteq/tools/packet.h" 21 Packet::Packet(uint8_t* packet_memory, 35 Packet::Packet(uint8_t* packet_memory, 50 Packet::Packet(uint8_t* packet_memory, size_t allocated_bytes, double time_ms) 62 Packet::Packet(uint8_t* packet_memory, 77 bool Packet::ExtractRedHeaders(std::list<RTPHeader*>* headers) const [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/ |
forward_error_correction.h | 36 // TODO(holmer): As a next step all these struct-like packet classes should be 39 // and receiver_fec.cc to be refactored into the packet classes. 40 class Packet { 42 Packet() : length(0), data(), ref_count_(0) {} 43 virtual ~Packet() {} 52 uint16_t length; // Length of packet in bytes. 53 uint8_t data[IP_PACKET_SIZE]; // Packet data. 56 int32_t ref_count_; // Counts the number of references to a packet. 77 // media packet or higher than the last media packet.\ [all...] |
fec_test_helper.h | 29 typedef ForwardErrorCorrection::Packet Packet; 31 struct RtpPacket : public Packet { 45 // Creates a new RtpPacket with the RED header added to the packet. 46 RtpPacket* BuildMediaRedPacket(const RtpPacket* packet); 50 // header. Finally replaces the payload with the content of |packet->data|. 51 RtpPacket* BuildFecRedPacket(const Packet* packet); 53 void SetRedHeader(Packet* red_packet, uint8_t payload_type,
|
rtp_format_h264.h | 36 // written to buffer. The parameter last_packet is true for the last packet of 38 // next packet). 51 struct Packet { 52 Packet(size_t offset, 72 typedef std::queue<Packet> PacketQueue;
|
/external/chromium_org/media/formats/mp2t/ |
es_parser_test_base.h | 26 struct Packet { 27 Packet(); 32 // Size of the packet. 35 // Timestamp of the packet. 55 const std::vector<Packet>& pes_packets, 58 // Assume the offsets are known, compute the size of each packet. 59 // The last packet is assumed to cover the end of the stream. 61 void ComputePacketSize(std::vector<Packet>* packets); 64 std::vector<Packet> GenerateFixedSizePesPacket(size_t pes_size);
|
es_parser_test_base.cc | 20 EsParserTestBase::Packet::Packet() 62 const std::vector<Packet>& pes_packets, 91 void EsParserTestBase::ComputePacketSize(std::vector<Packet>* packets) { 96 Packet* cur = &(*packets)[0]; 98 Packet* next = &(*packets)[k + 1]; 107 std::vector<EsParserTestBase::Packet> 110 std::vector<Packet> pes_packets; 112 Packet cur_pes_packet;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
packet.h | 22 struct Packet { 31 Packet() 39 // Comparison operators. Establish a packet ordering based on (1) timestamp, 40 // (2) sequence number, (3) regular packet vs sync-packet and (4) redundancy. 43 // the packets is sync-packet, the regular packet is considered earlier. For 46 bool operator==(const Packet& rhs) const { 52 bool operator!=(const Packet& rhs) const { return !operator==(rhs); } 53 bool operator<(const Packet& rhs) const [all...] |
/external/chromium_org/third_party/webrtc/test/ |
rtp_file_reader.h | 26 struct Packet { 38 virtual bool NextPacket(Packet* packet) = 0;
|
/external/eigen/Eigen/src/Core/ |
Swap.h | 34 typedef typename internal::packet_traits<Scalar>::type Packet; 99 Packet tmp = m_expression.template packet<StoreMode>(rowId, colId); 101 _other.template packet<LoadMode>(rowId, colId) 111 Packet tmp = m_expression.template packet<StoreMode>(index); 113 _other.template packet<LoadMode>(index)
|
SelfCwiseBinaryOp.h | 25 * aligned packet loads. 53 typedef typename internal::packet_traits<Scalar>::type Packet; 113 m_functor.packetOp(m_matrix.template packet<StoreMode>(row, col),_other.template packet<LoadMode>(row, col)) ); 122 m_functor.packetOp(m_matrix.template packet<StoreMode>(index),_other.template packet<LoadMode>(index)) );
|
/external/eigen/test/eigen2/ |
eigen2_packetmath.cpp | 45 typedef typename ei_packet_traits<Scalar>::type Packet; 51 EIGEN_ALIGN_128 Packet packets[PacketSize*2];
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
richards.js | 51 var queue = new Packet(null, ID_WORKER, KIND_WORK); 52 queue = new Packet(queue, ID_WORKER, KIND_WORK); 55 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 60 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 61 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 62 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 83 * These two constants specify how many times a packet is queued and 123 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-richards.js | 46 var queue = new Packet(null, ID_WORKER, KIND_WORK); 47 queue = new Packet(queue, ID_WORKER, KIND_WORK); 50 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 51 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 52 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 55 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 78 * These two constants specify how many times a packet is queued and 118 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-richards.js | 46 var queue = new Packet(null, ID_WORKER, KIND_WORK); 47 queue = new Packet(queue, ID_WORKER, KIND_WORK); 50 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 51 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 52 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 55 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 78 * These two constants specify how many times a packet is queued and 118 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-richards.js | 46 var queue = new Packet(null, ID_WORKER, KIND_WORK); 47 queue = new Packet(queue, ID_WORKER, KIND_WORK); 50 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 51 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 52 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 55 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 78 * These two constants specify how many times a packet is queued and 118 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fixtures/ |
after_initialization_fixture.h | 39 StorePacket(Packet::Rtp, channel, data, len); 44 StorePacket(Packet::Rtcp, channel, data, len); 49 struct Packet { 52 Packet() : len(0) {} 53 Packet(Type type, int channel, const void* data, int len) 64 void StorePacket(Packet::Type type, int channel, const void* data, int len) { 66 packet_queue_.push_back(Packet(type, channel, data, len)); 87 Packet p; 97 case Packet::Rtp: 101 case Packet::Rtcp [all...] |
/external/chromium_org/v8/benchmarks/ |
richards.js | 51 var queue = new Packet(null, ID_WORKER, KIND_WORK); 52 queue = new Packet(queue, ID_WORKER, KIND_WORK); 55 queue = new Packet(null, ID_DEVICE_A, KIND_DEVICE); 56 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 57 queue = new Packet(queue, ID_DEVICE_A, KIND_DEVICE); 60 queue = new Packet(null, ID_DEVICE_B, KIND_DEVICE); 61 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 62 queue = new Packet(queue, ID_DEVICE_B, KIND_DEVICE); 83 * These two constants specify how many times a packet is queued and 123 * @param {Packet} queue the queue of work to be processed by the tas [all...] |
/external/llvm/include/llvm/CodeGen/ |
ResourcePriorityQueue.h | 69 /// Resource model - packet/bundle model. Purely 71 std::vector<SUnit*> Packet;
|
/external/chromium_org/media/cast/ |
cast_config.h | 164 typedef Packet Packet;
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/automated/ |
vie_network_test.cc | 36 Packet p; 55 for (std::vector<Packet>::const_iterator it = packets_.begin(); 66 struct Packet { 67 Packet() : channel(-1), length(0), header(), remb_bitrate(0), remb_ssrc() {} 75 bool TryParseREMB(const uint8_t* buf, int length, Packet* p) { 100 std::vector<Packet> packets_;
|