Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 1870) sorted by relevance

12345678910>>...75

/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 …]
Dtest_warning.py20 from idlelib import PyShell as shell unknown
54 shell.capture_warnings(True)
55 self.assertIs(warnings.showwarning, shell.idle_showwarning)
56 shell.capture_warnings(False)
61 s = shell.idle_formatwarning(
67 shell.idle_showwarning(
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_run.py74 shell = MockShell()
75 f = run.StdInputFile(shell, 'stdin')
88 shell = MockShell()
89 f = run.StdInputFile(shell, 'stdin')
97 shell = MockShell()
98 f = run.StdInputFile(shell, 'stdin')
99 shell.push(['one\n', 'two\n', ''])
101 shell.push(['one\n', 'two\n', ''])
103 shell.push(['one\n', 'two\n', ''])
105 shell.push(['one\n', 'two\n', 'three\n', ''])
[all …]
/external/u-boot/test/py/tests/test_fs/
Dconftest.py165 check_call('rm -f %s' % fs_img, shell=True)
167 % (fs_img, count), shell=True)
169 % (fs_lnxtype, mkfs_opt, fs_img), shell=True)
172 call('rm -f %s' % fs_img, shell=True)
211 % (device, mount_point), shell=True)
218 % (mount_opt, device, mount_point), shell=True)
221 check_call('sudo chmod a+rw %s' % mount_point, shell=True)
236 call('guestunmount %s' % mount_point, shell=True)
238 call('sudo umount %s' % mount_point, shell=True)
274 check_call('mkdir -p %s' % mount_dir, shell=True)
[all …]
/external/cpuinfo/scripts/
Dandroid-armv7-mock.sh80 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 …]
Dandroid-arm64-mock.sh44 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 …]
Dandroid-x86-mock.sh12 adb shell "/data/local/tmp/alldocube-iwork8-test --gtest_color=yes"
13 adb shell "/data/local/tmp/memo-pad-7-test --gtest_color=yes"
14 adb shell "/data/local/tmp/leagoo-t5c-test --gtest_color=yes"
15 adb shell "/data/local/tmp/zenfone-2-test --gtest_color=yes"
16 adb shell "/data/local/tmp/zenfone-2e-test --gtest_color=yes"
17 adb shell "/data/local/tmp/zenfone-c-test --gtest_color=yes"
/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/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py97 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
108 shell=shell, close_fds=close_fds, env=env, preexec_fn=preexec_fn)
111 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
112 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
134 def GetCmdOutput(args, cwd=None, shell=False, env=None): argument
150 (_, output) = GetCmdStatusAndOutput(args, cwd, shell, env)
154 def _ValidateAndLogCommand(args, cwd, shell): argument
156 if not shell:
159 if shell:
170 def GetCmdStatusAndOutput(args, cwd=None, shell=False, env=None): argument
[all …]
/external/adeb/
Dandrodeb46 shell) ASHELL=1; shift || true; ;;
144 $ADB shell /data/androdeb/device-umount-all || true;
145 $ADB shell rm -rf /data/androdeb; exit 0; fi
151 set +e; $ADB shell ls /data/androdeb/debian/.bashrc > /dev/null 2>&1
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/
182 $ADB shell mkdir /data/androdeb/debian/kernel-headers/
184 $ADB shell tar -xvf /data/androdeb/kh.tgz -C /data/androdeb/debian/kernel-headers/ > /dev/null
185 $ADB shell rm /data/androdeb/kh.tgz
[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()
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/skia/tools/android/
Dupload_to_android.py94 % (repo_binary, ANDROID_REPO_URL), shell=True)
98 repo_binary, SKIA_PATH_IN_ANDROID), shell=True)
103 'git config remote.goog.review %s/' % ANDROID_REPO_URL, shell=True)
105 'git config review.%s/.autoupload true' % ANDROID_REPO_URL, shell=True)
107 'git config user.email %s@google.com' % getpass.getuser(), shell=True)
133 shell=True)
134 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True)
142 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True)
156 shell=True)
192 subprocess.check_call('git add %s' % config_file, shell=True)
[all …]
/external/skqp/tools/android/
Dupload_to_android.py94 % (repo_binary, ANDROID_REPO_URL), shell=True)
98 repo_binary, SKIA_PATH_IN_ANDROID), shell=True)
103 'git config remote.goog.review %s/' % ANDROID_REPO_URL, shell=True)
105 'git config review.%s/.autoupload true' % ANDROID_REPO_URL, shell=True)
107 'git config user.email %s@google.com' % getpass.getuser(), shell=True)
133 shell=True)
134 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True)
142 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True)
156 shell=True)
192 subprocess.check_call('git add %s' % config_file, shell=True)
[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/tensorflow/tensorflow/lite/delegates/gpu/cl/
Drun_tests.sh58 ADB shell rm -rf $OPENCL_DIR
61 ADB shell mkdir -p $OPENCL_DIR
65 abi_version=$(ADB shell getprop ro.product.cpu.abi | tr -d '\r')
83 ADB shell chmod +x $OPENCL_DIR/$executable
84 ADB shell ./$OPENCL_DIR/$executable
85 ADB shell rm -f $OPENCL_DIR/$executable
94 ADB shell chmod +x $OPENCL_DIR/$executable
95 …ADB shell ./$OPENCL_DIR/$executable --logtostderr 2> /dev/null | grep '\][[:space:]][a-zA-Z][a-zA-…
96 ADB shell rm -f $OPENCL_DIR/$executable
/external/minigbm/
DMakefile8 PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags $(PC_DEPS))
9 PC_LIBS := $(shell $(PKG_CONFIG) --libs $(PC_DEPS))
16 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_amdgpu)
20 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_exynos)
23 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_intel)
26 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_meson)
29 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
32 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_rockchip)
35 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_vc4)
/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/curl/scripts/
Dcompletion.pl9 my $shell = 'zsh';
13 'shell=s' => \$shell,
21 if ($shell eq 'fish') {
24 } elsif ($shell eq 'zsh') {
49 die("Unsupported shell: $shell");
70 if ($shell eq 'fish') {
78 } elsif ($shell eq 'zsh') {
101 } @list if $shell eq 'zsh';
/external/skia/platform_tools/android/bin/
Dandroid_gdb_app21 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs -r $ADB $DEVICE_SERIAL sh…
23 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB $DEVICE_SERIAL shell
38 $ADB $DEVICE_SERIAL shell "am start -n ${activity} --es cmdLineFlags \"${APP_ARGS[*]:1}\""
44 PID=$($ADB shell ps | grep ${activityShort} | awk '{print $2}')
46 $ADB $DEVICE_SERIAL shell /data/local/tmp/gdbserver :$PORT --attach $PID &
/external/skqp/platform_tools/android/bin/
Dandroid_gdb_app21 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs -r $ADB $DEVICE_SERIAL sh…
23 …$ADB $DEVICE_SERIAL shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB $DEVICE_SERIAL shell
38 $ADB $DEVICE_SERIAL shell "am start -n ${activity} --es cmdLineFlags \"${APP_ARGS[*]:1}\""
44 PID=$($ADB shell ps | grep ${activityShort} | awk '{print $2}')
46 $ADB $DEVICE_SERIAL shell /data/local/tmp/gdbserver :$PORT --attach $PID &
/external/swiftshader/third_party/PowerVR_SDK/Shell/OS/LinuxX11/
DPVRShellOS.cpp516 int PVRShellInitOS::OpenX11Window(const PVRShell &shell) in OpenX11Window() argument
537 shell.PVRShellOutputDebug( "Unable to acquire visual" ); in OpenX11Window()
545 if(shell.m_pShellData->bFullScreen) in OpenX11Window()
555 …if ((modes[i]->hdisplay == shell.m_pShellData->nShellDimX) && (modes[i]->vdisplay == shell.m_pShel… in OpenX11Window()
565shell.PVRShellOutputDebug( "Chosen resolution for full screen mode does not match any modeline ava… in OpenX11Window()
611 …if((shell.m_pShellData->bFullScreen)&&((shell.m_pShellData->nShellDimX != display_width)||(shell.m… in OpenX11Window()
612shell.PVRShellOutputDebug( "Chosen resolution for full screen mode does not match available modeli… in OpenX11Window()
630 shell.m_pShellData->nShellPosX, // X position of window in OpenX11Window()
631 shell.m_pShellData->nShellPosY, // Y position of window in OpenX11Window()
632 shell.m_pShellData->nShellDimX, // Window width in OpenX11Window()
[all …]
/external/shflags/src/
Dshflags_test.sh88 for shell in ${shells}; do
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}"`
114 ( exec ${shell} ./${suite} 2>&1; )
/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)
170 out, err := shell.Exec(gitTimeout, exe, "", nil, "ls-remote", url, ref)
195 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", at, "--pretty=format:"+prettyFormat, fmt.S…
204 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", "--pretty=format:"+prettyFormat, fmt.Sprin…
[all …]
/external/u-boot/tools/patman/
Dcros_subprocess.py57 shell=False, cwd=None, env=None, **kwargs): argument
84 stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, env=env,
310 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
319 self.assertRaises(OSError, Popen, [cmd], shell=False)
320 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
329 plist = Popen(cmd, shell=False).CommunicateFilter(oper.Output)
338 plist = Popen(cmd, shell=True).CommunicateFilter(oper.Output)
344 for shell in (False, True):
346 plist = Popen('pwd', shell=shell, cwd='/tmp').CommunicateFilter(oper.Output)
358 plist = Popen(cmd, shell=True, env=env).CommunicateFilter(oper.Output)
[all …]
/external/toybox/
Drun-tests-on-android.sh8 adb shell rm -rf /data/local/tmp/toybox-tests/
9 adb shell mkdir /data/local/tmp/toybox-tests/
14 tmp_dir=`adb shell mktemp --directory /data/local/tmp/toybox-tests-tmp.XXXXXXXXXX`
34 location=$(adb shell "which $toy")
42 implementation=$(adb shell "realpath $location")
49 adb shell $dash_t "\

12345678910>>...75