Home
last modified time | relevance | path

Searched full:shell (Results 1 – 25 of 3188) sorted by relevance

12345678910>>...128

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_io.py52 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/
Dtest_run.py72 shell = MockShell()
73 f = run.PseudoInputFile(shell, 'stdin', 'utf-8')
86 shell = MockShell()
87 f = run.PseudoInputFile(shell, 'stdin', 'utf-8')
95 shell = MockShell()
96 f = run.PseudoInputFile(shell, 'stdin', 'utf-8')
97 shell.push(['one\n', 'two\n', ''])
99 shell.push(['one\n', 'two\n', ''])
101 shell.push(['one\n', 'two\n', ''])
103 shell.push(['one\n', 'two\n', 'three\n', ''])
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/
Dshtest-shell.py1 # Check the internal shell handling component of the ShTest format.
3 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out
13 # CHECK: FAIL: shtest-shell :: cat-error-0.txt
14 # CHECK: *** TEST 'shtest-shell :: cat-error-0.txt' FAILED ***
21 # CHECK: FAIL: shtest-shell :: cat-error-1.txt
22 # CHECK: *** TEST 'shtest-shell :: cat-error-1.txt' FAILED ***
29 # CHECK: FAIL: shtest-shell :: colon-error.txt
30 # CHECK: *** TEST 'shtest-shell :: colon-error.txt' FAILED ***
37 # CHECK: FAIL: shtest-shell :: diff-error-0.txt
38 # CHECK: *** TEST 'shtest-shell :: diff-error-0.txt' FAILED ***
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py5 """A wrapper for subprocess to make calling shell commands easier."""
25 """Return an shell-escaped version of the string using single quotes.
30 The returned value can be used in a shell command line as one token that gets
43 """Return an shell-escaped version of the string using double quotes.
46 or quote characters), while retaining some shell features such as variable
49 The returned value can be used in a shell command line as one token that gets
50 to be further interpreted by the shell.
53 shell implementation. This set usually includes: '$', '`', '\', '!', '*',
71 """Constructs a shell snippet for a command using a variable to shrink it.
81 A shell snippet that does not include setting the variable.
[all …]
/external/wayland-protocols/chromium.org/
DREADME.chromium19 …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/toolchain-utils/automation/common/
Dcommand.py10 class Shell(object): class
11 """Class used to build a string representation of a shell command."""
49 self._prefix.append(Shell('pushd', cwd))
50 self._suffix.insert(0, Shell('popd'))
54 self._prefix.append(Shell('%s=%s' % (env_var, value)))
55 self._suffix.insert(0, Shell('unset', env_var))
60 self._prefix.append(Shell('%s=$(umask)' % umask_save_var))
61 self._prefix.append(Shell('umask', umask))
62 self._suffix.insert(0, Shell('umask', '$%s' % umask_save_var))
128 """Container that chains shell commands using (&&) shell operator."""
[all …]
/external/python/cpython2/Doc/library/
Dsubprocess.rst45 .. 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 …]
Didle.rst21 * 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/perfetto/tools/
Dload_tool110 'shell',
117 'shell',
202 AdbCall('shell', 'stop', 'traced')
203 AdbCall('shell', 'stop', 'traced_probes')
204 AdbCall('shell', 'start', 'traced')
205 AdbCall('shell', 'start', 'traced_probes')
206 AdbCall('shell', 'sleep', '5')
207 traced_pid = AdbCall('shell', 'pidof', 'traced')
208 probes_pid = AdbCall('shell', 'pidof', 'traced_probes')
226 AdbCall('shell', 'rm', '-rf', '/data/local/tmp/perfetto_load_test')
[all …]
/external/llvm/utils/lit/tests/
Dshtest-shell.py1 # 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/python/cpython2/Lib/
Dpopen2.py3 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/icu/icu4c/source/samples/
Ddefs.mk11 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/cpython3/Doc/library/
Didle.rst25 * 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)
210 Python Shell
211 Open or wake up the Python Shell window.
221 Do Check Module (above). If no error, restart the shell to clean the
222 environment, then execute the module. Output is displayed in the Shell
224 When execution is complete, the Shell retains focus and displays a prompt.
[all …]
/external/mksh/src/
Dmksh.1191 .Nd MirBSD Korn shell
213 is a command interpreter intended for both interactive and shell
217 shell language and largely compatible to the original Korn shell.
219 sometimes does take portable shell scripting or various standards
227 name to the shell; not all make sense, have been tested or work at all though.
236 Interactive shell.
237 A shell that reads commands from standard input is
243 An interactive shell has job control enabled, ignores the
264 Login shell.
265 If the basename the shell is called with (i.e. argv[0])
[all …]
/external/autotest/client/cros/faft/utils/
Dshell_wrapper.py5 """A module to abstract the shell execution environment on DUT."""
12 """Shell specific exception."""
17 """An object to wrap the local shell environment."""
30 process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
37 """Run a shell command.
58 """Run a shell command and return its return code.
66 """Run shell command and return its console output to the caller.
91 """An object to wrap the ADB shell environment.
94 via "adb shell".
110 if (self._host_shell.run_command_get_output('adb shell whoami')[0]
[all …]
/external/python/cpython2/Demo/tkinter/guido/
DShellWindow.py13 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/
Dadb_compatibility_devicetest.py105 shell_ls_result = under_test.Shell('ls')
112 under_test.Shell('ls /foo/bar/baz')
116 external_storage = under_test.Shell('echo $EXTERNAL_STORAGE')
123 external_storage = under_test.Shell('echo $EXTERNAL_STORAGE').strip()
131 under_test.Shell('ls %s' % path)
134 under_test.Shell('mkdir %s' % path)
138 under_test.Shell('rm -rf %s' % path)
146 under_test.Shell('ls %s' % dest)
148 self.assertEquals(dest, under_test.Shell('ls %s' % dest).strip())
157 under_test.Shell('ls %s' % resulting_file)
[all …]
/external/python/cpython2/Lib/idlelib/
Dhelp.html83 <li>Python shell window (interactive interpreter) with colorizing
95 <p>IDLE has two main window types, the Shell window and the Editor window. It is
102 <div class="section" id="file-menu-shell-and-editor">
103 <h3>24.6.1.1. File menu (Shell and Editor)<a class="headerlink" href="#file-menu-shell-and-editor" …
117 tree structure. In the shell, open a module first.</dd>
140 <div class="section" id="edit-menu-shell-and-editor">
141 <h3>24.6.1.2. Edit menu (Shell and Editor)<a class="headerlink" href="#edit-menu-shell-and-editor" …
216 <dt>Python Shell</dt>
217 <dd>Open or wake up the Python Shell window.</dd>
225 <dd>Do Check Module (above). If no error, restart the shell to clean the
[all …]
/external/python/cpython3/Lib/idlelib/
Dhelp.html112 <li>Python shell window (interactive interpreter) with colorizing
124 <p>IDLE has two main window types, the Shell window and the Editor window. It is
134 <div class="section" id="file-menu-shell-and-editor">
135 <h3>File menu (Shell and Editor)<a class="headerlink" href="#file-menu-shell-and-editor" title="Per…
149 tree structure. In the shell, open a module first.</dd>
172 <div class="section" id="edit-menu-shell-and-editor">
173 <h3>Edit menu (Shell and Editor)<a class="headerlink" href="#edit-menu-shell-and-editor" title="Per…
251 <dt>Python Shell</dt>
252 <dd>Open or wake up the Python Shell window.</dd>
260 <dd>Do Check Module (above). If no error, restart the shell to clean the
[all …]
DNEWS2x.txt35 - help() was not paging to the shell. Issue1650.
42 - Shell was not colorizing due to bug introduced at r57998, Bug 1586.
152 Shell hotkey from 's' to 'l'.
160 - Retrieval of previous shell command was not always preserving indentation
265 - The GUI was hanging if the shell window was closed while a raw_input()
306 - Redirect the warning stream to the shell during the ScriptBinding check of
311 The pane no longer appears in the shell window. Added capability to limit
312 extensions to shell window or editor windows. Noam Raphael addition
345 - Print correct exception even if source file changed since shell was
370 - Added a banner to the shell discussing warnings possibly raised by personal
[all …]
/external/javasqlite/src/main/java/SQLite/
DShell.java8 * SQLite command line shell. This is a partial reimplementaion
9 * of sqlite/src/shell.c and can be invoked by:<P>
12 * java SQLite.Shell [OPTIONS] database [SHELLCMD]
18 public class Shell implements Callback { class
40 public Shell(PrintWriter pw, PrintWriter err) { in Shell() method in Shell
45 public Shell(PrintStream ps, PrintStream errs) { in Shell() method in Shell
51 Shell s = new Shell(this.pw, this.err); in clone()
160 tableName = Shell.sql_quote_dbl(str); in set_table_name()
162 tableName = Shell.sql_quote(str); in set_table_name()
178 case Shell.MODE_Line: in newrow()
[all …]
/external/toybox/toys/pending/
Dsulogin.c70 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/adeb/
Dandrodeb35 # If its shell mode, any future args become shell's args
46 shell) ASHELL=1; shift || true; ;;
144 $ADB shell /data/androdeb/device-umount-all || true;
145 $ADB shell rm -rf /data/androdeb; exit 0; fi
148 # SHELL
151 set +e; $ADB shell ls /data/androdeb/debian/.bashrc > /dev/null 2>&1
159 # argument to $ADB shell. Inner quotes is so that run-command can receive all
161 $ADB shell -t /data/androdeb/run-command "\"$SHELL_ARGS\""
163 $ADB shell -t /data/androdeb/run
181 $ADB shell rm -rf /data/androdeb/debian/kernel-headers/
[all …]
/external/shflags/src/
Dshflags_test.sh25 echo "usage: ${MY_NAME} [-e key=val ...] [-s shell(s)] [-t test(s)]"
88 for shell in ${shells}; do
94 # Running the test suite with ${shell}
97 # check for existance of shell
98 if [ ! -x ${shell} ]; then
99 th_warn "unable to run tests with the ${shell} shell"
103 shell_name=`basename ${shell}`
104 shell_version=`versions_shellVersion "${shell}"`
106 echo "shell name: ${shell_name}"
107 echo "shell version: ${shell_version}"
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/04_BasicTnL/OGLES/Build/WindowsVC2010/
DOGLESBasicTnL.vcxproj90 …ditionalIncludeDirectories>..\..\..\..\..\..\Shell;..\..\..\..\..\..\Shell\API\KEGL;..\..\..\..\..…
107 …ditionalIncludeDirectories>..\..\..\..\..\..\Shell;..\..\..\..\..\..\Shell\API\KEGL;..\..\..\..\..…
126 …ditionalIncludeDirectories>..\..\..\..\..\..\Shell;..\..\..\..\..\..\Shell\API\KEGL;..\..\..\..\..…
147 …ditionalIncludeDirectories>..\..\..\..\..\..\Shell;..\..\..\..\..\..\Shell\API\KEGL;..\..\..\..\..…
163 <ClCompile Include="..\..\..\..\..\..\Shell\PVRShell.cpp" />
164 <ClCompile Include="..\..\..\..\..\..\Shell\API\KEGL\PVRShellAPI.cpp" />
165 <ClCompile Include="..\..\..\..\..\..\Shell\OS\Windows\PVRShellOS.cpp" />
168 <ClInclude Include="..\..\..\..\..\..\Shell\PVRShell.h" />
169 <ClInclude Include="..\..\..\..\..\..\Shell\PVRShellImpl.h" />
170 <ClInclude Include="..\..\..\..\..\..\Shell\API\KEGL\PVRShellAPI.h" />
[all …]

12345678910>>...128