Home
last modified time | relevance | path

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

12345678910>>...12

/external/toolchain-utils/deprecated/automation/common/
Dcommand.py10 class Shell(object): class
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))
132 return [str, Shell, Chain, Pipe]
151 return [str, 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 …]
Dgce_adb_wrapper.py30 self._instance_ip = self.Shell('getprop net.gce.ip').strip()
56 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(remote))
62 self.Shell('chmod 777 %s' %
67 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
69 self.Shell('chmod 777 %s' % cmd_helper.SingleQuote(remote))
145 output = self.Shell(' '.join(cmd))
146 self.Shell('rm /data/local/tmp/tmp.apk')
Dadb_wrapper_devicetest.py44 bad_adb.Shell('echo test')
47 output = self._adb.Shell('echo test', expect_status=0)
49 output = self._adb.Shell('echo test')
52 self._adb.Shell('echo test', expect_status=1)
75 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo')
103 android_path = self._adb.Shell('pm path android')
114 self._adb.Shell('start')
Dadb_wrapper_test.py66 device_errors.DeviceUnreachableError, self.adb.Shell, '/bin/true')
72 device_errors.DeviceUnreachableError, self.adb.Shell, '/bin/true')
/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/v8/src/d8/
Dd8.cc454 CounterMap* Shell::counter_map_;
455 base::OS::MemoryMappedFile* Shell::counters_file_ = nullptr;
456 CounterCollection Shell::local_counters_;
457 CounterCollection* Shell::counters_ = &local_counters_;
458 base::LazyMutex Shell::context_mutex_;
459 const base::TimeTicks Shell::kInitialTicks =
461 Global<Function> Shell::stringify_function_;
462 base::LazyMutex Shell::workers_mutex_;
463 bool Shell::allow_new_workers_ = true;
464 std::unordered_set<std::shared_ptr<Worker>> Shell::running_workers_;
[all …]
Dd8-posix.cc413 void Shell::System(const v8::FunctionCallbackInfo<v8::Value>& args) { in System()
493 void Shell::ChangeDirectory(const v8::FunctionCallbackInfo<v8::Value>& args) { in ChangeDirectory()
514 void Shell::SetUMask(const v8::FunctionCallbackInfo<v8::Value>& args) { in SetUMask()
578 void Shell::MakeDirectory(const v8::FunctionCallbackInfo<v8::Value>& args) { in MakeDirectory()
605 void Shell::RemoveDirectory(const v8::FunctionCallbackInfo<v8::Value>& args) { in RemoveDirectory()
621 void Shell::SetEnvironment(const v8::FunctionCallbackInfo<v8::Value>& args) { in SetEnvironment()
644 void Shell::UnsetEnvironment(const v8::FunctionCallbackInfo<v8::Value>& args) { in UnsetEnvironment()
660 char* Shell::ReadCharsFromTcpPort(const char* name, int* size_out) { in ReadCharsFromTcpPort()
661 DCHECK_GE(Shell::options.read_from_tcp_port, 0); in ReadCharsFromTcpPort()
675 serv_addr.sin_port = htons(Shell::options.read_from_tcp_port); in ReadCharsFromTcpPort()
[all …]
Dd8-windows.cc9 void Shell::AddOSMethods(Isolate* isolate, Local<ObjectTemplate> os_templ) {} in AddOSMethods()
11 char* Shell::ReadCharsFromTcpPort(const char* name, int* size_out) { in ReadCharsFromTcpPort()
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls_test.py34 def Shell(self, cmd): member in _DummyAdb
66 self.assertEquals(self.adb.Shell,
67 self.call_target(self.call.adb.Shell))
88 with self.patch_call(self.call.adb.Shell, return_value='hello'):
89 self.assertEquals('hello', self.adb.Shell('echo hello'))
96 with self.patch_call(self.call.adb.Shell, side_effect=ValueError):
98 self.adb.Shell('echo hello')
129 self.call.adb.Shell('echo hello'), self.ShellError()):
131 self.adb.Shell('echo hello')
/external/toolchain-utils/deprecated/automation/clients/helper/
Dperforce.py171 cmd.Shell('g4', 'client'),
172 cmd.Shell('g4', 'client', '--replace', *mappings)),
176 return cmd.Pipe(cmd.Shell('g4', 'client', '-o'), output=filename)
182 return cmd.Shell('g4', 'sync', sync_arg)
186 cmd.Shell('g4', 'changes', '-m1', '...#have'),
187 cmd.Shell('sed', '-E', '"s,Change ([0-9]+) .*,\\1,"'),
191 return cmd.Shell('g4', 'client', '-d', self.view.client)
211 cmd.Shell('mkdir', '-p', local_dir), cmd.Shell(
Dcrosstool.py102 cmd.Shell('buildit',
117 cmd.Shell('ls', '-1', '-r'), cmd.Shell('sed', '-e', '1,10d'),
118 cmd.Shell('xargs', 'rm', '-r', '-f')),
140 cmd.Shell('make',
160 cmd.Shell('dejagnu.sh',
Dchromeos.py21 return cmd.Shell('summarize_results.py', logs_path, path=self._scripts_path)
27 return cmd.Shell(buildbot, '--buildroot=%s' % self._chromeos_root,
35 return cmd.Shell('cros_run_benchmarks.py',
44 setup_chromeos = cmd.Shell('setup_chromeos.py',
81 cmd.Shell('echo', quoted_config_header),
82 cmd.Shell('tee', '--append', config_file))
Dandroid.py159 cmd.Shell('svn', 'info'),
160 cmd.Shell('grep', '"Revision:"'),
161 cmd.Shell('sed', '-E', '"s,Revision: ([0-9]+).*,\\1,"'),
204 build_cmd = cmd.Shell('make', '-j8', 'PRODUCT-%s-userdebug' % product,
228 compress_img = cmd.Shell('bzip2', os.path.join('results', 'system.img'))
276 return cmd.Shell(
307 return cmd.Shell(
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py321 self.assertCall(self.call.adb.Shell('ls /root'), 'foo\n')):
329 self.assertCall(self.call.adb.Shell('getprop service.adb.root'),
338 self.assertCall(self.call.adb.Shell('getprop service.adb.root'),
352 self.assertCall(self.call.adb.Shell('ls /root'),
361 self.assertCall(self.call.adb.Shell('getprop service.adb.root'),
370 self.assertCall(self.call.adb.Shell('getprop service.adb.root'),
488 (self.call.adb.Shell('dumpsys package com.android.chrome'),
499 (self.call.adb.Shell('dumpsys package com.android.chrome'), '')):
505 (self.call.adb.Shell('dumpsys package com.android.chrome'),
563 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
[all …]
Ddevice_temp_file.py61 self._adb.Shell('rm -f %s' % self.name_quoted, expect_status=None)
106 self._adb.Shell('rm -rf %s' % self.name, expect_status=None)
115 self._adb.Shell('mkdir -p %s' % self.name)
/external/swiftshader/tests/regres/git/
Dgit.go61 if err := shell.Shell(gitTimeout, exe, project, "add", file); err != nil {
83 return shell.Shell(gitTimeout, exe, project, args...)
111 return shell.Shell(gitTimeout, exe, project, args...)
128 if err := shell.Shell(gitTimeout, exe, path, cmds...); err != nil {
149 if err := shell.Shell(gitTimeout, exe, path, cmds...); err != nil {
160 return shell.Shell(gitTimeout, exe, path, "checkout", commit.String())
165 return shell.Shell(gitTimeout, exe, dir, "apply", patch)
/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)
202 including lines within multiline strings. Except for Shell windows,
215 environment, then execute the module. Output is displayed in the Shell
217 When execution is complete, the Shell retains focus and displays a prompt.
227 on a command line. The module can be run in the Shell without restarting.
240 Python Shell
241 Open or wake up the Python Shell window.
244 Shell menu (Shell window only)
[all …]
/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/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/swiftshader/tests/regres/shell/
Dshell.go33 func Shell(timeout time.Duration, exe, wd string, args ...string) error { func

12345678910>>...12