Searched refs:NullTermStringView (Results 1 – 18 of 18) sorted by relevance
27 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 …]
27 class NullTermStringView : public base::StringView {30 NullTermStringView() : StringView() {} in NullTermStringView() function33 NullTermStringView(const NullTermStringView&) = default;34 NullTermStringView& operator=(const NullTermStringView&) = default;38 NullTermStringView(const char* cstr) : StringView(cstr) {} in NullTermStringView() function44 NullTermStringView(const char* data, size_t size) : StringView(data, size) { in NullTermStringView() function50 explicit NullTermStringView(const std::string& str) : StringView(str) {} in NullTermStringView() function
95 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()
51 PERFETTO_CHECK(blocks_.back().TryInsert(NullTermStringView()).first); in StringPool()165 NullTermStringView StringPool::Iterator::StringView() { in StringView()
58 auto id = pool_.InternString(NullTermStringView()); in TEST_F()
53 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()
115 const std::vector<NullTermStringView>& GetRefTypeStringMap();300 virtual NullTermStringView GetString(StringId id) const { in GetString()
47 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()
150 using sql_value_type = NullTermStringView;170 using sql_value_type = NullTermStringView;
81 typename std::enable_if<is_string, NullTermStringView>::type GetString( in GetString()146 static SqlValue ToValue(NullTermStringView value) { in ToValue()
295 NullTermStringView str_value = value.string_value; in FilterIntoStringSlow()
595 NullTermStringView GetStringPoolStringAtIdx(uint32_t idx) const { in GetStringPoolStringAtIdx()
60 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()
70 NullTermStringView raw_build_id_str = in AddMapping()
123 refs_tbl.field_name().eq(NullTermStringView(field_name))}); in GetReferredObj()
954 NullTermStringView event_name = storage_->GetString(name_id_); in ParseMetadataEvent()
604 trace_processor::NullTermStringView s = interner_->Get(id); in WriteStringTable()
1405 NullTermStringView symbol_name; in ExportCpuProfileSamples()