Home
last modified time | relevance | path

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

1234

/freebsd/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()
408 return ConstString(llvm::sys::path::stem(m_filename.GetStringRef(), m_style)); in GetFileNameStrippingExtension()
471 auto dir_begin = llvm::sys::path::begin(m_directory.GetStringRef(), m_style); in GetComponents()
472 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.cpp136 llvm::StringRef curr_file_dir = curr_file.GetDirectory().GetStringRef(); in GetFileSpecAtIndex()
142 llvm::StringRef file_spec_dir = file_spec.GetDirectory().GetStringRef();
H A DStringExtractorGDBRemote.cpp564 switch (response.GetStringRef()[0]) { in JSONResponseValidator()
592 for (const char ch : response.GetStringRef()) { in ASCIIHexBytesResponseValidator()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DPathMappingList.cpp89 if (pair.first.GetStringRef() == normalized_path && in AppendUnique()
90 pair.second.GetStringRef() == 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.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 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.cpp96 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
107 symbol_re += it->GetStringRef(); in RegisterAssertFrameRecognizer()
/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();
H A DStringExtractor.h48 llvm::StringRef GetStringRef() const { return m_packet; } in GetStringRef() function
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DMangled.cpp122 if (cstring_is_mangled(name.GetStringRef())) { in SetValue()
217 ManglingScheme scheme = GetManglingScheme(m_mangled.GetStringRef()); in GetRichManglingInfo()
218 if (skip_mangled_name && skip_mangled_name(m_mangled.GetStringRef(), scheme)) in GetRichManglingInfo()
277 GetManglingScheme(m_mangled.GetStringRef()); in GetDemangledName()
327 if (m_mangled && regex.Execute(m_mangled.GetStringRef())) in NameMatches()
331 return demangled && regex.Execute(demangled.GetStringRef()); in NameMatches()
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DManualDWARFIndex.cpp394 DIERefCallback(callback, basename.GetStringRef())); in GetGlobalVariables()
414 class_name, DIERefCallback(callback, class_name.GetStringRef())); in GetObjCMethods()
422 DIERefCallback(callback, class_name.GetStringRef())); in GetCompleteObjCClass()
428 m_set.types.Find(name, DIERefCallback(callback, name.GetStringRef())); in GetTypes()
443 m_set.namespaces.Find(name, DIERefCallback(callback, name.GetStringRef())); in GetNamespaces()
463 name.GetStringRef()))) in GetFunctions()
475 name.GetStringRef()))) in GetFunctions()
481 name, DIERefCallback(callback, name.GetStringRef()))) in GetFunctions()
488 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()
407 m_debug_names_up->equal_range(name.GetStringRef())) { in GetTypes()
434 m_debug_names_up->equal_range(name.GetStringRef())) { in GetNamespaces()
453 m_debug_names_up->equal_range(name.GetStringRef())) { in GetFunctions()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp303 auto path_begin = llvm::sys::path::begin(module.search_path.GetStringRef()); in AddModule()
304 auto path_end = llvm::sys::path::end(module.search_path.GetStringRef()); in AddModule()
305 auto sysroot_begin = llvm::sys::path::begin(module.sysroot.GetStringRef()); in AddModule()
306 auto sysroot_end = llvm::sys::path::end(module.sysroot.GetStringRef()); in AddModule()
322 module.search_path.GetStringRef()); in AddModule()
332 if (!HS.lookupModule(module.path.front().GetStringRef())) { in AddModule()
349 path_component.GetStringRef()), in AddModule()
373 submodule = submodule->findSubmodule(component.GetStringRef()); in AddModule()
441 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()
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.cpp369 m_qSupported_response = response.GetStringRef().str(); in GetRemoteQSupported()
371 for (llvm::StringRef x : llvm::split(response.GetStringRef(), ';')) { in GetRemoteQSupported()
456 const char *response_cstr = response.GetStringRef().data(); in GetVContSupported()
567 object_sp = StructuredData::ParseJSON(response.GetStringRef()); in GetThreadsInfo()
836 response.GetStringRef().substr(1)); in LaunchProcess()
2396 response.GetStringRef().size()) in GetUserName()
2423 response.GetStringRef().size()) in GetGroupName()
2673 StructuredData::ParseJSON(response.GetStringRef()); in QueryGDBServer()
3455 response.GetStringRef().substr(response.GetFilePos(), MD5_HALF_LENGTH); in CalculateMD5()
3466 response.GetStringRef().substr(response.GetFilePos(), MD5_HALF_LENGTH); in CalculateMD5()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp222 llvm::StringRef vtable_name(symbol->GetName().GetStringRef()); in FindLibCppStdFunctionCallableInfo()
263 (symbol ? symbol->GetName().GetStringRef().contains("__invoke") : false); in FindLibCppStdFunctionCallableInfo()
281 if (symbol && !symbol->GetName().GetStringRef().starts_with("vtable for") && in FindLibCppStdFunctionCallableInfo()
315 auto name = f->GetName().GetStringRef(); in FindLibCppStdFunctionCallableInfo()
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIAArch64.cpp154 llvm::StringRef reg_name = info.name.GetStringRef(); in AugmentRegisterInfo()
155 llvm::StringRef alt_name = info.alt_name.GetStringRef(); in AugmentRegisterInfo()
/freebsd/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/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()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverFileLine.cpp232 llvm::StringRef sc_file_dir = sc_file.GetDirectory().GetStringRef(); in DeduceSourceMapping()
234 request_file.GetDirectory().GetStringRef(); in DeduceSourceMapping()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/COFF/
H A DObjectFileCOFF.cpp81 file->GetFilename().GetStringRef()}; in CreateInstance()
114 file.GetFilename().GetStringRef()}; in GetModuleSpecifications()

1234