Home
last modified time | relevance | path

Searched refs:string_view (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangle.h146 SymbolNode *parse(std::string_view &MangledName);
159 SymbolNode *demangleMD5Name(std::string_view &MangledName);
169 TypeNode *demangleType(std::string_view &MangledName,
186 uint64_t demangleUnsigned(std::string_view &MangledName);
187 int64_t demangleSigned(std::string_view &MangledName);
189 void memorizeString(std::string_view s);
193 std::string_view copyString(std::string_view Borrowed);
248 demangleStringLiteral(std::string_view &MangledName);
251 std::string_view demangleSimpleString(std::string_view &MangledName,
258 wchar_t demangleWcharLiteral(std::string_view &MangledName);
[all …]
H A DDemangle.h35 char *itaniumDemangle(std::string_view mangled_name, bool ParseParams = true);
54 char *microsoftDemangle(std::string_view mangled_name, size_t *n_read,
58 char *rustDemangle(std::string_view MangledName);
61 char *dlangDemangle(std::string_view MangledName);
68 std::string demangle(std::string_view MangledName);
70 bool nonMicrosoftDemangle(std::string_view MangledName, std::string &Result,
H A DStringViewExtras.h24 inline bool starts_with(std::string_view self, char C) noexcept { in starts_with()
28 inline bool starts_with(std::string_view haystack, in starts_with()
29 std::string_view needle) noexcept { in starts_with()
H A DUtility.h69 std::string_view(TempPtr, Temp.data() + Temp.size() - TempPtr));
82 operator std::string_view() const { in string_view() function
83 return std::string_view(Buffer, CurrentPosition); in string_view()
106 OutputBuffer &operator+=(std::string_view R) {
121 OutputBuffer &prepend(std::string_view R) { in prepend()
132 OutputBuffer &operator<<(std::string_view R) { return (*this += R); }
H A DItaniumDemangle.h372 std::string_view Ext;
520 std::string_view Kind;
554 std::string_view Tag;
1774 std::string_view Count;
1954 std::string_view Offset;
2354 OB += Value ? std::string_view("true") : std::string_view("false"); in printLeft()
2413 std::string_view Type;
2414 std::string_view Value;
2417 IntegerLiteral(std::string_view Type_, std::string_view Value_) in IntegerLiteral()
2767 std::string_view("yptnk").find(look(1)) != std::string_view::npos; in isTemplateParamDecl()
[all …]
H A DMicrosoftDemangleNodes.h386 std::string_view Name;
405 std::string_view Name;
519 std::string_view Separator) const;
604 std::string_view DecodedString;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Demangle/
H A DDLangDemangle.cpp36 Demangler(std::string_view Mangled);
91 bool decodeBackref(std::string_view &Mangled, std::string_view &Ret);
110 void parseTypeBackref(std::string_view &Mangled);
119 bool isSymbolName(std::string_view Mangled);
159 bool parseType(std::string_view &Mangled);
162 const std::string_view Str;
282 std::string_view Backref; in parseSymbolBackref()
317 std::string_view Backref; in parseTypeBackref()
453 std::string_view P = Mangled.substr(3); in parseIdentifier()
556 Demangler::Demangler(std::string_view Mangled) in Demangler()
[all …]
H A DMicrosoftDemangle.cpp49 static bool consumeFront(std::string_view &S, std::string_view C) { in consumeFront()
163 if (End == std::string_view::npos) in startsWithLocalScopePattern()
197 static bool isTagType(std::string_view S) { in isTagType()
266 std::string_view Demangler::copyString(std::string_view Borrowed) { in copyString()
813 std::string_view MD5(Start, Count); in demangleMD5Name()
1316 std::string_view CRC; in demangleStringLiteral()
1426 std::string_view Demangler::demangleSimpleString(std::string_view &MangledName, in demangleSimpleString()
1428 std::string_view S; in demangleSimpleString()
1454 if (EndPos == std::string_view::npos) { in demangleAnonymousNamespaceName()
2384 std::string_view B = OB; in dumpBackReferences()
[all …]
H A DDemangle.cpp20 std::string llvm::demangle(std::string_view MangledName) { in demangle()
40 static bool isItaniumEncoding(std::string_view S) { in isItaniumEncoding()
45 static bool isRustEncoding(std::string_view S) { return starts_with(S, "_R"); } in isRustEncoding()
47 static bool isDLangEncoding(std::string_view S) { return starts_with(S, "_D"); } in isDLangEncoding()
49 bool llvm::nonMicrosoftDemangle(std::string_view MangledName, in nonMicrosoftDemangle()
H A DRustDemangle.cpp34 std::string_view Name;
81 std::string_view Input;
96 bool demangle(std::string_view MangledName);
135 void print(std::string_view S);
215 if (Dot != std::string_view::npos) { in demangle()
775 std::string_view HexDigits; in demangleConstInt()
788 std::string_view HexDigits; in demangleConstBool()
805 std::string_view HexDigits; in demangleConstChar()
991 HexDigits = std::string_view(); in parseHexNumber()
1008 void Demangler::print(std::string_view S) { in print()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/
H A Dcoff_platform.cpp111 void *dlopen(std::string_view Name, int Mode);
113 void *dlsym(void *Header, std::string_view Symbol);
122 std::vector<std::pair<std::string_view, ExecutorAddrRange>> Secs,
126 std::vector<std::pair<std::string_view, ExecutorAddrRange>> Secs);
139 Expected<void *> dlopenImpl(std::string_view Path, int Mode);
147 JITDylibState *getJITDylibStateByName(std::string_view Path);
149 std::string_view Symbol);
160 std::unordered_map<std::string_view, void *> JDNameToHeader;
177 COFFPlatformRuntimeState::getJITDylibStateByName(std::string_view Name) { in getJITDylibStateByName()
458 std::vector<std::pair<std::string_view, ExecutorAddrRange>> Secs, in registerObjectSections() argument
[all …]
H A Delfnix_platform.cpp118 void *dlopen(std::string_view Name, int Mode);
120 void *dlsym(void *DSOHandle, std::string_view Symbol);
133 PerJITDylibState *getJITDylibStateByName(std::string_view Path);
140 std::string_view Symbol);
143 getJITDylibInitializersByName(std::string_view Path);
144 Expected<void *> dlopenInitialize(std::string_view Path, int Mode);
219 void *ELFNixPlatformRuntimeState::dlopen(std::string_view Path, int Mode) { in dlopen()
246 std::string_view Symbol) { in dlsym()
306 ELFNixPlatformRuntimeState::getJITDylibStateByName(std::string_view Name) { in getJITDylibStateByName()
352 std::string_view Sym) { in lookupSymbolInJITDylib()
[all …]
H A Dmacho_platform.cpp272 std::unordered_map<std::string_view,
326 std::vector<std::pair<std::string_view, ExecutorAddrRange>> Secs);
329 std::vector<std::pair<std::string_view, ExecutorAddrRange>> Secs);
332 void *dlopen(std::string_view Name, int Mode);
347 JITDylibState *getJITDylibStateByName(std::string_view Path);
361 span<std::pair<std::string_view, bool>> Symbols);
374 Expected<void *> dlopenImpl(std::string_view Path, int Mode);
398 std::unordered_map<std::string_view, void *> JDNameToHeader;
820 std::pair<std::string_view, bool> Lookup(MangledName, false); in dlsym()
927 span<std::pair<std::string_view, bool>> Symbols) { in lookupSymbols() argument
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dstring_view17 string_view synopsis
65 typedef basic_string_view<char> string_view;
190 template <> struct hash<string_view>;
213 #include <__fwd/string_view.h>
314 "string_view::string_view(_CharT *, size_t): length does not fit in difference_type");
316 … __len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received nullptr");
326 …(__end - __begin) >= 0, "std::string_view::string_view(iterator, sentinel) received invalid range"…
441 __throw_out_of_range("string_view::copy");
503 _LIBCPP_ASSERT_NON_NULL(__s != nullptr, "string_view::find(): received nullptr");
528 _LIBCPP_ASSERT_NON_NULL(__s != nullptr, "string_view::rfind(): received nullptr");
[all …]
H A Dprint26 void vprint_unicode(string_view fmt, format_args args);
27 void vprint_unicode(FILE* stream, string_view fmt, format_args args);
29 void vprint_nonunicode(string_view fmt, format_args args);
30 void vprint_nonunicode(FILE* stream, string_view fmt, format_args args);
44 #include <string_view>
214 __vprint_nonunicode(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl) {
288 [[maybe_unused]] string_view __fmt,
366 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(FILE* __stream, string_view __fmt, format_args __a…
371 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(string_view __fmt, format_args __args) {
378 _LIBCPP_HIDE_FROM_ABI inline void vprint_nonunicode(FILE* __stream, string_view __fmt, format_args …
[all …]
H A Dformat56 runtime-format-string<char> runtime_format(string_view fmt) noexcept {
73 string vformat(string_view fmt, format_args args);
75 string vformat(const locale& loc, string_view fmt, format_args args);
88 Out vformat_to(Out out, string_view fmt, format_args args);
92 Out vformat_to(Out out, const locale& loc, string_view fmt,
H A Dversion57 <string> <string_view>
75 __cpp_lib_constexpr_string_view 201811L <string_view>
105 __cpp_lib_freestanding_string_view 202311L <string_view>
210 __cpp_lib_starts_ends_with 201711L <string> <string_view>
212 __cpp_lib_string_contains 202011L <string> <string_view>
215 __cpp_lib_string_view 201803L <string> <string_view>
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFFImportFile.h29 constexpr std::string_view ImportDescriptorPrefix = "__IMPORT_DESCRIPTOR_";
30 constexpr std::string_view NullImportDescriptorSymbolName =
32 constexpr std::string_view NullThunkDataPrefix = "\x7f";
33 constexpr std::string_view NullThunkDataSuffix = "_NULL_THUNK_DATA";
/freebsd-14.2/contrib/llvm-project/libcxx/include/__fwd/
H A Dstring_view.h25 typedef basic_string_view<char> string_view; typedef
37 class _LIBCPP_PREFERRED_NAME(string_view)
/freebsd-14.2/contrib/bsnmp/tests/
H A Dasn1.cc140 std::string_view errstr = {}) in check_header()
264 asn_err err, std::string_view errstr) { in __anon8313e58f0102()
324 std::string_view errstr) { in __anon8313e58f0402()
429 std::string_view errstr) { in __anon8313e58f0602()
516 std::string_view errstr) { in __anon8313e58f0802()
606 std::string_view errstr) { in __anon8313e58f0a02()
673 std::string_view errstr) { in __anon8313e58f0c02()
783 std::string_view errstr) { in __anon8313e58f0e02()
865 std::string_view errstr) { in __anon8313e58f1002()
960 std::string_view errstr) { in __anon8313e58f1202()
/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dtz.cpp44 _LIBCPP_WEAK string_view __libcpp_tzdb_directory() { in __libcpp_tzdb_directory()
71 static void __matches(istream& __input, string_view __expected) { in __matches()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h171 operator std::string_view() const { return std::string_view(m_string, GetLength()); } in string_view() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSpecialSymbolMap.inc77 SYMBOL(begin, std::, <string_view>)
91 SYMBOL(cbegin, std::, <string_view>)
105 SYMBOL(cend, std::, <string_view>)
133 SYMBOL(crend, std::, <string_view>)
147 SYMBOL(data, std::, <string_view>)
161 SYMBOL(empty, std::, <string_view>)
175 SYMBOL(end, std::, <string_view>)
189 SYMBOL(rbegin, std::, <string_view>)
203 SYMBOL(rend, std::, <string_view>)
217 SYMBOL(size, std::, <string_view>)
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DMangled.cpp128 static char *GetMSVCDemangledStr(std::string_view M) { in GetMSVCDemangledStr()
172 static char *GetRustV0DemangledStr(std::string_view M) { in GetRustV0DemangledStr()
185 static char *GetDLangDemangledStr(std::string_view M) { in GetDLangDemangledStr()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/tests/tools/
H A Dorc-rt-executor.cpp20 void printHelp(std::string_view ProgName, std::ostream &OS) { in printHelp()

1234