Lines Matching refs:p_
78 PagedMemory::PagedMemory(char* p, size_t size) : p_(p), size_(size) { in PagedMemory()
79 ANNOTATE_NEW_BUFFER(p_, size_, committed_size_); in PagedMemory()
84 other.p_ = nullptr; in PagedMemory()
89 other.p_ = nullptr; in operator =()
94 if (!p_) in ~PagedMemory()
97 char* start = p_ - kGuardSize; in ~PagedMemory()
106 ANNOTATE_DELETE_BUFFER(p_, size_, committed_size_); in ~PagedMemory()
110 PERFETTO_DCHECK(p_); in AdviseDontNeed()
111 PERFETTO_DCHECK(p >= p_); in AdviseDontNeed()
112 PERFETTO_DCHECK(static_cast<char*>(p) + size <= p_ + size_); in AdviseDontNeed()
140 void* res = VirtualAlloc(p_ + committed_size_, commit_size, MEM_COMMIT, in EnsureCommitted()
143 ANNOTATE_CHANGE_SIZE(p_, size_, committed_size_, in EnsureCommitted()
149 ANNOTATE_CHANGE_SIZE(p_, size_, committed_size_, committed_size); in EnsureCommitted()