/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
config.py | 1 """distutils.command.config 3 Implements the Distutils 'config' command, a (mostly) empty command class 5 applications. The idea is that while every "config" command is different, 17 from distutils.core import Command 24 class config(Command): 51 # The three standard command methods: since the "config" command 170 # info. My inclination is to make it up to the real config command to 283 # when implementing a real-world config command!) [all...] |
/system/connectivity/shill/dbus/ |
chromeos_mm1_modem_proxy.cc | 186 void ChromeosModemProxy::Command(const std::string& cmd,
|
/cts/libs/vogar-expect/src/vogar/commands/ |
Command.java | 46 public final class Command { 55 public Command(String... args) { 59 public Command(List<String> args) { 68 private Command(Builder builder) { 77 throw new IllegalStateException("Maximum command length " + builder.maxLength 92 .command(args) 158 * Executes a command with a specified timeout. If the process does not 162 * @return the command's output, or null if the command timed out 182 * Executes the command on a new background thread. This method return [all...] |
/external/autotest/client/cros/cellular/pseudomodem/ |
modem.py | 701 This command may or may not power-cycle the device. 747 def Command(self, cmd, timeout): 753 @param cmd: Command to send to the modem. 754 @param timeout: The timeout interval for the command.
|
/external/avahi/avahi-utils/ |
avahi-publish.c | 49 } Command; 53 Command command; member in struct:Config 87 if (config->command == COMMAND_PUBLISH_SERVICE) 90 assert(config->command == COMMAND_PUBLISH_ADDRESS); 121 if (config->command == COMMAND_PUBLISH_ADDRESS) { 131 assert(config->command == COMMAND_PUBLISH_SERVICE); 255 c->command = strstr(argv0, "address") ? COMMAND_PUBLISH_ADDRESS : (strstr(argv0, "service") ? COMMAND_PUBLISH_SERVICE : COMMAND_UNSPEC); 265 c->command = COMMAND_HELP; 268 c->command = COMMAND_VERSION [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
command_runner.py | 15 """Class that runs a named gsutil command.""" 31 from gslib.command import Command 32 from gslib.command import CreateGsutilLogger 33 from gslib.command import GetFailureCount 34 from gslib.command import OLD_ALIAS_MAP 35 from gslib.command import ShutDownGsutil 57 """Handles coding of command-line args. 60 args: array of command-line args. 63 array of command-line args [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
acl.py | 15 """Implementation of acl command for cloud storage providers.""" 24 from gslib.command import Command 25 from gslib.command import SetAclExceptionHandler 26 from gslib.command import SetAclFuncWrapper 58 The "acl get" command gets the ACL text for a bucket or object, which you can 59 save and edit for the acl set command. 64 The "acl set" command allows you to set an Access Control List on one or 77 retrieve an ACL using the "acl get" command, save the output to a file, edit 78 the file, and then use the "acl set" command to set that ACL on the bucket [all...] |
cors.py | 15 """Implementation of cors configuration command for GCS buckets.""" 21 from gslib.command import Command 52 cors-json-file specified on the command line should be a path to a local 60 more buckets. This command is supported for buckets only, not objects. An 81 The cors command has two sub-commands: 92 class CorsCommand(Command): 93 """Implementation of gsutil cors command.""" 95 # Command specification. See base class for documentation. 96 command_spec = Command.CreateCommandSpec [all...] |
cp.py | 16 """Implementation of Unix-like cp command for cloud storage providers.""" 26 from gslib.command import Command 58 The gsutil cp command allows you to copy data between your local file 80 command line arguments by using the -I option. This allows you to use gsutil 96 The gsutil cp command strives to name objects in a way consistent with how 104 recursive processing. For example, the command: 112 by the final path component of the source files. For example, the command: 128 if gs://my_bucket/subdir exists as a subdirectory, the command: 133 if gs://my_bucket/subdir does not exist, this same gsutil cp command wil [all...] |
defacl.py | 15 """Implementation of default object acl command for Google Cloud Storage.""" 24 from gslib.command import Command 25 from gslib.command import SetAclExceptionHandler 26 from gslib.command import SetAclFuncWrapper 52 The "defacl set" command sets default object ACLs for the specified buckets. 57 Similar to the "acl set" command, the file-or-canned_acl_name names either a 60 acl command.) 73 for use with the "defacl set" command. 78 The "defacl ch" (or "defacl change") command updates the default objec [all...] |
ls.py | 15 """Implementation of Unix-like ls command for cloud storage providers.""" 23 from gslib.command import Command 132 (along with the total count and sum of sizes) using a command like: 223 class LsCommand(Command): 224 """Implementation of gsutil ls command.""" 226 # Command specification. See base class for documentation. 227 command_spec = Command.CreateCommandSpec( 244 help_spec = Command.HelpSpec( 352 """Command entry point for the ls command."" [all...] |
rm.py | 15 """Implementation of Unix-like rm command for cloud storage providers.""" 23 from gslib.command import Command 24 from gslib.command import GetFailureCount 25 from gslib.command import ResetFailureCount 49 The gsutil rm command removes objects. 50 For example, the command: 70 versioning-enabled buckets, whereas the ** command will only delete the live 79 this command will work: 90 command line arguments by using the -I option. This allows you to use gsuti [all...] |
setmeta.py | 15 """Implementation of setmeta command for setting cloud object metadata.""" 22 from gslib.command import Command 46 The gsutil setmeta command allows you to set or remove the metadata on one 56 For example, the following command would set the Content-Type and 71 You can also use the setmeta command to set custom metadata on an object: 84 max-age=0, no-transform" on such objects. You can do this with the command: 89 The setmeta command reads each object's current generation and metageneration 122 class SetMetaCommand(Command): 123 """Implementation of gsutil setmeta command."" [all...] |
signurl.py | 35 from gslib.command import Command 67 The signurl command will generate signed urls that can be used to access 78 Note: Unlike the gsutil ls command, the signurl command does not support 79 operations on sub-directories. For example, if you run the command: 83 The signurl command uses the private key for a service account (the 86 format. The signurl command will prompt for the passphrase used to protect 88 regarding generating a private key for use with the signurl command please 189 class UrlSignCommand(Command) [all...] |
test.py | 15 """Implementation of gsutil test command.""" 29 from gslib.command import Command 30 from gslib.command import ResetFailureCount 39 # display an error if the test command is run instead of breaking the whole 65 gsutil test [-l] [-u] [-f] [command command...] 74 The gsutil test command runs the gsutil unit tests and integration tests. 80 To run both the unit tests and integration tests, run the command with no 103 arguments. For example, the following command will run the cp and mv comman [all...] |
update.py | 15 """Implementation of update command for updating gsutil.""" 28 from gslib.command import Command 52 The gsutil update command downloads the latest gsutil release, checks its 57 update command locates where the running copy of gsutil is installed, 63 directory to run the command. We advise against doing that, for this reason.) 64 Note also that the gsutil update command will refuse to run if it finds user 84 -f Forces the update command to offer to let you update, even if you 88 -n Causes update command to run without prompting [Y/n] whether to 93 class UpdateCommand(Command) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
test_command_runner.py | 25 from gslib.command import Command 74 class FakeCommandWithInvalidCompleter(Command): 75 """Command with an invalid completer on an argument.""" 77 command_spec = Command.CreateCommandSpec( 84 help_spec = Command.HelpSpec( 88 help_one_line_summary='fake command for tests', 89 help_text='fake command for tests', 97 class FakeCommandWithCompleters(Command): 98 """Command with various completer types."" [all...] |
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 27 /// \brief A parser for escaped strings of command line arguments. 262 llvm::Optional<std::vector<llvm::yaml::ScalarNode *>> Command; 292 Command = std::vector<llvm::yaml::ScalarNode *>(); 299 Command->push_back(Scalar); 301 } else if (KeyValue == "command") { 302 if (!Command) 303 Command = std::vector<llvm::yaml::ScalarNode *>(1, ValueString); 316 if (!Command) { 317 ErrorMessage = "Missing key: \"command\" or \"arguments\"."; 336 auto Cmd = CompileCommandRef(Directory, File, *Command); [all...] |
/external/emma/core/java12/com/vladium/emma/ |
Command.java | 7 * $Id: Command.java,v 1.1.1.1.2.1 2004/07/16 23:32:03 vlad_r Exp $ 31 abstract class Command 36 public static Command create (final String name, final String usageName, final String [] args) 38 final Command tool; 51 throw new IllegalArgumentException ("unknown command: [" + name + "]"); 63 protected Command (final String usageToolName, final String [] args) 158 // command line user overrides are have highest precedence:
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
ParametersDelegateTest.java | 128 class Command { 133 Command c = new Command(); 136 cmd.addCommand("command", c); 138 cmd.parse("command -a a".split(" ")); 148 class Command { 153 Command c = new Command(); 156 cmd.addCommand("command", c); 158 cmd.parse("command main params".split(" ")) [all...] |
/external/llvm/tools/llvm-cov/ |
CodeCoverage.cpp | 10 // The 'CodeCoverageTool' class implements a command line tool to analyze and 44 enum Command { 45 /// \brief The show command. 47 /// \brief The report command. 73 int run(Command Cmd, int argc, const char **argv); 243 int CodeCoverageTool::run(Command Cmd, int argc, const char **argv) {
|
/external/lzma/CPP/7zip/UI/Common/ |
ArchiveCommandLine.h | 64 CArcCommand Command;
|
/external/lzma/Java/SevenZip/ |
LzmaAlone.java | 11 public int Command = -1;
107 Command = kEncode;
109 Command = kDecode;
111 Command = kBenchmak;
117 if (Command == kBenchmak)
177 System.out.println("\nIncorrect command");
181 if (params.Command == CommandLine.kBenchmak)
190 else if (params.Command == CommandLine.kEncode || params.Command == CommandLine.kDecode)
201 if (params.Command == CommandLine.kEncode) [all...] |
/external/mmc-utils/ |
mmc.c | 33 struct Command { 34 CommandFunction func; /* function which implements the command */ 49 static struct Command commands[] = { 123 "Send Sanitize command to the <device>.\nThis will delete the unmapped memory region of the device.", 193 static void print_help(char *programname, struct Command *cmd, int helptype) 217 struct Command *cp; 224 printf("\n\t%s <cmd> --help\n\t\tShow detailed help for a command or subset of commands.\n",np); 251 This function checks if the passed command is ambiguous 253 static int check_ambiguity(struct Command *cmd, char **argv){ 255 struct Command *cp [all...] |
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/ |
StubFtpServer.java | 29 import org.mockftpserver.core.command.Command;
30 import org.mockftpserver.core.command.CommandHandler;
31 import org.mockftpserver.core.command.CommandNames;
32 import org.mockftpserver.core.command.ReplyTextBundleAware;
33 import org.mockftpserver.core.command.ReplyTextBundleUtil;
40 import org.mockftpserver.stub.command.AborCommandHandler;
41 import org.mockftpserver.stub.command.AcctCommandHandler;
42 import org.mockftpserver.stub.command.AlloCommandHandler;
43 import org.mockftpserver.stub.command.AppeCommandHandler; [all...] |