Home
last modified time | relevance | path

Searched refs:NullTermStringView (Results 1 – 18 of 18) sorted by relevance

/external/perfetto/src/trace_processor/containers/
Dnull_term_string_view_unittest.cc27 EXPECT_FALSE(NullTermStringView() < NullTermStringView()); in TEST()
28 EXPECT_FALSE(NullTermStringView() < NullTermStringView("")); in TEST()
29 EXPECT_TRUE(NullTermStringView() < NullTermStringView("foo")); in TEST()
30 EXPECT_TRUE(NullTermStringView("") < NullTermStringView("foo")); in TEST()
31 EXPECT_FALSE(NullTermStringView("foo") < NullTermStringView("foo")); in TEST()
32 EXPECT_TRUE(NullTermStringView("foo") < NullTermStringView("fooo")); in TEST()
33 EXPECT_FALSE(NullTermStringView("fooo") < NullTermStringView("foo")); in TEST()
34 EXPECT_TRUE(NullTermStringView("bar") < NullTermStringView("foo")); in TEST()
37 EXPECT_TRUE(NullTermStringView() <= NullTermStringView()); in TEST()
38 EXPECT_TRUE(NullTermStringView() <= NullTermStringView("")); in TEST()
[all …]
Dnull_term_string_view.h27 class NullTermStringView : public base::StringView {
30 NullTermStringView() : StringView() {} in NullTermStringView() function
33 NullTermStringView(const NullTermStringView&) = default;
34 NullTermStringView& operator=(const NullTermStringView&) = default;
38 NullTermStringView(const char* cstr) : StringView(cstr) {} in NullTermStringView() function
44 NullTermStringView(const char* data, size_t size) : StringView(data, size) { in NullTermStringView() function
50 explicit NullTermStringView(const std::string& str) : StringView(str) {} in NullTermStringView() function
Dstring_pool.h95 NullTermStringView StringView();
142 NullTermStringView Get(Id id) const { in Get()
144 return NullTermStringView(); in Get()
264 static NullTermStringView GetFromBlockPtr(const uint8_t* ptr) { in GetFromBlockPtr()
267 return NullTermStringView(reinterpret_cast<const char*>(str_ptr), size); in GetFromBlockPtr()
272 NullTermStringView GetLargeString(Id id) const { in GetLargeString()
277 return NullTermStringView(str->c_str(), str->size()); in GetLargeString()
Dstring_pool.cc51 PERFETTO_CHECK(blocks_.back().TryInsert(NullTermStringView()).first); in StringPool()
165 NullTermStringView StringPool::Iterator::StringView() { in StringView()
Dstring_pool_unittest.cc58 auto id = pool_.InternString(NullTermStringView()); in TEST_F()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.cc53 std::vector<NullTermStringView> CreateRefTypeStringMap() { in CreateRefTypeStringMap()
54 std::vector<NullTermStringView> map(static_cast<size_t>(RefType::kRefMax)); in CreateRefTypeStringMap()
55 map[static_cast<size_t>(RefType::kRefNoRef)] = NullTermStringView(); in CreateRefTypeStringMap()
68 const std::vector<NullTermStringView>& GetRefTypeStringMap() { in GetRefTypeStringMap()
69 static const base::NoDestructor<std::vector<NullTermStringView>> map( in GetRefTypeStringMap()
Dtrace_storage.h115 const std::vector<NullTermStringView>& GetRefTypeStringMap();
300 virtual NullTermStringView GetString(StringId id) const { in GetString()
/external/perfetto/src/trace_processor/dynamic/
Dexperimental_annotated_stack_generator.cc47 MapType ClassifyMap(NullTermStringView map) { in ClassifyMap()
57 if (last_slash_pos != NullTermStringView::npos) { in ClassifyMap()
65 if (extension_pos != NullTermStringView::npos) { in ClassifyMap()
219 NullTermStringView map_view = in ComputeTable()
/external/perfetto/src/trace_processor/db/
Dtyped_column_internal.h150 using sql_value_type = NullTermStringView;
170 using sql_value_type = NullTermStringView;
Dtyped_column.h81 typename std::enable_if<is_string, NullTermStringView>::type GetString( in GetString()
146 static SqlValue ToValue(NullTermStringView value) { in ToValue()
Dcolumn.cc295 NullTermStringView str_value = value.string_value; in FilterIntoStringSlow()
Dcolumn.h595 NullTermStringView GetStringPoolStringAtIdx(uint32_t idx) const { in GetStringPoolStringAtIdx()
/external/perfetto/src/trace_processor/sqlite/
Dsqlite_raw_table.cc60 NullTermStringView event_name,
129 NullTermStringView event_name_;
140 NullTermStringView event_name, in ArgsSerializer()
338 NullTermStringView str = storage_->GetString(value.string_value); in SerializeArgs()
564 NullTermStringView event_name = storage_->GetString(event_name_id); in SerializeToString()
/external/perfetto/src/trace_processor/importers/proto/
Dstack_profile_tracker.cc70 NullTermStringView raw_build_id_str = in AddMapping()
Dheap_graph_tracker.cc123 refs_tbl.field_name().eq(NullTermStringView(field_name))}); in GetReferredObj()
Dtrack_event_parser.cc954 NullTermStringView event_name = storage_->GetString(name_id_); in ParseMetadataEvent()
/external/perfetto/tools/trace_to_text/
Dpprof_builder.cc604 trace_processor::NullTermStringView s = interner_->Get(id); in WriteStringTable()
/external/perfetto/src/trace_processor/
Dexport_json.cc1405 NullTermStringView symbol_name; in ExportCpuProfileSamples()