/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/ |
ChildrenTest.java | 62 CommandPacket packet; local 71 packet = new CommandPacket( 74 packet.setNextValueAsThreadID(threadID); 75 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 82 packet = new CommandPacket( 85 packet.setNextValueAsThreadID(groupID); 86 reply = debuggeeWrapper.vmMirror.performCommand(packet); 188 CommandPacket packet = new CommandPacket( local 191 packet.setNextValueAsThreadGroupID(groupID); 192 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
CurrentContendedMonitorTest.java | 71 CommandPacket packet = new CommandPacket( local 74 packet.setNextValueAsThreadID(testedThreadID); 76 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 85 packet = new CommandPacket( 88 packet.setNextValueAsObjectID(tobj.objectID); 89 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet); 113 packet = new CommandPacket( 116 packet.setNextValueAsThreadID(testedThreadID); 118 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
InterruptTest.java | 67 CommandPacket packet = new CommandPacket( local 70 packet.setNextValueAsThreadID(threadID); 73 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
StopTest.java | 74 CommandPacket packet = new CommandPacket( local 77 packet.setNextValueAsReferenceTypeID(classID); 78 packet.setNextValueAsInt(1); 79 packet.setNextValueAsFieldID(fieldID); 80 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 92 packet = new CommandPacket( 95 packet.setNextValueAsThreadID(threadID); 96 packet.setNextValueAsObjectID(fieldValue.getLongValue()); 98 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
SuspendTest.java | 124 CommandPacket packet = new CommandPacket( local 127 packet.setNextValueAsThreadID(threadID); 128 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 135 packet = new CommandPacket( 138 packet.setNextValueAsReferenceTypeID(threadID); 139 reply = debuggeeWrapper.vmMirror.performCommand(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
AllThreadsTest.java | 60 CommandPacket packet = new CommandPacket( local 64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 81 packet = new CommandPacket( 84 packet.setNextValueAsReferenceTypeID(threadID); 86 replyName = debuggeeWrapper.vmMirror.performCommand(packet); 118 CommandPacket packet = new CommandPacket( local 122 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 141 packet = new CommandPacket( 144 packet.setNextValueAsReferenceTypeID(threadID); 146 replyName = debuggeeWrapper.vmMirror.performCommand(packet); 191 CommandPacket packet = new CommandPacket( local [all...] |
HoldEventsTest.java | 65 CommandPacket packet = new CommandPacket( local 69 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 86 packet = new CommandPacket( 89 debuggeeWrapper.vmMirror.performCommand(packet);
|
TopLevelThreadGroupsTest.java | 50 * <BR> - there are no extra data in the reply packet; 58 CommandPacket packet = new CommandPacket( local 61 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 82 CommandPacket packet = new CommandPacket( local 85 packet.setNextValueAsThreadGroupID(rootID); 86 ReplyPacket replyParent = debuggeeWrapper.vmMirror.performCommand(packet); 93 packet = new CommandPacket( 96 packet.setNextValueAsThreadGroupID(rootID); 97 ReplyPacket replyChilds = debuggeeWrapper.vmMirror.performCommand(packet); 107 packet = new CommandPacket [all...] |
/external/eigen/Eigen/src/Core/ |
ArrayWrapper.h | 97 inline const PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::ArrayWrapper 99 return m_expression.template packet<LoadMode>(rowId, colId); 109 inline const PacketScalar packet(Index index) const function in class:Eigen::ArrayWrapper 111 return m_expression.template packet<LoadMode>(index); 222 inline const PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::MatrixWrapper 224 return m_expression.template packet<LoadMode>(rowId, colId); 234 inline const PacketScalar packet(Index index) const function in class:Eigen::MatrixWrapper 236 return m_expression.template packet<LoadMode>(index);
|
CwiseUnaryOp.h | 107 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::CwiseUnaryOpImpl 109 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(rowId, colId)); 118 EIGEN_STRONG_INLINE PacketScalar packet(Index index) const function in class:Eigen::CwiseUnaryOpImpl 120 return derived().functor().packetOp(derived().nestedExpression().template packet<LoadMode>(index));
|
/external/libvorbis/doc/ |
08-residue.tex | 16 residue vectors into the bitstream packet, and then reconstructs the 231 An end-of-packet condition at any point in header decode renders the 241 \subsubsection{packet decode} 243 Format 0 and 1 packet decode is identical except for specific 244 partition interleave. Format 2 packet decode can be built out of the 286 Packet decode proceeds as follows, matching the description offered earlier in the document. 302 9) [temp] = read from packet using codebook [residue_classbook] in scalar context 344 An end-of-packet condition during packet decode is to be considered a 367 3) vector [entry_temp] = read vector from packet using current codebook in VQ contex [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
common.c | 35 * packet -- the PPPoE discovery packet to parse 36 * func -- function called for each tag in the packet 41 * Parses a PPPoE discovery packet, calling "func" for each tag in the packet. 45 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra) 47 UINT16_t len = ntohs(packet->length); 51 if (PPPOE_VER(packet->vertype) != 1) { 52 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype)); 55 if (PPPOE_TYPE(packet->vertype) != 1) 98 PPPoEPacket packet; local [all...] |
/external/srtp/srtp/ |
ekt.c | 207 uint8_t *packet; local 217 packet = (uint8_t*)base_tag + base_tag_len; 219 /* copy encrypted master key into packet */ 221 memcpy(packet, ekt->encrypted_master_key, emk_len); 223 octet_string_hex_string(packet, emk_len)); 224 packet += emk_len; 226 /* copy ROC into packet */ 228 *((uint32_t *)packet) = be32_to_cpu(roc); 230 octet_string_hex_string(packet, sizeof(roc))); 231 packet += sizeof(roc) [all...] |
/external/webrtc/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(int timeout_ms) { 56 // at most timeout_ms. If, during the loop, a packet arrives, then we can 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(kTimeoutMs); local 103 Packet* packet = NextPacket(kNoPacketTimeoutMs); local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
producer_fec_unittest.cc | 26 RedPacket* packet, 28 EXPECT_GT(packet->length(), kRtpHeaderSize); 29 EXPECT_TRUE(packet->data() != NULL); 30 uint8_t* data = packet->data(); 59 // Verifies bug found via fuzzing, where a gap in the packet sequence caused us 60 // to move past the end of the current FEC packet mask byte without moving to 64 struct Packet { 70 std::vector<Packet> protected_packets; 83 uint8_t packet[28] = {0}; local 84 for (Packet p : protected_packets) 189 RtpPacket* packet = generator_->NextPacket(0, 10); local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
nack_unittest.cc | 53 rtc::scoped_ptr<RawPacket> packet = nack.Build(); local 55 EXPECT_EQ(kPacketLength, packet->Length()); 56 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength)); 80 rtc::scoped_ptr<RawPacket> packet = nack.Build(); local 82 EXPECT_EQ(kWrapPacketLength, packet->Length()); 83 EXPECT_EQ(0, memcmp(kWrapPacket, packet->Buffer(), kWrapPacketLength)); 110 rtc::scoped_ptr<RawPacket> packet = nack.Build(); local 115 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header)); 117 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes)) [all...] |
receiver_report_unittest.cc | 42 void BuildPacket() { packet = rr.Build(); } 46 RtcpParseCommonHeader(packet->Buffer(), packet->Length(), &header)); 47 EXPECT_EQ(header.BlockSize(), packet->Length()); 49 header, packet->Buffer() + RtcpCommonHeader::kHeaderSizeBytes)); 53 rtc::scoped_ptr<RawPacket> packet; member in class:webrtc::__anon27115::RtcpPacketReceiverReportTest 81 header.count_or_format++; // Damage the packet. 99 ASSERT_EQ(kPacketLength, packet->Length()); 100 EXPECT_EQ(0, memcmp(kPacket, packet->Buffer(), kPacketLength));
|
/external/webrtc/webrtc/p2p/base/ |
asyncstuntcpsocket_unittest.cc | 118 std::string packet = recv_packets_.front(); local 120 ret = (memcmp(data, packet.c_str(), len) == 0); 133 // Testing a stun packet sent/recv properly. 231 unsigned char packet[65539]; local 232 packet[0] = 0x40; 233 packet[1] = 0x00; 234 packet[2] = 0xFF; 235 packet[3] = 0xFF; 236 EXPECT_TRUE(Send(packet, sizeof(packet))); 245 unsigned char packet[65552]; local [all...] |
/frameworks/base/services/tests/servicestests/src/android/net/dhcp/ |
DhcpPacketTest.java | 127 ByteBuffer packet = new TestDhcpPacket(DHCP_MESSAGE_TYPE_OFFER) local 131 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); 172 ByteBuffer packet = testPacket.build(); local 177 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); 178 fail("Invalid packet parsed successfully: " + offerPacket); 184 offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); 225 ByteBuffer packet = new TestDhcpPacket(type, clientIp, yourIp) local 228 DhcpPacket offerPacket = DhcpPacket.decodeFullPacket(packet, ENCAP_BOOTP); 247 // A packet without any addresses is not valid. 288 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode( local 319 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 375 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 412 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 489 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 522 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 553 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 587 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 623 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 656 final ByteBuffer packet = ByteBuffer.wrap(HexEncoding.decode(( local 696 ByteBuffer packet = DhcpPacket.buildDiscoverPacket( local [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/policyrep/ |
netcontext.py | 77 return "netifcon {0.netif} {0.context} {0.packet}".format(self) 93 def packet(self): member in class:Netifcon
|
/system/bt/tools/hci/ |
main.c | 32 static bool write_hci_command(hci_packet_t type, const void *packet, size_t length); 41 { "setScoRoute", "(pcm|i2s|uart) - sets the SCO packet route to one of the specified buses.", set_sco_route }, 71 uint8_t packet[] = { 0x1A, 0x0C, 0x01, 0x00 }; local 73 packet[ARRAY_SIZE(packet) - 1] = 0x03; 75 return !write_hci_command(HCI_PACKET_COMMAND, packet, ARRAY_SIZE(packet)); 90 uint8_t packet[251] = { 0x13, 0x0C, 248 }; local 91 memcpy(&packet[3], argv[0], len + 1); 93 if (!write_hci_command(HCI_PACKET_COMMAND, packet, sizeof(packet)) 118 uint8_t packet[] = { 0x24, 0xFC, 0x01, 0x00 }; local 144 uint8_t packet[] = { 0x1C, 0xFC, 0x05, 0x00, 0x02, 0x00, 0x00, 0x00 }; local [all...] |
/system/bt/vendor_libs/test_vendor_lib/test/ |
packet_stream_unittest.cc | 20 #include "vendor_libs/test_vendor_lib/include/packet.h" 59 std::vector<uint8_t> packet; local 61 packet.push_back(DATA_TYPE_COMMAND); 62 packet.push_back(opcode); 63 packet.push_back(opcode >> 8); 64 packet.push_back(payload_size); 66 // Set the packet's payload. 68 packet.push_back(payload[i]); 70 // Send the packet to |packet_stream_|. 71 write(socketpair_fds_[1], &packet[1], packet.size()) [all...] |
/system/core/libnetutils/ |
packet.c | 165 } packet; local 171 nread = read(s, &packet, sizeof(packet)); 176 * The raw packet interface gives us all packets received by the 183 ALOGD("Packet is too small (%d) to be a UDP datagram", nread); 185 } else if (packet.ip.version != IPVERSION || packet.ip.ihl != (sizeof(packet.ip) >> 2)) { 187 ALOGD("Not a valid IP packet"); 189 } else if (nread < ntohs(packet.ip.tot_len)) [all...] |
/cts/tests/tests/net/src/android/net/rtp/cts/ |
AudioGroupTest.java | 78 DatagramPacket packet = new DatagramPacket(new byte[length + 1], length + 1); local 80 socket.receive(packet); 81 assertEquals(packet.getLength(), length); 85 DatagramPacket packet = new DatagramPacket(new byte[1], 1); local 91 socket.receive(packet);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
InvokeMethod002Test.java | 58 CommandPacket packet = new CommandPacket( local 62 packet.setNextValueAsString(classSig); 64 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet); 84 packet = new CommandPacket( 87 packet.setNextValueAsClassID(classID); 89 reply = debuggeeWrapper.vmMirror.performCommand(packet); 109 packet = new CommandPacket( 112 packet.setNextValueAsByte(JDWPConstants.EventKind.METHOD_ENTRY); 113 packet.setNextValueAsByte(JDWPConstants.SuspendPolicy.ALL); 114 packet.setNextValueAsInt(1) [all...] |