/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/ |
CommandTest.java | 16 package org.mockftpserver.stub.command;
19 import org.mockftpserver.core.command.Command;
24 * Tests for the Command class
39 Command command = new Command("abc", PARAMETERS);
local 40 assertEquals("name", "abc", command.getName());
41 assertEquals("parameters", PARAMETERS, command.getParameters());
49 new Command(null, EMPTY); 83 Command command = new Command("abc", array("123", "456")); local 92 Command command = new Command("abc", array("123", "456")); local 106 Command command = new Command("abc", array("123", "456")); local [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
generate-dispatch-table | 29 class Command(object): 73 return "Command(name=%s, dispatch=%s)" % \ 100 Command(name='CreateInstance', dispatch=None), 101 Command(name='DestroyInstance', dispatch='VkInstance'), 102 Command(name='EnumeratePhysicalDevices', dispatch='VkInstance'), 103 Command(name='GetPhysicalDeviceFeatures', dispatch='VkPhysicalDevice'), 104 Command(name='GetPhysicalDeviceFormatProperties', dispatch='VkPhysicalDevice'), 105 Command(name='GetPhysicalDeviceImageFormatProperties', dispatch='VkPhysicalDevice'), 106 Command(name='GetPhysicalDeviceProperties', dispatch='VkPhysicalDevice'), 107 Command(name='GetPhysicalDeviceQueueFamilyProperties', dispatch='VkPhysicalDevice') [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/ |
CommandTest.java | 16 package org.mockftpserver.core.command;
27 * Tests for the Command class
37 * Test the Command(String,String[]) constructor
41 Command command = new Command("abc", PARAMETERS);
local 42 assertEquals("name", "abc", command.getName());
43 assertEquals("parameters", PARAMETERS, command.getParameters());
47 * Test the Command(String,List) constructor
52 Command command = new Command("abc", PARAMETERS_LIST); local 96 Command command = new Command("abc", array("123", "456")); local 105 Command command = new Command("abc", array("123", "456")); local 119 Command command = new Command("abc", array("123", "456")); local 129 Command command = new Command("abc", array("123", "456")); local [all...] |
/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/jcommander/src/test/resources/ |
MessageBundle_en_US.properties | 20 command = Command from the bundle
|
/frameworks/av/services/audioflinger/ |
FastThreadState.h | 33 typedef uint32_t Command; 34 static const Command 41 Command mCommand; // current command 49 // returns NULL if command belongs to a subclass 50 static const char *commandToString(Command command);
|
/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 ();
|
/external/libweave/src/ |
access_api_handler.h | 16 class Command; 31 void Block(const std::weak_ptr<Command>& command); 32 void Unblock(const std::weak_ptr<Command>& command); 33 void List(const std::weak_ptr<Command>& command); 36 void OnCommandDone(const std::weak_ptr<Command>& command, ErrorPtr error);
|
/system/extras/simpleperf/ |
cmd_help.cpp | 23 #include "command.h" 25 class HelpCommand : public Command { 28 : Command("help", "print help information for simpleperf", 38 void PrintLongHelpForOneCommand(const Command& cmd); 45 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); 47 LOG(ERROR) << "malformed command line: can't find help string for unknown command " << args[0]; 67 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); 72 void HelpCommand::PrintLongHelpForOneCommand(const Command& command) { [all...] |
command_test.cpp | 19 #include "command.h" 21 class MockCommand : public Command { 23 MockCommand() : Command("mock", "mock_short_help", "mock_long_help") { 31 TEST(command, CreateCommandInstance) { 33 RegisterCommand("mock1", [] { return std::unique_ptr<Command>(new MockCommand); }); 39 TEST(command, GetAllCommands) { 41 RegisterCommand("mock1", [] { return std::unique_ptr<Command>(new MockCommand); });
|
/frameworks/base/cmds/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...] |
/external/autotest/frontend/client/src/autotest/tko/ |
TestContextMenu.java | 6 import com.google.gwt.user.client.Command; 23 addItem("View test details", new Command() { 33 addItem("Invalidate tests", new Command() { 38 addItem("Revalidate tests", new Command() { 43 addItem("Add label", new Command() { 48 addItem("Remove label", new Command() {
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
SmntCommandHandlerTest.groovy | 16 package org.mockftpserver.fake.command
18 import org.mockftpserver.core.command.Command
19 import org.mockftpserver.core.command.CommandHandler
20 import org.mockftpserver.core.command.CommandNames
21 import org.mockftpserver.core.command.ReplyCodes
46 Command createValidCommand() {
47 return new Command(CommandNames.SMNT, [])
|
/external/vboot_reference/utility/ |
tlcl_generator.c | 24 /* See struct Command below. This structure represent a field in a TPM 25 * command. [name] is the field name. [visible] is 1 if the field is 41 * of a TPM command. [size] is the size of the command buffer in bytes, when 43 * (such as Read and Write). [fields] is a link-list of command fields. 45 typedef struct Command { 50 struct Command* next; 51 } Command; 53 /* Adds a field to a command, and makes its offset visible. The fields must be 56 static void AddVisibleField(Command* cmd, const char* name, int offset) [all...] |
/build/kati/ |
command.h | 27 struct Command { 28 explicit Command(Symbol o) 40 void Eval(DepNode* n, vector<Command*>* commands);
|
/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/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
TestCommandHandler.groovy | 18 import org.mockftpserver.core.command.Command
20 import org.mockftpserver.fake.command.AbstractFakeCommandHandler
31 protected void handle(Command command, Session session) {
|
TestCommandHandlerNotServerConfigurationAware.groovy | 18 import org.mockftpserver.core.command.Command
19 import org.mockftpserver.core.command.CommandHandler
31 public void handleCommand(Command command, Session session) {
|
/system/weaved/libweaved/ |
command.cc | 15 #include "libweaved/command.h" 55 Command::Command(const android::sp<android::weave::IWeaveCommand>& proxy) 58 Command::~Command() {} 60 std::string Command::GetID() const { 68 std::string Command::GetName() const { 76 std::string Command::GetComponent() const { 84 Command::State Command::GetState() const [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
AborCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
23 * CommandHandler for the ABOR command. Handler logic:
34 protected void handle(Command command, Session session) {
|
AlloCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
23 * CommandHandler for the ALLO command. Handler logic:
34 protected void handle(Command command, Session session) {
|
ModeCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
23 * CommandHandler for the MODE command. Handler logic:
34 protected void handle(Command command, Session session) {
|
NoopCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
23 * CommandHandler for the NOOP command. Handler logic:
33 protected void handle(Command command, Session session) {
|