Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/tracing/
Dstring_helpers.h73 class PERFETTO_EXPORT DynamicString {
75 explicit DynamicString(const std::string& str) in DynamicString() function
77 explicit DynamicString(const char* str) : value(str), length(strlen(str)) {} in DynamicString() function
78 DynamicString(const char* str, size_t len) : value(str), length(len) {} in DynamicString() function
Dtraced_value.h230 TracedValue AddItem(DynamicString key);
238 void Add(DynamicString key, T&& value) { in Add()
243 TracedDictionary AddDictionary(DynamicString key);
245 TracedArray AddArray(DynamicString key);
/external/perfetto/src/tracing/
Dtraced_value.cc122 TracedValue TracedDictionary::AddItem(DynamicString key) { in AddItem()
134 TracedDictionary TracedDictionary::AddDictionary(DynamicString key) { in AddDictionary()
144 TracedArray TracedDictionary::AddArray(DynamicString key) { in AddArray()
Dtraced_value_unittest.cc592 dict.Add(DynamicString{key.data()}, 1); in TEST()
598 dict.Add(DynamicString{key.data(), key.length()}, 1); in TEST()
604 dict.Add(DynamicString{key}, 1); in TEST()