Home
last modified time | relevance | path

Searched refs:RefCountedString (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/base/memory/
Dref_counted_memory.cc60 RefCountedString::RefCountedString() {} in RefCountedString() function in base::RefCountedString
62 RefCountedString::~RefCountedString() {} in ~RefCountedString()
65 scoped_refptr<RefCountedString> RefCountedString::TakeString( in TakeString()
67 scoped_refptr<RefCountedString> self(new RefCountedString); in TakeString()
72 const unsigned char* RefCountedString::front() const { in front()
77 size_t RefCountedString::size() const { in size()
Dref_counted_memory.h103 class BASE_EXPORT RefCountedString : public RefCountedMemory {
105 RefCountedString();
110 static scoped_refptr<RefCountedString> TakeString(std::string* to_destroy);
120 ~RefCountedString() override;
124 DISALLOW_COPY_AND_ASSIGN(RefCountedString);
Dref_counted_memory_unittest.cc44 TEST(RefCountedMemoryUnitTest, RefCountedString) { in TEST() argument
46 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
57 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST()
69 scoped_refptr<RefCountedMemory> mem3 = RefCountedString::TakeString(&s3); in TEST()
77 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
/external/libchrome/base/trace_event/
Dtrace_event_memory_overhead.h17 class RefCountedString; variable
43 void AddRefCountedString(const RefCountedString& str);
Dtrace_event_impl.h143 const base::RefCountedString* parameter_copy_storage() const { in parameter_copy_storage()
170 scoped_refptr<base::RefCountedString> parameter_copy_storage_;
Dtrace_event_memory_overhead.cc65 const RefCountedString& str) { in AddRefCountedString()
66 Add("RefCountedString", sizeof(RefCountedString)); in AddRefCountedString()
Dtrace_log.cc845 scoped_refptr<RefCountedString> empty_result = new RefCountedString; in FlushInternal()
905 scoped_refptr<RefCountedString> json_events_str_ptr = new RefCountedString(); in ConvertTraceEventsToTraceFormat()
911 json_events_str_ptr = new RefCountedString(); in ConvertTraceEventsToTraceFormat()
949 scoped_refptr<RefCountedString> empty_result = new RefCountedString; in FinishFlush()
Dtrace_log.h29 class RefCountedString; variable
169 typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&,
Dtrace_event_impl.cc150 parameter_copy_storage_ = new RefCountedString; in Initialize()
Dmemory_dump_manager_unittest.cc66 const scoped_refptr<RefCountedString>& json, in OnTraceDataCollected()
Dtrace_event_unittest.cc66 const scoped_refptr<base::RefCountedString>& events_str,
187 const scoped_refptr<base::RefCountedString>& events_str, in OnTraceDataCollected()
/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc25 const scoped_refptr<base::RefCountedString>& json_events_str,
42 const scoped_refptr<base::RefCountedString>& json_events_str, in OnTraceDataCollected()