Home
last modified time | relevance | path

Searched refs:string_ref (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DConstString.cpp101 const char *GetConstCStringWithStringRef(llvm::StringRef string_ref) { in GetConstCStringWithStringRef() argument
102 if (string_ref.data()) { in GetConstCStringWithStringRef()
103 const uint8_t h = hash(string_ref); in GetConstCStringWithStringRef()
107 auto it = m_string_pools[h].m_string_map.find(string_ref); in GetConstCStringWithStringRef()
115 .m_string_map.insert(std::make_pair(string_ref, nullptr)) in GetConstCStringWithStringRef()
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc1958 class string_ref;
1972 string_ref operator*() const noexcept;
1982 class string_ref { class
1984 string_ref(const char* data, size_t size) : data_(data), size_(size) {} in string_ref() function in testing::gtest_printers_test::TEST::__anonf7858aa00811::string_ref
2001 string_ref string_ptr::operator*() const noexcept { return {data_, size_}; } in operator *()
2003 TEST(string_ref, compare) { in TEST() argument