Home
last modified time | relevance | path

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

/external/chromium_org/base/memory/
Dref_counted_memory.cc82 RefCountedMallocedMemory::RefCountedMallocedMemory( in RefCountedMallocedMemory() function in base::RefCountedMallocedMemory
88 const unsigned char* RefCountedMallocedMemory::front() const { in front()
92 size_t RefCountedMallocedMemory::size() const { in size()
96 RefCountedMallocedMemory::~RefCountedMallocedMemory() { in ~RefCountedMallocedMemory()
Dref_counted_memory.h127 class BASE_EXPORT RefCountedMallocedMemory : public base::RefCountedMemory {
129 RefCountedMallocedMemory(void* data, size_t length);
136 virtual ~RefCountedMallocedMemory();
141 DISALLOW_COPY_AND_ASSIGN(RefCountedMallocedMemory);
Dref_counted_memory_unittest.cc53 TEST(RefCountedMemoryUnitTest, RefCountedMallocedMemory) { in TEST() argument
57 scoped_refptr<RefCountedMemory> mem = new RefCountedMallocedMemory(data, 6); in TEST()