Home
last modified time | relevance | path

Searched refs:slices_ (Results 1 – 15 of 15) sorted by relevance

/external/perfetto/src/protozero/
Dscattered_heap_buffer.cc63 slices_.push_back(std::move(cached_slice_)); in GetNewBuffer()
66 slices_.emplace_back(next_slice_size_); in GetNewBuffer()
69 return slices_.back().GetTotalRange(); in GetNewBuffer()
75 return slices_; in GetSlices()
101 if (!slices_.empty()) in AdjustUsedSizeOfCurrentSlice()
102 slices_.back().set_unused_bytes(writer_->bytes_available()); in AdjustUsedSizeOfCurrentSlice()
107 for (auto& slice : slices_) { in GetTotalSize()
114 if (slices_.empty()) in Reset()
116 cached_slice_ = std::move(slices_.front()); in Reset()
118 slices_.clear(); in Reset()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/http/message_compress/
Dmessage_compress_filter.cc122 grpc_slice_buffer_destroy_internal(&slices_); in ~CallData()
165 grpc_slice_buffer slices_; /**< Buffers up input slices to be compressed */ member in __anona4fad1ac0111::CallData
228 grpc_slice_buffer_init(&slices_); in InitializeState()
286 grpc_slice_buffer_reset_and_unref_internal(&calld->slices_); in SendMessageOnComplete()
309 grpc_msg_compress(message_compression_algorithm_, &slices_, &tmp); in FinishSendMessage()
313 const size_t before_size = slices_.length; in FinishSendMessage()
324 grpc_slice_buffer_swap(&slices_, &tmp); in FinishSendMessage()
334 algo_name, slices_.length); in FinishSendMessage()
341 grpc_core::SliceBufferByteStream(&slices_, send_flags); in FinishSendMessage()
368 grpc_slice_buffer_add(&slices_, incoming_slice); in PullSliceFromSendMessage()
[all …]
/external/perfetto/src/tracing/core/
Dtrace_packet.cc32 slices_ = std::move(other.slices_); in operator =()
33 other.slices_.clear(); in operator =()
41 slices_.push_back(std::move(slice)); in AddSlice()
46 slices_.emplace_back(start, size); in AddSlice()
/external/tensorflow/tensorflow/dtensor/mlir/
Dgroup_assignment.h102 return slices_[slice_id].ToMLIR(context); in SliceToMLIR()
113 int num_slices() const { return slices_.size(); } in num_slices()
128 return slices_[slice_id].num_groups(); in num_groups()
133 return slices_[slice_id].group_size(); in group_size()
136 return slices_[slice_id].replica_ids(); in replica_ids()
181 std::vector<ReplicaGroups> slices_; // sorted by increasing slice ID variable
Dgroup_assignment.cc183 slices_.empty() in ToString()
185 : str_util::Join(slices_, ", ", in ToString()
248 slices_.reserve(num_slices); in GlobalToSlices()
251 slices_.push_back(ReplicaGroups(std::move(replica_groups_per_slice[i]))); in GlobalToSlices()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set.cc38 if (slices_.empty()) { in Register()
44 for (const auto& x : slices_) { in Register()
56 slices_.insert(std::make_pair(str, info)); in Register()
67 const TensorSliceSet::SliceInfo* info = gtl::FindOrNull(slices_, str); in QueryMeta()
90 for (const auto& x : slices_) { in QueryMeta()
Dtensor_slice_set.h66 return slices_; in Slices()
73 std::unordered_map<string, SliceInfo> slices_; variable
Dtensor_slice_writer.cc89 slices_(0) { in TensorSliceWriter()
120 VLOG(1) << "Written " << slices_ << " slices for " in Finish()
Dtensor_slice_writer.h95 int slices_; variable
160 ++slices_; in Add()
/external/tensorflow/tensorflow/core/kernels/data/
Dshuffle_dataset_op.cc223 DCHECK(!slices_.empty()); in GetNextInternal()
227 Random() % (slices_.front()->end - slices_.front()->start); in GetNextInternal()
228 int64_t index = (slices_.front()->start + offset) % buffer_->size(); in GetNextInternal()
232 buffer_->at(slices_.front()->start % buffer_->size())); in GetNextInternal()
233 slices_.front()->start++; in GetNextInternal()
280 writer->WriteScalar(this->full_name(kSlicesSize), slices_.size())); in SaveInternal()
281 for (size_t i = 0; i < slices_.size(); ++i) { in SaveInternal()
285 slices_[i]->start)); in SaveInternal()
288 slices_[i]->end)); in SaveInternal()
340 slices_.clear(); in RestoreInternal()
[all …]
/external/perfetto/include/perfetto/ext/tracing/core/
Dtrace_packet.h54 const Slices& slices() const { return slices_; } in slices()
80 Slices slices_; // Not owned. variable
/external/perfetto/include/perfetto/protozero/
Dscattered_heap_buffer.h88 const std::vector<Slice>& slices() const { return slices_; } in slices()
108 std::vector<Slice> slices_; variable
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_chttp2_transport.cc69 grpc_slice_buffer_add(slices_, slice); in PushInput()
77 grpc_slice_buffer* slices_ = nullptr; member in DummyEndpoint
90 slices_ = slices; in QueueRead()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dmhlo_to_lhlo_with_xla.h248 slices_; variable
Dmhlo_to_lhlo_with_xla.cc1061 auto& cached_value = slices_[std::make_pair(instr, xla::ShapeIndex())]; in EmitConstant()
1438 auto& cached_value = slices_[std::make_pair(instr, shape_index)]; in GetOrCreateArrayView()