Home
last modified time | relevance | path

Searched refs:sys (Results 1 - 25 of 8199) sorted by relevance

12345678910>>...328

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DMachO.h1003 sys::swapByteOrder(mh.magic); in swapStruct()
1004 sys::swapByteOrder(mh.nfat_arch); in swapStruct()
1008 sys::swapByteOrder(mh.cputype); in swapStruct()
1009 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
1010 sys::swapByteOrder(mh.offset); in swapStruct()
1011 sys::swapByteOrder(mh.size); in swapStruct()
1012 sys::swapByteOrder(mh.align); in swapStruct()
1016 sys::swapByteOrder(mh.cputype); in swapStruct()
1017 sys::swapByteOrder(mh.cpusubtype); in swapStruct()
1018 sys in swapStruct()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A 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 in swapStruct()
[all...]
/third_party/rust/crates/rustix/src/
H A Dio_uring.rs26 use linux_raw_sys::general as sys;
100 const GETEVENTS = sys::IORING_ENTER_GETEVENTS;
103 const SQ_WAKEUP = sys::IORING_ENTER_SQ_WAKEUP;
106 const SQ_WAIT = sys::IORING_ENTER_SQ_WAIT;
109 const EXT_ARG = sys::IORING_ENTER_EXT_ARG;
120 RegisterBuffers = sys::IORING_REGISTER_BUFFERS as _,
123 UnregisterBuffers = sys::IORING_UNREGISTER_BUFFERS as _,
126 RegisterFiles = sys::IORING_REGISTER_FILES as _,
129 UnregisterFiles = sys::IORING_UNREGISTER_FILES as _,
132 RegisterEventfd = sys
[all...]
/third_party/python/Lib/test/
H A Dtest_sys.py9 import sys namespace
31 dh = sys.__displayhook__
47 # sys.displayhook() requires arguments
50 stdout = sys.stdout
52 del sys.stdout
55 sys.stdout = stdout
58 displayhook = sys.displayhook
60 del sys.displayhook
64 sys.displayhook = displayhook
70 with support.swap_attr(sys, 'displayhoo
192 rc, out, err = assert_python_ok('-c', 'import sys; sys.exit()') global() namespace
234 r'import sys; sys.stderr.write("unflushed,"); sys.exit("message")', global() namespace
240 r'import sys; sys.exit("surrogates:\\uDCFF")', global() namespace
246 r'import sys; sys.exit("h\\xe9")', global() namespace
[all...]
H A D_test_embed_set_config.py5 # does reset sys attributes to their state of the Python startup
10 import sys namespace
20 self.sys_copy = dict(sys.__dict__)
25 sys.__dict__.clear()
26 sys.__dict__.update(self.sys_copy)
34 self.assertEqual(getattr(sys, key), value,
162 with self.subTest(sys=sys_attr, key=key, value=value):
164 self.assertEqual(getattr(sys.flags, sys_attr), value)
167 self.assertEqual(sys.flags.dont_write_bytecode, True)
168 self.assertEqual(sys
[all...]
H A Dtest_sysconfig.py2 import sys namespace
31 self.sys_path = sys.path[:]
42 self.platform = sys.platform
43 self.version = sys.version
58 sys.path[:] = self.sys_path
65 sys.platform = self.platform
66 sys.version = self.version
139 sys.platform = 'darwin'
140 sys._framework = True
150 'python%d.%d' % sys
[all...]
/third_party/python/Lib/
H A Dsite.py1 """Append module search paths for third-party packages to sys.path.
8 Unix (including Mac OSX), it starts with sys.prefix and
9 sys.exec_prefix (if different) and appends
13 resulting directories, if they exist, are appended to sys.path, and
16 If a file named "pyvenv.cfg" exists one directory above sys.executable,
17 sys.prefix and sys.exec_prefix are set to that directory and
18 it is also checked for site-packages (sys.base_prefix and
19 sys.base_exec_prefix will always be the "real" prefixes of the Python
26 appended to sys
72 import sys global() namespace
[all...]
H A Dcode.py8 import sys namespace
58 decide whether to use sys.ps1 or sys.ps2 to prompt the next
108 type, value, tb = sys.exc_info()
109 sys.last_type = type
110 sys.last_value = value
111 sys.last_traceback = tb
122 sys.last_value = value
123 if sys.excepthook is sys
[all...]
/third_party/python/Lib/test/libregrtest/
H A Dutils.py3 import sys namespace
75 old_stderr = sys.stderr
78 sys.stderr = support.print_warning.orig_stderr
80 sys.stderr.flush()
82 sys.stderr = old_stderr
87 orig_unraisablehook = sys.unraisablehook
88 sys.unraisablehook = regrtest_unraisable_hook
98 old_stderr = sys.stderr
101 sys.stderr = support.print_warning.orig_stderr
103 sys
[all...]
H A Dsave_env.py4 import sys namespace
53 resources = ('sys.argv', 'cwd', 'sys.stdin', 'sys.stdout', 'sys.stderr',
54 'os.environ', 'sys.path', 'sys.path_hooks', '__import__',
56 'logging._handlers', 'logging._handlerList', 'sys.gettrace',
57 'sys.warnoptions',
70 return sys
[all...]
/third_party/typescript/tests/baselines/reference/
H A DAPISample_WatchWithOwnWatchHost.js28 useCaseSensitiveFileNames: () => ts.sys.useCaseSensitiveFileNames,
29 getNewLine: () => ts.sys.newLine,
30 getCurrentDirectory: ts.sys.getCurrentDirectory,
33 fileExists: ts.sys.fileExists,
34 readFile: ts.sys.readFile,
35 directoryExists: ts.sys.directoryExists,
36 getDirectories: ts.sys.getDirectories,
37 readDirectory: ts.sys.readDirectory,
38 realpath: ts.sys.realpath,
40 watchFile: ts.sys
[all...]
/third_party/node/
H A Dandroid_configure.py2 import sys namespace
15 sys.exit(1)
17 if len(sys.argv) == 2 and sys.argv[1] == "patch":
19 sys.exit(0)
21 if len(sys.argv) != 4:
23 sys.exit(1)
25 if not os.path.exists(sys.argv[1]) or not os.listdir(sys.argv[1]):
27 sys
[all...]
/third_party/python/Lib/test/support/
H A Dimport_helper.py7 import sys namespace
32 del sys.modules[name]
40 This removes the module from sys.modules and deletes any PEP 3147/488 or
44 for dirname in sys.path:
74 compared against sys.platform.
80 if sys.platform.startswith(tuple(required_on)):
88 for modname in list(sys.modules):
90 orig_modules[modname] = sys.modules.pop(modname)
112 """Import and return a module, deliberately bypassing sys.modules.
115 by removing the named module from sys
[all...]
/third_party/python/Lib/idlelib/
H A Drun.py4 f'''{sys.executable} -c "__import__('idlelib.run').run.main()"'''
12 import sys namespace
31 if not hasattr(sys.modules['idlelib.run'], 'firstrun'):
37 del sys.modules['tkinter.' + mod]
39 sys.modules['idlelib.run'].firstrun = False
71 file = sys.stderr
134 assert(len(sys.argv) > 1)
135 port = int(sys.argv[-1])
137 print("IDLE Subprocess: no IP port passed in sys.argv.",
138 file=sys
[all...]
/third_party/python/Tools/scripts/
H A Ddb2pickle.py39 import sys namespace
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("dbm module unavailable.\n")
103 sys
[all...]
/third_party/PyYAML/tests/lib/
H A Dtest_appliance.py2 import sys, os, os.path, types, traceback, pprint namespace
32 args = sys.argv[1:]
56 sys.stdout.write('='*75+'\n')
57 sys.stdout.write('%s(%s)...\n' % (name, ', '.join(filenames)))
61 info = sys.exc_info()
67 traceback.print_exc(limit=1, file=sys.stdout)
69 sys.stdout.write(kind[0])
70 sys.stdout.flush()
75 sys.stdout.write('.')
76 sys
[all...]
/third_party/python/Lib/multiprocessing/
H A Dspawn.py12 import sys namespace
29 if sys.platform != 'win32':
33 WINEXE = getattr(sys, 'frozen', False)
34 WINSERVICE = sys.executable.lower().endswith("pythonservice.exe")
38 if sys.platform == 'win32':
47 set_executable(os.path.join(sys.exec_prefix, 'python.exe'))
49 set_executable(sys.executable)
69 if is_forking(sys.argv):
71 for arg in sys.argv[2:]:
78 sys
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
H A DSectionMemoryManager.cpp75 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
81 sys::MemoryBlock &PendingMB = in allocateSection()
83 PendingMB = sys::MemoryBlock(PendingMB.base(), in allocateSection()
89 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection()
104 sys::MemoryBlock MB = MMapper.allocateMappedMemory( in allocateSection()
106 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection()
124 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection()
131 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection()
146 sys in finalizeMemory()
[all...]
/third_party/littlefs/scripts/
H A Dtailpipe.py17 import sys namespace
26 return os.fdopen(os.dup(sys.stdin.fileno()), mode, buffering)
28 return os.fdopen(os.dup(sys.stdout.fileno()), mode, buffering)
71 sys.stdout.write('\n')
78 sys.stdout.write('\r')
80 sys.stdout.write('\x1b[%dA' % (shrink-1-i))
81 sys.stdout.write('\x1b[K')
83 sys.stdout.write('\x1b[%dB' % (shrink-1-i))
84 sys.stdout.write('\x1b[%dA' % shrink)
89 sys
146 import sys global() namespace
[all...]
/third_party/libsnd/src/
H A Dcreate_symbols_file.py33 import re, sys namespace
99 sys.stdout.write ("\n")
108 sys.stdout.write ("\n")
116 sys.stdout.write ("\n")
130 sys.stdout.write ("\n")
138 sys.stdout.write ("\n")
141 sys.stdout.write ("\n")
146 progname = re.sub (".*[\\/]", "", sys.argv [0])
148 if len (sys.argv) != 3:
149 sys
[all...]
/third_party/ffmpeg/libavformat/
H A Ddvenc.c48 const AVDVProfile* sys; /* current DV profile, e.g.: 525/60, 625/50 */ member
83 static int dv_audio_frame_size(const AVDVProfile* sys, int frame, int sample_rate) in dv_audio_frame_size() argument
85 if ((sys->time_base.den == 25 || sys->time_base.den == 50) && sys->time_base.num == 1) { in dv_audio_frame_size()
93 return sys->audio_samples_dist[frame % (sizeof(sys->audio_samples_dist) / in dv_audio_frame_size()
94 sizeof(sys->audio_samples_dist[0]))]; in dv_audio_frame_size()
118 (dv_audio_frame_size(c->sys, c->frames, c->ast[channel]->codecpar->sample_rate) - in dv_write_pack()
119 c->sys in dv_write_pack()
[all...]
/third_party/python/Tools/freeze/
H A Dmakeconfig.py2 import sys namespace
7 'sys', 'gc', '_warnings']
32 sys.stderr.write('MARKER 1 never found\n')
34 sys.stderr.write('MARKER 2 never found\n')
40 if not sys.argv[3:]:
43 sys.exit(2)
44 if sys.argv[1] == '-':
45 infp = sys.stdin
47 infp = open(sys.argv[1])
48 if sys
[all...]
/third_party/skia/infra/bots/recipe_modules/flavor/resources/
H A Dwin_ssh_cmd.py11 import sys namespace
30 cmd, ' '.join([repr(s) for s in ssh_cmd])), file=sys.stderr)
39 sys.stdout.flush()
41 sys.exit(proc.returncode)
43 sys.exit(1)
44 sys.exit(0)
48 if len(sys.argv) < 3:
50 sys.argv[0], file=sys.stderr)
51 sys
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileCollector.cpp21 if (!sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath()
30 if (sys::fs::real_path(UpperDest, RealDest) && Path.equals(RealDest)) in isCaseSensitivePath()
37 sys::fs::create_directories(this->Root, true); in FileCollector()
43 StringRef FileName = sys::path::filename(SrcPath); in getRealPath()
44 std::string Directory = sys::path::parent_path(SrcPath).str(); in getRealPath()
51 auto EC = sys::fs::real_path(Directory, RealPath); in getRealPath()
59 sys::path::append(RealPath, FileName); in getRealPath()
74 sys::fs::make_absolute(AbsoluteSrc); in addFileImpl()
77 sys::path::native(AbsoluteSrc); in addFileImpl()
80 AbsoluteSrc = sys in addFileImpl()
[all...]
/third_party/skia/tools/skqp/
H A Dfind_commit_with_best_gold_results.py10 import sys namespace
63 sys.stderr.write('%s\n' % commit)
64 sys.stderr.flush()
71 sys.stderr.write('\nerror "%s":\n' % url)
73 sys.stderr.write('.')
74 sys.stderr.flush()
88 sys.stderr.write('\n%d\n' % result)
89 sys.stderr.flush()
114 sys.stderr.write('%s\n' % ' '.join(args))
116 sys
[all...]

Completed in 16 milliseconds

12345678910>>...328