Home
last modified time | relevance | path

Searched refs:last_alloc_ (Results 1 – 3 of 3) sorted by relevance

/external/regex-re2/util/
Darena.cc19 last_alloc_(NULL), in UnsafeArena()
48 last_alloc_ = NULL; in Reset()
134 last_alloc_ = freestart_; in GetMemoryFallback()
136 assert((reinterpret_cast<uintptr_t>(last_alloc_) & (align-1)) == 0); in GetMemoryFallback()
137 return reinterpret_cast<void*>(last_alloc_); in GetMemoryFallback()
Darena.h53 last_alloc_ = freestart_; in GetMemory()
56 return reinterpret_cast<void*>(last_alloc_); in GetMemory()
76 char* last_alloc_; // used to make sure ReturnBytes() is safe variable
/external/libcxx/test/support/
Dtest_allocator.h328 void* last_alloc_; member
330 limited_alloc_handle() : outstanding_(0), last_alloc_(nullptr) {} in limited_alloc_handle()
336 last_alloc_ = ::operator new(N*sizeof(T)); in allocate()
338 return static_cast<T*>(last_alloc_); in allocate()
342 if (ptr == last_alloc_) { in deallocate()
343 last_alloc_ = nullptr; in deallocate()