Searched defs:RefCountedBytes (Results 1 - 4 of 4) sorted by relevance

/external/chromium/base/memory/
H A Dref_counted_memory.cc21 RefCountedBytes::RefCountedBytes() { function in class:RefCountedBytes
24 RefCountedBytes::RefCountedBytes(const std::vector<unsigned char>& initializer) function in class:RefCountedBytes
28 RefCountedBytes* RefCountedBytes::TakeVector(
30 RefCountedBytes* bytes = new RefCountedBytes;
35 const unsigned char* RefCountedBytes::front() const {
41 size_t RefCountedBytes
[all...]
H A Dref_counted_memory.h58 class BASE_API RefCountedBytes : public RefCountedMemory { class in inherits:RefCountedMemory
60 RefCountedBytes();
62 // Constructs a RefCountedBytes object by _copying_ from |initializer|.
63 RefCountedBytes(const std::vector<unsigned char>& initializer);
65 // Constructs a RefCountedBytes object by performing a swap. (To non
66 // destructively build a RefCountedBytes, use the constructor that takes a
68 static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy);
77 friend class base::RefCountedThreadSafe<RefCountedBytes>;
78 virtual ~RefCountedBytes();
81 DISALLOW_COPY_AND_ASSIGN(RefCountedBytes);
[all...]
/external/chromium_org/base/memory/
H A Dref_counted_memory.cc32 RefCountedBytes::RefCountedBytes() {} function in class:base::RefCountedBytes
34 RefCountedBytes::RefCountedBytes(const std::vector<unsigned char>& initializer) function in class:base::RefCountedBytes
38 RefCountedBytes* RefCountedBytes::TakeVector(
40 RefCountedBytes* bytes = new RefCountedBytes;
45 const unsigned char* RefCountedBytes::front() const {
51 size_t RefCountedBytes
[all...]
H A Dref_counted_memory.h63 class BASE_EXPORT RefCountedBytes : public RefCountedMemory { class in namespace:base
65 RefCountedBytes();
67 // Constructs a RefCountedBytes object by _copying_ from |initializer|.
68 explicit RefCountedBytes(const std::vector<unsigned char>& initializer);
70 // Constructs a RefCountedBytes object by performing a swap. (To non
71 // destructively build a RefCountedBytes, use the constructor that takes a
73 static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy);
83 virtual ~RefCountedBytes();
87 DISALLOW_COPY_AND_ASSIGN(RefCountedBytes);

Completed in 103 milliseconds