Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dref_counted_memory.cc65 RefCountedString::RefCountedString() = default;
67 RefCountedString::~RefCountedString() = default;
70 scoped_refptr<RefCountedString> RefCountedString::TakeString( in TakeString()
72 auto self = MakeRefCounted<RefCountedString>(); in TakeString()
77 const unsigned char* RefCountedString::front() const { in front()
82 size_t RefCountedString::size() const { in size()
Dref_counted_memory.h120 class BASE_EXPORT RefCountedString : public RefCountedMemory {
122 RefCountedString();
127 static scoped_refptr<RefCountedString> TakeString(std::string* to_destroy);
137 ~RefCountedString() override;
141 DISALLOW_COPY_AND_ASSIGN(RefCountedString);
Dref_counted_memory_unittest.cc64 TEST(RefCountedMemoryUnitTest, RefCountedString) { in TEST() argument
66 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
125 scoped_refptr<RefCountedMemory> mem1 = RefCountedString::TakeString(&s1); in TEST()
133 scoped_refptr<RefCountedMemory> mem3 = RefCountedString::TakeString(&s3); in TEST()
141 scoped_refptr<RefCountedMemory> mem = RefCountedString::TakeString(&s); in TEST()
/external/libchrome/base/trace_event/
Dtrace_event_memory_overhead.h18 class RefCountedString; variable
62 void AddRefCountedString(const RefCountedString& str);
Dtrace_event_memory_overhead.cc92 const RefCountedString& str) { in AddRefCountedString()
93 Add(kOther, sizeof(RefCountedString)); in AddRefCountedString()
Dtracing_agent.h36 const scoped_refptr<base::RefCountedString>& events_str_ptr)>;
Dtrace_log.cc855 scoped_refptr<RefCountedString> empty_result = new RefCountedString; in FlushInternal()
912 scoped_refptr<RefCountedString> json_events_str_ptr = new RefCountedString(); in ConvertTraceEventsToTraceFormat()
920 json_events_str_ptr = new RefCountedString(); in ConvertTraceEventsToTraceFormat()
959 scoped_refptr<RefCountedString> empty_result = new RefCountedString; in FinishFlush()
Dtrace_log.h29 class RefCountedString; variable
174 typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&,
Dtrace_event_android.cc83 const scoped_refptr<RefCountedString>&, in NoOpOutputCallback() argument
Dtrace_event_unittest.cc73 const scoped_refptr<base::RefCountedString>& events_str,
183 const scoped_refptr<base::RefCountedString>& events_str, in OnTraceDataCollected()
/external/libchrome/base/test/
Dtrace_to_file.cc79 const scoped_refptr<RefCountedString>& json_events_str, in OnTraceDataCollected()
Dtrace_event_analyzer_unittest.cc29 const scoped_refptr<base::RefCountedString>& json_events_str,
46 const scoped_refptr<base::RefCountedString>& json_events_str, in OnTraceDataCollected()
Dtrace_event_analyzer.cc25 const scoped_refptr<base::RefCountedString>& json, in OnTraceDataCollected()