/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
H A D | MachO.h | 1805 sys::swapByteOrder(x.ss); in swapStruct() 1808 sys::swapByteOrder(x.cs); in swapStruct() 1809 sys::swapByteOrder(x.ds); in swapStruct() 1810 sys::swapByteOrder(x.es); in swapStruct() 1811 sys::swapByteOrder(x.fs); in swapStruct() 1812 sys::swapByteOrder(x.gs); in swapStruct() 1824 sys::swapByteOrder(x.r8); in swapStruct() 1825 sys::swapByteOrder(x.r9); in swapStruct() 1834 sys::swapByteOrder(x.cs); in swapStruct() 1835 sys::swapByteOrder(x.fs); in swapStruct() [all …]
|
H A D | DXContainer.h | 63 sys::swapByteOrder(Major); in swapBytes() 64 sys::swapByteOrder(Minor); in swapBytes() 77 sys::swapByteOrder(FileSize); in swapBytes() 78 sys::swapByteOrder(PartCount); in swapBytes() 89 void swapBytes() { sys::swapByteOrder(Size); } in swapBytes() 106 sys::swapByteOrder(MinorVersion); in swapBytes() 107 sys::swapByteOrder(MajorVersion); in swapBytes() 108 sys::swapByteOrder(Offset); in swapBytes() 109 sys::swapByteOrder(Size); in swapBytes() 122 sys::swapByteOrder(ShaderKind); in swapBytes() [all …]
|
/openbsd/usr.bin/kdump/ |
H A D | Makefile | 5 SYS_DIR=${.CURDIR}/../../sys 35 ${SYS_DIR}/sys/ataio.h \ 37 ${SYS_DIR}/sys/cdio.h \ 38 ${SYS_DIR}/sys/chio.h \ 39 ${SYS_DIR}/sys/dkio.h \ 40 ${SYS_DIR}/sys/filio.h \ 41 ${SYS_DIR}/sys/gpio.h \ 42 ${SYS_DIR}/sys/ioctl.h \ 43 ${SYS_DIR}/sys/kcov.h \ 45 ${SYS_DIR}/sys/mtio.h \ [all …]
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | FileCollector.cpp | 29 assert(sys::fs::is_directory(Dir)); in addDirectory() 38 if (sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath() 61 StringRef Filename = sys::path::filename(SrcPath); in updateWithRealPath() 72 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath() 84 sys::path::append(RealPath, Filename); in updateWithRealPath() 93 sys::fs::make_absolute(Path); in makeAbsolute() 96 sys::path::native(Path); in makeAbsolute() 126 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl() 165 sys::fs::openFileForWrite(Filename, FD, sys::fs::CD_OpenExisting)) in copyAccessAndModificationTime() 188 sys::fs::file_status Stat; in copyFiles() [all …]
|
H A D | MemoryBuffer.cpp | 267 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in getFileAux() 268 Filename, IsText ? sys::fs::OF_TextWithCRLF : sys::fs::OF_None); in getFileAux() 271 sys::fs::file_t FD = *FDOrErr; in getFileAux() 274 sys::fs::closeFile(FD); in getFileAux() 364 sys::fs::file_status Status; in shouldUseMmap() 396 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForReadWrite( in getReadWriteFile() 397 Filename, sys::fs::CD_OpenExisting, sys::fs::OF_None); in getReadWriteFile() 400 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile() 540 sys::ChangeStdinMode(sys::fs::OF_Text); in getSTDIN() 548 sys::fs::openNativeFileForRead(Filename, sys::fs::OF_None); in getFileAsStream() [all …]
|
H A D | raw_ostream.cpp | 573 sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access, in getFD() 583 sys::ChangeStdoutMode(Flags); in getFD() 588 if (Access & sys::fs::FA_Read) in getFD() 599 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream() 604 : raw_fd_ostream(Filename, EC, Disp, sys::fs::FA_Write, sys::fs::OF_None) {} in raw_fd_ostream() 613 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream() 651 sys::fs::file_status Status; in raw_fd_ostream() 880 return sys::fs::FileLocker(FD); in lock() 884 Expected<sys::fs::FileLocker> 924 sys::fs::FA_Write | sys::fs::FA_Read, in raw_fd_stream() [all …]
|
H A D | LockFileManager.cpp | 61 sys::fs::remove(LockFileName); in readLockFile() 78 sys::fs::remove(LockFileName); in readLockFile() 151 sys::fs::remove(Filename); in ~RemoveUniqueLockFileOnSignal() 152 sys::DontRemoveFileOnSignal(Filename); in ~RemoveUniqueLockFileOnSignal() 207 sys::fs::remove(UniqueLockFileName); in LockFileManager() 241 if (!sys::fs::exists(LockFileName)) { in LockFileManager() 285 sys::fs::remove(LockFileName); in ~LockFileManager() 286 sys::fs::remove(UniqueLockFileName); in ~LockFileManager() 321 if (sys::fs::access(LockFileName.c_str(), sys::fs::AccessMode::Exist) == in waitForUnlock() 324 if (!sys::fs::exists(FileName)) in waitForUnlock() [all …]
|
H A D | Caching.cpp | 45 sys::path::append(EntryPath, CacheDirectoryPath, "llvmcache-" + Key); in localCache() 48 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in localCache() 49 Twine(EntryPath), sys::fs::OF_UpdateAtime, &ResultPath); in localCache() 56 sys::fs::closeFile(*FDOrErr); in localCache() 80 sys::fs::TempFile TempFile; in localCache() 85 sys::fs::TempFile TempFile, std::string EntryPath, in localCache() 101 sys::fs::convertFDToNativeFile(TempFile.FD), ObjectPathName, in localCache() 146 if (std::error_code EC = sys::fs::create_directories( in localCache() 152 sys::path::append(TempFilenameModel, CacheDirectoryPath, in localCache() 154 Expected<sys::fs::TempFile> Temp = sys::fs::TempFile::create( in localCache() [all …]
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/scripts/ |
H A D | sancov.py | 12 import sys 17 sys.stderr.write( 75 sys.stderr.write( 83 sys.stderr.write( 98 if sys.stdout.isatty(): 104 stdout_buf = getattr(sys.stdout, 'buffer', sys.stdout) 217 sys.stderr.write( 224 prog_name = sys.argv[0] 225 if len(sys.argv) <= 2: 229 if len(sys.argv) != 3: [all …]
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/ |
H A D | SectionMemoryManager.cpp | 81 sys::MemoryBlock &PendingMB = in allocateSection() 83 PendingMB = sys::MemoryBlock(PendingMB.base(), in allocateSection() 104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( in allocateSection() 106 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection() 155 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory() 182 static sys::MemoryBlock trimBlockToPageSize(sys::MemoryBlock M) { in trimBlockToPageSize() 206 for (sys::MemoryBlock &MB : MemGroup.PendingMem) in applyMemoryGroupPermissions() 229 for (sys::MemoryBlock &Block : CodeMem.PendingMem) in invalidateInstructionCache() 236 for (sys::MemoryBlock &Block : Group->AllocatedMem) in ~SectionMemoryManager() 250 sys::MemoryBlock [all …]
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/googletest-crash/DummySubDir/ |
H A D | OneTest.py | 4 import sys 6 if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests": 7 if sys.argv[2] != '--gtest_filter=-*DISABLED_*': 8 raise ValueError("unexpected argument: %s" % (sys.argv[2])) 19 sys.exit(0) 20 elif len(sys.argv) != 1: 22 raise ValueError("unexpected argument: %r" % (' '.join(sys.argv[1:]))) 43 print('I am about to crash', file=sys.stderr, flush=True) 51 sys.exit(exit_code)
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/ |
H A D | OneTest.py | 4 import sys 6 if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests": 7 if sys.argv[2] != '--gtest_filter=-*DISABLED_*': 8 raise ValueError("unexpected argument: %s" % (sys.argv[2])) 19 sys.exit(0) 20 elif len(sys.argv) != 1: 22 raise ValueError("unexpected argument: %r" % (' '.join(sys.argv[1:]))) 99 print('I am subTest B output', file=sys.stderr, flush=True) 108 sys.exit(exit_code)
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/googletest-format-respect-gtest-sharding-env-vars/DummySubDir/ |
H A D | OneTest.py | 4 import sys 6 if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests": 7 if sys.argv[2] != '--gtest_filter=-*DISABLED_*': 8 raise ValueError("unexpected argument: %s" % (sys.argv[2])) 19 sys.exit(0) 20 elif len(sys.argv) != 1: 22 raise ValueError("unexpected argument: %r" % (' '.join(sys.argv[1:]))) 99 print('I am subTest B output', file=sys.stderr, flush=True) 108 sys.exit(exit_code)
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | UnicodeCharSets.h | 14 static const llvm::sys::UnicodeCharRange XIDStartRanges[] = { 242 static const llvm::sys::UnicodeCharRange XIDContinueRanges[] = { 372 static const llvm::sys::UnicodeCharRange 390 static const llvm::sys::UnicodeCharRange 400 static const llvm::sys::UnicodeCharRange C11AllowedIDCharRanges[] = { 430 static const llvm::sys::UnicodeCharRange C99AllowedIDCharRanges[] = { 649 static const llvm::sys::UnicodeCharRange C11DisallowedInitialIDCharRanges[] = { 657 static const llvm::sys::UnicodeCharRange C99DisallowedInitialIDCharRanges[] = { 666 static const llvm::sys::UnicodeCharRange UnicodeWhitespaceCharRanges[] = {
|
/openbsd/gnu/llvm/lldb/bindings/python/ |
H A D | get-python-config.py | 4 import sys 34 print(relpath_nodots(sysconfig.get_path("platlib"), sys.prefix)) 39 print('lib/python%d.%d/site-packages' % sys.version_info[:2]) 46 exe = sys.executable 47 prefix = os.path.realpath(sys.prefix) 60 … print("Could not find a relative path to sys.executable under sys.prefix", file=sys.stderr) 62 print("tried:", e, file=sys.stderr) 63 print("realpath(sys.prefix):", prefix, file=sys.stderr) 64 print("sys.prefix:", sys.prefix, file=sys.stderr) 65 sys.exit(1)
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/googletest-detect-duplicate/DummySubDir/ |
H A D | OneTest.py | 4 import sys 6 if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests": 7 if sys.argv[2] != '--gtest_filter=-*DISABLED_*': 8 raise ValueError("unexpected argument: %s" % (sys.argv[2])) 12 sys.exit(0) 13 elif len(sys.argv) != 1: 15 raise ValueError("unexpected argument: %r" % (' '.join(sys.argv[1:]))) 55 sys.exit(exit_code)
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/googletest-sanitizer-error/DummySubDir/ |
H A D | OneTest.py | 4 import sys 6 if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests": 7 if sys.argv[2] != '--gtest_filter=-*DISABLED_*': 8 raise ValueError("unexpected argument: %s" % (sys.argv[2])) 12 sys.exit(0) 13 elif len(sys.argv) != 1: 15 raise ValueError("unexpected argument: %r" % (' '.join(sys.argv[1:]))) 59 sys.exit(exit_code)
|
/openbsd/gnu/llvm/llvm/utils/lit/lit/builtin_commands/ |
H A D | cat.py | 2 import sys 40 sys.stderr.write("Unsupported: 'cat': %s\n" % str(err)) 41 sys.exit(1) 47 writer = getattr(sys.stdout, 'buffer', None) 49 writer = sys.stdout 50 if sys.platform == "win32": 52 msvcrt.setmode(sys.stdout.fileno(),os.O_BINARY) 60 sys.stdout.flush() 63 sys.stderr.write(str(error)) 64 sys.exit(1) [all …]
|
H A D | diff.py | 7 import sys 71 sys.stdout.write(to_string(diff)) 103 sys.stdout.write(to_string(diff)) 183 if sys.platform == "win32": 186 sys.stdout = io.TextIOWrapper(sys.stdout.buffer, newline='\n') 196 sys.exit(1) 216 sys.exit(1) 226 sys.exit(1) 237 sys.exit(1) 251 sys.exit(exitCode) [all …]
|
/openbsd/gnu/usr.bin/cvs/vms/ |
H A D | piped_child.c | 101 sys$dassgn (siop->read_chan); 192 sys$dassgn (siop->read_chan); 235 sys$dassgn(siop->read_chan); 236 sys$dassgn(siop->write_chan); 255 sys$dassgn(siop->read_chan); 273 sys$dassgn (siop->read_chan); 274 sys$dassgn (siop->write_chan); 275 sys$delprc (siop->pid, 0); 291 sys$delprc (siop->pid); 348 sys$dassgn (siop->read_chan); [all …]
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/ |
H A D | OneTest.py | 4 import sys 6 if len(sys.argv) == 3 and sys.argv[1] == "--gtest_list_tests": 7 if sys.argv[2] != '--gtest_filter=-*DISABLED_*': 8 raise ValueError("unexpected argument: %s" % (sys.argv[2])) 14 sys.exit(0) 15 elif len(sys.argv) != 1: 17 raise ValueError("unexpected argument: %r" % (' '.join(sys.argv[1:]))) 66 sys.exit(exit_code)
|
/openbsd/gnu/llvm/lldb/utils/lldb-repro/ |
H A D | lldb-repro.py | 21 import sys 26 print("usage: {} capture|replay [args]".format(sys.argv[0])) 30 if len(sys.argv) < 2: 37 h.update(' '.join(sys.argv[2:]).encode('utf-8')) 45 lldb = os.path.join(os.path.dirname(sys.argv[0]), 'lldb') 47 if sys.argv[1] == "replay": 49 elif sys.argv[1] == "capture": 54 new_args.extend(sys.argv[2:]) 64 if sys.argv[1] == "replay": 74 elif sys.argv[1] == "capture":
|
/openbsd/gnu/usr.bin/cvs/ |
H A D | cvsnt.mak | 609 {$(INCLUDE)}"\sys\Stat.h"\ 647 {$(INCLUDE)}"\sys\Stat.h"\ 684 {$(INCLUDE)}"\sys\Stat.h"\ 727 {$(INCLUDE)}"\sys\Stat.h"\ 764 {$(INCLUDE)}"\sys\Stat.h"\ 827 {$(INCLUDE)}"\sys\Stat.h"\ 864 {$(INCLUDE)}"\sys\Stat.h"\ 902 {$(INCLUDE)}"\sys\Stat.h"\ 940 {$(INCLUDE)}"\sys\Stat.h"\ 978 {$(INCLUDE)}"\sys\Stat.h"\ [all …]
|
/openbsd/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/ |
H A D | llvm-debuginfo-analyzer.cpp | 58 sys::path::remove_dots(BundlePath); in expandBundle() 60 if (sys::fs::is_directory(BundlePath) && in expandBundle() 61 sys::path::extension(BundlePath) == ".dSYM") { in expandBundle() 64 for (sys::fs::directory_iterator Dir(BundlePath, EC), DirEnd; in expandBundle() 67 sys::fs::file_status Status; in expandBundle() 68 EC = sys::fs::status(Path, Status); in expandBundle() 71 case sys::fs::file_type::regular_file: in expandBundle() 72 case sys::fs::file_type::symlink_file: in expandBundle() 73 case sys::fs::file_type::type_unknown: in expandBundle() 93 llvm::sys::InitializeCOMRAII COM(llvm::sys::COMThreadingMode::MultiThreaded); in main() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Testing/Support/ |
H A D | SupportHelpers.cpp | 17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap() 19 llvm::sys::fs::make_absolute(BaseDir); in findSrcDirMap() 22 llvm::sys::path::append(PathInSameDir, "llvm.srcdir.txt"); in findSrcDirMap() 24 if (llvm::sys::fs::is_regular_file(PathInSameDir)) in findSrcDirMap() 27 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir); in findSrcDirMap() 29 llvm::sys::path::append(PathInParentDir, "llvm.srcdir.txt"); in findSrcDirMap() 30 if (llvm::sys::fs::is_regular_file(PathInParentDir)) in findSrcDirMap() 50 llvm::sys::path::append(InputFilePath, "Inputs"); in getInputFileDirectory() 51 llvm::sys::path::native(InputFilePath); in getInputFileDirectory()
|