Home
last modified time | relevance | path

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

1234

/freebsd-src/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangle.h16 #include <string_view>
146 llvm::getArm64ECInsertionPointInMangledName(std::string_view MangledName);
154 SymbolNode *parse(std::string_view &MangledName);
156 TagTypeNode *parseTagUniqueName(std::string_view &MangledName);
164 SymbolNode *demangleEncodedSymbol(std::string_view &MangledName,
166 SymbolNode *demangleDeclarator(std::string_view &MangledName);
167 SymbolNode *demangleMD5Name(std::string_view &MangledName);
168 SymbolNode *demangleTypeinfoName(std::string_view &MangledName);
170 VariableSymbolNode *demangleVariableEncoding(std::string_view &MangledName,
172 FunctionSymbolNode *demangleFunctionEncoding(std::string_view
[all...]
H A DDemangle.h15 #include <string_view>
36 char *itaniumDemangle(std::string_view mangled_name, bool ParseParams = true);
55 char *microsoftDemangle(std::string_view mangled_name, size_t *n_read,
59 getArm64ECInsertionPointInMangledName(std::string_view MangledName);
62 char *rustDemangle(std::string_view MangledName);
65 char *dlangDemangle(std::string_view MangledName);
72 std::string demangle(std::string_view MangledName);
74 bool nonMicrosoftDemangle(std::string_view MangledName, std::string &Result,
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 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 DItaniumDemangle.h29 #include <string_view>
294 virtual std::string_view getBaseName() const { return {}; }
353 const std::string_view Suffix;
356 DotSuffix(const Node *Prefix_, std::string_view Suffix_)
371 std::string_view Ext;
375 VendorExtQualType(const Node *Ty_, std::string_view Ext_, const Node *TA_)
379 std::string_view getExt() const { return Ext; } in getTy()
470 const std::string_view Postfix;
473 PostfixQualifiedType(const Node *Ty_, std::string_view Postfix_)
485 const std::string_view Nam
[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-src/contrib/llvm-project/llvm/lib/Demangle/
H A DDLangDemangle.cpp36 Demangler(std::string_view Mangled);
58 void parseMangle(OutputBuffer *Demangled, std::string_view &Mangled);
68 void decodeNumber(std::string_view &Mangled, unsigned long &Ret);
81 bool decodeBackrefPos(std::string_view &Mangled, long &Ret);
91 bool decodeBackref(std::string_view &Mangled, std::string_view &Ret);
101 void parseSymbolBackref(OutputBuffer *Demangled, std::string_view &Mangled);
110 void parseTypeBackref(std::string_view &Mangled);
119 bool isSymbolName(std::string_view Mangled);
128 void parseIdentifier(OutputBuffer *Demangled, std::string_view &Mangled);
139 void parseLName(OutputBuffer *Demangled, std::string_view &Mangled,
[all …]
H A DMicrosoftDemangle.cpp28 #include <string_view>
34 static bool startsWithDigit(std::string_view S) { in startsWithDigit()
43 static bool consumeFront(std::string_view &S, char C) { in consumeFront()
50 static bool consumeFront(std::string_view &S, std::string_view C) { in consumeFront()
57 static bool consumeFront(std::string_view &S, std::string_view PrefixA, in isMemberPointer()
58 std::string_view PrefixB, bool A) { in isMemberPointer()
59 const std::string_view &Prefix = A ? PrefixA : PrefixB; in isMemberPointer()
63 static bool startsWith(std::string_view in isMemberPointer()
[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);
132 uint64_t parseHexNumber(std::string_view &HexDigits);
135 void print(std::string_view S);
151 char *llvm::rustDemangle(std::string_view MangledName) { in rustDemangle()
190 bool Demangler::demangle(std::string_view Mangled) { in demangle()
203 Input = Dot == std::string_view::npos ? Mangled : Mangled.substr(0, Dot); in demangle()
215 if (Dot != std::string_view::npos) { in demangle()
775 std::string_view HexDigits; in demangleConstInt()
[all …]
/freebsd-src/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()
252 void *COFFPlatformRuntimeState::dlopen(std::string_view Path, int Mode) { in dlopen()
[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);
353 span<std::pair<std::string_view, bool>> Symbols);
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;
616 std::vector<std::pair<std::string_view, ExecutorAddrRange>> Secs) { in registerObjectPlatformSections() argument
[all …]
/freebsd-src/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>;
214 #include <__fwd/string_view.h>
263 // string_view constructors. This can be refactored when this exact form isn't needed anymore.
319 "string_view::string_view(_CharT *, size_t): length does not fit in difference_type");
321 __len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received nullptr");
331 (__end - __begin) >= 0, "std::string_view
[all...]
H A Dprint28 void vprint_unicode(string_view fmt, format_args args);
29 void vprint_unicode(FILE* stream, string_view fmt, format_args args);
31 void vprint_nonunicode(string_view fmt, format_args args);
32 void vprint_nonunicode(FILE* stream, string_view fmt, format_args args);
45 #include <string_view>
215 __vprint_nonunicode(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl) {
238 __vprint_unicode_posix(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bool __is_terminal) {
249 __vprint_unicode_windows(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bool __is_terminal) {
289 [[maybe_unused]] string_view __fmt,
377 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(FILE* __stream, string_view __fm
[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,
249 # include <string_view>
H A Dversion57 <string> <string_view>
76 __cpp_lib_constexpr_string_view 201811L <string_view>
116 __cpp_lib_freestanding_string_view 202311L <string_view>
231 __cpp_lib_starts_ends_with 201711L <string> <string_view>
233 __cpp_lib_string_contains 202011L <string> <string_view>
236 __cpp_lib_string_view 202403L <string> <string_view>
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFFImportFile.h30 constexpr std::string_view ImportDescriptorPrefix = "__IMPORT_DESCRIPTOR_";
31 constexpr std::string_view NullImportDescriptorSymbolName =
33 constexpr std::string_view NullThunkDataPrefix = "\x7f";
34 constexpr std::string_view NullThunkDataSuffix = "_NULL_THUNK_DATA";
/freebsd-src/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-src/contrib/bsnmp/tests/
H A Dasn1.cc140 std::string_view errstr = {}) in check_header()
264 asn_err err, std::string_view errstr) { in __anon74abac2b0102()
324 std::string_view errstr) { in __anon74abac2b0402()
429 std::string_view errstr) { in __anon74abac2b0602()
516 std::string_view errstr) { in __anon74abac2b0802()
606 std::string_view errstr) { in __anon74abac2b0a02()
673 std::string_view errstr) { in __anon74abac2b0c02()
783 std::string_view errstr) { in __anon74abac2b0e02()
865 std::string_view errstr) { in __anon74abac2b1002()
960 std::string_view errstr) { in __anon74abac2b1202()
/freebsd-src/contrib/llvm-project/libcxx/src/
H A Dtz.cpp
/freebsd-src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h17 #include <string_view>
171 // Explicitly convert \class ConstString instances to \class std::string_view. in string_view() function
172 explicit operator std::string_view() const {
173 return std::string_view(m_string, GetLength());
/freebsd-src/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/
H A DStdSpecialSymbolMap.inc51 SYMBOL(swap, std::, <string_view>) // since C++17
77 SYMBOL(begin, std::, <string_view>)
91 SYMBOL(cbegin, std::, <string_view>)
105 SYMBOL(cend, std::, <string_view>)
119 SYMBOL(crbegin, 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>)
[all …]
/freebsd-src/contrib/llvm-project/lldb/source/Core/
H A DMangled.cpp29 #include <string_view>
188 static_cast<std::string_view>(M)); in GetDLangDemangledStr()
202 static_cast<std::string_view>(M)); in GetRichManglingInfo()
/freebsd-src/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