Home
last modified time | relevance | path

Searched refs:Shell (Results 1 – 25 of 319) sorted by relevance

12345678910>>...13

/external/rust/crates/clap/src/completions/
Dshell.rs9 pub enum Shell { enum
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()
37 "POWERSHELL" | _ if s.eq_ignore_ascii_case("powershell") => Ok(Shell::PowerShell), in from_str()
38 "ELVISH" | _ if s.eq_ignore_ascii_case("elvish") => Ok(Shell::Elvish), in from_str()
46 impl fmt::Display for Shell { implementation
49 Shell::Bash => write!(f, "BASH"), in fmt()
[all …]
Dmod.rs18 pub use self::shell::Shell;
34 pub fn generate<W: Write>(&self, for_shell: Shell, buf: &mut W) { in generate() argument
36 Shell::Bash => BashGen::new(self.p).generate_to(buf), in generate()
37 Shell::Fish => FishGen::new(self.p).generate_to(buf), in generate()
38 Shell::Zsh => ZshGen::new(self.p).generate_to(buf), in generate()
39 Shell::PowerShell => PowerShellGen::new(self.p).generate_to(buf), in generate()
40 Shell::Elvish => ElvishGen::new(self.p).generate_to(buf), in generate()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_compatibility_devicetest.py102 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 …]
Dgce_adb_wrapper.py28 self._instance_ip = self.Shell('getprop net.gce.ip').strip()
55 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(remote))
61 self.Shell(
66 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
68 self.Shell('chmod 777 %s' % cmd_helper.SingleQuote(remote))
150 output = self.Shell(' '.join(cmd))
151 self.Shell('rm /data/local/tmp/tmp.apk')
Dadb_wrapper_devicetest.py42 bad_adb.Shell('echo test')
45 output = self._adb.Shell('echo test', expect_status=0)
47 output = self._adb.Shell('echo test')
50 self._adb.Shell('echo test', expect_status=1)
73 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo')
101 android_path = self._adb.Shell('pm path android')
112 self._adb.Shell('start')
Dadb_wrapper_test.py63 self.assertRaises(device_errors.DeviceUnreachableError, self.adb.Shell,
69 self.assertRaises(device_errors.DeviceUnreachableError, self.adb.Shell,
/external/javasqlite/src/main/java/SQLite/
DShell.java18 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()
190 case Shell.MODE_Column: in newrow()
220 case Shell.MODE_Semi: in newrow()
221 case Shell.MODE_List: in newrow()
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls_test.py32 def Shell(self, cmd): member in _DummyAdb
64 self.assertEquals(self.adb.Shell, self.call_target(self.call.adb.Shell))
85 with self.patch_call(self.call.adb.Shell, return_value='hello'):
86 self.assertEquals('hello', self.adb.Shell('echo hello'))
93 with self.patch_call(self.call.adb.Shell, side_effect=ValueError):
95 self.adb.Shell('echo hello')
123 with self.assertCall(self.call.adb.Shell('echo hello'), self.ShellError()):
125 self.adb.Shell('echo hello')
/external/rust/crates/tokio/src/runtime/
Dshell.rs15 pub(super) struct Shell { struct
27 impl Shell { argument
28 pub(super) fn new(driver: Driver) -> Shell { in new() argument
31 Shell { in new()
98 shell: &'a Shell,
/external/swiftshader/tests/regres/git/
Dgit.go61 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)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py350 self.call.adb.Shell('id'), 'uid=0(root)\n')):
360 self.call.adb.Shell('id'), 'uid=2000(shell)\n')):
546 (self.call.adb.Shell('dumpsys package com.android.chrome'),
557 (self.call.adb.Shell('dumpsys package com.android.chrome'), '')):
563 (self.call.adb.Shell('dumpsys package com.android.chrome'),
657 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
670 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
677 (self.call.adb.Shell('dumpsys wifi'),
686 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
702 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
[all …]
Ddevice_temp_file.py61 self._adb.Shell(
108 self._adb.Shell('rm -rf %s' % self.name, expect_status=None)
117 self._adb.Shell('mkdir -p %s' % self.name)
/external/python/cpython3/Doc/library/
Didle.rst42 IDLE has two main window types, the Shell window and the Editor window. It is
55 File menu (Shell and Editor)
105 Edit menu (Shell and Editor)
204 including lines within multiline strings. Except for Shell windows,
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.
242 Python Shell
243 Open or wake up the Python Shell window.
246 Shell menu (Shell window only)
[all …]
/external/llvm-project/clang/tools/clang-format-vs/ClangFormat/
DVsix.cs3 using Microsoft.VisualStudio.Shell;
4 using Microsoft.VisualStudio.Shell.Interop;
59 var serviceProvider = new Microsoft.VisualStudio.Shell.ServiceProvider(sp); in GetVsTextViewFrompPath()
DRunningDocTableEventsDispatcher.cs3 using Microsoft.VisualStudio.Shell;
4 using Microsoft.VisualStudio.Shell.Interop;
/external/rust/crates/structopt/examples/
Dgen_completions.rs9 use structopt::clap::Shell;
22 Opt::clap().gen_completions("structopt", Shell::Bash, "target"); in main()
/external/llvm-project/clang/include/clang/AST/
DExprOpenMP.h79 explicit OMPArraySectionExpr(EmptyShell Shell) in OMPArraySectionExpr() argument
80 : Expr(OMPArraySectionExprClass, Shell) {} in OMPArraySectionExpr()
162 explicit OMPArrayShapingExpr(EmptyShell Shell, unsigned NumDims) in OMPArrayShapingExpr() argument
163 : Expr(OMPArrayShapingExprClass, Shell), NumDims(NumDims) {} in OMPArrayShapingExpr()
326 explicit OMPIteratorExpr(EmptyShell Shell, unsigned NumIterators) in OMPIteratorExpr() argument
327 : Expr(OMPIteratorExprClass, Shell), NumIterators(NumIterators) {} in OMPIteratorExpr()
/external/python/cpython2/Doc/library/
Didle.rst38 IDLE has two main window types, the Shell window and the Editor window. It is
47 File menu (Shell and Editor)
97 Edit menu (Shell and Editor)
197 Python Shell
198 Open or wake up the Python Shell window.
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.
216 Shell menu (Shell window only)
220 Scroll the shell window to the last Shell restart.
222 Restart Shell
[all …]
/external/python/cpython2/Lib/idlelib/
Dhelp.txt71 Python Shell -- Open or wake up the Python shell window
76 Shell Menu (only in Shell window):
79 Restart Shell -- Restart the interpreter with a fresh environment
81 Debug Menu (only in Shell window):
101 (Not present in Shell window.)
132 Shell context menu (Right-click / Control-click on OS X in Shell window):
178 (in the Python Shell window by one tab). After certain keywords
181 inserts spaces (in the Python Shell window one tab), number depends on
211 Shell. Two Tabs in a row will supply the current ACW selection, as
233 Python Shell window:
[all …]
/external/ImageMagick/api_examples/
DREADME2 Every program in this directory is the equivelent of this Shell API
18 Shell API...
/external/clang/include/clang/AST/
DExprOpenMP.h76 explicit OMPArraySectionExpr(EmptyShell Shell) in OMPArraySectionExpr() argument
77 : Expr(OMPArraySectionExprClass, Shell) {} in OMPArraySectionExpr()
/external/llvm-project/lldb/source/Plugins/Platform/Android/
DPlatformAndroid.cpp283 adb.Shell("getprop ro.build.version.sdk", seconds(5), &version_string); in GetSdkVersion()
320 Status error = adb.Shell("mktemp --directory --tmpdir /data/local/tmp", in DownloadSymbolFile()
332 Status error = adb.Shell(command.GetData(), seconds(5), nullptr); in DownloadSymbolFile()
347 error = adb.Shell(command.GetData(), minutes(1), nullptr); in DownloadSymbolFile()
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCDatabaseMetaData.java523 sb.append(SQLite.Shell.sql_quote(tableNamePattern)); in getTables()
536 sb.append(SQLite.Shell.sql_quote(types[i].toLowerCase())); in getTables()
604 SQLite.Shell.sql_quote(tableNamePattern) + in getColumns()
741 SQLite.Shell.sql_quote(table) + ")")); in getBestRowIdentifier()
744 SQLite.Shell.sql_quote(table) + ")")); in getBestRowIdentifier()
789 SQLite.Shell.sql_quote(iname) + ")")); in getBestRowIdentifier()
871 SQLite.Shell.sql_quote(table) + ")")); in getPrimaryKeys()
908 SQLite.Shell.sql_quote(iname) + ")")); in getPrimaryKeys()
943 SQLite.Shell.sql_quote(table) + ")")); in getPrimaryKeys()
1034 SQLite.Shell.sql_quote(table) + ")")); in getImportedKeys()
[all …]
/external/openssh/contrib/suse/
Drc.config.sshd2 # Start the Secure Shell (SSH) Daemon?
/external/pigweed/docs/
Dmodule_guides.rst8 Shell, Batch and Python.

12345678910>>...13