| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
| D | MachO.h | 972 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
| D | MachO.h | 1003 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/typescript/src/testRunner/unittests/tscWatch/ |
| D | watchEnvironment.ts | 9 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); 73 sys: () => { 89 timeouts: (sys, programs) => { [all …]
|
| D | projectsWithReferences.ts | 6 sys: () => createSystemWithSolutionBuild( 25 change: sys => { 26 …sys.appendFile(TestFSWithWatch.getTsBuildProjectFilePath("sample1", "logic/index.ts"), `function f… 27 const solutionBuilder = createSolutionBuilder(sys, ["logic"]); 32 timeouts: sys => sys.checkTimeoutQueueLength(0), 36 change: sys => { 37 …sys.appendFile(TestFSWithWatch.getTsBuildProjectFilePath("sample1", "logic/index.ts"), `export fun… 38 const solutionBuilder = createSolutionBuilder(sys, ["logic"]); 45 change: sys => { 46 …sys.writeFile(TestFSWithWatch.getTsBuildProjectFilePath("sample1", "logic/tsconfig.json"), JSON.st… [all …]
|
| D | watchApi.ts | 20 const { sys, baseline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem( constant 26 system: sys, 29 … const parsedCommandResult = parseJsonConfigFileContent(configFileJson, sys, config.path); 44 sys, 56 … const { sys, baseline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem({ constant 67 system: sys, 73 …(implementHasInvalidatedResolution) host.hasInvalidatedResolutions = () => sys.fileExists(`${proje… 79 sys, 86 change: sys => sys.appendFile(`${projectRoot}/other.d.ts`, ""), 87 timeouts: sys => sys.runQueuedTimeoutCallbacks(), [all …]
|
| D | programUpdates.ts | 13 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.appendFile(commonFile2.path, ";let xy = 10;"), 132 change: sys => sys.deleteFile(commonFile2.path), 137 change: sys => sys.writeFile(commonFile2.path, commonFile2.content), [all …]
|
| D | resolutionCache.ts | 14 …const { sys, baseline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem([root, impo… constant 17 system: sys, 29 sys, 36 change: sys => { 39 sys.writeFile(root.path, `import {x} from "f1" 46 change: sys => { 55 sys.writeFile(root.path, `import {x} from "f2"`); 57 timeouts: sys => { 58 sys.runQueuedTimeoutCallbacks(); 64 change: sys => { [all …]
|
| D | helpers.ts | 85 export function runQueuedTimeoutCallbacks(sys: WatchedSystem) { 86 sys.runQueuedTimeoutCallbacks(); 89 export function checkSingleTimeoutQueueLengthAndRun(sys: WatchedSystem) { 90 sys.checkTimeoutQueueLengthAndRun(1); 93 export function checkSingleTimeoutQueueLengthAndRunAndVerifyNoTimeout(sys: WatchedSystem) { 94 sys.checkTimeoutQueueLengthAndRun(1); 95 sys.checkTimeoutQueueLength(0); 101 change: (sys: TestFSWithWatch.TestServerHostTrackingWrittenFiles) => void; 103 sys: TestFSWithWatch.TestServerHostTrackingWrittenFiles, 119 sys: () => WatchedSystem; property [all …]
|
| /third_party/python/Lib/test/ |
| D | test_sys.py | 9 import sys 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, 'displayhook', baddisplayhook): [all …]
|
| D | test_site.py | 3 Tests assume the initial paths in sys.path once the interpreter has begun 23 import sys 34 if sys.flags.no_site: 46 OLD_SYS_PATH = sys.path[:] 52 # modify sys.path: will be restored by tearDownModule() 60 sys.path[:] = OLD_SYS_PATH 68 """Save a copy of sys.path""" 69 self.sys_path = sys.path[:] 77 """Restore sys.path""" 78 sys.path[:] = self.sys_path [all …]
|
| D | _test_embed_set_config.py | 5 # does reset sys attributes to their state of the Python startup 10 import sys 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.dont_write_bytecode, True) [all …]
|
| D | test_subprocess.py | 9 import sys 55 mswindows = (sys.platform == "win32") 62 SETBINARY = ('import msvcrt; msvcrt.setmode(sys.stdout.fileno(), ' 71 ZERO_RETURN_CMD = (sys.executable, '-c', 'pass') 147 rc = subprocess.call([sys.executable, "-c", 148 "import sys; sys.exit(47)"]) 157 [sys.executable, "-c", "while True: pass"], 168 subprocess.check_call([sys.executable, "-c", 169 "import sys; sys.exit(47)"]) 175 [sys.executable, "-c", "print('BDFL')"]) [all …]
|
| /third_party/typescript/src/executeCommandLine/ |
| D | executeCommandLine.ts | 59 sys: System, 63 return shouldBePretty(sys, options) ? 64 createDiagnosticReporter(sys, /*pretty*/ true) : 68 function defaultIsPretty(sys: System) { 69 …return !!sys.writeOutputIsTTY && sys.writeOutputIsTTY() && !sys.getEnvironmentVariable("NO_COLOR"); 72 function shouldBePretty(sys: System, options: CompilerOptions | BuildOptions) { 74 return defaultIsPretty(sys); 86 function printVersion(sys: System) { 87 sys.write(getDiagnosticText(Diagnostics.Version_0, version) + sys.newLine); 90 function createColors(sys: System) { [all …]
|
| /third_party/ltp/tools/ |
| D | restore_kernel_faults_default.sh | 35 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/rust/crates/rust-openssl/openssl-sys/ |
| D | CHANGELOG.md | 493 [Unreleased]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.91..master 494 [v0.9.91]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.90...openssl-sys-v0.9.… 495 [v0.9.90]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.89...openssl-sys-v0.9.… 496 [v0.9.89]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.88...openssl-sys-v0.9.… 497 [v0.9.88]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.87...openssl-sys-v0.9.… 498 [v0.9.87]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.86...openssl-sys-v0.9.… 499 [v0.9.86]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.85...openssl-sys-v0.9.… 500 [v0.9.85]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.84...openssl-sys-v0.9.… 501 [v0.9.84]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.83...openssl-sys-v0.9.… 502 [v0.9.83]: https://github.com/sfackler/rust-openssl/compare/openssl-sys-v0.9.82...openssl-sys-v0.9.… [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsc/ |
| D | helpers.ts | 40 sys: TscCompileSystem | tscWatch.WatchedSystem, 48 baselineBuildInfo(program.getCompilerOptions(), sys, originalReadCall); 55 baselineBuildInfo(program.options, sys, originalReadCall); 73 compile: (sys: TscCompileSystem) => void; 74 additionalBaseline?: (sys: TscCompileSystem) => void; 93 …const sys = new fakes.System(fs, { executingFilePath: "/lib/tsc", env: environmentVariables }) as … constant 94 if (input.disableUseFileVersionAsSignature) sys.disableUseFileVersionAsSignature = true; 95 sys.storeFilesChangingSignatureDuringEmit = true; 96 sys.write(`${sys.getExecutingFilePath()} ${commandLineArgs.join(" ")}\n`); 97 sys.exit = exitCode => sys.exitCode = exitCode; [all …]
|
| /third_party/python/Lib/ |
| D | site.py | 1 """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.path, and also inspected for path configuration 31 to be added to sys.path. Non-existing directories (or [all …]
|
| /third_party/rust/crates/rustix/src/ |
| D | io_uring.rs | 26 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::IORING_REGISTER_EVENTFD as _, [all …]
|
| /third_party/skia/tools/skpbench/ |
| D | _hardware_pixel2.py | 31 echo 0 > /sys/devices/system/cpu/cpu$N/online 37 echo 1 > /sys/devices/system/cpu/cpu$N/online 38 echo userspace > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_governor 39 echo %i > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_max_freq 40 echo %i > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_min_freq 41 echo %i > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_setspeed 46 echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split''', 48 # echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on 50 echo 10000 > /sys/class/kgsl/kgsl-3d0/idle_timer''', 54 echo %i > /sys/class/devfreq/soc\:qcom,gpubw/min_freq [all …]
|
| D | _hardware_nexus_6p.py | 24 echo 1 > /sys/devices/system/cpu/cpu$N/online 25 echo userspace > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_governor 26 echo %i > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_max_freq 27 echo %i > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_min_freq 28 echo %i > /sys/devices/system/cpu/cpu$N/cpufreq/scaling_setspeed 34 echo 0 > /sys/devices/system/cpu/cpu$N/online 40 echo 0 > /sys/class/kgsl/kgsl-3d0/bus_split 41 echo 1 > /sys/class/kgsl/kgsl-3d0/force_bus_on 42 echo 1 > /sys/class/kgsl/kgsl-3d0/force_rail_on 43 echo 1 > /sys/class/kgsl/kgsl-3d0/force_clk_on [all …]
|
| /third_party/openssl/VMS/ |
| D | msg_staging.com | 19 $ WRITE SYS$OUTPUT "Staging installation complete" 20 $ WRITE SYS$OUTPUT "" 21 $ WRITE SYS$OUTPUT "Finish or package in such a way that the contents of the following direct… 22 $ WRITE SYS$OUTPUT "trees end up being copied:" 23 $ WRITE SYS$OUTPUT "" 24 $ WRITE SYS$OUTPUT "- from ", staging_instdir 25 $ WRITE SYS$OUTPUT " to ", final_instdir 26 $ WRITE SYS$OUTPUT "- from ", staging_datadir 27 $ WRITE SYS$OUTPUT " to ", final_datadir 28 $ WRITE SYS$OUTPUT "" [all …]
|
| /third_party/python/Lib/test/libregrtest/ |
| D | utils.py | 3 import sys 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.stderr.flush() [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsbuildWatch/ |
| D | programUpdates.ts | 35 …change: sys => sys.writeFile(isString(fileName) ? fileName : fileName(), isString(content) ? conte… 70 sys: () => createWatchedSystem(allFiles, { currentDirectory: projectsLocation }), 75 …const { sys, baseline, oldSnap, cb, getPrograms } = createBaseline(createWatchedSystem(allFiles, {… constant 76 const host = createSolutionBuilderWithWatchHostForBaseline(sys, cb); 83 sys, 110 sys: () => createWatchedSystem( 123 change: sys => { 126 sys.writeFile(core[1].path, change1); 127 assert.equal(sys.writtenFiles.size, 1); 128 sys.writtenFiles.clear(); [all …]
|
| /third_party/typescript/src/testRunner/unittests/tsbuild/ |
| D | publicApi.ts | 3 let sys: TscCompileSystem; variable 36 sys = new fakes.System(fs, { executingFilePath: "/lib/tsc" }) as TscCompileSystem; 37 fakes.patchHostForBuildInfoReadWrite(sys); 39 sys.write(`${sys.getExecutingFilePath()} ${commandLineArgs.join(" ")}\n`); 40 sys.exit = exitCode => sys.exitCode = exitCode; 41 const writtenFiles = sys.writtenFiles = new Set(); 42 const originalWriteFile = sys.writeFile; 43 sys.writeFile = (fileName, content, writeByteOrderMark) => { 44 const path = toPathWithSystem(sys, fileName); 47 return originalWriteFile.call(sys, fileName, content, writeByteOrderMark); [all …]
|
| /third_party/python/Lib/test/support/ |
| D | import_helper.py | 7 import sys 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.modules before doing the import. [all …]
|