/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/ |
AcctCommandHandlerTest.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 68 Command createValidCommand() { 69 return new Command(CommandNames.ACCT, [ACCOUNT_NAME])
|
HelpCommandHandlerTest.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 56 // Reply text includes the message text and the passed-in command as a message parameter 68 Command createValidCommand() { 69 return new Command(CommandNames.HELP, [])
|
ReinCommandHandlerTest.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 60 Command createValidCommand() { 61 return new Command(CommandNames.REIN, [])
|
StorCommandHandlerTest.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 65 Command createValidCommand() { 66 return new Command(CommandNames.STOR, [FILE])
|
StouCommandHandlerTest.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 51 // This command always stores a new (unique) file, so this test does not apply 61 Command createValidCommand() { 62 return new Command(CommandNames.STOU, [])
|
TypeCommandHandlerTest.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 58 Command createValidCommand() { 59 return new Command(CommandNames.TYPE, ['A'])
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/stub/command/ |
StatCommandHandlerTest.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.*;
19 import org.mockftpserver.core.command.AbstractCommandHandlerTestCase;
43 final Command COMMAND = new Command(CommandNames.STAT, EMPTY);
45 commandHandler.handleCommand(COMMAND, session);
61 final Command COMMAND = new Command(CommandNames.STAT, array(PATHNAME)); [all...] |
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/ |
usb_cmd_device_list.h | 38 // Return usbforward command this instance is executing. 39 usb_forward::Command Command() override { return usb_forward::CmdDeviceList; }
|
/external/clang/lib/AST/ |
CommentCommandTraits.cpp | 1 //===--- CommentCommandTraits.cpp - Comment command properties --*- C++ -*-===// 48 // Single-character command impostures, such as \t or \n, should not go 59 auto ConsiderCorrection = [&](const CommandInfo *Command) { 60 StringRef Name = Command->Name; 70 BestCommand.push_back(Command); 74 for (const auto &Command : Commands) 75 ConsiderCorrection(&Command); 77 for (const auto *Command : RegisteredCommands) 78 if (!Command->IsUnknownCommand) 79 ConsiderCorrection(Command); [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
AcctCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
24 * CommandHandler for the ACCT command. Handler logic:
27 * <li>If this command was not preceded by a valid USER command, then reply with 503</li>
36 protected void handle(Command command, Session session) {
37 String accountName = command.getRequiredParameter(0); [all...] |
DeleCommandHandler.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 DELE command. Handler logic:
38 protected void handle(Command command, Session session) {
40 String path = getRealPath(session, command.getRequiredParameter(0));
|
EpsvCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the EPSV command. Handler logic:
39 protected void handle(Command command, Session session) {
|
PwdCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
24 * CommandHandler for the PWD command. Handler logic:
35 protected void handle(Command command, Session session) {
|
TypeCommandHandler.java | 16 package org.mockftpserver.fake.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.ReplyCodes;
24 * CommandHandler for the TYPE command. Handler logic:
35 protected void handle(Command command, Session session) {
37 String type = command.getRequiredParameter(0);
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/stub/command/ |
AborCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the ABOR command. Return a reply code of 226.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
AbstractStorCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.InvocationRecord;
40 * @see AbstractStubDataCommandHandler#processData(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
42 protected void processData(Command command, Session session, InvocationRecord invocationRecord) {
|
AcctCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the ACCT command. Send back a reply code of 230.
29 * <li>"acount" - the account submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |
CdupCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the CDUP (Change To Parent Directory) command. Send back a reply code of 250.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
CwdCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the CWD (Change Working Directory) command. Send back a reply code of 250.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |
DeleCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the DELE (Delete) command. Send back a reply code of 250.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the file name submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |
MkdCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the MKD (Make Directory) command. Send back a reply code of 257.
29 * <li>{@link #PATHNAME_KEY} ("pathname") - the pathname of the directory submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |
ModeCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the MODE command. Send back a reply code of 200.
29 * <li>{@link #MODE_KEY} ("mode") - the code for the transmission mode submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |
NoopCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the NOOP command. Return a reply code of 200.
41 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
|
PassCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
25 * CommandHandler for the PASS (Password) command. Send back a reply code of 230.
29 * <li>"password" - the password submitted on the invocation (the first command parameter)
47 * @see org.mockftpserver.core.command.CommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session) [all...] |
PwdCommandHandler.java | 16 package org.mockftpserver.stub.command;
18 import org.mockftpserver.core.command.Command;
19 import org.mockftpserver.core.command.CommandHandler;
20 import org.mockftpserver.core.command.InvocationRecord;
21 import org.mockftpserver.core.command.ReplyCodes;
45 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
50 * Set the directory String to be returned by this command
|