Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp396 path.append(m_directory.GetStringRef().begin(), in GetPath()
397 m_directory.GetStringRef().end()); in GetPath()
401 if (m_directory && m_filename && m_directory.GetStringRef().back() != '/' && in GetPath()
402 m_filename.GetStringRef().back() != '/') in GetPath()
404 path.append(m_filename.GetStringRef().begin(), in GetPath()
405 m_filename.GetStringRef().end()); in GetPath()
411 return llvm::sys::path::extension(m_filename.GetStringRef(), m_style); in GetFileNameExtension()
415 return ConstString(llvm::sys::path::stem(m_filename.GetStringRef(), m_style)); in GetFileNameStrippingExtension()
478 auto dir_begin = llvm::sys::path::begin(m_directory.GetStringRef(), m_style); in GetComponents()
479 auto dir_end = llvm::sys::path::end(m_directory.GetStringRef()); in GetComponents()
[all …]
H A DConstString.cpp224 llvm::StringRef lhs_string_ref(GetStringRef()); in operator <()
225 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); in operator <()
259 llvm::StringRef lhs_string_ref(lhs.GetStringRef()); in Equals()
260 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); in Equals()
272 llvm::StringRef lhs_string_ref(lhs.GetStringRef()); in Compare()
273 llvm::StringRef rhs_string_ref(rhs.GetStringRef()); in Compare()
342 format_provider<StringRef>::format(CS.GetStringRef(), OS, Options); in format()
H A DFileSpecList.cpp140 llvm::StringRef curr_file_dir = curr_file.GetDirectory().GetStringRef(); in IsCompatible()
147 llvm::StringRef file_spec_dir = file_spec.GetDirectory().GetStringRef(); in IsCompatible()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPathMappingList.cpp111 if (pair.first.GetStringRef() == normalized_path && in AppendUnique()
112 pair.second.GetStringRef() == normalized_replacement) in AppendUnique()
187 llvm::json::Array entry{pair.first.GetStringRef().str(), in ToJSON()
188 pair.second.GetStringRef().str()}; in ToJSON()
206 if (std::optional<FileSpec> remapped = RemapPath(path.GetStringRef())) { in RemapPath()
233 llvm::StringRef prefix = it.first.GetStringRef(); in RemapPath()
252 FileSpec remapped(it.second.GetStringRef()); in RemapPath()
268 llvm::StringRef removed_prefix = it.second.GetStringRef(); in ReverseRemapPath()
269 if (!path_ref.consume_front(it.second.GetStringRef())) in ReverseRemapPath()
271 auto orig_file = it.first.GetStringRef(); in ReverseRemapPath()
H A DVerboseTrapFrameRecognizer.cpp42 if (!frame_name.GetStringRef().starts_with("std::")) in FindMostRelevantFrame()
94 auto func_name = inline_info->GetName().GetStringRef(); in RecognizeFrame()
H A DABI.cpp259 if (!GetRegisterInfoByName(info.name.GetStringRef(), abi_info)) in AugmentRegisterInfo()
275 std::tie(eh, dwarf) = GetEHAndDWARFNums(info.name.GetStringRef()); in AugmentRegisterInfo()
282 info.regnum_generic = GetGenericNum(info.name.GetStringRef()); in AugmentRegisterInfo()
H A DAssertFrameRecognizer.cpp97 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
108 symbol_re += it->GetStringRef(); in RegisterAssertFrameRecognizer()
H A DStackFrameRecognizer.cpp164 if (!entry.module_regexp->Execute(module_name.GetStringRef())) in GetRecognizerForFrame()
174 if (!entry.symbol_regexp->Execute(function_name.GetStringRef())) in GetRecognizerForFrame()
H A DInstrumentationRuntimeStopInfo.cpp21 return module.GetFileSpec().GetFilename().GetStringRef().starts_with( in IsStoppedInDarwinSanitizer()
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueEnumeration.cpp32 strm.PutCString(m_enumerations.GetCStringAtIndex(i).GetStringRef()); in DumpValue()
44 return enums.cstring.GetStringRef(); in ToJSON()
113 llvm::StringRef name = m_enumerations.GetCStringAtIndex(i).GetStringRef(); in AutoComplete()
119 request.AddCompletion(m_enumerations.GetCStringAtIndex(i).GetStringRef()); in AutoComplete()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h136 return GetStringRef() == rhs;
169 operator llvm::StringRef() const { return GetStringRef(); } in StringRef()
197 llvm::StringRef GetStringRef() const { in GetStringRef() function
454 os << s.GetStringRef();
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp99 if (parent_sc.function->GetNameNoArguments().GetStringRef().starts_with( in RecognizeFrame()
289 llvm::StringRef vtable_name(symbol->GetName().GetStringRef()); in FindLibCppStdFunctionCallableInfo()
330 (symbol ? symbol->GetName().GetStringRef().contains("__invoke") : false); in FindLibCppStdFunctionCallableInfo()
348 if (symbol && !symbol->GetName().GetStringRef().starts_with("vtable for") && in FindLibCppStdFunctionCallableInfo()
382 auto name = f->GetName().GetStringRef(); in FindLibCppStdFunctionCallableInfo()
482 symbol.GetMangled().GetMangledName().GetStringRef(); in IsSymbolARuntimeThunk()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DManualDWARFIndex.cpp419 DIERefCallback(callback, basename.GetStringRef())); in GetGlobalVariables()
439 class_name, DIERefCallback(callback, class_name.GetStringRef())); in GetObjCMethods()
447 DIERefCallback(callback, class_name.GetStringRef())); in GetCompleteObjCClass()
453 m_set.types.Find(name, DIERefCallback(callback, name.GetStringRef())); in GetTypes()
468 m_set.namespaces.Find(name, DIERefCallback(callback, name.GetStringRef())); in GetNamespaces()
488 name.GetStringRef()))) in GetFunctions()
500 name.GetStringRef()))) in GetFunctions()
506 name, DIERefCallback(callback, name.GetStringRef()))) in GetFunctions()
513 name, DIERefCallback(callback, name.GetStringRef()))) in GetFunctions()
H A DDebugNamesDWARFIndex.cpp182 m_debug_names_up->equal_range(basename.GetStringRef())) { in GetGlobalVariables()
264 m_debug_names_up->equal_range(class_name.GetStringRef())) { in GetCompleteObjCClass()
459 m_debug_names_up->equal_range(name.GetStringRef())) { in GetTypes()
486 m_debug_names_up->equal_range(name.GetStringRef())) { in GetNamespaces()
576 m_debug_names_up->equal_range(name.GetStringRef())) { in GetNamespacesWithParents()
614 m_debug_names_up->equal_range(name.GetStringRef())) { in GetFunctions()
H A DDWARFIndex.cpp30 llvm::StringRef name = lookup_info.GetLookupName().GetStringRef(); in ProcessFunctionDIE()
149 query.GetTypeBasename().GetStringRef()) in ProcessTypeDIEMatchQuery()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DMangled.cpp126 if (IsMangledName(name.GetStringRef())) { in SetValue()
237 ManglingScheme scheme = GetManglingScheme(m_mangled.GetStringRef()); in GetRichManglingInfo()
238 if (skip_mangled_name && skip_mangled_name(m_mangled.GetStringRef(), scheme)) in GetRichManglingInfo()
316 switch (GetManglingScheme(m_mangled.GetStringRef())) { in GetDemangledNameImpl()
363 if (m_mangled && regex.Execute(m_mangled.GetStringRef())) in NameMatches()
367 return demangled && regex.Execute(demangled.GetStringRef()); in NameMatches()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp308 auto path_begin = llvm::sys::path::begin(module.search_path.GetStringRef()); in AddModule()
309 auto path_end = llvm::sys::path::end(module.search_path.GetStringRef()); in AddModule()
310 auto sysroot_begin = llvm::sys::path::begin(module.sysroot.GetStringRef()); in AddModule()
311 auto sysroot_end = llvm::sys::path::end(module.sysroot.GetStringRef()); in AddModule()
327 module.search_path.GetStringRef()); in AddModule()
337 if (!HS.lookupModule(module.path.front().GetStringRef())) { in AddModule()
354 path_component.GetStringRef())); in AddModule()
376 submodule = submodule->findSubmodule(component.GetStringRef()); in AddModule()
451 m_compiler_instance->getASTContext().Idents.get(name.GetStringRef()); in FindDecls()
/freebsd/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()
143 __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()
259 int(payload.size()), payload.data(), response.GetStringRef().data(), in SendPacketAndWaitForResponseNoLock()
H A DGDBRemoteCommunicationClient.cpp391 m_qSupported_response = response.GetStringRef().str(); in GetRemoteQSupported()
393 for (llvm::StringRef x : llvm::split(response.GetStringRef(), ';')) { in GetRemoteQSupported()
484 const char *response_cstr = response.GetStringRef().data(); in GetVContSupported()
595 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetThreadsInfo()
865 response.GetStringRef().substr(1)); in LaunchProcess()
2415 response.GetStringRef().size()) in GetUserName()
2442 response.GetStringRef().size()) in GetGroupName()
2692 StructuredData::ParseJSON(response.GetStringRef()); in QueryGDBServer()
3478 response.GetStringRef().substr(response.GetFilePos(), MD5_HALF_LENGTH); in CalculateMD5()
3489 response.GetStringRef().substr(response.GetFilePos(), MD5_HALF_LENGTH); in CalculateMD5()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersContainer.h102 return m_type_name_regex.Execute(type_name.GetStringRef()); in Matches()
228 type_matcher.GetMatchString().GetStringRef(), in GetTypeNameSpecifierAtIndex()
257 request.TryCompleteCurrentArg(matcher.GetMatchString().GetStringRef()); in AutoComplete()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/
H A DUtility.cpp24 if (pattern.match(m->GetFileSpec().GetFilename().GetStringRef())) { in GetPreferredAsanModule()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolLocator/Debuginfod/
H A DSymbolLocatorDebuginfod.cpp149 return module_spec.GetFileSpec().GetFilename().GetStringRef(); in getFileName()
151 module_spec.GetSymbolFileSpec().GetFilename().GetStringRef(); in getFileName()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp287 section_type = GetSectionTypeFromName(sect_info.name.GetStringRef()); in CreateSections()
398 return FileSpec(symbols_url->GetStringRef()); in GetExternalDebugInfoFileSpec()
431 ostream << llvm::left_justify(sh.name.GetStringRef(), 16) << " " in DumpSectionHeader()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIAArch64.cpp158 llvm::StringRef reg_name = info.name.GetStringRef(); in AugmentRegisterInfo()
159 llvm::StringRef alt_name = info.alt_name.GetStringRef(); in AugmentRegisterInfo()

12345