Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp389 path.append(m_directory.GetStringRef().begin(), in GetPath()
390 m_directory.GetStringRef().end()); in GetPath()
394 if (m_directory && m_filename && m_directory.GetStringRef().back() != '/' && in GetPath()
395 m_filename.GetStringRef().back() != '/') in GetPath()
397 path.append(m_filename.GetStringRef().begin(), in GetPath()
398 m_filename.GetStringRef().end()); in GetPath()
404 return llvm::sys::path::extension(m_filename.GetStringRef(), m_style); in GetFileNameExtension()
472 auto dir_end = llvm::sys::path::end(m_directory.GetStringRef()); in GetComponents()
482 components.push_back(m_filename.GetStringRef()); in GetComponents()
542 StringRef dir = F.GetDirectory().GetStringRef(); in format()
[all …]
H A DConstString.cpp218 llvm::StringRef lhs_string_ref(GetStringRef()); in operator <()
219 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); in operator <()
253 llvm::StringRef lhs_string_ref(lhs.GetStringRef()); in Equals()
254 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); in Equals()
266 llvm::StringRef lhs_string_ref(lhs.GetStringRef()); in Compare()
267 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); in Compare()
336 format_provider<StringRef>::format(CS.GetStringRef(), OS, Options); in format()
H A DFileSpecList.cpp136 llvm::StringRef curr_file_dir = curr_file.GetDirectory().GetStringRef(); in FindCompatibleIndex()
142 llvm::StringRef file_spec_dir = file_spec.GetDirectory().GetStringRef(); in FindCompatibleIndex()
H A DStringExtractorGDBRemote.cpp564 switch (response.GetStringRef()[0]) { in JSONResponseValidator()
592 for (const char ch : response.GetStringRef()) { in ASCIIHexBytesResponseValidator()
/freebsd-14.2/contrib/llvm-project/lldb/source/Target/
H A DPathMappingList.cpp89 if (pair.first.GetStringRef().equals(normalized_path) && in AppendUnique()
90 pair.second.GetStringRef().equals(normalized_replacement)) in AppendUnique()
160 llvm::json::Array entry{pair.first.GetStringRef().str(), in ToJSON()
161 pair.second.GetStringRef().str()}; in ToJSON()
178 if (std::optional<FileSpec> remapped = RemapPath(path.GetStringRef())) { in RemapPath()
205 llvm::StringRef prefix = it.first.GetStringRef(); in RemapPath()
224 FileSpec remapped(it.second.GetStringRef()); in RemapPath()
240 llvm::StringRef removed_prefix = it.second.GetStringRef(); in ReverseRemapPath()
241 if (!path_ref.consume_front(it.second.GetStringRef())) in ReverseRemapPath()
243 auto orig_file = it.first.GetStringRef(); in ReverseRemapPath()
H A DABI.cpp226 if (!GetRegisterInfoByName(info.name.GetStringRef(), abi_info)) in AugmentRegisterInfo()
242 std::tie(eh, dwarf) = GetEHAndDWARFNums(info.name.GetStringRef()); in AugmentRegisterInfo()
249 info.regnum_generic = GetGenericNum(info.name.GetStringRef()); in AugmentRegisterInfo()
H A DStackFrameRecognizer.cpp128 if (!entry.module_regexp->Execute(module_name.GetStringRef())) in GetRecognizerForFrame()
136 if (!entry.symbol_regexp->Execute(function_name.GetStringRef())) in GetRecognizerForFrame()
H A DAssertFrameRecognizer.cpp107 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
118 symbol_re += it->GetStringRef(); in RegisterAssertFrameRecognizer()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h136 return GetStringRef() == rhs;
169 operator llvm::StringRef() const { return GetStringRef(); } in StringRef()
191 llvm::StringRef GetStringRef() const { in GetStringRef() function
443 os << s.GetStringRef();
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDebugNamesDWARFIndex.cpp102 m_debug_names_up->equal_range(basename.GetStringRef())) { in GetGlobalVariables()
184 m_debug_names_up->equal_range(class_name.GetStringRef())) { in GetCompleteObjCClass()
201 ReportInvalidDIERef(*ref, class_name.GetStringRef()); in GetCompleteObjCClass()
213 auto dierefcallback = DIERefCallback(callback, class_name.GetStringRef()); in GetCompleteObjCClass()
224 m_debug_names_up->equal_range(name.GetStringRef())) { in GetTypes()
251 m_debug_names_up->equal_range(name.GetStringRef())) { in GetNamespaces()
270 m_debug_names_up->equal_range(name.GetStringRef())) { in GetFunctions()
H A DManualDWARFIndex.cpp391 DIERefCallback(callback, basename.GetStringRef())); in GetGlobalVariables()
411 class_name, DIERefCallback(callback, class_name.GetStringRef())); in GetObjCMethods()
419 DIERefCallback(callback, class_name.GetStringRef())); in GetCompleteObjCClass()
425 m_set.types.Find(name, DIERefCallback(callback, name.GetStringRef())); in GetTypes()
440 m_set.namespaces.Find(name, DIERefCallback(callback, name.GetStringRef())); in GetNamespaces()
460 name.GetStringRef()))) in GetFunctions()
472 name.GetStringRef()))) in GetFunctions()
478 name, DIERefCallback(callback, name.GetStringRef()))) in GetFunctions()
485 name, DIERefCallback(callback, name.GetStringRef()))) in GetFunctions()
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DMangled.cpp114 if (cstring_is_mangled(name.GetStringRef())) { in SetValue()
207 ManglingScheme scheme = GetManglingScheme(m_mangled.GetStringRef()); in GetRichManglingInfo()
208 if (skip_mangled_name && skip_mangled_name(m_mangled.GetStringRef(), scheme)) in GetRichManglingInfo()
267 GetManglingScheme(m_mangled.GetStringRef()); in GetDemangledName()
315 if (m_mangled && regex.Execute(m_mangled.GetStringRef())) in NameMatches()
319 return demangled && regex.Execute(demangled.GetStringRef()); in NameMatches()
/freebsd-14.2/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueEnumeration.cpp32 strm.PutCString(m_enumerations.GetCStringAtIndex(i).GetStringRef()); in DumpValue()
103 llvm::StringRef name = m_enumerations.GetCStringAtIndex(i).GetStringRef(); in AutoComplete()
109 request.AddCompletion(m_enumerations.GetCStringAtIndex(i).GetStringRef()); in AutoComplete()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp314 auto path_begin = llvm::sys::path::begin(module.search_path.GetStringRef()); in AddModule()
315 auto path_end = llvm::sys::path::end(module.search_path.GetStringRef()); in AddModule()
316 auto sysroot_begin = llvm::sys::path::begin(module.sysroot.GetStringRef()); in AddModule()
317 auto sysroot_end = llvm::sys::path::end(module.sysroot.GetStringRef()); in AddModule()
333 module.search_path.GetStringRef()); in AddModule()
343 if (!HS.lookupModule(module.path.front().GetStringRef())) { in AddModule()
360 path_component.GetStringRef()), in AddModule()
384 submodule = submodule->findSubmodule(component.GetStringRef()); in AddModule()
452 m_compiler_instance->getASTContext().Idents.get(name.GetStringRef()); in FindDecls()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.cpp63 packet_result = SendUnimplementedResponse(packet.GetStringRef().data()); in GetPacketAndSendResponse()
69 packet_result = SendUnimplementedResponse(packet.GetStringRef().data()); in GetPacketAndSendResponse()
142 __FUNCTION__, failed_packet.GetStringRef().data(), in SendIllFormedResponse()
H A DGDBRemoteClientBase.cpp99 response.GetStringRef().data()); in SendContinuePacketAndWaitForResponse()
120 llvm::StringRef(response.GetStringRef()).substr(1)); in SendContinuePacketAndWaitForResponse()
123 delegate.HandleAsyncStructuredDataPacket(response.GetStringRef()); in SendContinuePacketAndWaitForResponse()
258 int(payload.size()), payload.data(), response.GetStringRef().data(), in SendPacketAndWaitForResponseNoLock()
H A DGDBRemoteCommunicationClient.cpp368 m_qSupported_response = response.GetStringRef().str(); in GetRemoteQSupported()
2367 response.GetStringRef().size()) in GetUserName()
2394 response.GetStringRef().size()) in GetGroupName()
2644 StructuredData::ParseJSON(response.GetStringRef()); in QueryGDBServer()
3727 llvm::StringRef ref = response.GetStringRef(); in GetQOffsets()
3894 StructuredData::ParseJSON(response.GetStringRef()); in GetModulesInfo()
3944 chunk.GetStringRef().empty()) { in ReadExtFeature()
3950 switch (chunk.GetStringRef()[0]) { in ReadExtFeature()
3959 offset += chunk.GetStringRef().size() - 1; in ReadExtFeature()
4230 if (response.GetStringRef() == "OK") { in ConfigureRemoteStructuredData()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp221 llvm::StringRef vtable_name(symbol->GetName().GetStringRef()); in FindLibCppStdFunctionCallableInfo()
262 (symbol ? symbol->GetName().GetStringRef().contains("__invoke") : false); in FindLibCppStdFunctionCallableInfo()
280 if (symbol && !symbol->GetName().GetStringRef().starts_with("vtable for") && in FindLibCppStdFunctionCallableInfo()
314 auto name = f->GetName().GetStringRef(); in FindLibCppStdFunctionCallableInfo()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h102 return m_type_name_regex.Execute(type_name.GetStringRef()); in Matches()
230 type_matcher.GetMatchString().GetStringRef(), in GetTypeNameSpecifierAtIndex()
259 request.TryCompleteCurrentArg(matcher.GetMatchString().GetStringRef()); in AutoComplete()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIAArch64.cpp129 llvm::StringRef reg_name = info.name.GetStringRef(); in AugmentRegisterInfo()
130 llvm::StringRef alt_name = info.alt_name.GetStringRef(); in AugmentRegisterInfo()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp317 section_type = GetSectionTypeFromName(sect_info.name.GetStringRef()); in CreateSections()
428 return FileSpec(symbols_url->GetStringRef()); in GetExternalDebugInfoFileSpec()
461 ostream << llvm::left_justify(sh.name.GetStringRef(), 16) << " " in DumpSectionHeader()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.cpp259 CPlusPlusNameParser parser(m_full.GetStringRef()); in Parse()
335 return m_full.GetStringRef().contains(path); in ContainsPath()
343 return m_full.GetStringRef().contains(path); in ContainsPath()
564 TS.substitute(mangled_name.GetStringRef(), "a", "c")) in GenerateAlternateFunctionManglings()
569 TS.substitute(mangled_name.GetStringRef(), "x", "l")) in GenerateAlternateFunctionManglings()
575 TS.substitute(mangled_name.GetStringRef(), "y", "m")) in GenerateAlternateFunctionManglings()
579 CtorDtorSubstitutor().substitute(mangled_name.GetStringRef())) in GenerateAlternateFunctionManglings()
H A DLibStdcppTuple.cpp71 llvm::StringRef name_str = child_sp->GetName().GetStringRef(); in Update()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp81 file->GetFilename().GetStringRef()}; in CreateInstance()
114 file.GetFilename().GetStringRef()}; in GetModuleSpecifications()
/freebsd-14.2/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverFileLine.cpp231 llvm::StringRef sc_file_dir = sc_file.GetDirectory().GetStringRef(); in DeduceSourceMapping()
233 request_file.GetDirectory().GetStringRef(); in DeduceSourceMapping()

1234