HomeSort by relevance Sort by last modified time
    Searched refs:Command (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /cts/libs/vogar-expect/src/vogar/commands/
Rm.java 22 * A rm command.
27 new Command("rm", "-f", file.getPath()).execute();
31 new Command("rm", "-rf", directory.getPath()).execute();
Mkdir.java 22 * A mkdir command.
27 new Command("mkdir", "-p", directory.getPath()).execute();
  /external/clang/test/CodeGenCXX/
2005-02-19-BitfieldStructCrash.cpp 5 struct Command {
6 Command(QChar c) : c(c) {}
11 Command X(QChar('c'));
  /external/emma/core/java12/
emmarun.java 9 import com.vladium.emma.Command;
26 final Command command = Command.create ("run", emmarun.class.getName (), args); local
27 command.run ();
emma.java 10 import com.vladium.emma.Command;
39 final Command command = Command.create (commandName, "emma ".concat (commandName), commandArgs); local
40 command.run ();
53 "emma usage: emma <command> [command options]," + EOL +
54 " where <command> is one of:" + EOL +
61 " {use '<command> -h' to see usage help for a given command}" + EOL
    [all...]
  /external/webkit/Source/WebKit/android/wds/
Command.h 46 // Command identifier length
51 // client application. Return true on successful completion of the command,
68 class Command {
70 Command(const char* name, const char* desc, const DispatchFunction func,
76 Command(const Command& comm)
81 virtual ~Command() {}
86 // Find the command specified by the client request.
87 static Command* Find(const Connection* conn);
89 // Dispatch this command
    [all...]
Command.cpp 30 #include "Command.h"
85 // End command section
88 class InternalCommand : public Command {
90 InternalCommand(const Command* comm, const Frame* frame,
92 : Command(*comm)
98 ALOGD("Executing command '%s' (%s)", m_name, m_description);
115 void Command::dispatch() {
119 Vector<const Command*>* Command::s_commands;
121 void Command::Init()
    [all...]
  /frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
Launcher.java 24 * Entry point into the uiautomator command line
27 * command line arguments. It also prints out help arguments for each sub commands.
29 * To add a new sub command, implement {@link Command} and add an instance into COMMANDS array
36 public static abstract class Command {
39 public Command(String name) {
44 * Returns the name of the sub command
52 * Returns a one-liner of the function of this command
58 * Returns a detailed explanation of the command usage
66 * Starts the command with the provided argument
76 Command command = findCommand(args[0]); local
    [all...]
EventsCommand.java 22 import com.android.commands.uiautomator.Launcher.Command;
33 public class EventsCommand extends Command {
  /frameworks/base/cmds/svc/src/com/android/commands/svc/
Svc.java 21 public static abstract class Command {
24 public Command(String name) {
34 public abstract void run(String[] args); // run the command
39 Command c = lookupCommand(args[0]);
48 private static Command lookupCommand(String name) {
51 Command c = COMMANDS[i];
59 public static final Command COMMAND_HELP = new Command("help") {
68 Command c = lookupCommand(args[1]);
79 Command c = COMMANDS[i]
    [all...]
  /external/clang/lib/Driver/
Job.cpp 1 //===--- Job.cpp - Command to Execute -------------------------------------===//
17 void Command::anchor() {}
19 Command::Command(const Action &_Source, const Tool &_Creator,
37 void Job::addCommand(Command *C) {
  /external/chromium/chrome/browser/
command_updater.h 26 // Perform the action associated with the command with the specified ID.
38 // Returns true if the specified command ID is supported.
41 // Returns true if the specified command ID is enabled. The command ID must be
45 // Performs the action associated with this command ID.
51 // the state of a particular command ID is modified.
55 // specified command id.
62 // Adds an observer to the state of a particular command. If the command does
66 // Removes an observer to the state of a particular command
    [all...]
command_updater.cc 16 class CommandUpdater::Command {
21 Command() : enabled(true) {}
33 const CommandMap::const_iterator command(commands_.find(id));
34 if (command == commands_.end())
36 return command->second->enabled;
52 Command* command = GetCommand(id, true); local
53 if (command->enabled == enabled)
55 command->enabled = enabled;
56 FOR_EACH_OBSERVER(CommandObserver, command->observers
65 Command* command = new Command; local
82 Command* command = it->second; local
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Dicttool.java 24 public static abstract class Command {
32 static HashMap<String, Class<? extends Command>> sCommands =
33 new HashMap<String, Class<? extends Command>>();
37 public static void addCommand(final String commandName, final Class<? extends Command> cls) {
41 private static Command getCommandInstance(final String commandName) {
52 System.out.println("Syntax: dicttool <command [arguments]>\nAvailable commands:\n");
64 private Command getCommand(final String[] arguments) {
67 throw new RuntimeException("Unknown command : " + commandName);
69 final Command command = getCommandInstance(commandName) local
76 final Command command = getCommand(arguments); local
    [all...]
Crypt.java 37 static public class Encrypter extends Dicttool.Command {
38 public static final String COMMAND = "encrypt";
44 return COMMAND + " <src_filename> <dst_filename>: Encrypts a file";
52 static public class Decrypter extends Dicttool.Command {
53 public static final String COMMAND = "decrypt";
59 return COMMAND + " <src_filename> <dst_filename>: Decrypts a file";
  /external/clang/lib/AST/
CommentSema.cpp 62 void Sema::actOnBlockCommandArgs(BlockCommandComment *Command,
64 Command->setArgs(Args);
67 void Sema::actOnBlockCommandFinish(BlockCommandComment *Command,
69 Command->setParagraph(Paragraph);
70 checkBlockCommandEmptyParagraph(Command);
71 checkBlockCommandDuplicate(Command);
72 checkReturnsCommand(Command);
73 checkDeprecatedCommand(Command);
81 ParamCommandComment *Command =
86 Diag(Command->getLocation()
    [all...]
  /external/clang/include/clang/Driver/
Job.h 19 class Command;
39 /// addCommand - Append a command to the current job, which must be
41 void addCommand(Command *C);
44 /// Command - An executable path/name and argument vector to
46 class Command : public Job {
63 Command(const Action &_Source, const Tool &_Creator, const char *_Executable,
Compilation.h 88 void addCommand(Command *C) { Jobs.addJob(C); }
169 /// ExecuteCommand - Execute an actual command.
172 /// Command which failed, if any.
174 int ExecuteCommand(const Command &C, const Command *&FailingCommand) const;
181 SmallVectorImpl< std::pair<int, const Command *> > &FailingCommands) const;
  /external/llvm/utils/lit/lit/
ShUtil.py 4 from ShCommands import Command, Pipeline, Seq
188 raise ValueError,"empty command!"
201 # If this is an argument, just add it to the current command.
218 return Command(args, redirects)
287 Pipeline([Command(['echo', 'hello'], [])], False))
289 Pipeline([Command(['echo', ''], [])], False))
291 Pipeline([Command(['echo', '-DFOO=a'], [])], False))
293 Pipeline([Command(['echo', '-DFOO=a'], [])], False))
297 Pipeline([Command(['echo', 'hello'],
300 Pipeline([Command(['echo', 'hello'], [(('>',), 'c')
    [all...]
  /external/webkit/Tools/Scripts/webkitpy/tool/
multicommandtool_unittest.py 35 from webkitpy.tool.multicommandtool import MultiCommandTool, Command, TryAgain
38 class TrivialCommand(Command):
42 Command.__init__(self, "help text", **kwargs)
53 class LikesToRetry(Command):
58 Command.__init__(self, "help text", **kwargs)
76 self.assertEqual(Command._parse_required_arguments("ARG1 ARG2"), ["ARG1", "ARG2"])
77 self.assertEqual(Command._parse_required_arguments("[ARG1] [ARG2]"), [])
78 self.assertEqual(Command._parse_required_arguments("[ARG1] ARG2"), ["ARG2"])
80 self.assertRaises(Exception, Command._parse_required_arguments, "[ARG1 ARG2]")
96 def should_execute_command(self, command)
    [all...]
  /frameworks/base/media/java/android/media/
AsyncPlayer.java 38 private static final class Command {
52 private final LinkedList<Command> mCmdQueue = new LinkedList();
54 private void startSound(Command cmd) {
87 Command cmd = null;
110 Log.w(mTag, "STOP command without a player");
166 Command cmd = new Command();
188 Command cmd = new Command();
197 private void enqueueLocked(Command cmd)
    [all...]
  /external/icu4c/test/perf/utrie2perf/
utrie2perf.cpp 95 class Command : public UPerfFunction {
97 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {}
100 virtual ~Command() {}
115 class CheckFCD : public Command {
117 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {}
135 class CheckFCDAlwaysGet : public Command {
137 CheckFCDAlwaysGet(const UTrie2PerfTest &testcase) : Command(testcase) {}
156 class CheckFCDUTF8 : public Command {
158 CheckFCDUTF8(const UTrie2PerfTest &testcase) : Command(testcase) {}
173 class ToNFC : public Command {
    [all...]
  /frameworks/av/include/media/
IStreamSource.h 50 enum Command {
69 // command.
85 Command cmd, bool synchronous, const sp<AMessage> &msg = NULL) = 0;
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerStreamListener.h 37 Command cmd, bool synchronous, const sp<AMessage> &extra);
55 Command mCommand;
  /external/clang/lib/Frontend/
CreateInvocationFromCommandLine.cpp 10 // Construct a compiler invocation object for command line driver arguments
27 /// a command line argument vector.
62 // We expect to get back exactly one command job, if we didn't something
65 if (Jobs.size() != 1 || !isa<driver::Command>(*Jobs.begin())) {
73 const driver::Command *Cmd = cast<driver::Command>(*Jobs.begin());

Completed in 590 milliseconds

1 2 3 4 5 6 7