Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DConstString.cpp101 const char *GetConstCStringWithStringRef(const 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()
/openbsd-src/gnu/usr.bin/perl/t/re/
H A Dregexp.t118 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…
/openbsd-src/gnu/llvm/llvm/utils/gdb-scripts/
H A Dprettyprinters.py236string_ref = gdb.Value(struct.pack('PN', int(str_data), int(str_len)), gdb.lookup_type('llvm::Stri…
237 yield 'key', string_ref