Searched refs:string_ref (Results 1 – 3 of 3) 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()
118 my $string_ref = shift;124 …$$string_ref =~ s/ (?<! \\ ) \\x\{ ( .*? ) } / "\\x{" . sprintf("%X", utf8::unicode_to_native(hex …125 …$$string_ref =~ s/ (?<! \\ ) \\o\{ ( .*? ) } / "\\o{" . sprintf("%o", utf8::unicode_to_native(oct …128 …$$string_ref =~ s/ (?<! \\ ) \\x ( [A-Fa-f0-9]{2} ) / "\\x" . sprintf("%02X", utf8::unicode_to_nat…131 …$$string_ref =~ s/ (?<! \\ ) \\x ( [A-Fa-f0-9] ) (?! [A-Fa-f0-9] ) / "\\x" . sprintf("%X", utf8::u…
236 …string_ref = gdb.Value(struct.pack('PN', int(str_data), int(str_len)), gdb.lookup_type('llvm::Stri…237 yield 'key', string_ref