Home
last modified time | relevance | path

Searched refs:sys (Results 1 – 25 of 3966) sorted by relevance

12345678910>>...159

/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DMachO.h972 sys::swapByteOrder(mh.magic); in swapStruct()
973 sys::swapByteOrder(mh.nfat_arch); in swapStruct()
977 sys::swapByteOrder(mh.cputype); in swapStruct()
978 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
979 sys::swapByteOrder(mh.offset); in swapStruct()
980 sys::swapByteOrder(mh.size); in swapStruct()
981 sys::swapByteOrder(mh.align); in swapStruct()
985 sys::swapByteOrder(mh.cputype); in swapStruct()
986 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
987 sys::swapByteOrder(mh.offset); in swapStruct()
[all …]
/external/llvm/include/llvm/Support/
DMachO.h964 sys::swapByteOrder(mh.magic); in swapStruct()
965 sys::swapByteOrder(mh.nfat_arch); in swapStruct()
969 sys::swapByteOrder(mh.cputype); in swapStruct()
970 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
971 sys::swapByteOrder(mh.offset); in swapStruct()
972 sys::swapByteOrder(mh.size); in swapStruct()
973 sys::swapByteOrder(mh.align); in swapStruct()
977 sys::swapByteOrder(mh.cputype); in swapStruct()
978 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
979 sys::swapByteOrder(mh.offset); in swapStruct()
[all …]
/external/ltp/tools/
Drestore_kernel_faults_default.sh35 echo 0 > /sys/kernel/debug/fail_io_timeout/reject-end
36 echo 0 > /sys/kernel/debug/fail_io_timeout/reject-start
37 echo 4294967295 > /sys/kernel/debug/fail_io_timeout/require-end
38 echo 0 > /sys/kernel/debug/fail_io_timeout/require-start
39 echo 32 > /sys/kernel/debug/fail_io_timeout/stacktrace-depth
40 echo N > /sys/kernel/debug/fail_io_timeout/task-filter
41 echo 2 > /sys/kernel/debug/fail_io_timeout/verbose
42 echo 0 > /sys/kernel/debug/fail_io_timeout/space
43 echo 1 > /sys/kernel/debug/fail_io_timeout/times
44 echo 1 > /sys/kernel/debug/fail_io_timeout/interval
[all …]
/external/libxml2/python/tests/
Dreader.py7 import sys
24 sys.exit(1)
28 sys.exit(1)
32 sys.exit(1)
36 sys.exit(1)
40 sys.exit(1)
44 sys.exit(1)
48 sys.exit(1)
53 sys.exit(1)
57 sys.exit(1)
[all …]
Dreader3.py5 import sys
32 sys.exit(1)
37 sys.exit(1)
40 sys.exit(1)
44 sys.exit(1)
47 sys.exit(1)
51 sys.exit(1)
54 sys.exit(1)
58 sys.exit(1)
70 sys.exit(1)
[all …]
Dserialize.py2 import sys
17 sys.exit(1)
23 sys.exit(1)
31 sys.exit(1)
39 sys.exit(1)
48 sys.exit(1)
52 sys.exit(1)
58 sys.exit(1)
64 sys.exit(1)
76 sys.exit(1)
[all …]
/external/llvm/unittests/Support/
DSwapByteOrderTest.cpp30 sys::getSwappedBytes(sys::getSwappedBytes(original_uint8))); in TEST()
34 sys::getSwappedBytes(sys::getSwappedBytes(original_uint16))); in TEST()
38 sys::getSwappedBytes(sys::getSwappedBytes(original_uint32))); in TEST()
42 sys::getSwappedBytes(sys::getSwappedBytes(original_uint64))); in TEST()
55 sys::getSwappedBytes(sys::getSwappedBytes(original_int8))); in TEST()
59 sys::getSwappedBytes(sys::getSwappedBytes(original_int16))); in TEST()
63 sys::getSwappedBytes(sys::getSwappedBytes(original_int32))); in TEST()
67 sys::getSwappedBytes(sys::getSwappedBytes(original_int64))); in TEST()
74 sys::getSwappedBytes(sys::getSwappedBytes(original_int8))); in TEST()
78 sys::getSwappedBytes(sys::getSwappedBytes(original_int16))); in TEST()
[all …]
DLockFileManagerTest.cpp23 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
27 sys::path::append(LockedFile, "file.lock"); in TEST()
41 EXPECT_FALSE(sys::fs::exists(StringRef(LockedFile))); in TEST()
43 EC = sys::fs::remove(StringRef(TmpDir)); in TEST()
50 EC = sys::fs::createUniqueDirectory("LockFileManagerTestDir", TmpDir); in TEST()
54 sys::path::append(LockedFile, "file"); in TEST()
57 sys::path::append(FileLocK, "file.lock"); in TEST()
60 sys::path::append(TmpFileLock, "file.lock-000"); in TEST()
63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None); in TEST()
69 EC = sys::fs::create_link(TmpFileLock.str(), FileLocK.str()); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/unittests/Support/
DSwapByteOrderTest.cpp30 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint8))); in TEST()
34 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint16))); in TEST()
38 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint32))); in TEST()
42 sys::SwapByteOrder(sys::SwapByteOrder(origional_uint64))); in TEST()
55 sys::SwapByteOrder(sys::SwapByteOrder(origional_int8))); in TEST()
59 sys::SwapByteOrder(sys::SwapByteOrder(origional_int16))); in TEST()
63 sys::SwapByteOrder(sys::SwapByteOrder(origional_int32))); in TEST()
67 sys::SwapByteOrder(sys::SwapByteOrder(origional_int64))); in TEST()
74 sys::SwapByteOrder(sys::SwapByteOrder(origional_int8))); in TEST()
78 sys::SwapByteOrder(sys::SwapByteOrder(origional_int16))); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/
DAtomic.cpp25 void sys::MemoryFence() { in MemoryFence()
39 sys::cas_flag sys::CompareAndSwap(volatile sys::cas_flag* ptr, in CompareAndSwap()
40 sys::cas_flag new_value, in CompareAndSwap()
41 sys::cas_flag old_value) { in CompareAndSwap()
43 sys::cas_flag result = *ptr; in CompareAndSwap()
56 sys::cas_flag sys::AtomicIncrement(volatile sys::cas_flag* ptr) { in AtomicIncrement()
69 sys::cas_flag sys::AtomicDecrement(volatile sys::cas_flag* ptr) { in AtomicDecrement()
82 sys::cas_flag sys::AtomicAdd(volatile sys::cas_flag* ptr, sys::cas_flag val) { in AtomicAdd()
95 sys::cas_flag sys::AtomicMul(volatile sys::cas_flag* ptr, sys::cas_flag val) { in AtomicMul()
96 sys::cas_flag original, result; in AtomicMul()
[all …]
/external/python/cpython2/Lib/test/
Dtest_sys.py9 import sys
18 savestdout = sys.stdout
20 sys.stdout = out
22 dh = sys.__displayhook__
35 del sys.stdout
38 sys.stdout = savestdout
41 olddisplayhook = sys.displayhook
42 del sys.displayhook
45 sys.displayhook = olddisplayhook
48 olddisplayhook = sys.displayhook
[all …]
Dregrtest.py163 import sys
184 for module in sys.modules.itervalues():
197 if sys.platform == 'darwin':
210 if sys.platform == 'win32':
236 sys.exit(code)
268 test_support.record_original_stdout(sys.stdout)
270 opts, args = getopt.getopt(sys.argv[1:], 'hvqxsSrf:lu:t:TD:NLR:FwWM:j:P',
369 sys.exit(0)
373 print >>sys.stderr, ("No handler for option {}. Please "
375 sys.exit(1)
[all …]
/external/llvm/lib/Object/
DSymbolicFile.cpp30 MemoryBufferRef Object, sys::fs::file_magic Type, LLVMContext *Context) { in createSymbolicFile()
32 if (Type == sys::fs::file_magic::unknown) in createSymbolicFile()
33 Type = sys::fs::identify_magic(Data); in createSymbolicFile()
36 case sys::fs::file_magic::bitcode: in createSymbolicFile()
40 case sys::fs::file_magic::unknown: in createSymbolicFile()
41 case sys::fs::file_magic::archive: in createSymbolicFile()
42 case sys::fs::file_magic::macho_universal_binary: in createSymbolicFile()
43 case sys::fs::file_magic::windows_resource: in createSymbolicFile()
45 case sys::fs::file_magic::elf: in createSymbolicFile()
46 case sys::fs::file_magic::elf_executable: in createSymbolicFile()
[all …]
DBinary.cpp41 sys::fs::file_magic Type = sys::fs::identify_magic(Buffer.getBuffer()); in createBinary()
44 case sys::fs::file_magic::archive: in createBinary()
46 case sys::fs::file_magic::elf: in createBinary()
47 case sys::fs::file_magic::elf_relocatable: in createBinary()
48 case sys::fs::file_magic::elf_executable: in createBinary()
49 case sys::fs::file_magic::elf_shared_object: in createBinary()
50 case sys::fs::file_magic::elf_core: in createBinary()
51 case sys::fs::file_magic::macho_object: in createBinary()
52 case sys::fs::file_magic::macho_executable: in createBinary()
53 case sys::fs::file_magic::macho_fixed_virtual_memory_shared_lib: in createBinary()
[all …]
DObjectFile.cpp73 ObjectFile::createObjectFile(MemoryBufferRef Object, sys::fs::file_magic Type) { in createObjectFile()
75 if (Type == sys::fs::file_magic::unknown) in createObjectFile()
76 Type = sys::fs::identify_magic(Data); in createObjectFile()
79 case sys::fs::file_magic::unknown: in createObjectFile()
80 case sys::fs::file_magic::bitcode: in createObjectFile()
81 case sys::fs::file_magic::archive: in createObjectFile()
82 case sys::fs::file_magic::macho_universal_binary: in createObjectFile()
83 case sys::fs::file_magic::windows_resource: in createObjectFile()
85 case sys::fs::file_magic::elf: in createObjectFile()
86 case sys::fs::file_magic::elf_relocatable: in createObjectFile()
[all …]
/external/ply/ply/test/
Dtestlex.py9 import sys
14 sys.path.insert(0,"..")
15 sys.tracebacklimit = 0
31 if sys.hexversion >= 0x3050000:
33 elif sys.hexversion >= 0x3040000:
35 elif sys.hexversion >= 0x3020000:
53 elif hasattr(sys, "pypy_version_info"):
61 if sys.version_info[0] >= 3:
84 del sys.modules[module]
89 sys.stderr = StringIO.StringIO()
[all …]
Dtestyacc.py9 import sys
15 sys.path.insert(0,"..")
16 sys.tracebacklimit = 0
25 if sys.hexversion >= 0x3040000:
28 elif sys.hexversion >= 0x3020000:
45 elif hasattr(sys, "pypy_version_info"):
77 del sys.modules[module]
82 sys.stderr = StringIO.StringIO()
83 sys.stdout = StringIO.StringIO()
90 if sys.hexversion >= 0x3020000:
[all …]
/external/syslinux/mk/
Dlib.mk47 -nostdinc -iwithprefix include -I. -I$(SRC)/sys \
48 -I$(SRC)/../include -I$(com32)/include/sys \
50 -I$(com32)/lib/sys/module -I$(OBJ)/../..
91 sys/line_input.o \
92 sys/colortable.o sys/screensize.o \
94 sys/stdcon_read.o sys/stdcon_write.o sys/rawcon_read.o \
95 sys/rawcon_write.o \
96 sys/null_read.o sys/null_write.o sys/serial_write.o \
98 sys/xserial_write.o \
100 sys/ansi.o \
[all …]
/external/swiftshader/third_party/LLVM/lib/Object/
DObjectFile.cpp31 sys::LLVMFileType type = sys::IdentifyFileType(Object->getBufferStart(), in createObjectFile()
34 case sys::ELF_Relocatable_FileType: in createObjectFile()
35 case sys::ELF_Executable_FileType: in createObjectFile()
36 case sys::ELF_SharedObject_FileType: in createObjectFile()
37 case sys::ELF_Core_FileType: in createObjectFile()
39 case sys::Mach_O_Object_FileType: in createObjectFile()
40 case sys::Mach_O_Executable_FileType: in createObjectFile()
41 case sys::Mach_O_FixedVirtualMemorySharedLib_FileType: in createObjectFile()
42 case sys::Mach_O_Core_FileType: in createObjectFile()
43 case sys::Mach_O_PreloadExecutable_FileType: in createObjectFile()
[all …]
/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkItems.cpp47 if (LinkInFile(sys::Path(I->first), is_native)) in LinkInItems()
77 sys::Path Pathname = FindLib(Lib); in LinkInLibrary()
84 switch (sys::IdentifyFileType(Magic.c_str(), 64)) { in LinkInLibrary()
86 case sys::Unknown_FileType: in LinkInLibrary()
89 case sys::Bitcode_FileType: in LinkInLibrary()
95 case sys::Archive_FileType: in LinkInLibrary()
100 case sys::ELF_Relocatable_FileType: in LinkInLibrary()
101 case sys::ELF_SharedObject_FileType: in LinkInLibrary()
102 case sys::Mach_O_Object_FileType: in LinkInLibrary()
103 case sys::Mach_O_FixedVirtualMemorySharedLib_FileType: in LinkInLibrary()
[all …]
/external/python/cpython2/Demo/threads/
Dtelnet.py16 import sys, os, time
31 if len(sys.argv) < 2:
32 sys.stderr.write('usage: telnet hostname [port]\n')
33 sys.exit(2)
34 host = sys.argv[1]
38 sys.stderr.write(sys.argv[1] + ': bad host name\n')
39 sys.exit(2)
41 if len(sys.argv) > 2:
42 servname = sys.argv[2]
52 sys.stderr.write(servname + ': bad tcp service name\n')
[all …]
/external/python/cpython2/Lib/
Dsite.py61 import sys
67 PREFIXES = [sys.prefix, sys.exec_prefix]
90 for m in sys.modules.values():
106 for dir in sys.path:
114 sys.path[:] = L
121 for dir in sys.path:
157 sys.path.append(dir)
160 print >>sys.stderr, "Error processing line {:d} of {}:\n".format(
162 for record in traceback.format_exception(*sys.exc_info()):
164 print >>sys.stderr, ' '+line
[all …]
/external/llvm/lib/Support/
DCachePruning.cpp32 raw_fd_ostream Out(TimestampFile.str(), EC, sys::fs::F_None); in writeTimestampFile()
41 if (sys::fs::is_directory(Path, isPathDir)) in prune()
55 sys::path::append(TimestampFile, "llvmcache.timestamp"); in prune()
56 sys::fs::file_status FileStatus; in prune()
57 sys::TimeValue CurrentTime = sys::TimeValue::now(); in prune()
58 if (auto EC = sys::fs::status(TimestampFile, FileStatus)) { in prune()
70 sys::TimeValue TimeStampModTime = FileStatus.getLastModificationTime(); in prune()
71 auto TimeInterval = sys::TimeValue(sys::TimeValue::SecondsType(Interval)); in prune()
104 sys::path::native(Path, CachePathNative); in prune()
105 auto TimeExpiration = sys::TimeValue(sys::TimeValue::SecondsType(Expiration)); in prune()
[all …]
/external/python/cpython2/Tools/scripts/
Dpickle2db.py44 import sys
50 prog = sys.argv[0]
53 sys.stderr.write(__doc__ % globals())
68 pfile = sys.stdin
74 sys.stderr.write("Unable to open %s\n" % args[0])
84 sys.stderr.write("bsddb module unavailable.\n")
90 sys.stderr.write("bsddb module unavailable.\n")
96 sys.stderr.write("bsddb module unavailable.\n")
102 sys.stderr.write("anydbm module unavailable.\n")
108 sys.stderr.write("gdbm module unavailable.\n")
[all …]
Ddb2pickle.py39 import sys
45 prog = sys.argv[0]
48 sys.stderr.write(__doc__ % globals())
64 pfile = sys.stdout
70 sys.stderr.write("Unable to open %s\n" % args[1])
79 sys.stderr.write("bsddb module unavailable.\n")
85 sys.stderr.write("bsddb module unavailable.\n")
91 sys.stderr.write("bsddb module unavailable.\n")
97 sys.stderr.write("anydbm module unavailable.\n")
103 sys.stderr.write("gdbm module unavailable.\n")
[all …]

12345678910>>...159