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

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

Completed in 176 milliseconds