/external/llvm-project/lldb/unittests/Utility/ |
D | FileSpecTest.cpp | 25 EXPECT_STREQ("/foo/bar", fs_posix.GetCString()); in TEST() 26 EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString()); in TEST() 27 EXPECT_STREQ("bar", fs_posix.GetFilename().GetCString()); in TEST() 30 EXPECT_STREQ("F:\\bar", fs_windows.GetCString()); in TEST() 33 EXPECT_STREQ("bar", fs_windows.GetFilename().GetCString()); in TEST() 36 EXPECT_STREQ("/", fs_posix_root.GetCString()); in TEST() 37 EXPECT_EQ(nullptr, fs_posix_root.GetDirectory().GetCString()); in TEST() 38 EXPECT_STREQ("/", fs_posix_root.GetFilename().GetCString()); in TEST() 41 EXPECT_STREQ("//net", fs_net_drive.GetCString()); in TEST() 42 EXPECT_EQ(nullptr, fs_net_drive.GetDirectory().GetCString()); in TEST() [all …]
|
/external/llvm-project/lldb/test/API/commands/expression/diagnostics/ |
D | TestExprDiagnostics.py | 34 self.assertIn("\nunknown_identifier\n^\n", value.GetError().GetCString()) 35 self.assertIn("<user expression 0>:1:1", value.GetError().GetCString()) 40 self.assertIn("\n1 + unknown_identifier", value.GetError().GetCString()) 41 self.assertIn("\n ^\n", value.GetError().GetCString()) 47 self.assertIn("\nfoobar +=1;\n^\n", value.GetError().GetCString()) 49 self.assertIn("<user expression 2>:2:1", value.GetError().GetCString()) 57 self.assertIn("\nvoid foo(unknown_type x) {}\n ^\n", value.GetError().GetCString()) 60 self.assertIn("<user expression 3>:1:10", value.GetError().GetCString()) 65 self.assertIn("\nvoid foo;\n ^", value.GetError().GetCString()) 66 self.assertIn("<user expression 4>:2:6", value.GetError().GetCString()) [all …]
|
/external/llvm-project/lldb/test/API/commands/expression/fixits/ |
D | TestFixIts.py | 55 self.assertEquals(value.GetError().GetCString(), "error: No value") 77 error_string = value.GetError().GetCString() 135 value.GetError().GetCString()) 137 value.GetError().GetCString()) 141 value.GetError().GetCString()) 147 value.GetError().GetCString()) 150 value.GetError().GetCString()) 152 value.GetError().GetCString()) 158 self.assertEquals(value.GetError().GetCString(), "error: No value")
|
/external/llvm-project/lldb/unittests/Target/ |
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()
|
/external/llvm-project/lldb/source/Expression/ |
D | ExpressionVariable.cpp | 34 SymbolMap::iterator si = m_symbol_map.find(name.GetCString()); in LookupSymbol() 55 m_symbol_map[jitted_function.m_name.GetCString()] = in RegisterExecutionUnit() 58 jitted_function.m_name.GetCString(), in RegisterExecutionUnit() 73 m_symbol_map[global_var.m_name.GetCString()] = global_var.m_remote_addr; in RegisterExecutionUnit() 75 global_var.m_name.GetCString(), global_var.m_remote_addr); in RegisterExecutionUnit()
|
/external/llvm-project/lldb/test/API/lang/cpp/gmodules/ |
D | TestWithModuleDebugging.py | 55 (testValue.GetError().GetCString())) 64 (testValue.GetError().GetCString())) 77 (testValue.GetError().GetCString())) 86 (testValue.GetError().GetCString()))
|
/external/llvm-project/lldb/unittests/Core/ |
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()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangPersistentVariables.cpp | 71 PersistentDecl p = m_persistent_decls.lookup(type_name.GetCString()); in GetCompilerTypeFromPersistentDecl() 88 m_persistent_decls.insert(std::make_pair(name.GetCString(), p)); in RegisterPersistentDecl() 94 ConstString(enumerator_decl->getNameAsString()).GetCString(), p)); in RegisterPersistentDecl() 101 return m_persistent_decls.lookup(name.GetCString()).m_decl; in GetPersistentDecl()
|
/external/llvm-project/lldb/source/Core/ |
D | Mangled.cpp | 59 const char *mangled_name_cstr = mangled.GetCString(); in get_demangled_name_without_arguments() 234 m_mangled.GetCString()); in DemangleWithRichManglingInfo() 269 if (char *d = GetMSVCDemangledStr(m_mangled.GetCString())) { in DemangleWithRichManglingInfo() 304 m_mangled.GetCString()); in GetDemangledName() 307 const char *mangled_name = m_mangled.GetCString(); in GetDemangledName() 413 const char *mangled_name = mangled.GetCString(); in GuessLanguage() 421 && ObjCLanguage::IsPossibleObjCMethodName(demangled_name.GetCString())) in GuessLanguage()
|
/external/llvm-project/lldb/test/API/functionalities/breakpoint/serialize/ |
D | TestBreakpointSerialization.py | 128 … self.assertTrue(error.Success(), "Failed writing breakpoints to file: %s."%(error.GetCString())) 132 … self.assertTrue(error.Success(), "Failed reading breakpoints from file: %s"%(error.GetCString())) 288 … self.assertTrue(error.Success(), "Failed writing breakpoints to file: %s."%(error.GetCString())) 308 … self.assertTrue(error.Success(), "Failed appending breakpoints to file: %s."%(error.GetCString())) 322 … self.assertTrue(error.Success(), "Failed writing breakpoints to file: %s."%(error.GetCString())) 329 … self.assertTrue(error.Success(), "Failed reading breakpoints from file: %s"%(error.GetCString())) 334 … self.assertTrue(error.Success(), "Failed reading breakpoints from file: %s"%(error.GetCString())) 357 self.assertTrue(error.Success(), "Failed writing breakpoints: %s"%(error.GetCString())) 362 self.assertTrue(error.Success(), "Failed reading breakpoints: %s"%(error.GetCString())) 386 self.assertTrue(error.Success(), "Failed writing breakpoints: %s"%(error.GetCString())) [all …]
|
/external/llvm-project/lldb/source/Host/posix/ |
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()
|
/external/llvm-project/lldb/source/API/ |
D | SBError.cpp | 39 const char *SBError::GetCString() const { in GetCString() function in SBError 40 LLDB_RECORD_METHOD_CONST_NO_ARGS(const char *, SBError, GetCString); in GetCString() 177 const char *err_string = GetCString(); in GetDescription() 196 LLDB_REGISTER_METHOD_CONST(const char *, SBError, GetCString, ()); in RegisterMethods()
|
/external/llvm-project/lldb/source/DataFormatters/ |
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()
|
/external/llvm-project/lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/ |
D | TestRequireHWBreakpoints.py | 49 in error.GetCString()) 69 in error.GetCString()) 105 in error.GetCString())
|
/external/llvm-project/lldb/tools/intel-features/intel-pt/ |
D | Decoder.cpp | 134 error.GetCString(), in StartProcessorTrace() 139 error.GetCString(), tid, sbprocess.GetProcessID()); in StartProcessorTrace() 189 std::string error_string(error.GetCString()); in StopProcessorTrace() 239 std::string error_string(error.GetCString()); in StopProcessorTrace() 265 error.GetCString(), in ReadTraceDataAndImageInfo() 293 error.GetCString(), tid, sbprocess.GetProcessID()); in ReadTraceDataAndImageInfo() 574 instruction_list.emplace_back(sberror.GetCString()); in AppendErrorWithOffsetToInstructionList() 581 instruction_list.emplace_back(sberror.GetCString()); in AppendErrorWithoutOffsetToInstructionList() 652 instruction_list.emplace_back(sberror.GetCString()); in DecodeTrace() 667 instruction_list.emplace_back(sberror.GetCString()); in DecodeTrace() [all …]
|
D | cli-wrapper-pt.cpp | 181 result.Printf("error: %s\n", error.GetCString()); in DoExecute() 190 result.Printf("error: %s\n", error.GetCString()); in DoExecute() 264 thread.GetIndexID(), thread_id, error.GetCString()); in DoExecute() 272 thread.GetIndexID(), thread_id, error.GetCString()); in DoExecute() 281 thread.GetIndexID(), thread_id, error.GetCString()); in DoExecute() 382 thread.GetIndexID(), thread_id, error.GetCString()); in DoExecute() 482 result.Printf("error: %s\n", error.GetCString()); in DoExecute()
|
/external/llvm-project/lldb/source/Plugins/Platform/Android/ |
D | PlatformAndroid.cpp | 159 GetPluginName().GetCString()); in ConnectRemote() 195 source_spec.GetCString(false)); in GetFile() 210 auto source_file = source_spec.GetCString(false); in GetFile() 238 destination_spec.GetCString(false)); in PutFile() 345 module_sp->GetPlatformFileSpec().GetCString(false), in DownloadSymbolFile() 346 symfile_platform_filespec.GetCString(false)); in DownloadSymbolFile()
|
/external/llvm-project/lldb/source/Host/windows/ |
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()
|
/external/llvm-project/lldb/bindings/interface/ |
D | SBError.i | 67 GetCString () const; 115 …description = property(GetCString, None, doc='''A read only property that returns the same result …
|
/external/llvm-project/lldb/source/Target/ |
D | PathMappingList.cpp | 130 m_pairs[index].first.GetCString(), in Dump() 131 m_pairs[index].second.GetCString()); in Dump() 134 s->Printf("%s -> %s", m_pairs[pair_index].first.GetCString(), in Dump() 135 m_pairs[pair_index].second.GetCString()); in Dump() 234 new_spec.SetFile(entry.second.GetCString(), FileSpec::Style::native); in FindFile()
|
D | SectionLoadList.cpp | 110 load_addr, module_sp->GetFileSpec().GetFilename().GetCString(), in SetSectionLoadAddress() 111 section->GetName().GetCString(), in SetSectionLoadAddress() 112 curr_module_sp->GetFileSpec().GetFilename().GetCString(), in SetSectionLoadAddress() 113 ats_pos->second->GetName().GetCString()); in SetSectionLoadAddress()
|
/external/llvm-project/lldb/source/Plugins/Language/ObjC/ |
D | ObjCLanguage.cpp | 126 const char *full = m_full.GetCString(); in GetClassName() 152 const char *full = m_full.GetCString(); in GetClassNameWithCategory() 160 if (!m_class && strchr(m_class_category.GetCString(), '(') == nullptr) { in GetClassNameWithCategory() 175 const char *full = m_full.GetCString(); in GetSelector() 191 const char *full = m_full.GetCString(); in GetCategory() 215 strm.Printf("[%s %s]", GetClassName().GetCString(), in GetFullNameWithoutCategory() 216 GetSelector().GetCString()); in GetFullNameWithoutCategory() 231 ObjCLanguage::MethodName objc_method(method_name.GetCString(), false); in GetMethodNameVariants() 249 strm.Printf("+%s", objc_method.GetFullName().GetCString()); in GetMethodNameVariants() 253 strm.Printf("-%s", objc_method.GetFullName().GetCString()); in GetMethodNameVariants() [all …]
|
/external/llvm-project/lldb/source/Host/common/ |
D | FileAction.cpp | 29 llvm::StringRef FileAction::GetPath() const { return m_file_spec.GetCString(); } in GetPath() 85 m_file_spec.GetCString(), m_arg); in Dump()
|
/external/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_count/ |
D | TestWatchpointCount.py | 26 (error.GetCString())) 32 (error.GetCString()))
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandCompletions.cpp | 132 m_file_name = partial_spec.GetFilename().GetCString(); in SourceFileCompleter() 133 m_dir_name = partial_spec.GetDirectory().GetCString(); in SourceFileCompleter() 143 context.comp_unit->GetPrimaryFile().GetFilename().GetCString(); in SearchCallback() 145 context.comp_unit->GetPrimaryFile().GetDirectory().GetCString(); in SearchCallback() 168 m_matching_files.GetFileSpecAtIndex(i).GetFilename().GetCString()); in DoCompletion() 242 m_request.AddCompletion((*pos).GetCString()); in DoCompletion() 261 m_file_name = partial_spec.GetFilename().GetCString(); in ModuleCompleter() 262 m_dir_name = partial_spec.GetDirectory().GetCString(); in ModuleCompleter() 272 context.module_sp->GetFileSpec().GetFilename().GetCString(); in SearchCallback() 274 context.module_sp->GetFileSpec().GetDirectory().GetCString(); in SearchCallback()
|