/external/eigen/test/ |
packetmath.cpp | 67 internal::pstore(data2, POP(internal::pload<Packet>(data1))); \ 71 template<bool Cond,typename Packet> 75 inline Packet load(const T* from) const { return internal::pload<Packet>(from); } 78 inline void store(T* to, const Packet& x) const { internal::pstore(to,x); } 81 template<typename Packet> 82 struct packet_helper<false,Packet> 92 packet_helper<COND,Packet> h; \ 100 packet_helper<COND,Packet> h; \ 116 typedef typename PacketTraits::type Packet; 595 Packet packet = internal::pload<Packet>(data1); local [all...] |
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
TensorAssign.h | 141 m_leftImpl.template writePacket<LhsStoreMode>(i, m_rightImpl.template packet<RhsLoadMode>(i)); 148 EIGEN_DEVICE_FUNC PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 150 return m_leftImpl.template packet<LoadMode>(index);
|
TensorContractionMapper.h | 40 typename Tensor::PacketReturnType packet(typename Tensor::Index index) const function in struct:Eigen::internal::CoeffLoader 42 return m_tensor.template packet<LoadMode>(index); 64 typename Tensor::PacketReturnType packet(typename Tensor::Index index) const function in struct:Eigen::internal::CoeffLoader 235 typedef typename Tensor::PacketReturnType Packet; 236 typedef typename unpacket_traits<Packet>::half HalfPacket; 240 EIGEN_STRONG_INLINE Packet loadPacket(Index i, Index j) const { 244 // current code assumes packet size must be a multiple of 2 250 return this->m_tensor.template packet<AlignmentType>(index); 257 // We can always do optimized packet reads from left hand side right now, because 265 return this->m_tensor.template packet<AlignmentType>(first) [all...] |
TensorConversion.h | 19 * type casting operations when the number of scalars per packet in the source 59 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const { function in struct:Eigen::PacketConverter 60 return internal::pcast<SrcPacket, TgtPacket>(m_impl.template packet<LoadMode>(index)); 75 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const { function in struct:Eigen::PacketConverter 78 SrcPacket src1 = m_impl.template packet<LoadMode>(index); 79 SrcPacket src2 = m_impl.template packet<LoadMode>(index + SrcPacketSize); 95 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const { function in struct:Eigen::PacketConverter 98 SrcPacket src1 = m_impl.template packet<LoadMode>(index); 99 SrcPacket src2 = m_impl.template packet<LoadMode>(index + SrcPacketSize); 100 SrcPacket src3 = m_impl.template packet<LoadMode>(index + 2 * SrcPacketSize) 117 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TgtPacket packet(Index index) const { function in struct:Eigen::PacketConverter 225 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator [all...] |
TensorCustomOp.h | 132 EIGEN_DEVICE_FUNC PacketReturnType packet(Index index) const { function in struct:Eigen::TensorEvaluator 287 EIGEN_DEVICE_FUNC PacketReturnType packet(Index index) const { function in struct:Eigen::TensorEvaluator
|
TensorEvalTo.h | 137 internal::pstoret<CoeffReturnType, PacketReturnType, Aligned>(m_buffer + i, m_impl.template packet<TensorEvaluator<ArgType, Device>::IsAligned ? Aligned : Unaligned>(i)); 150 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator
|
TensorEvaluator.h | 77 PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 193 PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 263 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 333 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 335 return m_functor.packetOp(m_argImpl.template packet<LoadMode>(index)); 411 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 413 return m_functor.packetOp(m_leftImpl.template packet<LoadMode>(index), m_rightImpl.template packet<LoadMode>(index)); 508 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 510 return m_functor.packetOp(m_arg1Impl.template packet<LoadMode>(index) 598 EIGEN_DEVICE_FUNC PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator [all...] |
TensorForcedEval.h | 142 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator
|
TensorGenerator.h | 134 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator
|
TensorInflation.h | 190 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in namespace:Eigen
|
TensorLayoutSwap.h | 153 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 155 return m_impl.template packet<LoadMode>(index);
|
TensorPatch.h | 185 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 233 PacketReturnType rslt = m_impl.template packet<Unaligned>(inputIndices[0]);
|
TensorReverse.h | 196 PacketReturnType packet(Index index) const function in namespace:Eigen
|
TensorShuffling.h | 167 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator
|
TensorStriding.h | 165 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE PacketReturnType packet(Index index) const function in struct:Eigen::TensorEvaluator 196 PacketReturnType rslt = m_impl.template packet<Unaligned>(inputIndices[0]); 217 compute_cost *= 2; // packet() computes two indices 221 // Computation is not vectorized per se, but it is done once per packet.
|
/external/libogg/include/ogg/ |
ogg.h | 54 unsigned char *body_data; /* bytes from packet bodies */ 72 int e_o_s; /* set when we have buffered the last packet in the 88 to a single raw Ogg/Vorbis packet *************************************/ 91 unsigned char *packet; member in struct:__anon25581
|
/external/libopus/tests/ |
test_opus_decode.c | 62 unsigned char *packet; local 69 packet=malloc(sizeof(unsigned char)*MAX_PACKET); 70 if(packet==NULL)test_failed(); 131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec); 136 out_samples = opus_decode(dec[t], packet, 0, outbuf, 0, fec); 142 out_samples = opus_decode(dec[t], packet, 0, 0, 0, fec); 150 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec); 152 out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf, MAX_FRAME_SAMP, fec); 154 out_samples = opus_decode(dec[t], packet, -1, outbuf, -1, fec); 158 out_samples = opus_decode(dec[t], packet, 1, outbuf, MAX_FRAME_SAMP, fec?-1:2) [all...] |
/external/ltp/testcases/network/sockets/ |
ltpClient.c | 59 struct packet { struct 370 unsigned char packet[PACKET_LEN]; local 385 memset(packet, 0, sizeof(packet)); 388 recvfrom(rawSocket, packet, sizeof(packet), 0, 392 output_to_display(packet, bytes, pid); 489 struct packet rawPacket; 567 struct packet rawTracePacket;
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state_init.c | 53 /* New (1.3) state mechanism. 3 commands (packet, scalar, vector) in 61 } packet[RADEON_MAX_STATE_PACKETS] = { variable in typeref:struct:__anon30535 167 return CP_PACKET0(packet[id].start, packet[id].len - 1); 492 OUT_BATCH(CP_PACKET0(packet[0].start, 3)); 752 /* Fill in the packet headers: [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 39 * packet, a new UDPMessageChannel is created (upto the max thread pool size). 190 DatagramPacket packet = new DatagramPacket(message, bufsize); local 191 sock.receive(packet); 240 this.messageQueue.add(packet); 244 new UDPMessageChannel(sipStack, this, packet);
|
/external/perfetto/src/ftrace_reader/ |
ftrace_controller_unittest.cc | 667 auto packet = writer->NewTracePacket(); local 668 auto* out = packet->set_ftrace_stats();
|
/external/perfetto/src/tracing/test/ |
tracing_integration_test.cc | 84 void CheckTraceStats(const protos::TracePacket& packet) { 85 EXPECT_TRUE(packet.has_trace_stats()); 86 EXPECT_GE(packet.trace_stats().producers_seen(), 1); 87 EXPECT_EQ(1, packet.trace_stats().producers_connected()); 88 EXPECT_EQ(1, packet.trace_stats().data_sources_registered()); 89 EXPECT_EQ(1, packet.trace_stats().tracing_sessions()); 90 EXPECT_EQ(1, packet.trace_stats().total_buffers()); 91 EXPECT_EQ(1, packet.trace_stats().buffer_stats_size()); 93 const auto& buf_stats = packet.trace_stats().buffer_stats(0); 242 protos::TracePacket packet; 355 const protos::TracePacket& packet = tmp_trace.packet(i); local [all...] |
/external/perfetto/tools/trace_to_text/ |
main.cc | 160 protos::TracePacket packet; local 161 auto res = packet.ParseFromArray(buf.get(), static_cast<int>(field_size)); 163 f(packet); 172 ForEachPacketInTrace(input, [&sorted](const protos::TracePacket& packet) { 173 if (!packet.has_ftrace_events()) 176 const FtraceEventBundle& bundle = packet.ftrace_events(); 404 &resolved_scan_inodes](const protos::TracePacket& packet) { 406 if (packet.has_process_tree()) { 407 const ProcessTree& tree = packet.process_tree(); 417 if (packet.has_inode_file_map()) [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
pppoe-discovery.c | 25 #include <netpacket/packet.h> 67 * packet -- a received PPPoE packet 69 * ethernet packet type (see /usr/include/net/ethertypes.h) 71 * Checks the ethernet packet header to determine its type. 74 * Note that the ethernet type names come from "pppoe.h" and the packet 75 * packet structure names use the LINUX dialect to maintain consistency 80 etherType(PPPoEPacket *packet) 82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 198 * pkt -- the packet to transmi 445 PPPoEPacket packet; local 514 PPPoEPacket packet; local [all...] |
/external/skia/experimental/Networking/ |
SkSockets.cpp | 90 char packet[PACKET_SIZE]; local 95 memset(packet, 0, PACKET_SIZE); 105 int retval = read(i, packet + bytesReadInPacket, 113 continue; //incomplete packet or frame, keep tring 133 continue; //incomplete packet, keep trying 137 memcpy(&h.done, packet, sizeof(bool)); 138 memcpy(&h.bytes, packet + sizeof(bool), sizeof(int)); 139 memcpy(&h.type, packet + sizeof(bool) + sizeof(int), sizeof(DataType)); 141 //SkDebugf("bad packet\n"); 145 //SkDebugf("read packet(done:%d, bytes:%d) from fd:%d in %d tries\n" 177 char packet[PACKET_SIZE]; local [all...] |