Home
last modified time | relevance | path

Searched full:shell (Results 1 – 25 of 5095) sorted by relevance

12345678910>>...204

/external/rust/crates/clap_complete/src/shells/
Dshell.rs11 /// Shell with auto-generated completion script available.
14 pub enum Shell { enum
15 /// Bourne Again SHell (bash)
17 /// Elvish shell
19 /// Friendly Interactive SHell (fish)
23 /// Z SHell (zsh)
27 impl Display for Shell { implementation
36 impl FromStr for Shell { implementation
50 impl ValueEnum for Shell { implementation
53 Shell::Bash, in value_variants()
[all …]
/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/google-cloud-java/java-shell/
DCHANGELOG.md3 ….com/googleapis/google-cloud-java/compare/google-cloud-shell-v2.3.1-SNAPSHOT...google-cloud-shell-…
23 …ithub.com/googleapis/google-cloud-java/compare/google-cloud-shell-v2.2.8...google-cloud-shell-v2.3…
43 ## [2.2.8](https://github.com/googleapis/java-shell/compare/v2.2.7...v2.2.8) (2022-10-05)
48 …#269](https://github.com/googleapis/java-shell/issues/269)) ([ae92683](https://github.com/googleap…
49 …#258](https://github.com/googleapis/java-shell/issues/258)) ([dd25cbc](https://github.com/googleap…
50 …#259](https://github.com/googleapis/java-shell/issues/259)) ([7769f1e](https://github.com/googleap…
51 …#260](https://github.com/googleapis/java-shell/issues/260)) ([3b66c4e](https://github.com/googleap…
52 …#261](https://github.com/googleapis/java-shell/issues/261)) ([9d842ca](https://github.com/googleap…
53 …#266](https://github.com/googleapis/java-shell/issues/266)) ([d6c21e4](https://github.com/googleap…
54 …#262](https://github.com/googleapis/java-shell/issues/262)) ([e5194df](https://github.com/googleap…
[all …]
/external/google-cloud-java/java-shell/proto-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/
DStartEnvironmentResponse.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [StartEnvironment][google.cloud.shell.v1.CloudShellService.StartEnvironment]
30 * Protobuf type {@code google.cloud.shell.v1.StartEnvironmentResponse}
34 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.StartEnvironmentResponse)
56 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
63 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.StartEnvironmentResponse.class, in internalGetFieldAccessorTable()
67 com.google.cloud.shell.v1.StartEnvironmentResponse.Builder.class); in internalGetFieldAccessorTable()
71 private com.google.cloud.shell.v1.Environment environment_;
[all …]
DCloudShellErrorDetails.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
25 * Cloud-shell specific information that will be included as details in failure
29 * Protobuf type {@code google.cloud.shell.v1.CloudShellErrorDetails}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.CloudShellErrorDetails)
57 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
64 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
67 com.google.cloud.shell.v1.CloudShellErrorDetails.class, in internalGetFieldAccessorTable()
68 com.google.cloud.shell.v1.CloudShellErrorDetails.Builder.class); in internalGetFieldAccessorTable()
78 * Protobuf enum {@code google.cloud.shell.v1.CloudShellErrorDetails.CloudShellErrorCode}
[all …]
DAuthorizeEnvironmentResponse.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [AuthorizeEnvironment][google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment].
29 * Protobuf type {@code google.cloud.shell.v1.AuthorizeEnvironmentResponse}
33 … // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.AuthorizeEnvironmentResponse)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.AuthorizeEnvironmentResponse.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.AuthorizeEnvironmentResponse.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.AuthorizeEnvironmentResponse)) { in equals()
[all …]
DAddPublicKeyMetadata.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].
29 * Protobuf type {@code google.cloud.shell.v1.AddPublicKeyMetadata}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.AddPublicKeyMetadata)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.AddPublicKeyMetadata.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.AddPublicKeyMetadata.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.AddPublicKeyMetadata)) { in equals()
[all …]
DCreateEnvironmentMetadata.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [CreateEnvironment][google.cloud.shell.v1.CloudShellService.CreateEnvironment].
29 * Protobuf type {@code google.cloud.shell.v1.CreateEnvironmentMetadata}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.CreateEnvironmentMetadata)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.CreateEnvironmentMetadata.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.CreateEnvironmentMetadata.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.CreateEnvironmentMetadata)) { in equals()
[all …]
DRemovePublicKeyMetadata.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [RemovePublicKey][google.cloud.shell.v1.CloudShellService.RemovePublicKey].
29 * Protobuf type {@code google.cloud.shell.v1.RemovePublicKeyMetadata}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.RemovePublicKeyMetadata)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.RemovePublicKeyMetadata.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.RemovePublicKeyMetadata.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.RemovePublicKeyMetadata)) { in equals()
[all …]
DRemovePublicKeyResponse.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [RemovePublicKey][google.cloud.shell.v1.CloudShellService.RemovePublicKey].
29 * Protobuf type {@code google.cloud.shell.v1.RemovePublicKeyResponse}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.RemovePublicKeyResponse)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.RemovePublicKeyResponse.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.RemovePublicKeyResponse.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.RemovePublicKeyResponse)) { in equals()
[all …]
DAuthorizeEnvironmentMetadata.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [AuthorizeEnvironment][google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment].
29 * Protobuf type {@code google.cloud.shell.v1.AuthorizeEnvironmentMetadata}
33 … // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.AuthorizeEnvironmentMetadata)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.AuthorizeEnvironmentMetadata.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.AuthorizeEnvironmentMetadata.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.AuthorizeEnvironmentMetadata)) { in equals()
[all …]
DDeleteEnvironmentMetadata.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [DeleteEnvironment][google.cloud.shell.v1.CloudShellService.DeleteEnvironment].
29 * Protobuf type {@code google.cloud.shell.v1.DeleteEnvironmentMetadata}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.DeleteEnvironmentMetadata)
55 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
62 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
65 com.google.cloud.shell.v1.DeleteEnvironmentMetadata.class, in internalGetFieldAccessorTable()
66 com.google.cloud.shell.v1.DeleteEnvironmentMetadata.Builder.class); in internalGetFieldAccessorTable()
102 if (!(obj instanceof com.google.cloud.shell.v1.DeleteEnvironmentMetadata)) { in equals()
[all …]
DStartEnvironmentMetadata.java17 // source: google/cloud/shell/v1/cloudshell.proto
19 package com.google.cloud.shell.v1;
26 * [StartEnvironment][google.cloud.shell.v1.CloudShellService.StartEnvironment].
29 * Protobuf type {@code google.cloud.shell.v1.StartEnvironmentMetadata}
33 // @@protoc_insertion_point(message_implements:google.cloud.shell.v1.StartEnvironmentMetadata)
57 return com.google.cloud.shell.v1.CloudShellProto in getDescriptor()
64 return com.google.cloud.shell.v1.CloudShellProto in internalGetFieldAccessorTable()
67 com.google.cloud.shell.v1.StartEnvironmentMetadata.class, in internalGetFieldAccessorTable()
68 com.google.cloud.shell.v1.StartEnvironmentMetadata.Builder.class); in internalGetFieldAccessorTable()
82 * Protobuf enum {@code google.cloud.shell.v1.StartEnvironmentMetadata.State}
[all …]
/external/python/mobly/tests/mobly/controllers/android_device_lib/
Dadb_test.py56 # Mock Shell Command
62 MOCK_ADB_SHELL_COMMAND_CHECK = 'adb shell command -v ls'
103 ['fake_cmd'], shell=False, timeout=None, stderr=None
106 mock_run_command.assert_called_with(['fake_cmd'], shell=False, timeout=None)
136 ['fake_cmd'], shell=False, timeout=None, stderr=None
139 mock_run_command.assert_called_with(['fake_cmd'], shell=False, timeout=None)
150 ['fake_cmd'], shell=False, timeout=1, stderr=None
153 mock_run_command.assert_called_with(['fake_cmd'], shell=False, timeout=1)
188 ['fake_cmd'], shell=False, timeout=-1, stderr=None
198 ['fake_cmd'], shell=False, handler=mock_handler
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_run.py116 shell = MockShell()
117 f = run.StdInputFile(shell, 'stdin')
130 shell = MockShell()
131 f = run.StdInputFile(shell, 'stdin')
139 shell = MockShell()
140 f = run.StdInputFile(shell, 'stdin')
141 shell.push(['one\n', 'two\n', ''])
143 shell.push(['one\n', 'two\n', ''])
145 shell.push(['one\n', 'two\n', ''])
147 shell.push(['one\n', 'two\n', 'three\n', ''])
[all …]
/external/libtraceevent/scripts/
Dutilities.mak23 # GNU make's $(shell ...) function converts to a
43 # shell-escape-nl
45 # Usage: $(shell some-command | $(call shell-escape-nl[,escape]))
47 # Use this to escape newlines from within a shell call;
51 # in an `awk' program that is delimited by shell
55 define shell-escape-nl
59 # shell-unescape-nl
61 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
63 # Use this to unescape newlines from within a shell call;
68 # delimited by shell single-quotes, so be wary
[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 …]
/external/bazel-skylib/tests/
Dshell_tests.bzl15 """Unit tests for shell.bzl."""
17 load("//lib:shell.bzl", "shell")
21 """Unit tests for shell.array_literal."""
24 asserts.equals(env, "()", shell.array_literal([]))
25 asserts.equals(env, "('1')", shell.array_literal([1]))
26 asserts.equals(env, "('1' '2' '3')", shell.array_literal([1, 2, 3]))
27 asserts.equals(env, "('$foo')", shell.array_literal(["$foo"]))
28 asserts.equals(env, "('qu\"o\"te')", shell.array_literal(['qu"o"te']))
35 """Unit tests for shell.quote."""
38 asserts.equals(env, "'foo'", shell.quote("foo"))
[all …]
/external/python/mobly/mobly/controllers/android_device_lib/
Dadb.py40 # `adb shell getprop` can take surprisingly long, when the device is a
116 ret, out, err = utils.run_command('which adb', shell=True)
156 >> adb.shell(['echo', 'a', 'b'])
159 documentation to avoid shell injection vulnerabilities and avoid having to
160 deal with multiple layers of shell quoting and different shell environments
163 If you really want to run the command through the system shell, this is
164 possible by supplying shell=True, but try to avoid this if possible:
165 >> adb.shell('cat /foo > /tmp/file', shell=True)
171 def _exec_cmd(self, args, shell, timeout, stderr) -> bytes: argument
177 shell: bool, True to run this command through the system shell,
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py4 """A wrapper for subprocess to make calling shell commands easier."""
39 """Return an shell-escaped version of the string using single quotes.
44 The returned value can be used in a shell command line as one token that gets
57 """Return an shell-escaped version of the string using double quotes.
60 or quote characters), while retaining some shell features such as variable
63 The returned value can be used in a shell command line as one token that gets
64 to be further interpreted by the shell.
67 shell implementation. This set usually includes: '$', '`', '\', '!', '*',
85 """Constructs a shell snippet for a command using a variable to shrink it.
95 A shell snippet that does not include setting the variable.
[all …]
/external/bazel-skylib/docs/
Dshell_doc.md3 Skylib module containing shell utility functions.
5 <a id="shell.array_literal"></a>
7 ## shell.array_literal
10 shell.array_literal(<a href="#shell.array_literal-iterable">iterable</a>)
13 Creates a string from a sequence that can be used as a shell array.
15 For example, `shell.array_literal(["a", "b", "c"])` would return the string
16 `("a" "b" "c")`, which can be used in a shell script wherever an array
19 Note that all elements in the array are quoted (using `shell.quote`) for
28 | <a id="shell.array_literal-iterable"></a>iterable | A sequence of elements. Elements that are no…
32 A string that represents the sequence as a shell array; that is,
[all …]
/external/google-cloud-java/java-shell/grpc-google-cloud-shell-v1/src/main/java/com/google/cloud/shell/v1/
DCloudShellServiceGrpc.java16 package com.google.cloud.shell.v1;
24 * API for interacting with Google Cloud Shell. Each user of Cloud Shell has at
35 comments = "Source: google/cloud/shell/v1/cloudshell.proto")
41 public static final String SERVICE_NAME = "google.cloud.shell.v1.CloudShellService";
45 com.google.cloud.shell.v1.GetEnvironmentRequest, com.google.cloud.shell.v1.Environment>
50 requestType = com.google.cloud.shell.v1.GetEnvironmentRequest.class,
51 responseType = com.google.cloud.shell.v1.Environment.class,
54 com.google.cloud.shell.v1.GetEnvironmentRequest, com.google.cloud.shell.v1.Environment>
57 com.google.cloud.shell.v1.GetEnvironmentRequest, com.google.cloud.shell.v1.Environment> in getGetEnvironmentMethod()
65 .<com.google.cloud.shell.v1.GetEnvironmentRequest, in getGetEnvironmentMethod()
[all …]
/external/sdv/vsomeip/third_party/boost/process/include/boost/process/
Dshell.hpp23 /** \file boost/process/shell.hpp
25 * Header which provides the shell property. This provides the
26 * property to launch a process through the system shell.
27 * It also allows the user to obtain the shell-path via shell().
32 <emphasis>unspecified</emphasis> <globalname alt="boost::process::shell">shell</globalname>;
64 The shell property enables to launch a program through the shell of the system.
67 system("gcc", shell);
70 The shell argument goes without any expression. The operator() is overloaded, to
71 obtain the path of the system shell.
74 auto shell_cmd = shell();
[all …]
/external/mesa3d/.gitlab-ci/
Dcuttlefish-runner.sh30 $ADB shell echo Hi from Android
37 $ADB shell mkdir -p "$OV_TMPFS"
38 $ADB shell mount -t tmpfs none "$OV_TMPFS"
40 $ADB shell mkdir -p "$OV_TMPFS/vendor-upper"
41 $ADB shell mkdir -p "$OV_TMPFS/vendor-work"
44 $ADB shell mount -t overlay -o "$opts" none /vendor
46 $ADB shell setenforce 0
66 $ADB shell rm /vendor/lib/dri/${ANDROID_DRIVER}_dri.so
67 $ADB shell rm /vendor/lib/libglapi.so
68 $ADB shell rm /vendor/lib/egl/libGLES_mesa.so
[all …]

12345678910>>...204