Home
last modified time | relevance | path

Searched refs:RefCountedStaticMemory (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/memory/
Dref_counted_memory.h53 class BASE_EXPORT RefCountedStaticMemory : public RefCountedMemory {
55 RefCountedStaticMemory() : data_(nullptr), length_(0) {} in RefCountedStaticMemory() function
56 RefCountedStaticMemory(const void* data, size_t length) in RefCountedStaticMemory() function
65 ~RefCountedStaticMemory() override;
70 DISALLOW_COPY_AND_ASSIGN(RefCountedStaticMemory);
Dref_counted_memory.cc25 const unsigned char* RefCountedStaticMemory::front() const { in front()
29 size_t RefCountedStaticMemory::size() const { in size()
33 RefCountedStaticMemory::~RefCountedStaticMemory() = default;
Dref_counted_memory_unittest.cc20 TEST(RefCountedMemoryUnitTest, RefCountedStaticMemory) { in TEST() argument
21 auto mem = MakeRefCounted<RefCountedStaticMemory>("static mem00", 10); in TEST()
/external/libchrome/mojo/public/cpp/base/
Dref_counted_memory_unittest.cc17 new base::RefCountedStaticMemory(&data, arraysize(data)); in TEST()
31 new base::RefCountedStaticMemory(&data, arraysize(data)); in TEST()