Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangle.h146 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 &MangledName);
174 Qualifiers demanglePointerExtQualifiers(std::string_view &MangledName);
[all …]
H A DDemangle.h36 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 DItaniumDemangle.h294 virtual std::string_view getBaseName() const { return {}; } in getBaseName()
353 const std::string_view Suffix;
356 DotSuffix(const Node *Prefix_, std::string_view Suffix_) in DotSuffix()
371 std::string_view Ext;
375 VendorExtQualType(const Node *Ty_, std::string_view Ext_, const Node *TA_) in VendorExtQualType()
379 std::string_view getExt() const { return Ext; } in getExt()
470 const std::string_view Postfix;
473 PostfixQualifiedType(const Node *Ty_, std::string_view Postfix_) in PostfixQualifiedType()
485 const std::string_view Name;
488 NameType(std::string_view Name_) : Node(KNameType), Name(Name_) {} in NameType()
[all …]
H A DUtility.h26 #include <string_view>
69 std::string_view(TempPtr, Temp.data() + Temp.size() - TempPtr));
82 operator std::string_view() const {
83 return std::string_view(Buffer, CurrentPosition);
106 OutputBuffer &operator+=(std::string_view R) {
121 OutputBuffer &prepend(std::string_view R) {
132 OutputBuffer &operator<<(std::string_view R) { return (*this += R); } in prepend()
84 operator std::string_view() const { string_view() function
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()
/freebsd/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.cpp34 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 consumeFront()
58 std::string_view PrefixB, bool A) { in consumeFront()
59 const std::string_view &Prefix = A ? PrefixA : PrefixB; in consumeFront()
63 static bool startsWith(std::string_view S, std::string_view PrefixA, in startsWith()
64 std::string_view PrefixB, bool A) { in startsWith()
65 const std::string_view &Prefix = A ? PrefixA : PrefixB; in startsWith()
69 static bool isMemberPointer(std::string_view MangledName, bool &Error) { in isMemberPointer()
[all …]
H A DDemangle.cpp16 #include <string_view>
20 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"); }
47 static bool isDLangEncoding(std::string_view S) { return starts_with(S, "_D"); }
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/contrib/llvm-project/libcxx/include/__chrono/
H A Dzoned_time.h52 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static const time_zone* locate_zone(string_view __name) {
86 _LIBCPP_HIDE_FROM_ABI explicit zoned_time(string_view __name)
87 requires(requires { __traits::locate_zone(string_view{}); } &&
88 constructible_from<_TimeZonePtr, decltype(__traits::locate_zone(string_view{}))>)
99 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const sys_time<_Duration>& __tp)
100 requires requires { _TimeZonePtr{__traits::locate_zone(string_view{})}; }
108 _LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp)
110 _TimeZonePtr{__traits::locate_zone(string_view{})};
121 …_LIBCPP_HIDE_FROM_ABI zoned_time(string_view __name, const local_time<_Duration>& __tp, choose __c)
123 _TimeZonePtr{__traits::locate_zone(string_view{})};
[all …]
H A Dtime_zone_link.h42 …_FROM_ABI explicit time_zone_link(__private_constructor_tag, string_view __name, string_view __tar… in time_zone_link()
48 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI string_view name() const noexcept { return __name_; } in name()
49 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI string_view target() const noexcept { return __target_; } in target()
H A Dtzdb.h48 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* __locate_zone(string_view __name) const { in __locate_zone()
60 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const time_zone* locate_zone(string_view __name) const { in locate_zone()
72 _LIBCPP_HIDE_FROM_ABI const time_zone* __find_in_zone(string_view __name) const noexcept { in __find_in_zone()
H A Dtime_zone.h65 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI string_view name() const noexcept { return __name(); } in name()
153 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI string_view __name() const noexcept;
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dcoff_platform.cpp27 #include <string_view>
111 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 Nam
458 registerObjectSections(ExecutorAddr HeaderAddr,std::vector<std::pair<std::string_view,ExecutorAddrRange>> Secs,bool RunInitializers) registerObjectSections() argument
503 deregisterObjectSections(ExecutorAddr HeaderAddr,std::vector<std::pair<std::string_view,ExecutorAddrRange>> Secs) deregisterObjectSections() argument
652 __anonc1d160b80402(ExecutorAddr HeaderAddr, std::vector<std::pair<std::string_view, ExecutorAddrRange>> &Secs, bool RunInitializers) __orc_rt_coff_deregister_object_sections() argument
653 __anonc1d160b80502(ExecutorAddr HeaderAddr, std::vector<std::pair<std::string_view, ExecutorAddrRange>> &Secs) __orc_rt_coff_deregister_object_sections() 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.cpp26 #include <string_view>
272 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); in create()
398 std::unordered_map<std::string_view, voi in initialize()
497 registerObjectPlatformSections(ExecutorAddr HeaderAddr,std::optional<UnwindSectionInfo> UnwindInfo,std::vector<std::pair<std::string_view,ExecutorAddrRange>> Secs) registerObjectPlatformSections() argument
575 deregisterObjectPlatformSections(ExecutorAddr HeaderAddr,std::optional<UnwindSectionInfo> UnwindInfo,std::vector<std::pair<std::string_view,ExecutorAddrRange>> Secs) deregisterObjectPlatformSections() argument
1204 __anon3d23d5020a02(ExecutorAddr HeaderAddr, std::optional<UnwindSectionInfo> USI, std::vector<std::pair<std::string_view, ExecutorAddrRange>> &Secs) __orc_rt_macho_deregister_object_platform_sections() argument
1205 __anon3d23d5020b02(ExecutorAddr HeaderAddr, std::optional<UnwindSectionInfo> USI, std::vector<std::pair<std::string_view, ExecutorAddrRange>> &Secs) __orc_rt_macho_deregister_object_platform_sections() argument
[all...]
/freebsd/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/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::string_view(iterator, sentinel) received invalid range"…
402 …return _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__pos < size(), "string_view[] index out of bounds"), _…
406 return __pos >= size() ? (__throw_out_of_range("string_view::at"), __data_[0]) : __data_[__pos];
[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…
249 __vprint_unicode_windows(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bo…
289 [[maybe_unused]] string_view __fmt,
377 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(FILE* __stream, string_view __fmt, format_args __a…
[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>
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dprint.h31 __vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args, bool __write_nl) { in __vprint_nonunicode()
75 _LIBCPP_HIDE_FROM_ABI inline void vprint_nonunicode(ostream& __os, string_view __fmt, format_args _… in vprint_nonunicode()
96 _LIBCPP_HIDE_FROM_ABI void __vprint_unicode(ostream& __os, string_view __fmt, format_args __args, b… in __vprint_unicode()
138 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(ostream& __os, string_view __fmt, format_args __ar… in vprint_unicode()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dstring_view.cppm
/freebsd/contrib/bsnmp/tests/
H A Dasn1.cc140 std::string_view errstr = {}) in check_header()
264 asn_err err, std::string_view errstr) { in __anon4d4e46190102()
324 std::string_view errstr) { in __anon4d4e46190402()
429 std::string_view errstr) { in __anon4d4e46190602()
516 std::string_view errstr) { in __anon4d4e46190802()
606 std::string_view errstr) { in __anon4d4e46190a02()
673 std::string_view errstr) { in __anon4d4e46190c02()
783 std::string_view errstr) { in __anon4d4e46190e02()
865 std::string_view errstr) { in __anon4d4e46191002()
960 std::string_view errstr) { in __anon4d4e46191202()
/freebsd/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/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h172 explicit operator std::string_view() const { in string_view() function
173 return std::string_view(m_string, GetLength()); in string_view()

12345