Searched refs:string_ref (Results 1 – 2 of 2) sorted by relevance
101 const char *GetConstCStringWithStringRef(llvm::StringRef string_ref) { in GetConstCStringWithStringRef() argument102 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()
1958 class string_ref;1972 string_ref operator*() const noexcept;1982 class string_ref { class1984 string_ref(const char* data, size_t size) : data_(data), size_(size) {} in string_ref() function in testing::gtest_printers_test::TEST::__anonf7858aa00811::string_ref2001 string_ref string_ptr::operator*() const noexcept { return {data_, size_}; } in operator *()2003 TEST(string_ref, compare) { in TEST() argument