| /llvm-project-15.0.7/lldb/source/Host/ |
| H A D | CMakeLists.txt | 53 add_host_subdirectory(posix 54 posix/ConnectionFileDescriptorPosix.cpp 71 add_host_subdirectory(posix 72 posix/DomainSocket.cpp 73 posix/FileSystemPosix.cpp 74 posix/HostInfoPosix.cpp 75 posix/HostProcessPosix.cpp 76 posix/HostThreadPosix.cpp 77 posix/LockFilePosix.cpp 78 posix/PipePosix.cpp [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | FileSpecTest.cpp | 16 return FileSpec(path, FileSpec::Style::posix); in PosixSpec() 24 FileSpec fs_posix("/foo/bar", FileSpec::Style::posix); in TEST() 35 FileSpec fs_posix_root("/", FileSpec::Style::posix); in TEST() 40 FileSpec fs_net_drive("//net", FileSpec::Style::posix); in TEST() 45 FileSpec fs_net_root("//net/", FileSpec::Style::posix); in TEST() 83 FileSpec fs_posix("/foo", FileSpec::Style::posix); in TEST() 89 FileSpec fs_posix_2("/foo", FileSpec::Style::posix); in TEST() 102 FileSpec fs_posix_root("/", FileSpec::Style::posix); in TEST() 124 FileSpec fs_posix("foo", FileSpec::Style::posix); in TEST() 128 FileSpec fs_posix_2("foo/bar", FileSpec::Style::posix); in TEST() [all …]
|
| H A D | ReproducerTest.cpp | 91 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)), in TEST() 94 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix), in TEST() 96 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix), in TEST() 112 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)), in TEST() 118 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix), in TEST() 126 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)), in TEST() 141 reproducer.SetCapture(FileSpec("//bogus/path", FileSpec::Style::posix)), in TEST() 146 EXPECT_EQ(FileSpec("//bogus/path", FileSpec::Style::posix), in TEST()
|
| H A D | ArgsTest.cpp | 320 FileSpec bash("/bin/bash", FileSpec::Style::posix); in TEST() 325 FileSpec zsh("/bin/zsh", FileSpec::Style::posix); in TEST() 338 FileSpec tcsh("/bin/tcsh", FileSpec::Style::posix); in TEST() 345 FileSpec sh("/bin/sh", FileSpec::Style::posix); in TEST() 352 FileSpec fish("/bin/fish", FileSpec::Style::posix); in TEST() 359 FileSpec unknown_shell("/bin/unknown_shell", FileSpec::Style::posix); in TEST()
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Host/ |
| H A D | BUILD.gn | 59 sources += [ "posix/ConnectionFileDescriptorPosix.cpp" ] 76 "posix/DomainSocket.cpp", 77 "posix/FileSystemPosix.cpp", 78 "posix/HostInfoPosix.cpp", 79 "posix/HostProcessPosix.cpp", 80 "posix/HostThreadPosix.cpp", 81 "posix/LockFilePosix.cpp", 82 "posix/PipePosix.cpp", 83 "posix/ProcessLauncherPosixFork.cpp",
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | FindFileTest.cpp | 82 {"/old", llvm::sys::path::Style::posix, DirName.c_str()}, in TEST_F() 83 {"/old/test", llvm::sys::path::Style::posix, FileName.c_str()}, in TEST_F() 89 FileSpec("/foo", llvm::sys::path::Style::posix), in TEST_F() 90 FileSpec("/new", llvm::sys::path::Style::posix), in TEST_F() 93 FileSpec("/old/test1", llvm::sys::path::Style::posix), in TEST_F()
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/ |
| H A D | debuglineinfo-path.ll | 16 ;POSIX_A: /absolute/posix/path{{[\/]}}posix.c 19 ;POSIX_R: /ABSOLUTE/CU/PATH{{[\/]}}relative/posix/path{{[\/]}}posix2.c 55 !31 = !DIFile(filename: "posix.c", directory: "/absolute/posix/path") 66 !41 = !DIFile(filename: "posix2.c", directory: "relative/posix/path")
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/ |
| H A D | dcl58-cpp.rst | 6 Modification of the ``std`` or ``posix`` namespace can result in undefined 9 The ``std`` (or ``posix``) namespace is allowed to be extended with (class or 13 The check detects the following (user provided) declarations in namespace ``std`` or ``posix``: 29 …namespace posix::a { // warning: modification of 'posix' namespace can result in undefined behavior
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/src/ |
| H A D | gtest-filepath.cc | 212 posix::StatStruct file_stat; in FileOrDirectoryExists() 213 return posix::Stat(pathname_.c_str(), &file_stat) == 0; in FileOrDirectoryExists() 239 posix::StatStruct file_stat; in DirectoryExists() 240 result = posix::Stat(path.c_str(), &file_stat) == 0 && in DirectoryExists() 241 posix::IsDir(file_stat); in DirectoryExists()
|
| H A D | gtest-port.cc | 737 pattern_ = posix::StrDup(regex); in Init() 982 pattern_ = posix::StrDup(regex); in Init() 1061 posix::Abort(); in ~GTestLog() 1138 FILE* const file = posix::FOpen(filename_.c_str(), "r"); in GetCapturedString() 1144 posix::FClose(file); in GetCapturedString() 1263 namespace posix { namespace 1336 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 1350 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 1379 const char* xml_output_file_env = posix::GetEnv("XML_OUTPUT_FILE"); in OutputFlagAlsoCheckEnvVar() 1393 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
| H A D | gtest-death-test.cc | 292 FILE* parent = posix::FDOpen(flag->write_fd(), "w"); in DeathTestAbort() 300 posix::Abort(); in DeathTestAbort() 339 return errno == 0 ? "" : posix::StrError(errno); in GetLastErrnoDescription() 352 while ((num_read = posix::Read(fd, buffer, 255)) > 0) { in FailFromInternalError() 470 bytes_read = posix::Read(read_fd(), &flag, 1); in ReadAndInterpretStatusByte() 498 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Close(read_fd())); in ReadAndInterpretStatusByte() 518 GTEST_DEATH_TEST_CHECK_SYSCALL_(posix::Write(write_fd(), &status_ch, 1)); in Abort() 851 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() 859 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments() 1202 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | SourceLocationSpecTest.cpp | 45 FileSpec fs("/foo/bar", FileSpec::Style::posix); in TEST() 81 const FileSpec fs("/foo/bar", FileSpec::Style::posix); in TEST() 82 const FileSpec other_fs("/foo/baz", FileSpec::Style::posix); in TEST() 128 FileSpec fs("/foo/bar", FileSpec::Style::posix); in TEST() 129 FileSpec other_fs("/foo/baz", FileSpec::Style::posix); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/ |
| H A D | dcl58-cpp.cpp | 17 namespace posix { namespace 40 namespace posix { namespace 47 namespace posix::a { namespace
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/ |
| H A D | posix-return.rst | 1 .. title:: clang-tidy - bugprone-posix-return 3 bugprone-posix-return
|
| /llvm-project-15.0.7/lldb/unittests/Expression/ |
| H A D | ClangParserTest.cpp | 55 std::string posix = "/usr/lib/liblldb.dylib"; in TEST_F() local 56 EXPECT_FALSE(ComputeClangResourceDir(posix).empty()); in TEST_F()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ConfigCompileTests.cpp | 425 auto BazPath = testPath("foo/bar/baz.h", llvm::sys::path::Style::posix); in TEST_F() 431 testPath("foo/bar", llvm::sys::path::Style::posix)); in TEST_F() 450 auto BarPath = testPath("foo/bar.h", llvm::sys::path::Style::posix); in TEST_F() 464 auto FooPath = testPath("foo/", llvm::sys::path::Style::posix); in TEST_F() 488 auto BazPath = testPath("bar/baz.h", llvm::sys::path::Style::posix); in TEST_F() 497 BazPath = testPath("foo/baz.h", llvm::sys::path::Style::posix); in TEST_F() 507 BazPath = testPath("fOo/baz.h", llvm::sys::path::Style::posix); in TEST_F() 511 FooPath = testPath("FOO/", llvm::sys::path::Style::posix); in TEST_F()
|
| H A D | ConfigProviderTests.cpp | 144 testPath("a/b/c/d/test.cc", llvm::sys::path::Style::posix); in TEST() 148 testPath("a/b/e/f/test.cc", llvm::sys::path::Style::posix); in TEST() 191 const auto BarPath = testPath("baz/bar.h", llvm::sys::path::Style::posix); in TEST()
|
| /llvm-project-15.0.7/third-party/benchmark/ |
| H A D | appveyor.yml | 23 - compiler: gcc-5.3.0-posix 25 cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin'
|
| /llvm-project-15.0.7/lldb/unittests/Host/ |
| H A D | FileSystemTest.cpp | 190 EXPECT_TRUE(fs.Exists(FileSpec("/foo", FileSpec::Style::posix))); in TEST() 197 EXPECT_TRUE(fs.Readable(FileSpec("/foo", FileSpec::Style::posix))); in TEST() 200 EXPECT_FALSE(fs.Readable(FileSpec("/qux", FileSpec::Style::posix))); in TEST() 208 fs.GetByteSize(FileSpec("/foo", FileSpec::Style::posix))); in TEST() 216 fs.GetPermissions(FileSpec("/foo", FileSpec::Style::posix))); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/llvm-nm/ |
| H A D | Opts.td | 23 defm format : Eq<"format", "Specify output format: bsd (default), posix, sysv, darwin, just-symbols… 59 def : FF<"portability", "Alias for --format=posix">, Alias<format_EQ>, AliasArgs<["posix"]>; 75 def : F<"P", "Alias for --format=posix">, Alias<format_EQ>, AliasArgs<["posix"]>;
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | Path.cpp | 84 EXPECT_TRUE(is_style_posix(Style::posix)); in TEST() 89 EXPECT_FALSE(is_style_windows(Style::posix)); in TEST() 109 EXPECT_FALSE(path::is_separator('\\', path::Style::posix)); in TEST() 116 EXPECT_EQ(path::get_separator(path::Style::posix), "/"); in TEST() 326 … path::root_name(p, path::Style::posix).str() + path::root_directory(p, path::Style::posix).str(), in TEST() 327 path::root_path(p, path::Style::posix).str()); in TEST() 1462 path::native(Posix, path::Style::posix); in TEST() 1474 path::make_preferred(Posix, path::Style::posix); in TEST() 1562 remove_dots("/foo/bar/", true, path::Style::posix)); in TEST() 1585 EXPECT_EQ("/", remove_dots("/", true, path::Style::posix)); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | FileSpec.cpp | 41 return FileSpec::Style::posix; in GetNativeStyle() 74 : FileSpec{path, triple.isOSWindows() ? Style::windows : Style::posix} {} in FileSpec() 211 return SetFile(path, triple.isOSWindows() ? Style::windows : Style::posix); in SetFile() 310 return Style::posix; in GuessPathStyle() 543 io.enumCase(value, "posix", FileSpecStyle(FileSpec::Style::posix)); in enumeration()
|
| /llvm-project-15.0.7/openmp/runtime/tools/lib/ |
| H A D | Uname.pm | 48 my @posix = qw{ kernel_name fqdn kernel_release kernel_version machine }; 53 my @base = ( @posix, @linux ); 83 @values{ @posix } = POSIX::uname();
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/COFF/ |
| H A D | subsystem.test | 5 # RUN: llvm-objcopy --subsystem=posix:7.4 --subsystem windows %t.in.exe %t.out.exe 14 # RUN: llvm-objcopy --subsystem=posix:7.4 --subsystem windows:9 %t.in.exe %t.out.exe
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | FileDistance.cpp | 50 native(Result, llvm::sys::path::Style::posix); in canonicalize() 74 Rest = parent_path(Rest, llvm::sys::path::Style::posix); in FileDistance() 125 Rest = parent_path(Rest, llvm::sys::path::Style::posix)) { in distance()
|