| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 1663 sys::swapByteOrder(x.ss); in swapStruct() 1666 sys::swapByteOrder(x.cs); in swapStruct() 1667 sys::swapByteOrder(x.ds); in swapStruct() 1668 sys::swapByteOrder(x.es); in swapStruct() 1669 sys::swapByteOrder(x.fs); in swapStruct() 1670 sys::swapByteOrder(x.gs); in swapStruct() 1682 sys::swapByteOrder(x.r8); in swapStruct() 1683 sys::swapByteOrder(x.r9); in swapStruct() 1692 sys::swapByteOrder(x.cs); in swapStruct() 1693 sys::swapByteOrder(x.fs); in swapStruct() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/arc_summary/ |
| H A D | arc_summary2 | 50 import sys 348 sys.stdout.write("\n") 375 sys.stdout.write("\n") 433 sys.stdout.write("\n") 601 sys.stdout.write("\n") 614 sys.stdout.write("\n") 1096 sys.stdout.write('\n') 1136 sys.exit(1) 1148 sys.exit(0) 1173 sys.exit(0) [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/dbufstat/ |
| H A D | dbufstat.in | 33 import sys 145 sys.stderr.write("\n\n") 163 sys.stderr.write("\n") 165 sys.exit(0) 192 sys.stderr.write("\n") 194 sys.exit(1) 236 sys.exit(1) 249 sys.exit(1) 540 sys.argv[1:], 660 sys.exit(1) [all …]
|
| /freebsd-13.1/tools/build/ |
| H A D | Makefile | 232 SYSINCS+= ${SRCTOP}/sys/sys/nv.h ${SRCTOP}/sys/sys/cnv.h \ 233 ${SRCTOP}/sys/sys/dnv.h 236 SYSINCS+= ${SRCTOP}/sys/sys/elf32.h 237 SYSINCS+= ${SRCTOP}/sys/sys/elf64.h 240 SYSINCS+= ${SRCTOP}/sys/sys/queue.h 241 SYSINCS+= ${SRCTOP}/sys/sys/md5.h 242 SYSINCS+= ${SRCTOP}/sys/sys/sbuf.h 243 SYSINCS+= ${SRCTOP}/sys/sys/tree.h 246 SYSINCS+= ${SRCTOP}/sys/sys/font.h 255 SYSINCS+= ${SRCTOP}/sys/sys/elf.h [all …]
|
| /freebsd-13.1/contrib/bc/tests/ |
| H A D | history.py | 30 import os, sys 39 sys.exit(0) 172 sys.exit(2) 178 sys.exit(2) 214 sys.exit(2) 220 sys.exit(2) 262 sys.exit(2) 268 sys.exit(2) 293 sys.exit(2) 299 sys.exit(2) [all …]
|
| /freebsd-13.1/contrib/bmake/mk/ |
| H A D | FILES | 44 sys.mk 46 sys.debug.mk 48 sys.vars.mk 49 sys/AIX.mk 50 sys/Darwin.mk 52 sys/HP-UX.mk 53 sys/IRIX.mk 54 sys/Linux.mk 56 sys/OSF1.mk 59 sys/SunOS.mk [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/arcstat/ |
| H A D | arcstat.in | 53 import sys 157 sys.exit(1) 176 sys.exit(1) 194 sys.stderr.write("\n") 196 sys.exit(0) 216 sys.stderr.write("\n") 218 sys.exit(1) 278 sys.stdout.flush() 339 sys.argv[1:], 379 argv = sys.argv[i:] [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 262 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForRead( in getFileAux() 263 Filename, IsText ? sys::fs::OF_TextWithCRLF : sys::fs::OF_None); in getFileAux() 266 sys::fs::file_t FD = *FDOrErr; in getFileAux() 269 sys::fs::closeFile(FD); in getFileAux() 349 sys::fs::file_status Status; in shouldUseMmap() 381 Expected<sys::fs::file_t> FDOrErr = sys::fs::openNativeFileForReadWrite( in getReadWriteFile() 382 Filename, sys::fs::CD_OpenExisting, sys::fs::OF_None); in getReadWriteFile() 385 sys::fs::file_t FD = *FDOrErr; in getReadWriteFile() 522 sys::ChangeStdinMode(sys::fs::OF_Text); in getSTDIN() 530 sys::fs::openNativeFileForRead(Filename, sys::fs::OF_None); in getFileAsStream() [all …]
|
| H A D | FileCollector.cpp | 29 assert(sys::fs::is_directory(Dir)); in addDirectory() 38 if (sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath() 59 StringRef Filename = sys::path::filename(SrcPath); in updateWithRealPath() 70 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath() 82 sys::path::append(RealPath, Filename); in updateWithRealPath() 91 sys::fs::make_absolute(Path); in makeAbsolute() 94 sys::path::native(Path); in makeAbsolute() 124 sys::path::append(DstPath, sys::path::relative_path(Paths.CopyFrom)); in addFileImpl() 163 sys::fs::openFileForWrite(Filename, FD, sys::fs::CD_OpenExisting)) in copyAccessAndModificationTime() 186 sys::fs::file_status Stat; in copyFiles() [all …]
|
| H A D | raw_ostream.cpp | 568 sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access, in getFD() 578 sys::ChangeStdoutMode(Flags); in getFD() 583 if (Access & sys::fs::FA_Read) in getFD() 594 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream() 599 : raw_fd_ostream(Filename, EC, Disp, sys::fs::FA_Write, sys::fs::OF_None) {} in raw_fd_ostream() 608 : raw_fd_ostream(Filename, EC, sys::fs::CD_CreateAlways, sys::fs::FA_Write, in raw_fd_ostream() 648 sys::fs::file_status Status; in raw_fd_ostream() 866 return sys::fs::FileLocker(FD); in lock() 870 Expected<sys::fs::FileLocker> 910 sys::fs::FA_Write | sys::fs::FA_Read, in raw_fd_stream() [all …]
|
| H A D | LockFileManager.cpp | 62 sys::fs::remove(LockFileName); in readLockFile() 79 sys::fs::remove(LockFileName); in readLockFile() 152 sys::fs::remove(Filename); in ~RemoveUniqueLockFileOnSignal() 153 sys::DontRemoveFileOnSignal(Filename); in ~RemoveUniqueLockFileOnSignal() 208 sys::fs::remove(UniqueLockFileName); in LockFileManager() 242 if (!sys::fs::exists(LockFileName)) { in LockFileManager() 286 sys::fs::remove(LockFileName); in ~LockFileManager() 287 sys::fs::remove(UniqueLockFileName); in ~LockFileManager() 322 if (sys::fs::access(LockFileName.c_str(), sys::fs::AccessMode::Exist) == in waitForUnlock() 325 if (!sys::fs::exists(FileName)) in waitForUnlock() [all …]
|
| /freebsd-13.1/cddl/lib/libzfs/ |
| H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/contrib/openzfs/module/icp 4 .PATH: ${SRCTOP}/sys/contrib/openzfs/module/zcommon 5 .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs 7 .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libshare 9 .PATH: ${SRCTOP}/sys/contrib/openzfs/include 10 .PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd 11 .PATH: ${SRCTOP}/sys/contrib/openzfs/module/zstd/lib 94 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 99 CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 100 CFLAGS+= -I${SRCTOP}/sys [all …]
|
| /freebsd-13.1/contrib/llvm-project/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 …]
|
| /freebsd-13.1/include/ |
| H A D | Makefile | 64 sys/disk \ 78 .PATH: ${SRCTOP}/sys/bsm 97 .PATH: ${SRCTOP}/sys/cam 163 .PATH: ${SRCTOP}/sys/dev/hyperv/include ${SRCTOP}/sys/dev/hyperv/utilities 207 .PATH: ${SRCTOP}/sys/rpc 212 .PATH: ${SRCTOP}/sys/teken 216 .PATH: ${SRCTOP}/sys/contrib/openzfs/include/sys 300 SYSDIR= ${SRCTOP}/sys 347 cd ${SRCTOP}/sys; \ 451 cd ${SRCTOP}/sys/rpc; [all …]
|
| /freebsd-13.1/sbin/ipf/libipf/ |
| H A D | save_syslog.c | 91 syslog_opts_t *sys = ctx; in syslog_print() local 93 if (sys->facpri == -1) in syslog_print() 96 if (sys->fac == -1) { in syslog_print() 97 printf(".%s", pri_toname(sys->pri)); in syslog_print() 98 } else if (sys->pri == -1) { in syslog_print() 99 printf("%s.", fac_toname(sys->fac)); in syslog_print() 117 syslog_opts_t *sys = ctx; in syslog_send() local 120 if (sys->facpri == -1) { in syslog_send() 123 if (sys->pri == -1) { in syslog_send() 125 } else if (sys->fac == -1) { in syslog_send() [all …]
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/pyzfs/ |
| H A D | pyzfs.py | 37 import sys 47 if len(sys.argv) < 2: 48 sys.exit(_("missing subcommand argument")) 50 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:])) 56 subcmd = sys.argv[1] 61 sys.exit(_("invalid subcommand")) 67 sys.exit(1) 71 import sys 74 sys.exit(1) 77 import sys [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLinkMemoryManager.cpp | 23 using AllocationMap = DenseMap<unsigned, sys::MemoryBlock>; in allocate() 54 sys::MemoryBlock Slab(SlabStart, SlabSize); in allocate() 55 if (auto EC = sys::Memory::releaseMappedMemory(Slab)) in allocate() 65 if (auto EC = sys::Memory::protectMappedMemory(Block, Prot)) in allocate() 67 if (Prot & sys::Memory::MF_EXEC) in allocate() 68 sys::Memory::InvalidateInstructionCache(Block.base(), in allocate() 77 if (!isPowerOf2_64((uint64_t)sys::Process::getPageSizeEstimate())) in allocate() 82 const sys::Memory::ProtectionFlags ReadWrite = in allocate() 83 static_cast<sys::Memory::ProtectionFlags>(sys::Memory::MF_READ | in allocate() 91 if (Seg.getAlignment() > sys::Process::getPageSizeEstimate()) in allocate() [all …]
|
| /freebsd-13.1/contrib/bc/scripts/ |
| H A D | karatsuba.py | 31 import sys 40 sys.exit(1) 46 script = sys.argv[0] 73 if len(sys.argv) >= 2: 78 if len(sys.argv) >= 3: 79 test_num = int(sys.argv[2]) 84 exe = sys.argv[3] 119 sys.exit(p.returncode) 137 sys.exit(p.returncode) 165 sys.exit(p.returncode) [all …]
|
| /freebsd-13.1/cddl/lib/libdtrace/ |
| H A D | Makefile | 69 SYSINCSDIR= ${INCLUDEDIR}/sys 71 SYSINCS+= ${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys/dtrace.h 72 SYSINCS+= ${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys/ctf_api.h 80 CFLAGS+= -I${SRCTOP}/sys 81 CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 87 -I${SRCTOP}/sys/cddl/compat/opensolaris \ 101 CFLAGS+= -I${SRCTOP}/sys/cddl/dev/dtrace/x86 105 .PATH: ${SRCTOP}/sys/cddl/dev/dtrace/x86 109 .PATH: ${SRCTOP}/sys/cddl/dev/dtrace/arm 113 .PATH: ${SRCTOP}/sys/cddl/dev/dtrace/mips [all …]
|
| /freebsd-13.1/cddl/lib/libzfs_core/ |
| H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzfs_core 4 .PATH: ${SRCTOP}/sys/contrib/openzfs/include 17 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 18 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzfs_core/common 19 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 20 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 21 CFLAGS+= -I${SRCTOP}/sys 23 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 24 CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 26 CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
| /freebsd-13.1/cddl/lib/libzutil/ |
| H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzutil 4 .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libzutil/os/freebsd 5 .PATH: ${SRCTOP}/sys/contrib/openzfs/module/os/freebsd/zfs 31 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 32 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 33 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 34 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 35 CFLAGS+= -I${SRCTOP}/sys 37 CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 38 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzutil [all …]
|
| /freebsd-13.1/sys/modules/crypto/ |
| H A D | Makefile | 5 .PATH: ${SRCTOP}/sys/opencrypto 6 .PATH: ${SRCTOP}/sys/crypto 7 .PATH: ${SRCTOP}/sys/crypto/camellia 8 .PATH: ${SRCTOP}/sys/crypto/des 9 .PATH: ${SRCTOP}/sys/crypto/rijndael 10 .PATH: ${SRCTOP}/sys/crypto/sha2 11 .PATH: ${SRCTOP}/sys/crypto/siphash 12 .PATH: ${SRCTOP}/sys/crypto/skein 13 .PATH: ${SRCTOP}/sys/crypto/blake2 14 .PATH: ${SRCTOP}/sys/crypto/chacha20 [all …]
|
| /freebsd-13.1/cddl/lib/libtpool/ |
| H A D | Makefile | 3 .PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libtpool 4 .PATH: ${SRCTOP}/sys/contrib/openzfs/include 17 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 18 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 19 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 20 CFLAGS+= -I${SRCTOP}/sys 22 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 23 CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 25 CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/test/ |
| H A D | check-dumpevents.py | 8 import sys 10 text = sys.stdin.readlines() 18 print >>sys.stderr, "Missing expected dividing line in dumpevents output" 19 sys.exit(1) 23 print >>sys.stderr, "Sections out of order in dumpevents output" 24 sys.exit(1) 48 print >>sys.stderr, "Inserted event lists were not as expected!" 49 sys.exit(1) 52 print >>sys.stderr, "Active event lists were not as expected!" 53 sys.exit(1)
|
| /freebsd-13.1/contrib/libevent/test/ |
| H A D | check-dumpevents.py | 8 import sys 10 text = sys.stdin.readlines() 18 print >>sys.stderr, "Missing expected dividing line in dumpevents output" 19 sys.exit(1) 23 print >>sys.stderr, "Sections out of order in dumpevents output" 24 sys.exit(1) 48 print >>sys.stderr, "Inserted event lists were not as expected!" 49 sys.exit(1) 52 print >>sys.stderr, "Active event lists were not as expected!" 53 sys.exit(1)
|