Home
last modified time | relevance | path

Searched defs:MyAllocator (Results 1 – 4 of 4) sorted by relevance

/external/cronet/tot/third_party/libc++/src/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dallocate_shared.lwg2070.pass.cpp35 struct MyAllocator { struct
42 MyAllocator() = default; argument
43 MyAllocator(int i) : id(i) {} in MyAllocator() argument
46 MyAllocator(MyAllocator<U> const& other) : id(other.id) {} in MyAllocator() function
48 pointer allocate(std::ptrdiff_t n) { in allocate()
52 void deallocate(pointer p, std::ptrdiff_t) { return ::operator delete(p); } in deallocate()
55 void construct(T* p, Args&& ...args) { in construct()
62 void destroy(T* p) { in destroy()
/external/cronet/stable/third_party/libc++/src/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dallocate_shared.lwg2070.pass.cpp35 struct MyAllocator { struct
42 MyAllocator() = default; argument
43 MyAllocator(int i) : id(i) {} in MyAllocator() argument
46 MyAllocator(MyAllocator<U> const& other) : id(other.id) {} in MyAllocator() function
48 pointer allocate(std::ptrdiff_t n) { in allocate()
52 void deallocate(pointer p, std::ptrdiff_t) { return ::operator delete(p); } in deallocate()
55 void construct(T* p, Args&& ...args) { in construct()
62 void destroy(T* p) { in destroy()
/external/bazelbuild-rules_rust/test/cc_common_link/with_global_alloc/
Dmain.rs6 struct MyAllocator; struct
8 unsafe impl GlobalAlloc for MyAllocator { implementation
/external/skia/gm/
Drasterhandleallocator.cpp154 using MyAllocator = CGAllocator; typedef
267 using MyAllocator = GDIAllocator; typedef
272 using MyAllocator = SkiaAllocator; typedef