Home
last modified time | relevance | path

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

1234567891011

/external/toolchain-utils/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')
/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/vulkan-validation-layers/demos/smoke/
DShell.h29 class Shell {
31 Shell(const Shell &sh) = delete;
32 Shell &operator=(const Shell &sh) = delete;
33 virtual ~Shell() {} in ~Shell()
81 Shell(Game &game);
122 Shell *shell = reinterpret_cast<Shell *>(user_data); in debug_report_callback()
DShell.cpp27 Shell::Shell(Game &game) in Shell() function in Shell
42 void Shell::log(LogPriority priority, const char *msg) in log()
48 void Shell::init_vk() in init_vk()
59 void Shell::cleanup_vk() in cleanup_vk()
67 bool Shell::debug_report_callback(VkDebugReportFlagsEXT flags, in debug_report_callback()
93 void Shell::assert_all_instance_layers() const in assert_all_instance_layers()
113 void Shell::assert_all_instance_extensions() const in assert_all_instance_extensions()
133 bool Shell::has_all_device_extensions(VkPhysicalDevice phy) const in has_all_device_extensions()
152 void Shell::init_instance() in init_instance()
174 void Shell::init_debug_report() in init_debug_report()
[all …]
DGame.h23 class Shell; variable
50 virtual void attach_shell(Shell &shell) { shell_ = &shell; } in attach_shell()
95 Shell *shell_;
/external/v8/src/
Dd8.cc386 friend class Shell;
401 CounterMap* Shell::counter_map_;
402 base::OS::MemoryMappedFile* Shell::counters_file_ = NULL;
403 CounterCollection Shell::local_counters_;
404 CounterCollection* Shell::counters_ = &local_counters_;
405 base::LazyMutex Shell::context_mutex_;
406 const base::TimeTicks Shell::kInitialTicks =
408 Global<Function> Shell::stringify_function_;
409 base::LazyMutex Shell::workers_mutex_;
410 bool Shell::allow_new_workers_ = true;
[all …]
Dd8-windows.cc11 void Shell::AddOSMethods(Isolate* isolate, Local<ObjectTemplate> os_templ) {} in AddOSMethods()
13 void Shell::Exit(int exit_code) { in Exit()
Dd8-posix.cc459 void Shell::System(const v8::FunctionCallbackInfo<v8::Value>& args) { in System()
546 void Shell::ChangeDirectory(const v8::FunctionCallbackInfo<v8::Value>& args) { in ChangeDirectory()
571 void Shell::SetUMask(const v8::FunctionCallbackInfo<v8::Value>& args) { in SetUMask()
647 void Shell::MakeDirectory(const v8::FunctionCallbackInfo<v8::Value>& args) { in MakeDirectory()
680 void Shell::RemoveDirectory(const v8::FunctionCallbackInfo<v8::Value>& args) { in RemoveDirectory()
700 void Shell::SetEnvironment(const v8::FunctionCallbackInfo<v8::Value>& args) { in SetEnvironment()
730 void Shell::UnsetEnvironment(const v8::FunctionCallbackInfo<v8::Value>& args) { in UnsetEnvironment()
751 void Shell::AddOSMethods(Isolate* isolate, Local<ObjectTemplate> os_templ) { in AddOSMethods()
775 void Shell::Exit(int exit_code) { in Exit()
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
Dgce_adb_wrapper.py28 self._instance_ip = self.Shell('getprop net.gce.ip').strip()
54 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(remote))
60 self.Shell('chmod 777 %s' %
65 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
67 self.Shell('chmod 777 %s' % cmd_helper.SingleQuote(remote))
143 output = self.Shell(' '.join(cmd))
144 self.Shell('rm /data/local/tmp/tmp.apk')
Dadb_wrapper_devicetest.py42 output = self._adb.Shell('echo test', expect_status=0)
44 output = self._adb.Shell('echo test')
47 self._adb.Shell('echo test', expect_status=1)
72 self.assertEqual(self._adb.Shell('cat %s' % device_path), 'foo')
98 while 'package:' not in self._adb.Shell('pm path android'):
105 self._adb.Shell('start')
/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/libmojo/third_party/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/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/libmojo/third_party/catapult/devil/devil/android/
Ddevice_utils_test.py285 with self.assertCall(self.call.adb.Shell('ls /root'), 'foo\n'):
289 with self.assertCall(self.call.adb.Shell('ls /root'), self.ShellError()):
378 (self.call.adb.Shell('dumpsys package com.android.chrome'),
389 (self.call.adb.Shell('dumpsys package com.android.chrome'), '')):
395 (self.call.adb.Shell('dumpsys package com.android.chrome'),
431 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
445 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
453 (self.call.adb.Shell('dumpsys wifi'),
470 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
484 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py289 self.assertCall(self.call.adb.Shell('ls /root'), 'foo\n')):
295 self.assertCall(self.call.adb.Shell('getprop service.adb.root'),
302 self.assertCall(self.call.adb.Shell('ls /root'),
309 self.assertCall(self.call.adb.Shell('getprop service.adb.root'),
409 (self.call.adb.Shell('dumpsys package com.android.chrome'),
420 (self.call.adb.Shell('dumpsys package com.android.chrome'), '')):
426 (self.call.adb.Shell('dumpsys package com.android.chrome'),
463 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
477 (self.call.adb.Shell('test -d /fake/storage/path'), ''),
485 (self.call.adb.Shell('dumpsys wifi'),
[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/lisa/src/shell/
Dlisa_shell19 # LISA Shell: the Linux Integrated System Analysis Shell
48 # Generic LISA Shell commands
51 # LISA Shell On-Line HELP
56 echo " .:: LISA Shell - HELP On-Line ::. "
349 # LISA Shell MAIN
352 # Setup Shell variables
355 # Dump out a nice LISA Shell logo
367 echo " .:: LISA Shell ::. "
/external/ImageMagick/api_examples/
DREADME2 Every program in this directory is the equivelent of this Shell API
18 Shell API...

1234567891011