Home
last modified time | relevance | path

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

12345678910>>...93

/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.py75 shell = MockShell()
76 f = run.StdInputFile(shell, 'stdin')
89 shell = MockShell()
90 f = run.StdInputFile(shell, 'stdin')
98 shell = MockShell()
99 f = run.StdInputFile(shell, 'stdin')
100 shell.push(['one\n', 'two\n', ''])
102 shell.push(['one\n', 'two\n', ''])
104 shell.push(['one\n', 'two\n', ''])
106 shell.push(['one\n', 'two\n', 'three\n', ''])
[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.py110 shell=None, argument
129 shell=shell,
147 shell=shell,
156 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
158 args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, env=env)
179 def GetCmdOutput(args, cwd=None, shell=False, env=None): argument
195 (_, output) = GetCmdStatusAndOutput(args, cwd, shell, env)
199 def _ValidateAndLogCommand(args, cwd, shell): argument
201 if not shell:
204 if shell:
[all …]
/external/webrtc/tools_webrtc/android/profiling/
Dutilities.sh79 adb shell ps | grep "${app_name}" | awk '{print $2}'
84 local installed_app_name=$(adb shell pm list packages \
98 adb shell am start \
105 adb shell am force-stop "${app_name}"
114 adb shell uname -m
119 adb shell ls "${dir}"
129 [[ $(adb shell getprop ro.build.type) = "userdebug" ]]
134 [[ $(adb shell getprop ro.build.type) = "user" ]]
140 [[ $(adb shell getprop service.adb.root) = 0 ]]
145 adb shell setprop security.perf_harden 0
[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/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/skia/tools/android/
Dupload_to_android.py96 % (repo_binary, ANDROID_REPO_URL), shell=True)
100 repo_binary, SKIA_PATH_IN_ANDROID), shell=True)
105 'git config remote.goog.review %s/' % ANDROID_REPO_URL, shell=True)
107 'git config review.%s/.autoupload true' % ANDROID_REPO_URL, shell=True)
109 'git config user.email %s@google.com' % getpass.getuser(), shell=True)
135 shell=True)
136 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True)
144 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True)
158 shell=True)
194 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/skia/platform_tools/android/apps/skottie/
Drun_perf.sh23 adb shell input keyevent MENU
24 adb shell input keyevent MENU
25 adb shell setprop persist.traced.enable 1
26 adb shell setenforce 0
27 adb shell setprop debug.egl.traceGpuCompletion 1
28 adb shell am force-stop org.skia.skottie
40 adb shell am start -n org.skia.skottie/.PerfActivity --ei renderer ${renderer} --ei file ${file}
50 adb shell am start -n org.skia.skottie/.PerfActivity --ei renderer ${renderer} --ei file ${file}
54 adb shell am force-stop org.skia.skottie
/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')
89 ADB shell chmod +x $OPENCL_DIR/$executable
90 ADB shell ./$OPENCL_DIR/$executable
91 ADB shell rm -f $OPENCL_DIR/$executable
100 ADB shell chmod +x $OPENCL_DIR/$executable
101 …ADB shell ./$OPENCL_DIR/$executable --logtostderr 2> /dev/null | grep '\][[:space:]][a-zA-Z][a-zA-…
102 ADB shell rm -f $OPENCL_DIR/$executable
/external/libwebsockets/test-apps/android/app/src/main/jni/
DNativeLibs.mk187 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-gcc \
188 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-ar \
189 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_X86)/bin/$(TOOLCHAIN_X86_PREFIX)-ranlib \
202 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-gcc \
203 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-ar \
204 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_X86_64)/bin/$(TOOLCHAIN_X86_64_PREFIX)-ranlib \
217 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-gcc \
218 -DCMAKE_AR=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-ar \
219 -DCMAKE_RANLIB=$(shell pwd)/$(TOOLCHAIN_ARM)/bin/$(TOOLCHAIN_ARM_PREFIX)-ranlib \
232 -DCMAKE_C_COMPILER=$(shell pwd)/$(TOOLCHAIN_ARM_V7A)/bin/$(TOOLCHAIN_ARM_V7A_PREFIX)-gcc \
[all …]
/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)
32 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
35 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_rockchip)
38 CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_vc4)
/external/toybox/
Drun-tests-on-android.sh8 if [[ $(adb shell getprop ro.debuggable) == 1 ]]; then
9 adb shell su root rm -rf /data/local/tmp/toybox-tests/
11 adb shell rm -rf /data/local/tmp/toybox-tests/
12 adb shell mkdir /data/local/tmp/toybox-tests/
17 tmp_dir=`adb shell mktemp --directory /data/local/tmp/toybox-tests-tmp.XXXXXXXXXX`
37 location=$(adb shell "which $toy")
45 implementation=$(adb shell "realpath $location")
52 adb shell $dash_t "\
/external/curl/scripts/
Dcompletion.pl30 my $shell = 'zsh';
34 'shell=s' => \$shell,
42 if ($shell eq 'fish') {
45 } elsif ($shell eq 'zsh') {
70 die("Unsupported shell: $shell");
91 if ($shell eq 'fish') {
99 } elsif ($shell eq 'zsh') {
122 } @list if $shell eq 'zsh';
/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/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/flac/build/
Dconfig.mk39 OS := $(shell uname -s)
46 ifeq ($(findstring x86_64,$(shell gcc -dumpmachine)),x86_64) # MinGW-w64: x86_64-w64-mingw32
50 ifeq ($(shell uname -p),amd64)
53 PROC := $(shell uname -p)
63 PROC := $(shell uname -m)
68 PROC := $(shell uname -m)
76 ifeq (mingw32,$(shell gcc -dumpmachine)) # MinGW (mainline): mingw32
/external/skia/tools/skpbench/
D_hardware_android.py26 self._adb.shell('\n'.join([
42 self._adb.shell('\n'.join([
80 self._adb.shell('''\
123 …self._adb.shell('\n'.join([('echo 0 > /sys/devices/system/cpu/cpu%i/online' % i) for i in disable_…
130 self._adb.shell('''echo 1 > /sys/devices/system/cpu/cpu{id}/online
144 self._adb.shell('''
153 self._adb.shell('''
159 self._adb.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)
168 out, err := shell.Exec(gitTimeout, exe, "", nil, "ls-remote", url, ref)
193 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", at, "--pretty=format:"+prettyFormat, fmt.S…
202 …out, err := shell.Exec(gitTimeout, exe, "", nil, "log", "--pretty=format:"+prettyFormat, fmt.Sprin…
[all …]
/external/wayland-protocols/freedesktop.org/
DMakefile.am5 unstable/fullscreen-shell/fullscreen-shell-unstable-v1.xml \
10 unstable/xdg-shell/xdg-shell-unstable-v5.xml \
11 unstable/xdg-shell/xdg-shell-unstable-v6.xml \
31 stable/xdg-shell/xdg-shell.xml \

12345678910>>...93