Home | History | Annotate | Download | only in common

Lines Matching refs:allocator

56 // This is very simple allocator which fetches pages from the kernel directly.
103 // Checks whether the page allocator owns the passed-in pointer.
164 struct PageStdAllocator : public std::allocator<T> {
165 typedef typename std::allocator<T>::pointer pointer;
166 typedef typename std::allocator<T>::size_type size_type;
168 explicit PageStdAllocator(PageAllocator& allocator): allocator_(allocator) {}
199 wasteful_vector(PageAllocator* allocator, unsigned size_hint = 16)
200 : std::vector<T, PageStdAllocator<T> >(PageStdAllocator<T>(*allocator)) {
208 google_breakpad::PageAllocator& allocator) {
209 return allocator.Alloc(nbytes);