Searched refs:string_ref (Results 1 – 2 of 2) sorted by relevance
101 const char *GetConstCStringWithStringRef(const 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()
236 …string_ref = gdb.Value(struct.pack('PN', int(str_data), int(str_len)), gdb.lookup_type('llvm::Stri…237 yield 'key', string_ref