/external/python/cpython2/Lib/idlelib/idle_test/ |
D | test_io.py | 52 shell = MockShell() 53 f = PseudoOutputFile(shell, 'stdout', 'utf-8') 66 shell = MockShell() 67 f = PseudoOutputFile(shell, 'stdout', 'utf-8') 75 shell = MockShell() 76 f = PseudoOutputFile(shell, 'stdout', 'utf-8') 78 self.assertEqual(shell.written, [('test', 'stdout')]) 79 shell.reset() 81 self.assertEqual(shell.written, [('t\xe8st', 'stdout')]) 82 shell.reset() [all …]
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_run.py | 75 shell = MockShell() 76 f = run.StdInputFile(shell, 'stdin') 89 shell = MockShell() 90 f = run.StdInputFile(shell, 'stdin') 98 shell = MockShell() 99 f = run.StdInputFile(shell, 'stdin') 100 shell.push(['one\n', 'two\n', '']) 102 shell.push(['one\n', 'two\n', '']) 104 shell.push(['one\n', 'two\n', '']) 106 shell.push(['one\n', 'two\n', 'three\n', '']) [all …]
|
/external/cpuinfo/scripts/ |
D | android-armv7-mock.sh | 80 adb shell "/data/local/tmp/alcatel-revvl-test --gtest_color=yes" 81 adb shell "/data/local/tmp/atm7029b-tablet-test --gtest_color=yes" 82 adb shell "/data/local/tmp/blu-r1-hd-test --gtest_color=yes" 83 adb shell "/data/local/tmp/galaxy-a3-2016-eu-test --gtest_color=yes" 84 adb shell "/data/local/tmp/galaxy-a8-2016-duos-test --gtest_color=yes" 85 adb shell "/data/local/tmp/galaxy-a8-2018-test --gtest_color=yes" 86 adb shell "/data/local/tmp/galaxy-c9-pro-test --gtest_color=yes" 87 adb shell "/data/local/tmp/galaxy-grand-prime-value-edition-test --gtest_color=yes" 88 adb shell "/data/local/tmp/galaxy-j1-2016-test --gtest_color=yes" 89 adb shell "/data/local/tmp/galaxy-j5-test --gtest_color=yes" [all …]
|
D | android-arm64-mock.sh | 44 adb shell "/data/local/tmp/alcatel-revvl-test --gtest_color=yes" 45 adb shell "/data/local/tmp/galaxy-a8-2018-test --gtest_color=yes" 46 adb shell "/data/local/tmp/galaxy-c9-pro-test --gtest_color=yes" 47 adb shell "/data/local/tmp/galaxy-s6-test --gtest_color=yes" 48 adb shell "/data/local/tmp/galaxy-s7-global-test --gtest_color=yes" 49 adb shell "/data/local/tmp/galaxy-s7-us-test --gtest_color=yes" 50 adb shell "/data/local/tmp/galaxy-s8-global-test --gtest_color=yes" 51 adb shell "/data/local/tmp/galaxy-s8-us-test --gtest_color=yes" 52 adb shell "/data/local/tmp/galaxy-s9-global-test --gtest_color=yes" 53 adb shell "/data/local/tmp/galaxy-s9-us-test --gtest_color=yes" [all …]
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper.py | 4 """A wrapper for subprocess to make calling shell commands easier.""" 39 """Return an shell-escaped version of the string using single quotes. 44 The returned value can be used in a shell command line as one token that gets 57 """Return an shell-escaped version of the string using double quotes. 60 or quote characters), while retaining some shell features such as variable 63 The returned value can be used in a shell command line as one token that gets 64 to be further interpreted by the shell. 67 shell implementation. This set usually includes: '$', '`', '\', '!', '*', 85 """Constructs a shell snippet for a command using a variable to shrink it. 95 A shell snippet that does not include setting the variable. [all …]
|
/external/llvm-project/llvm/utils/lit/tests/ |
D | shtest-shell.py | 1 # Check the internal shell handling component of the ShTest format. 3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out 9 # Test again in non-UTF shell to catch potential errors with python 2 seen 11 # RUN: env PYTHONIOENCODING=ascii not %{lit} -j 1 -a %{inputs}/shtest-shell > %t.ascii.out 21 # CHECK: FAIL: shtest-shell :: cat-error-0.txt 22 # CHECK: *** TEST 'shtest-shell :: cat-error-0.txt' FAILED *** 29 # CHECK: FAIL: shtest-shell :: cat-error-1.txt 30 # CHECK: *** TEST 'shtest-shell :: cat-error-1.txt' FAILED *** 37 # CHECK: FAIL: shtest-shell :: colon-error.txt 38 # CHECK: *** TEST 'shtest-shell :: colon-error.txt' FAILED *** [all …]
|
/external/llvm-project/lldb/test/API/commands/platform/basic/ |
D | TestPlatformCommand.py | 24 self.expect("help shell", substrs=["Run a shell command on the host.", 25 "shell <shell-command>"]) 59 """ Test that the platform shell command can invoke ls. """ 63 "platform shell dir c:\\", substrs=[ 65 self.expect("shell dir c:\\", substrs=["Windows", "Program Files"]) 68 "platform shell ls /", 73 self.expect("shell ls /", 76 self.expect("platform shell ls /", substrs=["dev", "tmp", "usr"]) 77 self.expect("shell ls /", substrs=["dev", "tmp", "usr"]) 81 """ Test a shell built-in command (echo) """ [all …]
|
/external/rust/crates/clap/src/completions/ |
D | shell.rs | 6 /// Describes which shell to produce a completions file for 9 pub enum Shell { enum 10 /// Generates a .bash completion file for the Bourne Again SHell (BASH) 12 /// Generates a .fish completion file for the Friendly Interactive SHell (fish) 14 /// Generates a completion file for the Z SHell (ZSH) 22 impl Shell { implementation 29 impl FromStr for Shell { implementation 34 "ZSH" | _ if s.eq_ignore_ascii_case("zsh") => Ok(Shell::Zsh), in from_str() 35 "FISH" | _ if s.eq_ignore_ascii_case("fish") => Ok(Shell::Fish), in from_str() 36 "BASH" | _ if s.eq_ignore_ascii_case("bash") => Ok(Shell::Bash), in from_str() [all …]
|
/external/toybox/toys/pending/ |
D | chsh.c | 1 /* chsh.c - Change login shell. 13 usage: chsh [-s SHELL] [USER] 15 Change user's login shell. 17 -s Use SHELL instead of prompting 19 Non-root users can only change their own shell to one listed in /etc/shells. 32 char *user, *line, *shell, *encrypted; local 56 // Get new shell (either -s or interactive) 58 if (toys.optflags) shell = TT.s; 60 xprintf("Changing the login shell for %s\n" 62 " Login shell [%s]: ", user, passwd_info->pw_shell); [all …]
|
D | sulogin.c | 70 static void run_shell(char *shell) in run_shell() argument 72 snprintf(toybuf,sizeof(toybuf), "-%s", shell); in run_shell() 73 execl(shell, toybuf, NULL); in run_shell() 74 error_exit("Failed to spawn shell"); in run_shell() 84 "LD_AOUT_PRELOAD", "LD_NOWARN", "LD_KEEPDIR", "SHELL", NULL in sulogin_main() 86 char *shell = NULL, *pass = NULL, **temp = forbid; in sulogin_main() local 115 if ((shell = getenv("SUSHELL")) || (shell = getenv("sushell")) in sulogin_main() 116 || (shell = pwd->pw_shell)) in sulogin_main() 117 run_shell((shell && *shell)? shell: "/bin/sh"); in sulogin_main()
|
/external/wayland-protocols/chromium.org/ |
D | README.chromium | 19 …wayland-scanner code < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > protocol/xdg-shell-v5-pr… 20 …land-scanner server-header < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > include/protocol/x… 21 …land-scanner client-header < src/unstable/xdg-shell/xdg-shell-unstable-v5.xml > include/protocol/x… 22 …wayland-scanner code < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > protocol/xdg-shell-v6-pr… 23 …land-scanner server-header < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > include/protocol/x… 24 …land-scanner client-header < src/unstable/xdg-shell/xdg-shell-unstable-v6.xml > include/protocol/x… 40 …wayland-scanner code < unstable/remote-shell/remote-shell-unstable-v1.xml > protocol/remote-shell-… 41 …nd-scanner server-header < unstable/remote-shell/remote-shell-unstable-v1.xml > include/protocol/r… 42 …nd-scanner client-header < unstable/remote-shell/remote-shell-unstable-v1.xml > include/protocol/r…
|
/external/libwebsockets/test-apps/android/app/src/main/jni/ |
D | NativeLibs.mk | 187 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-gcc \ 188 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-ar \ 189 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-ranlib \ 202 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-gcc \ 203 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-ar \ 204 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-ranlib \ 217 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-gcc \ 218 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-ar \ 219 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-ranlib \ 232 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_ARM_V7A)/bin/$(TOOLCHAIN_ARM_V7A_PREFIX)-gcc \ [all …]
|
/external/python/cpython2/Doc/library/ |
D | subprocess.rst | 45 .. function:: call(args, *, stdin=None, stdout=None, stderr=None, shell=False) 61 >>> subprocess.call("exit 1", shell=True) 66 Using ``shell=True`` can be a security hazard. See the warning 77 .. function:: check_call(args, *, stdin=None, stdout=None, stderr=None, shell=False) 95 >>> subprocess.check_call("exit 1", shell=True) 104 Using ``shell=True`` can be a security hazard. See the warning 115 .. function:: check_output(args, *, stdin=None, stderr=None, shell=False, universal_newlines=False) 136 >>> subprocess.check_output("exit 1", shell=True) 147 ... shell=True) 154 Using ``shell=True`` can be a security hazard. See the warning [all …]
|
D | idle.rst | 21 * Python shell window (interactive interpreter) with colorizing 38 IDLE has two main window types, the Shell window and the Editor window. It is 47 File menu (Shell and Editor) 68 tree structure. In the shell, open a module first. 97 Edit menu (Shell and Editor) 197 Python Shell 198 Open or wake up the Python Shell window. 208 Do Check Module (above). If no error, restart the shell to clean the 209 environment, then execute the module. Output is displayed in the Shell 211 When execution is complete, the Shell retains focus and displays a prompt. [all …]
|
/external/llvm/utils/lit/tests/ |
D | shtest-shell.py | 1 # Check the internal shell handling component of the ShTest format. 3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out 10 # CHECK: FAIL: shtest-shell :: error-0.txt 11 # CHECK: *** TEST 'shtest-shell :: error-0.txt' FAILED *** 20 # CHECK: FAIL: shtest-shell :: error-1.txt 21 # CHECK: *** TEST 'shtest-shell :: error-1.txt' FAILED *** 22 # CHECK: shell parser error on: 'echo "missing quote' 25 # CHECK: FAIL: shtest-shell :: error-2.txt 26 # CHECK: *** TEST 'shtest-shell :: error-2.txt' FAILED *** 30 # CHECK: PASS: shtest-shell :: redirects.txt [all …]
|
/external/tensorflow/tensorflow/tools/dockerfiles/ |
D | spec.yml | 104 - shell 114 - shell 127 - shell 139 - shell 155 - shell 171 - shell 186 - shell 201 - shell 217 - shell 233 - shell [all …]
|
/external/perfetto/tools/ |
D | load_tool | 107 busy_threads_args = AdbArgs('shell', '/data/local/tmp/busy_threads', 111 perfetto_args = AdbArgs('shell', 'perfetto', '--txt', '-c', '-', '-o', '-') 175 AdbCall('shell', 'stop', 'traced') 176 AdbCall('shell', 'stop', 'traced_probes') 177 AdbCall('shell', 'start', 'traced') 178 AdbCall('shell', 'start', 'traced_probes') 179 AdbCall('shell', 'sleep', '5') 180 traced_pid = AdbCall('shell', 'pidof', 'traced') 181 probes_pid = AdbCall('shell', 'pidof', 'traced_probes') 200 AdbCall('shell', 'rm', '-rf', '/data/local/tmp/perfetto_load_test') [all …]
|
/external/icu/icu4c/source/samples/ |
D | defs.mk | 11 CC=$(shell icu-config --cc) 12 CXX=$(shell icu-config --cxx) 13 CPPFLAGS=$(shell icu-config --cppflags) 14 CFLAGS=$(shell icu-config --cflags) 15 CXXFLAGS=$(shell icu-config --cxxflags) 16 LDFLAGS =$^ $(shell icu-config --ldflags) 17 LDFLAGS_USTDIO =$(shell icu-config --ldflags-icuio) 18 INVOKE=$(shell icu-config --invoke) 19 GENRB=$(shell icu-config --invoke=genrb) 21 PKGDATA=$(shell icu-config --invoke=pkgdata) [all …]
|
/external/python/cpython2/Lib/ |
D | popen2.py | 3 The normal os.popen(cmd, mode) call spawns a shell command and provides a 41 """The parameter 'cmd' is the shell command to execute in a 43 will be passed directly to the program without shell intervention (as 44 with os.spawnv()). If 'cmd' is a string it will be passed to the shell 142 """Execute the shell command 'cmd' in a sub-process. On UNIX, 'cmd' may 144 program without shell intervention (as with os.spawnv()). If 'cmd' is a 145 string it will be passed to the shell (as with os.system()). If 152 """Execute the shell command 'cmd' in a sub-process. On UNIX, 'cmd' may 154 program without shell intervention (as with os.spawnv()). If 'cmd' is a 155 string it will be passed to the shell (as with os.system()). If [all …]
|
/external/python/cpython3/Doc/library/ |
D | idle.rst | 25 * Python shell window (interactive interpreter) with colorizing 42 IDLE has two main window types, the Shell window and the Editor window. It is 55 File menu (Shell and Editor) 76 tree structure. In the shell, open a module first. 105 Edit menu (Shell and Editor) 204 including lines within multiline strings. Except for Shell windows, 216 Do :ref:`Check Module <check-module>`. If no error, restart the shell to clean the 217 environment, then execute the module. Output is displayed in the Shell 219 When execution is complete, the Shell retains focus and displays a prompt. 229 on a command line. The module can be run in the Shell without restarting. [all …]
|
/external/mksh/src/ |
D | mksh.1 | 198 .Nd MirBSD Korn shell 220 is a command interpreter intended for both interactive and shell 224 shell language and largely compatible to the original Korn shell. 226 sometimes does take portable shell scripting or various standards 235 name to the shell; not all make sense, have been tested or work at all though. 244 Interactive shell. 245 A shell that reads commands from standard input is 251 An interactive shell has job control enabled, ignores the 272 Login shell. 273 If the name or basename the shell is called with (i.e. argv[0]) [all …]
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | ShellWindow.py | 13 def __init__(self, master=None, shell=None, **cnf): argument 14 if not shell: 16 shell = os.environ['SHELL'] 18 shell = '/bin/sh' 19 shell = shell + ' -i' 20 args = string.split(shell) 21 shell = args[0] 31 self.pid, self.fromchild, self.tochild = spawn(shell, args) 135 shell = string.join(sys.argv[1:]) 138 if shell: [all …]
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_compatibility_devicetest.py | 102 shell_ls_result = under_test.Shell('ls') 109 under_test.Shell('ls /foo/bar/baz') 113 external_storage = under_test.Shell('echo $EXTERNAL_STORAGE') 120 external_storage = under_test.Shell('echo $EXTERNAL_STORAGE').strip() 128 under_test.Shell('ls %s' % path) 131 under_test.Shell('mkdir %s' % path) 135 under_test.Shell('rm -rf %s' % path) 143 under_test.Shell('ls %s' % dest) 145 self.assertEquals(dest, under_test.Shell('ls %s' % dest).strip()) 154 under_test.Shell('ls %s' % resulting_file) [all …]
|
/external/swiftshader/tests/regres/git/ |
D | git.go | 29 "../shell" 61 if err := shell.Shell(gitTimeout, exe, wd, "add", file); err != nil { 83 return shell.Shell(gitTimeout, exe, wd, args...) 111 return shell.Shell(gitTimeout, exe, wd, args...) 126 if err := shell.Shell(gitTimeout, exe, path, cmds...); err != nil { 147 if err := shell.Shell(gitTimeout, exe, path, cmds...); err != nil { 158 return shell.Shell(gitTimeout, exe, path, "checkout", commit.String()) 163 return shell.Shell(gitTimeout, exe, dir, "apply", patch) 168 out, err := shell.Exec(gitTimeout, exe, "", nil, "ls-remote", url, ref) 193 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", at, "--pretty=format:"+prettyFormat, fmt.S… [all …]
|
/external/webrtc/audio/test/unittests/ |
D | low_bandwidth_audio_test_test.py | 95 …ebrtc/src/third_party/android_sdk/public/platform-tools/adb -s TA99205CNO shell '( ( c=/data/local… 96 …/webrtc/src/third_party/android_sdk/public/platform-tools/adb -s ddfa6149 shell '( ( c=/data/local… 98 …/webrtc/src/third_party/android_sdk/public/platform-tools/adb -s ddfa6149 shell '( test -d /storag… 99 …/webrtc/src/third_party/android_sdk/public/platform-tools/adb -s ddfa6149 shell 'rm -f /data/local… 102 …/webrtc/src/third_party/android_sdk/public/platform-tools/adb -s ddfa6149 shell '( pm path android… 103 …ebrtc/src/third_party/android_sdk/public/platform-tools/adb -s TA99205CNO shell '( test -d /sdcard… 104 …ebrtc/src/third_party/android_sdk/public/platform-tools/adb -s TA99205CNO shell 'rm -f /data/local… 106 …ebrtc/src/third_party/android_sdk/public/platform-tools/adb -s TA99205CNO shell '( pm path android… 108 …/webrtc/src/third_party/android_sdk/public/platform-tools/adb -s ddfa6149 shell '( getprop sys.boo… 111 …ebrtc/src/third_party/android_sdk/public/platform-tools/adb -s TA99205CNO shell '( getprop sys.boo… [all …]
|