Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dref_counted_memory.h23 class BASE_EXPORT RefCountedMemory
24 : public base::RefCountedThreadSafe<RefCountedMemory> {
34 bool Equals(const scoped_refptr<RefCountedMemory>& other) const;
42 friend class base::RefCountedThreadSafe<RefCountedMemory>;
43 RefCountedMemory();
44 virtual ~RefCountedMemory();
49 class BASE_EXPORT RefCountedStaticMemory : public RefCountedMemory {
71 class BASE_EXPORT RefCountedBytes : public RefCountedMemory {
103 class BASE_EXPORT RefCountedString : public RefCountedMemory {
Dref_counted_memory_unittest.cc14 scoped_refptr<RefCountedMemory> mem = new RefCountedStaticMemory( in TEST()
25 scoped_refptr<RefCountedMemory> mem = RefCountedBytes::TakeVector(&data); in TEST()
33 scoped_refptr<RefCountedMemory> mem2; in TEST()
46 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
57 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST()
64 scoped_refptr<RefCountedMemory> mem2 = RefCountedBytes::TakeVector(&d2); in TEST()
69 scoped_refptr<RefCountedMemory> mem3 = RefCountedString::TakeString(&s3); in TEST()
77 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
Dref_counted_memory.cc11 bool RefCountedMemory::Equals( in Equals()
12 const scoped_refptr<RefCountedMemory>& other) const { in Equals()
18 RefCountedMemory::RefCountedMemory() {} in RefCountedMemory() function in base::RefCountedMemory
20 RefCountedMemory::~RefCountedMemory() {} in ~RefCountedMemory()