Home
last modified time | relevance | path

Searched refs:Deallocator (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/base/
Dsmart-pointers.h13 template <typename Deallocator, typename T>
24 SmartPointerBase(const SmartPointerBase<Deallocator, T>& rhs) : p_(rhs.p_) { in SmartPointerBase() argument
25 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL; in SmartPointerBase()
56 if (p_) Deallocator::Delete(p_); in Reset()
63 SmartPointerBase<Deallocator, T>& operator=(
64 const SmartPointerBase<Deallocator, T>& rhs) {
67 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL;
79 if (p_) Deallocator::Delete(p_); in ~SmartPointerBase()
/external/clang/test/Analysis/
DkeychainAPI.m179 …SecKeychainItemFreeContent(attrList, outData); // expected-warning{{Deallocator doesn't match the …
237 …free(outData); // expected-warning{{Deallocator doesn't match the allocator: 'SecKeychainItemFreeC…
264 …alloc, bytes, length, 5, 0, kCFAllocatorDefault); // expected-warning{{Deallocator doesn't match t…
303 …teWithBytesNoCopy(alloc, bytes, length, 5, 0, 0); // expected-warning{{Deallocator doesn't match t…