Home
last modified time | relevance | path

Searched refs:chunk_ (Results 1 – 11 of 11) sorted by relevance

/external/perfetto/src/protozero/
Dscattered_stream_null_delegate.cc29 chunk_(std::unique_ptr<uint8_t[]>(new uint8_t[chunk_size_])) {} in ScatteredStreamWriterNullDelegate()
34 return {chunk_.get(), chunk_.get() + chunk_size_}; in GetNewBuffer()
/external/libchrome/base/trace_event/
Dtrace_buffer.h35 return &chunk_[index]; in GetEventAt()
39 return &chunk_[index]; in GetEventAt()
53 TraceEvent chunk_[kTraceBufferChunkSize]; variable
Dtrace_log.cc209 if (!chunk_ || handle.chunk_seq != chunk_->seq() || in GetEventByHandle()
214 return chunk_->GetEventAt(handle.event_index); in GetEventByHandle()
236 std::unique_ptr<TraceBufferChunk> chunk_; member in base::trace_event::TraceLog::ThreadLocalEventBuffer
277 if (chunk_ && chunk_->IsFull()) { in AddTraceEvent()
280 chunk_.reset(); in AddTraceEvent()
282 if (!chunk_) { in AddTraceEvent()
284 chunk_ = trace_log_->logged_events_->GetChunk(&chunk_index_); in AddTraceEvent()
287 if (!chunk_) in AddTraceEvent()
291 TraceEvent* trace_event = chunk_->AddTraceEvent(&event_index); in AddTraceEvent()
293 MakeHandle(chunk_->seq(), chunk_index_, event_index, handle); in AddTraceEvent()
[all …]
Dtrace_buffer.cc253 chunk_[i].Reset(); in Reset()
262 return &chunk_[*event_index]; in AddTraceEvent()
273 sizeof(*this) - sizeof(chunk_)); in EstimateTraceMemoryOverhead()
287 chunk_[i].EstimateTraceMemoryOverhead(cached_overhead_estimate_.get()); in EstimateTraceMemoryOverhead()
/external/compiler-rt/lib/asan/
Dasan_allocator.h51 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView()
60 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
89 AsanChunk *const chunk_;
Dasan_allocator.cc666 return chunk_ && chunk_->chunk_state != CHUNK_AVAILABLE; in IsValid()
669 return chunk_ && chunk_->chunk_state == CHUNK_ALLOCATED; in IsAllocated()
671 uptr AsanChunkView::Beg() { return chunk_->Beg(); } in Beg()
673 uptr AsanChunkView::UsedSize() { return chunk_->UsedSize(); } in UsedSize()
674 uptr AsanChunkView::AllocTid() { return chunk_->alloc_tid; } in AllocTid()
675 uptr AsanChunkView::FreeTid() { return chunk_->free_tid; } in FreeTid()
684 u32 AsanChunkView::GetAllocStackId() { return chunk_->alloc_context_id; } in GetAllocStackId()
685 u32 AsanChunkView::GetFreeStackId() { return chunk_->free_context_id; } in GetFreeStackId()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.h53 explicit AsanChunkView(AsanChunk *chunk) : chunk_(chunk) {} in AsanChunkView()
64 bool Eq(const AsanChunkView &c) const { return chunk_ == c.chunk_; } in Eq()
94 AsanChunk *const chunk_;
Dasan_allocator.cpp873 return chunk_ && atomic_load(&chunk_->chunk_state, memory_order_relaxed) != in IsValid()
877 return chunk_ && atomic_load(&chunk_->chunk_state, memory_order_relaxed) == in IsAllocated()
881 return chunk_ && atomic_load(&chunk_->chunk_state, memory_order_relaxed) == in IsQuarantined()
884 uptr AsanChunkView::Beg() const { return chunk_->Beg(); } in Beg()
886 uptr AsanChunkView::UsedSize() const { return chunk_->UsedSize(); } in UsedSize()
888 return Allocator::ComputeUserAlignment(chunk_->user_requested_alignment_log); in UserRequestedAlignment()
894 chunk_->GetAllocContext(tid, stack); in AllocTid()
903 chunk_->GetFreeContext(tid, stack); in FreeTid()
908 return (AllocType)chunk_->alloc_type; in GetAllocType()
921 chunk_->GetAllocContext(tid, stack); in GetAllocStackId()
[all …]
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_null_delegate.h41 std::unique_ptr<uint8_t[]> chunk_; variable
/external/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_assignment.h528 chunk_(chunk), in Allocation()
555 Chunk chunk() const { return *chunk_; } in chunk()
556 Chunk* mutable_chunk() { return &*chunk_; } in mutable_chunk()
578 absl::optional<Chunk> chunk_; variable
Dmemory_space_assignment.cc2857 memory_space_str = absl::StrCat("alt (off: ", chunk_->offset, ")"); in ToString()
2866 memory_space_str = absl::StrCat("alt (off: ", chunk_->offset, ")"); in ToString()