| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | FileSpecTest.cpp | 25 EXPECT_STREQ("/foo/bar", fs_posix.GetCString()); in TEST() 30 EXPECT_STREQ("F:\\bar", fs_windows.GetCString()); in TEST() 36 EXPECT_STREQ("/", fs_posix_root.GetCString()); in TEST() 41 EXPECT_STREQ("//net", fs_net_drive.GetCString()); in TEST() 46 EXPECT_STREQ("//net/", fs_net_root.GetCString()); in TEST() 118 EXPECT_STREQ("/foo/bar", fs.GetCString()); in TEST() 350 EXPECT_STREQ("/foo", fs_posix.GetCString()); in TEST() 352 EXPECT_STREQ("/", fs_posix.GetCString()); in TEST() 354 EXPECT_STREQ("/", fs_posix.GetCString()); in TEST() 381 EXPECT_STREQ("C:", fs_windows.GetCString()); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/diagnostics/ |
| H A D | TestExprDiagnostics.py | 32 self.assertIn("\nunknown_identifier\n^\n", value.GetError().GetCString()) 33 self.assertIn("<user expression 0>:1:1", value.GetError().GetCString()) 38 self.assertIn("\n1 + unknown_identifier", value.GetError().GetCString()) 39 self.assertIn("\n ^\n", value.GetError().GetCString()) 45 self.assertIn("\nfoobar +=1;\n^\n", value.GetError().GetCString()) 47 self.assertIn("<user expression 2>:2:1", value.GetError().GetCString()) 58 self.assertIn("<user expression 3>:1:10", value.GetError().GetCString()) 63 self.assertIn("\nvoid foo;\n ^", value.GetError().GetCString()) 64 self.assertIn("<user expression 4>:2:6", value.GetError().GetCString()) 106 self.assertIn("/Foundation.framework/", value.GetError().GetCString()) [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | MangledTest.cpp | 37 EXPECT_STREQ(ExpectedResult.GetCString(), TheDemangled.GetCString()); in TEST() 47 EXPECT_STREQ(ExpectedResult.GetCString(), TheDemangled.GetCString()); in TEST() 55 EXPECT_STREQ("", TheDemangled.GetCString()); in TEST() 64 EXPECT_STREQ(expected_result.GetCString(), the_demangled.GetCString()); in TEST() 72 EXPECT_STREQ("", the_demangled.GetCString()); in TEST() 81 EXPECT_STREQ(expected_result.GetCString(), the_demangled.GetCString()); in TEST() 89 EXPECT_STREQ("", the_demangled.GetCString()); in TEST()
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | ModuleCacheTest.cpp | 75 << "uuid_view is: " << uuid_view.GetCString(); in VerifyDiskState() 80 << "sysroot_view is: " << sysroot_view.GetCString(); in VerifyDiskState() 100 EXPECT_STREQ(GetDummyRemotePath().GetCString(), in TryGetAndPut() 101 module_spec.GetFileSpec().GetCString()); in TryGetAndPut() 103 s_test_executable, tmp_download_file_spec.GetCString()); in TryGetAndPut() 121 EXPECT_STREQ(GetDummyRemotePath().GetCString(), in TryGetAndPut() 122 module_sp->GetPlatformFileSpec().GetCString()); in TryGetAndPut() 141 llvm::sys::fs::create_directories(uuid_view.GetDirectory().GetCString()); in TEST_F() 143 ec = llvm::sys::fs::copy_file(s_test_executable, uuid_view.GetCString()); in TEST_F()
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | ExpressionVariable.cpp | 35 SymbolMap::iterator si = m_symbol_map.find(name.GetCString()); in LookupSymbol() 56 m_symbol_map[jitted_function.m_name.GetCString()] = in RegisterExecutionUnit() 59 jitted_function.m_name.GetCString(), in RegisterExecutionUnit() 74 m_symbol_map[global_var.m_name.GetCString()] = global_var.m_remote_addr; in RegisterExecutionUnit() 76 global_var.m_name.GetCString(), global_var.m_remote_addr); in RegisterExecutionUnit()
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/gmodules/ |
| H A D | TestWithModuleDebugging.py | 53 (testValue.GetError().GetCString())) 62 (testValue.GetError().GetCString())) 75 (testValue.GetError().GetCString())) 84 (testValue.GetError().GetCString()))
|
| /llvm-project-15.0.7/lldb/test/API/commands/expression/fixits/ |
| H A D | TestFixIts.py | 53 self.assertEquals(value.GetError().GetCString(), "error: No value") 75 error_string = value.GetError().GetCString() 149 errmsg = value.GetError().GetCString() 162 errmsg = value.GetError().GetCString() 173 self.assertEquals(value.GetError().GetCString(), "error: No value")
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangPersistentVariables.cpp | 74 PersistentDecl p = m_persistent_decls.lookup(type_name.GetCString()); in GetCompilerTypeFromPersistentDecl() 91 m_persistent_decls.insert(std::make_pair(name.GetCString(), p)); in RegisterPersistentDecl() 97 ConstString(enumerator_decl->getNameAsString()).GetCString(), p)); in RegisterPersistentDecl() 104 return m_persistent_decls.lookup(name.GetCString()).m_decl; in GetPersistentDecl()
|
| /llvm-project-15.0.7/lldb/source/Host/posix/ |
| H A D | FileSystemPosix.cpp | 38 if (::symlink(dst.GetCString(), src.GetCString()) == -1) in Symlink() 59 return Status("Couldn't get the canonical path for %s", src.GetCString()); in ResolveSymbolicLink()
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | TypeCategory.cpp | 239 *matching_category = m_name.GetCString(); in AnyMatches() 249 *matching_category = m_name.GetCString(); in AnyMatches() 259 *matching_category = m_name.GetCString(); in AnyMatches() 269 *matching_category = m_name.GetCString(); in AnyMatches() 279 *matching_category = m_name.GetCString(); in AnyMatches() 289 *matching_category = m_name.GetCString(); in AnyMatches() 299 *matching_category = m_name.GetCString(); in AnyMatches() 309 *matching_category = m_name.GetCString(); in AnyMatches()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/ |
| H A D | TestRequireHWBreakpoints.py | 49 in error.GetCString()) 69 in error.GetCString()) 105 in error.GetCString())
|
| /llvm-project-15.0.7/lldb/source/Host/windows/ |
| H A D | FileSystem.cpp | 33 if (!llvm::ConvertUTF8toWide(src.GetCString(), wsrc) || in Symlink() 34 !llvm::ConvertUTF8toWide(dst.GetCString(), wdst)) in Symlink() 54 if (!llvm::ConvertUTF8toWide(src.GetCString(), wsrc)) { in Readlink()
|
| /llvm-project-15.0.7/lldb/bindings/interface/ |
| H A D | SBError.i | 67 GetCString () const; 115 …description = property(GetCString, None, doc='''A read only property that returns the same result …
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/ |
| H A D | ObjCLanguage.cpp | 113 const char *full = m_full.GetCString(); in GetClassName() 139 const char *full = m_full.GetCString(); in GetClassNameWithCategory() 162 const char *full = m_full.GetCString(); in GetSelector() 178 const char *full = m_full.GetCString(); in GetCategory() 202 strm.Printf("[%s %s]", GetClassName().GetCString(), in GetFullNameWithoutCategory() 203 GetSelector().GetCString()); in GetFullNameWithoutCategory() 218 ObjCLanguage::MethodName objc_method(method_name.GetCString(), false); in GetMethodNameVariants() 240 strm.Printf("+%s", objc_method.GetFullName().GetCString()); in GetMethodNameVariants() 245 strm.Printf("-%s", objc_method.GetFullName().GetCString()); in GetMethodNameVariants() 251 strm.Printf("+%s", name_sans_category.GetCString()); in GetMethodNameVariants() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/Android/ |
| H A D | PlatformAndroid.cpp | 177 source_spec.GetCString(false)); in GetFile() 192 auto source_file = source_spec.GetCString(false); in GetFile() 220 destination_spec.GetCString(false)); in PutFile() 328 module_sp->GetPlatformFileSpec().GetCString(false), in DownloadSymbolFile() 329 symfile_platform_filespec.GetCString(false)); in DownloadSymbolFile()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | FileAction.cpp | 28 llvm::StringRef FileAction::GetPath() const { return m_file_spec.GetCString(); } in GetPath() 84 m_file_spec.GetCString(), m_arg); in Dump()
|
| /llvm-project-15.0.7/lldb/test/API/commands/watchpoints/watchpoint_count/ |
| H A D | TestWatchpointCount.py | 26 (error.GetCString())) 32 (error.GetCString()))
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | SectionLoadList.cpp | 111 load_addr, module_sp->GetFileSpec().GetFilename().GetCString(), in SetSectionLoadAddress() 112 section->GetName().GetCString(), in SetSectionLoadAddress() 113 curr_module_sp->GetFileSpec().GetFilename().GetCString(), in SetSectionLoadAddress() 114 ats_pos->second->GetName().GetCString()); in SetSectionLoadAddress()
|
| H A D | PathMappingList.cpp | 125 m_pairs[index].first.GetCString(), in Dump() 126 m_pairs[index].second.GetCString()); in Dump() 129 s->Printf("%s -> %s", m_pairs[pair_index].first.GetCString(), in Dump() 130 m_pairs[pair_index].second.GetCString()); in Dump()
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandCompletions.cpp | 134 m_file_name = partial_spec.GetFilename().GetCString(); in SourceFileCompleter() 135 m_dir_name = partial_spec.GetDirectory().GetCString(); in SourceFileCompleter() 145 context.comp_unit->GetPrimaryFile().GetFilename().GetCString(); in SearchCallback() 147 context.comp_unit->GetPrimaryFile().GetDirectory().GetCString(); in SearchCallback() 170 m_matching_files.GetFileSpecAtIndex(i).GetFilename().GetCString()); in DoCompletion() 244 m_request.AddCompletion((*pos).GetCString()); in DoCompletion() 263 m_file_name = partial_spec.GetFilename().GetCString(); in ModuleCompleter() 264 m_dir_name = partial_spec.GetDirectory().GetCString(); in ModuleCompleter() 274 context.module_sp->GetFileSpec().GetFilename().GetCString(); in SearchCallback() 276 context.module_sp->GetFileSpec().GetDirectory().GetCString(); in SearchCallback()
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ |
| H A D | ItaniumABILanguageRuntime.cpp | 84 original_ptr, in_value.GetTypeName().GetCString(), name); in GetTypeInfoFromVTableAddress() 128 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress() 144 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress() 160 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress() 290 std::string corrected_name(type_and_or_name.GetName().GetCString()); in FixUpDynamicType() 363 demangled.GetCString()); in DoExecute()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/gdb-server/ |
| H A D | PlatformRemoteGDBServer.cpp | 180 working_dir.GetCString()); in GetRemoteWorkingDirectory() 194 working_dir.GetCString()); in SetRemoteWorkingDirectory() 549 file_spec.GetCString(), mode, error.GetError(), error.AsCString()); in MakeDirectory() 563 file_spec.GetCString(), file_permissions, error.GetError(), in GetFilePermissions() 578 file_spec.GetCString(), file_permissions, error.GetError(), in SetFilePermissions() 647 src.GetCString(), dst.GetCString(), error.GetError(), in CreateSymlink() 658 file_spec.GetCString(), error.GetError(), error.AsCString()); in Unlink()
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBPlatform.cpp | 150 return m_opaque_ptr->m_local_cache_directory.GetCString(); in GetLocalCacheDirectory() 357 return platform_sp->GetWorkingDirectory().GetCString(); in GetWorkingDirectory() 416 return ConstString(arch.GetTriple().getTriple().c_str()).GetCString(); in GetTriple() 431 return ConstString(s).GetCString(); in GetOSBuild() 446 return ConstString(s.c_str()).GetCString(); in GetOSDescription() 552 working_dir = platform_sp->GetWorkingDirectory().GetCString(); in Run()
|
| H A D | SBType.cpp | 522 return m_opaque_sp->GetName().GetCString(); in GetName() 530 return m_opaque_sp->GetDisplayTypeName().GetCString(); in GetDisplayTypeName() 680 return m_opaque_up->GetName().GetCString(); in GetName() 736 const char *name = m_opaque_up->GetName().GetCString(); in GetDescription() 801 return m_opaque_sp->GetName().GetCString(); in GetName() 812 return mangled.GetDemangledName().GetCString(); in GetDemangledName() 822 return m_opaque_sp->GetMangledName().GetCString(); in GetMangledName()
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | UniqueDWARFASTType.h | 79 m_collection[name.GetCString()].Append(entry); in Insert() 85 const char *unique_name_cstr = name.GetCString(); in Find()
|