Home
last modified time | relevance | path

Searched refs:AddSlice (Results 1 – 13 of 13) sorted by relevance

/external/perfetto/src/tracing/core/
Dtrace_packet_unittest.cc34 tp.AddSlice(ser_buf.data(), ser_buf.size()); in TEST()
52 tp.AddSlice({ser_buf.data(), 3}); in TEST()
53 tp.AddSlice({ser_buf.data() + 3, 5}); in TEST()
54 tp.AddSlice({ser_buf.data() + 3 + 5, ser_buf.size() - 3 - 5}); in TEST()
82 tp.AddSlice({ser_buf.data(), ser_buf.size() - 2}); // corrupted. in TEST()
107 tp.AddSlice({ser_buf.data(), ser_buf.size()}); in TEST()
128 tp.AddSlice(buf1, sizeof(buf1)); in TEST()
129 tp.AddSlice(buf2, sizeof(buf2)); in TEST()
130 tp.AddSlice(Slice::Allocate(11)); in TEST()
Dtrace_packet.cc39 void TracePacket::AddSlice(Slice slice) { in AddSlice() function in perfetto::TracePacket
44 void TracePacket::AddSlice(const void* start, size_t size) { in AddSlice() function in perfetto::TracePacket
Dtrace_buffer.cc896 packet->AddSlice(packet_data, static_cast<size_t>(packet_size)); in ReadNextPacketInChunk()
Dtracing_service_impl.cc181 packets->back().AddSlice(std::move(slice)); in SerializeAndAppendPacket()
2077 packet.AddSlice(std::move(slice)); in ReadBuffers()
2155 it->AddSlice(Slice::TakeOwnership(std::move(filtered_packet.data), in ReadBuffers()
2986 packets->back().AddSlice(&sync_marker_packet_[0], sync_marker_packet_size_); in EmitSyncMarker()
/external/perfetto/include/perfetto/ext/tracing/core/
Dtrace_packet.h57 void AddSlice(Slice);
61 void AddSlice(const void* start, size_t size);
/external/perfetto/src/perfetto_cmd/
Dpacket_writer.cc223 out_packet.AddSlice(preamble.data(), preamble_size); in FinalizeCompressedPacket()
224 out_packet.AddSlice(start_, size); in FinalizeCompressedPacket()
Dpacket_writer_unittest.cc52 packet.AddSlice(std::move(slice)); in CreateTracePacket()
/external/tensorflow/tensorflow/core/util/tensor_bundle/
Dtensor_bundle.h139 Status AddSlice(StringPiece full_tensor_key,
Dtensor_bundle_test.cc571 TF_ASSERT_OK(writer.AddSlice("foo", kFullShape, slice1, in TEST()
573 TF_ASSERT_OK(writer.AddSlice("foo", kFullShape, slice2, in TEST()
643 TF_ASSERT_OK(writer.AddSlice("no_extents", kFullShape, in TEST()
645 TF_ASSERT_OK(writer.AddSlice("both_extents", kFullShape, in TEST()
Dtensor_bundle.cc476 Status BundleWriter::AddSlice(StringPiece full_tensor_key, in AddSlice() function in tensorflow::BundleWriter
/external/tensorflow/tensorflow/core/kernels/
Dsave_restore_v2_ops.cc133 writer.AddSlice(tensor_name, shape, slice, tensor)); in Compute()
/external/perfetto/src/tracing/ipc/consumer/
Dconsumer_ipc_client_impl.cc183 partial_packet_.AddSlice(std::move(slice)); in OnReadBuffersResponse()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dsparsify_gather_test.cc581 TF_ASSERT_OK(writer.AddSlice("w", TensorShape({4, 1}), in TestReadTensorSlice()