Home
last modified time | relevance | path

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

12345678910>>...70

/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.py72 shell = MockShell()
73 f = run.PseudoInputFile(shell, 'stdin', 'utf-8')
86 shell = MockShell()
87 f = run.PseudoInputFile(shell, 'stdin', 'utf-8')
95 shell = MockShell()
96 f = run.PseudoInputFile(shell, 'stdin', 'utf-8')
97 shell.push(['one\n', 'two\n', ''])
99 shell.push(['one\n', 'two\n', ''])
101 shell.push(['one\n', 'two\n', ''])
103 shell.push(['one\n', 'two\n', 'three\n', ''])
[all …]
Dtest_warning.py9 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/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.py91 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
102 shell=shell, close_fds=close_fds, env=env, preexec_fn=preexec_fn)
105 def Call(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): argument
106 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
128 def GetCmdOutput(args, cwd=None, shell=False, env=None): argument
144 (_, output) = GetCmdStatusAndOutput(args, cwd, shell, env)
148 def _ValidateAndLogCommand(args, cwd, shell): argument
150 if not shell:
153 if shell:
164 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/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/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/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/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/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/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/autotest/client/site_tests/graphics_GpuReset/src/
DMakefile13 CCFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm)
14 CCFLAGS += $(shell $(PKG_CONFIG) --cflags glib-2.0)
15 CCFLAGS += $(shell $(PKG_CONFIG) --cflags libudev)
16 LDFLAGS += $(shell $(PKG_CONFIG) --libs-only-L libudev)
18 LDLIBS += $(shell $(PKG_CONFIG) --libs-only-l libudev)
19 INTEL_GPU := $(shell $(PKG_CONFIG) --exists libdrm_intel && echo "1" || echo "0")
22 LDLIBS += $(shell $(PKG_CONFIG) --libs-only-l libdrm_intel)
/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/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 &
Dandroid_gdbserver52 ANDROID_LS=`$ADB $DEVICE_SERIAL shell ls -ld ${SYSTEM_LIBRARY_PATH}/${library_file}`
77 $ADB shell ps | grep gdbserver | awk '{print $2}' | xargs $ADB shell kill 2> /dev/null
78 $ADB shell ps | grep ${APP_NAME} | awk '{print $2}' | xargs $ADB shell kill 2> /dev/null
83 $ADB shell /data/local/tmp/gdbserver :5039 /data/local/tmp/${APP_ARGS[@]} &
/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/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,
303 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
312 self.assertRaises(OSError, Popen, [cmd], shell=False)
313 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
322 plist = Popen(cmd, shell=False).CommunicateFilter(oper.Output)
331 plist = Popen(cmd, shell=True).CommunicateFilter(oper.Output)
337 for shell in (False, True):
339 plist = Popen('pwd', shell=shell, cwd='/tmp').CommunicateFilter(oper.Output)
351 plist = Popen(cmd, shell=True, env=env).CommunicateFilter(oper.Output)
[all …]
/external/icu/icu4c/source/config/
Ddist.mk28 SVNVER=$(shell svnversion $(SVNTOP) | cut -d: -f1 | tr -cd 'a-zA-Z0-9')
29 SVNURL=$(shell svn info $(SVNTOP) | grep '^URL:' | cut -d: -f2-)
30 DISTY_VER=$(shell echo $(VERSION) | tr '.' '_' )
32 DISTY_FILE_DIR=$(shell pwd)/$(DISTY_DIR)
42 EXCLUDES_FILE:=$(shell mktemp)
52 ln -sf $(shell basename $(DISTY_DOC_ZIP)) $(DISTY_FILE_DIR)/icu4c-docs.zip
82 ln -sf $(shell basename $(DISTY_FILE_ZIP)) $(DISTY_FILE_DIR)/icu4c-src.zip
83 ln -sf $(shell basename $(DISTY_FILE_TGZ)) $(DISTY_FILE_DIR)/icu4c-src.tgz
84 ln -sf $(shell basename $(DISTY_DATA_ZIP)) $(DISTY_FILE_DIR)/icu4c-data.zip
/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/python/cpython2/Doc/library/
Dsubprocess.rst45 .. function:: call(args, *, stdin=None, stdout=None, stderr=None, shell=False)
61 >>> subprocess.call("exit 1", shell=True)
66 Using ``shell=True`` can be a security hazard. See the warning
77 .. function:: check_call(args, *, stdin=None, stdout=None, stderr=None, shell=False)
95 >>> subprocess.check_call("exit 1", shell=True)
104 Using ``shell=True`` can be a security hazard. See the warning
115 .. function:: check_output(args, *, stdin=None, stderr=None, shell=False, universal_newlines=False)
136 >>> subprocess.check_output("exit 1", shell=True)
147 ... shell=True)
154 Using ``shell=True`` can be a security hazard. See the warning
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Shell/
DPVRShell.cpp1033 void PVRShellCommandLine::Apply(PVRShell &shell) in Apply() argument
1050 shell.PVRShellSet(prefWidth, atoi(val)); in Apply()
1054 shell.PVRShellSet(prefHeight, atoi(val)); in Apply()
1058 shell.PVRShellSet(prefAASamples, atoi(val)); in Apply()
1062 shell.PVRShellSet(prefFullScreen, (atoi(val) != 0)); in Apply()
1066 shell.PVRShellSet(prefSoftwareRendering, (atoi(val) != 0)); in Apply()
1070 shell.PVRShellSet(prefQuitAfterFrame, atoi(val)); in Apply()
1074 shell.PVRShellSet(prefQuitAfterTime, (float)atof(val)); in Apply()
1078 shell.PVRShellSet(prefPositionX, atoi(val)); in Apply()
1082 shell.PVRShellSet(prefPositionY, atoi(val)); in Apply()
[all …]
/external/shflags/test_results/1.0.2/
DLinux-Ubuntu-8.04.txt19 shell name: sh
20 shell version: unknown
80 shell name: bash
81 shell version: 3.2.39(1)-release
141 shell name: dash
142 shell version: 0.5.4-8ubuntu1
202 shell name: ksh
203 shell version: M-1993-12-28
263 shell name: pdksh
264 shell version: v5.2.14-99/07/13.2
[all …]

12345678910>>...70