Home
last modified time | relevance | path

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

12345678910>>...152

/third_party/typescript/src/testRunner/unittests/tscWatch/
DwatchEnvironment.ts9 sys: () => {
23 timeouts: (sys, programs) => {
28 sys.checkTimeoutQueueLengthAndRun(1);
37 … change: sys => sys.writeFile("/a/username/project/typescript.ts", "var zz30 = 100;"),
46 timeouts: sys => sys.checkTimeoutQueueLengthAndRun(3),
51 timeouts: (sys, programs) => {
57 sys.checkTimeoutQueueLengthAndRun(2);
62 sys.checkTimeoutQueueLengthAndRun(1);
89 sys: () => {
99 … change: sys => sys.renameFile(file.path, file.path.replace("file1.ts", "file2.ts")),
[all …]
DprogramUpdates.ts13 sys: () => {
35 sys: () => {
55 sys: () => {
87 sys: () => createWatchedSystem([commonFile1, libFile, configFile]),
91 change: sys => sys.writeFile(commonFile2.path, commonFile2.content),
101 sys: () => {
121 sys: () => {
127 change: sys => sys.deleteFile(commonFile2.path),
132 change: sys => sys.writeFile(commonFile2.path, commonFile2.content),
142 sys: () => {
[all …]
Demit.ts9 sys: () => {
27 change: sys => sys.writeFile("/a/a.ts", "let x = 11"),
42 sys: () => {
105 sys: () => {
145 function modifyModuleFile1Shape(sys: WatchedSystem) {
146 sys.writeFile(moduleFile1Path, `export var T: number;export function Foo() { };`);
160 …change: sys => sys.writeFile(moduleFile1Path, `export var T: number;export function Foo() { consol…
171 change: sys => sys.writeFile(file1Consumer1Path, `export let y = Foo();`),
177 …change: sys => sys.writeFile(file1Consumer1Path, `import {Foo} from "./moduleFile1";let y = Foo();…
182 change: sys => sys.writeFile(moduleFile1Path, `export let y = Foo();`),
[all …]
DwatchApi.ts84 const sys = createWatchedSystem([config, mainFile, libFile]); constant
85 const watchCompilerHost = createWatchCompilerHost(config.path, {}, sys);
92 sys.writeFile(barPath, "const y =10;");
111 const sys = createWatchedSystem([config, mainFile, otherFile, libFile]); constant
115 sys,
126 sys.writeFile(other2, otherFile.content);
127 checkSingleTimeoutQueueLengthAndRun(sys);
133 …uilderProgram>(config: File, optionsToExtend: CompilerOptions | undefined, sys: System, createProg…
134 …const watchCompilerHost = createWatchCompilerHost(config.path, optionsToExtend, sys, createProgram…
151 const sys = createWatchedSystem([config, mainFile, otherFile, libFile]); constant
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
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::swapByteOrder(mh.offset); in swapStruct()
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/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 …]
/third_party/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 …]
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts61 sys: System,
65 return shouldBePretty(sys, options) ?
66 createDiagnosticReporter(sys, /*pretty*/ true) :
70 function defaultIsPretty(sys: System) {
71 return !!sys.writeOutputIsTTY && sys.writeOutputIsTTY();
74 function shouldBePretty(sys: System, options: CompilerOptions | BuildOptions) {
76 return defaultIsPretty(sys);
88 function printVersion(sys: System) {
89 sys.write(getDiagnosticText(Diagnostics.Version_0, version) + sys.newLine);
92 function printHelp(sys: System, optionsList: readonly CommandLineOption[], syntaxPrefix = "") {
[all …]
/third_party/python/Lib/test/libregrtest/
Dutils.py3 import sys
72 if sys.stdout is not None:
73 sys.stdout.flush()
74 if sys.stderr is not None:
75 sys.stderr.flush()
82 old_stderr = sys.stderr
85 sys.stderr = sys.__stderr__
87 sys.stderr.flush()
89 sys.stderr = old_stderr
94 orig_unraisablehook = sys.unraisablehook
[all …]
/third_party/python/Lib/test/
Dtest_sys.py9 import sys
29 dh = sys.__displayhook__
48 stdout = sys.stdout
50 del sys.stdout
53 sys.stdout = stdout
56 displayhook = sys.displayhook
58 del sys.displayhook
62 sys.displayhook = displayhook
68 with support.swap_attr(sys, 'displayhook', baddisplayhook):
80 sys.__excepthook__(*sys.exc_info())
[all …]
D_test_embed_set_config.py10 import sys
20 self.sys_copy = dict(sys.__dict__)
24 sys.__dict__.clear()
25 sys.__dict__.update(self.sys_copy)
33 self.assertEqual(getattr(sys, key), value,
160 with self.subTest(sys=sys_attr, key=key, value=value):
162 self.assertEqual(getattr(sys.flags, sys_attr), value)
165 self.assertEqual(sys.flags.dont_write_bytecode, True)
166 self.assertEqual(sys.dont_write_bytecode, True)
169 self.assertEqual(sys.flags.dont_write_bytecode, False)
[all …]
/third_party/python/Lib/
Dsite.py72 import sys
79 PREFIXES = [sys.prefix, sys.exec_prefix]
92 if sys.flags.verbose:
93 print(message, file=sys.stderr)
107 for m in set(sys.modules.values()):
135 for dir in sys.path:
143 sys.path[:] = L
150 for item in sys.path:
191 sys.path.append(dir)
195 file=sys.stderr)
[all …]
Dcode.py8 import sys
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.__excepthook__:
129 sys.excepthook(type, value, tb)
139 sys.last_type, sys.last_value, last_tb = ei = sys.exc_info()
140 sys.last_traceback = last_tb
[all …]
/third_party/typescript/src/testRunner/unittests/tsc/
Dhelpers.ts44 sys: System & { writtenFiles: ReadonlyCollection<string>; },
52 baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall);
59 baselineBuildInfo(program.options, sys, originalReadCall);
83 const sys = new fakes.System(fs, { executingFilePath: "/lib/tsc" }) as TscCompileSystem; constant
84 fakes.patchHostForBuildInfoReadWrite(sys);
85 const writtenFiles = sys.writtenFiles = new Set<string>();
86 const originalWriteFile = sys.writeFile;
87 sys.writeFile = (fileName, content, writeByteOrderMark) => {
90 return originalWriteFile.call(sys, fileName, content, writeByteOrderMark);
93 const originalReadFile = sys.readFile;
[all …]
/third_party/typescript/tests/baselines/reference/
DAPISample_WatchWithOwnWatchHost.js27 useCaseSensitiveFileNames: () => ts.sys.useCaseSensitiveFileNames,
28 getNewLine: () => ts.sys.newLine,
29 getCurrentDirectory: ts.sys.getCurrentDirectory,
32 fileExists: ts.sys.fileExists,
33 readFile: ts.sys.readFile,
34 directoryExists: ts.sys.directoryExists,
35 getDirectories: ts.sys.getDirectories,
36 readDirectory: ts.sys.readDirectory,
37 realpath: ts.sys.realpath,
39 watchFile: ts.sys.watchFile!,
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_exit_test.py25 import sys
37 INTERPRETER = sys.executable
94 stdout=sys.stdout,
95 stderr=sys.stderr)
101 stdout=sys.stdout)
107 stdout=sys.stdout,
108 stderr=sys.stderr)
114 stdout=sys.stdout,
115 stderr=sys.stderr)
121 stdout=sys.stdout,
[all …]
/third_party/python/Lib/test/support/
Dimport_helper.py5 import sys
30 del sys.modules[name]
42 for dirname in sys.path:
78 if sys.platform.startswith(tuple(required_on)):
86 for modname in list(sys.modules):
88 orig_modules[modname] = sys.modules.pop(modname)
128 sys.modules[modname] = None
140 sys.modules.update(orig_modules)
156 self.original_modules = sys.modules.copy()
158 if module_name in sys.modules:
[all …]
/third_party/PyYAML/tests/lib/
Dtest_appliance.py2 import sys, os, os.path, types, traceback, pprint
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.stdout.flush()
[all …]
/third_party/typescript/src/harness/
DfakesHosts.ts182 public readonly sys: System;
184 constructor(sys: System | vfs.FileSystem) {
185 if (sys instanceof vfs.FileSystem) sys = new System(sys);
186 this.sys = sys;
190 return this.sys.vfs;
194 return this.sys.useCaseSensitiveFileNames;
198 return this.sys.fileExists(fileName);
202 return this.sys.directoryExists(directoryName);
206 return this.sys.readFile(path);
210 return this.sys.readDirectory(path, extensions, excludes, includes, depth);
[all …]
/third_party/flutter/skia/infra/bots/recipe_modules/flavor/resources/
Dwin_ssh_cmd.py9 import sys
25 print >> sys.stderr, 'Original command:\n%s\nFull command:\n%s' % (
35 sys.stdout.flush()
37 sys.exit(proc.returncode)
39 sys.exit(1)
40 sys.exit(0)
44 if len(sys.argv) < 3:
45 print >> sys.stderr, (
47 sys.argv[0])
48 sys.exit(1)
[all …]
/third_party/gstreamer/gstplugins_good/po/
DPOTFILES18 sys/oss4/oss4-sink.c
19 sys/oss4/oss4-source.c
20 sys/oss/gstosssink.c
21 sys/oss/gstosssrc.c
22 sys/osxaudio/gstosxaudioringbuffer.c
23 sys/rpicamsrc/gstrpicamsrcdeviceprovider.c
24 sys/v4l2/gstv4l2bufferpool.c
25 sys/v4l2/gstv4l2object.c
26 sys/v4l2/gstv4l2radio.c
27 sys/v4l2/gstv4l2sink.c
[all …]
/third_party/libsnd/src/
Dcreate_symbols_file.py33 import re, sys
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.stdout.write ("\n")
[all …]

12345678910>>...152