Home
last modified time | relevance | path

Searched refs:chunk_ (Results 1 – 17 of 17) 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/perfetto/src/tracing/core/
Dcommit_data_request.cc108 return (page_ == other.page_) && (chunk_ == other.chunk_) && in operator ==()
118 static_assert(sizeof(chunk_) == sizeof(proto.chunk()), "size mismatch"); in FromProto()
119 chunk_ = static_cast<decltype(chunk_)>(proto.chunk()); in FromProto()
134 static_assert(sizeof(chunk_) == sizeof(proto->chunk()), "size mismatch"); in ToProto()
135 proto->set_chunk(static_cast<decltype(proto->chunk())>(chunk_)); in ToProto()
/external/v8/src/heap/
Dmark-compact.h90 MarkBitCellIterator(MemoryChunk* chunk, Bitmap* bitmap) : chunk_(chunk) { in MarkBitCellIterator()
92 chunk_->AddressToMarkbitIndex(chunk_->area_start()))); in MarkBitCellIterator()
94 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); in MarkBitCellIterator()
96 Bitmap::IndexToCell(chunk_->AddressToMarkbitIndex(chunk_->area_end())); in MarkBitCellIterator()
97 cell_base_ = chunk_->area_start(); in MarkBitCellIterator()
99 Bitmap::IndexToCell(chunk_->AddressToMarkbitIndex(cell_base_)); in MarkBitCellIterator()
109 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCell()
115 chunk_->AddressToMarkbitIndex(cell_base_)))); in CurrentCellBase()
145 MemoryChunk* chunk_;
186 MemoryChunk* const chunk_; variable
[all …]
Dheap-inl.h644 : chunk_(chunk), in CodePageMemoryModificationScope()
645 scope_active_(chunk_->heap()->write_protect_code_memory() && in CodePageMemoryModificationScope()
646 chunk_->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in CodePageMemoryModificationScope()
648 DCHECK(chunk_->owner()->identity() == CODE_SPACE || in CodePageMemoryModificationScope()
649 (chunk_->owner()->identity() == LO_SPACE && in CodePageMemoryModificationScope()
650 chunk_->IsFlagSet(MemoryChunk::IS_EXECUTABLE))); in CodePageMemoryModificationScope()
651 chunk_->SetReadAndWritable(); in CodePageMemoryModificationScope()
657 chunk_->SetReadAndExecutable(); in ~CodePageMemoryModificationScope()
Dmark-compact-inl.h408 : chunk_(chunk), in iterator()
416 Bitmap::CellAlignIndex(chunk_->AddressToMarkbitIndex(start)))); in iterator()
487 DCHECK_EQ(chunk_, MemoryChunk::FromAddress(end)); in AdvanceToNextValidObject()
488 uint32_t end_mark_bit_index = chunk_->AddressToMarkbitIndex(end); in AdvanceToNextValidObject()
549 return iterator(chunk_, bitmap_, start_); in begin()
554 return iterator(chunk_, bitmap_, end_); in end()
Dmark-compact.cc2851 : chunk_(chunk), in ToSpaceUpdatingItem()
2858 if (chunk_->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)) { in Process()
2871 PointersUpdatingVisitor visitor(chunk_->heap()); in ProcessVisitAll()
2886 PointersUpdatingVisitor visitor(chunk_->heap()); in ProcessVisitLive()
2888 chunk_, marking_state_->bitmap(chunk_))) { in ProcessVisitLive()
2893 MemoryChunk* chunk_; member in v8::internal::ToSpaceUpdatingItem
2907 chunk_(chunk), in RememberedSetUpdatingItem()
2914 base::LockGuard<base::Mutex> guard(chunk_->mutex()); in Process()
2915 CodePageMemoryModificationScope memory_modification_scope(chunk_); in Process()
2969 if (chunk_->slot_set<OLD_TO_NEW, AccessMode::NON_ATOMIC>() != nullptr) { in UpdateUntypedPointers()
[all …]
Dheap.h2380 MemoryChunk* chunk_;
Dheap.cc2016 explicit PageScavengingItem(MemoryChunk* chunk) : chunk_(chunk) {} in PageScavengingItem()
2019 void Process(Scavenger* scavenger) { scavenger->ScavengePage(chunk_); } in Process()
2022 MemoryChunk* const chunk_; member in v8::internal::PageScavengingItem
/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/v8/src/zone/
Dzone-chunk-list.h129 Chunk* chunk_; member
360 DCHECK_NOT_NULL(seek_result.chunk_); in Rewind()
363 seek_result.chunk_->position_ = seek_result.chunk_index_; in Rewind()
366 back_ = seek_result.chunk_; in Rewind()
369 for (Chunk* current = seek_result.chunk_->next_; current != nullptr; in Rewind()
380 return typename ZoneChunkList<T>::iterator(seek_result.chunk_, in Find()
388 return typename ZoneChunkList<T>::const_iterator(seek_result.chunk_, in Find()
/external/perfetto/include/perfetto/tracing/core/
Dcommit_data_request.h72 uint32_t chunk() const { return chunk_; } in chunk()
73 void set_chunk(uint32_t value) { chunk_ = value; } in set_chunk()
80 uint32_t chunk_ = {}; variable
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_null_delegate.h41 std::unique_ptr<uint8_t[]> chunk_; variable
/external/v8/include/libplatform/
Dv8-tracing.h131 TraceObject* GetEventAt(size_t index) { return &chunk_[index]; } in GetEventAt()
140 TraceObject chunk_[kChunkSize]; variable
/external/v8/src/libplatform/tracing/
Dtrace-buffer.cc99 return &chunk_[*event_index]; in AddTraceEvent()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc2550 chunk_(chunk_size_), in OutputStreamWriter()
2559 chunk_[chunk_pos_++] = c; in AddCharacter()
2573 MemCopy(chunk_.start() + chunk_pos_, s, s_chunk_size); in AddSubstring()
2597 chunk_.SubVector(chunk_pos_, chunk_size_), format, n); in AddNumberImpl()
2617 if (stream_->WriteAsciiChunk(chunk_.start(), chunk_pos_) == in WriteChunk()
2624 ScopedVector<char> chunk_; member in v8::internal::OutputStreamWriter
/external/jemalloc/src/
Dchunk.c94 chunk_##n##_t **n; \ in chunk_hooks_set()