/external/perfetto/src/base/ |
D | string_writer_unittest.cc | 30 ASSERT_EQ(writer.GetStringView().ToStdString(), "0"); in TEST() 35 ASSERT_EQ(writer.GetStringView().ToStdString(), "132545"); in TEST() 40 ASSERT_EQ(writer.GetStringView().ToStdString(), "523"); in TEST() 45 ASSERT_EQ(writer.GetStringView().ToStdString(), "000"); in TEST() 50 ASSERT_EQ(writer.GetStringView().ToStdString(), "1"); in TEST() 55 ASSERT_EQ(writer.GetStringView().ToStdString(), "001"); in TEST() 60 ASSERT_EQ(writer.GetStringView().ToStdString(), "1"); in TEST() 65 ASSERT_EQ(writer.GetStringView().ToStdString(), " 123"); in TEST() 70 ASSERT_EQ(writer.GetStringView().ToStdString(), " 123"); in TEST() 75 ASSERT_EQ(writer.GetStringView().ToStdString(), "123.250000"); in TEST() [all …]
|
D | string_view_unittest.cc | 37 EXPECT_EQ(StringView("foo|", 3).ToStdString(), std::string("foo")); in TEST() 98 EXPECT_EQ(StringView().substr(0, 0).ToStdString(), ""); in TEST() 99 EXPECT_EQ(StringView().substr(3, 1).ToStdString(), ""); in TEST() 100 EXPECT_EQ(StringView("foo").substr(3, 1).ToStdString(), ""); in TEST() 101 EXPECT_EQ(StringView("foo").substr(4, 0).ToStdString(), ""); in TEST() 102 EXPECT_EQ(StringView("foo").substr(4, 1).ToStdString(), ""); in TEST() 103 EXPECT_EQ(StringView("foo").substr(0, 1).ToStdString(), "f"); in TEST() 104 EXPECT_EQ(StringView("foo").substr(0, 3).ToStdString(), "foo"); in TEST() 105 EXPECT_EQ(StringView("foo").substr(0, 99).ToStdString(), "foo"); in TEST() 106 EXPECT_EQ(StringView("foo").substr(1, 2).ToStdString(), "oo"); in TEST() [all …]
|
/external/perfetto/src/perfetto_cmd/ |
D | pbtxt_to_pb.cc | 137 std::string ToStdString() const { return txt.ToStdString(); } in ToStdString() function 301 {"$k", key.ToStdString()}, in StringField() 303 {"$v", value.ToStdString()}, in StringField() 313 {"$k", key.ToStdString()}, in StringField() 315 {"$v", value.ToStdString()}, in StringField() 343 {"$k", key.ToStdString()}, in IdentifierField() 345 {"$v", value.ToStdString()}, in IdentifierField() 358 if (value.ToStdString() != enum_value.name()) in IdentifierField() 369 {"$v", value.ToStdString()}, in IdentifierField() 370 {"$k", key.ToStdString()}, in IdentifierField() [all …]
|
/external/perfetto/src/tracing/ |
D | track_event_state_tracker.cc | 96 frame.name = name.ToStdString(); in ProcessTracePacket() 97 frame.category = category.ToStdString(); in ProcessTracePacket() 192 sequence_state.event_names[entry.iid()] = entry.name().ToStdString(); in UpdateIncrementalState() 196 sequence_state.event_categories[entry.iid()] = entry.name().ToStdString(); in UpdateIncrementalState() 201 entry.name().ToStdString(); in UpdateIncrementalState() 222 track.name = track_descriptor.name().ToStdString(); in UpdateIncrementalState() 230 track.name = process.process_name().ToStdString(); in UpdateIncrementalState() 237 track.name = thread.thread_name().ToStdString(); in UpdateIncrementalState()
|
/external/perfetto/src/trace_processor/importers/proto/ |
D | heap_graph_tracker_unittest.cc | 200 .ToStdString(), in TEST() 204 .ToStdString(), in TEST() 207 .ToStdString(), in TEST() 211 .ToStdString(), in TEST() 215 .ToStdString(), in TEST() 219 .ToStdString(), in TEST()
|
D | profiler_util.cc | 134 PERFETTO_DLOG("Failed to parse %s", location.ToStdString().c_str()); in PackageFromLocation() 138 return package->ToStdString(); in PackageFromLocation() 147 member.deobfuscated_name().ToStdString(); in FullyQualifiedDeobfuscatedName() 153 return cls.deobfuscated_name().ToStdString() + "." + in FullyQualifiedDeobfuscatedName()
|
D | perf_sample_tracker_unittest.cc | 94 context.storage->GetString(track_table.name()[*row_id]).ToStdString(); in TEST_F() 125 context.storage->GetString(track_table.name()[*row_id]).ToStdString(); in TEST_F() 149 context.storage->GetString(track_table.name()[*row_id]).ToStdString(); in TEST_F()
|
D | memory_tracker_snapshot_parser.cc | 92 const std::string absolute_name = node.absolute_name().ToStdString(); in ReadProtoSnapshot() 122 entries.emplace_back(entry.name().ToStdString(), unit, in ReadProtoSnapshot() 125 entries.emplace_back(entry.name().ToStdString(), unit, in ReadProtoSnapshot() 126 entry.value_string().ToStdString()); in ReadProtoSnapshot()
|
D | heap_graph_module.cc | 305 cls.obfuscated_name().ToStdString().c_str()); in DeobfuscateClass() 326 cls.obfuscated_name().ToStdString().c_str()); in ParseDeobfuscationMapping() 339 std::string merged_obfuscated = cls.obfuscated_name().ToStdString() + in ParseDeobfuscationMapping() 341 member.obfuscated_name().ToStdString(); in ParseDeobfuscationMapping()
|
D | track_event_parser.cc | 467 std::string concat = storage_->GetString(category_id_).ToStdString() + in ParseTrackAssociation() 468 ":" + legacy_event_.id_scope().ToStdString(); in ParseTrackAssociation() 1148 result = SanitizeDebugAnnotationName(decoder->name().ToStdString()); in ParseDebugAnnotationName() 1150 result = SanitizeDebugAnnotationName(annotation.name().ToStdString()); in ParseDebugAnnotationName() 1260 SanitizeDebugAnnotationName((*key_it).ToStdString()); in ParseNestedValueArgs() 1262 flat_key.ToStdString() + "." + child_name; in ParseNestedValueArgs() 1263 std::string child_key = key.ToStdString() + "." + child_name; in ParseNestedValueArgs() 1272 std::string array_key = key.ToStdString(); in ParseNestedValueArgs()
|
D | stack_profile_tracker.cc | 46 string_map_.emplace(id, str.ToStdString()); in AddString() 285 return str->ToStdString(); in FindOrInsertString()
|
/external/perfetto/src/trace_processor/util/ |
D | descriptors.cc | 34 ? base::StringView(f_decoder.type_name()).ToStdString() in CreateFieldFromDecoder() 42 base::StringView(f_decoder.name()).ToStdString(), in CreateFieldFromDecoder() 76 auto extendee_name = base::StringView(f_decoder.extendee()).ToStdString(); in AddExtensionField() 105 parent_name + "." + base::StringView(decoder.name()).ToStdString(); in AddNestedProtoDescriptors() 176 parent_name + "." + base::StringView(decoder.name()).ToStdString(); in AddEnumProtoDescriptors() 202 enum_value.name().ToStdString()); in AddEnumProtoDescriptors() 219 std::string file_name = file.name().ToStdString(); in AddFromFileDescriptorSet() 225 std::string package = "." + base::StringView(file.package()).ToStdString(); in AddFromFileDescriptorSet()
|
D | proto_to_args_parser_unittest.cc | 72 ss << key.flat_key << " " << key.key << " " << value.ToStdString(); in AddString() 98 << value.ToStdString() << std::dec; in AddJson()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | system_info_tracker.cc | 36 base::StringToUInt32(release.substr(0, first_dot_pos).ToStdString()); in SetKernelVersion() 39 .ToStdString()); in SetKernelVersion()
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_trace_parser.cc | 134 base::StringToUInt32(tokens[1].ToStdString()); in Parse() 136 base::StringToUInt32(tokens[2].ToStdString()); in Parse() 154 base::StringToUInt32(tokens[1].ToStdString()); in Parse() 156 base::StringToUInt32(tokens[2].ToStdString()); in Parse()
|
/external/perfetto/include/perfetto/protozero/ |
D | field.h | 32 std::string ToStdString() const { in ToStdString() function 44 std::string ToStdString() const { return std::string(data, size); } in ToStdString() function 133 std::string as_std_string() const { return as_string().ToStdString(); } in as_std_string()
|
/external/perfetto/src/trace_processor/rpc/ |
D | httpd.cc | 247 body_size = static_cast<size_t>(atoi(hdr_value.ToStdString().c_str())); in ParseOneHttpRequest() 251 http_req.id = atoi(hdr_value.ToStdString().c_str()); in ParseOneHttpRequest() 277 req.method.ToStdString().c_str(), req.uri.ToStdString().c_str(), in HandleRequest() 280 "Access-Control-Allow-Origin: " + req.origin.ToStdString(); in HandleRequest()
|
D | query_result_serializer_unittest.cc | 110 error += result.error().ToStdString(); in DeserializeBuffer() 132 blobs.emplace_back((*it).ToStdString()); in DeserializeBuffer() 134 std::string merged_strings = batch.string_cells().ToStdString(); in DeserializeBuffer()
|
D | rpc.cc | 92 std::string sql = query.sql_query().ToStdString(); in Query() 121 std::string sql = query.sql_query().ToStdString(); in RawQuery()
|
/external/perfetto/src/trace_processor/importers/json/ |
D | json_utils.cc | 161 std::string child_flat_key = flat_key.ToStdString() + "." + child_name; in AddJsonValueToArgs() 162 std::string child_key = key.ToStdString() + "." + child_name; in AddJsonValueToArgs() 173 std::string array_key = key.ToStdString(); in AddJsonValueToArgs()
|
D | json_trace_tokenizer.cc | 306 value_str = dict_str.ToStdString(); in ExtractValueForJsonKey() 587 trace_sorter->PushJsonValue(ts, unparsed.ToStdString()); in ParseInternal()
|
/external/perfetto/tools/compact_reencode/ |
D | main.cc | 121 auto iid = intern(sswitch.next_comm().ToStdString()); in ReEncodeBundle() 134 auto iid = intern(swaking.comm().ToStdString()); in ReEncodeBundle()
|
/external/perfetto/src/traced/probes/filesystem/ |
D | inode_file_data_source.cc | 125 scan_mount_points_.insert((*mp).ToStdString()); in InodeFileDataSource() 130 scan_roots.push_back((*scan_root).ToStdString()); in InodeFileDataSource() 131 std::string mountpoint = entry.mountpoint().ToStdString(); in InodeFileDataSource()
|
/external/perfetto/src/traced/probes/packages_list/ |
D | packages_list_data_source.cc | 69 package_name_filter_.emplace((*name).ToStdString()); in PackagesListDataSource()
|
/external/perfetto/include/perfetto/ext/base/ |
D | string_view.h | 121 std::string ToStdString() const { in ToStdString() function
|