/device/generic/goldfish/network/netmgr/commands/ |
command.h | 23 // on the incoming command string or arguments. It will have to be registered 24 // multiple times, once for each command though. 25 class Command { 27 virtual ~Command() = default; 29 // Work to perform when a command is received. The result will be used to 34 virtual Result onCommand(const char* command, const char* args) = 0;
|
/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...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12CommandLib/ |
Tpm12Ownership.c | 2 Implement TPM1.2 Ownership related command.
21 Send ForceClear command to TPM1.2.
33 TPM_RQU_COMMAND_HDR Command;
38 // send Tpm command TPM_ORD_ForceClear
40 Command.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
41 Command.paramSize = SwapBytes32 (sizeof (Command));
42 Command.ordinal = SwapBytes32 (TPM_ORD_ForceClear);
45 Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response); [all...] |
Tpm12SelfTest.c | 22 Send TPM_ContinueSelfTest command to TPM.
36 TPM_RQU_COMMAND_HDR Command;
41 // send Tpm command TPM_ORD_ContinueSelfTest
43 Command.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
44 Command.paramSize = SwapBytes32 (sizeof (Command));
45 Command.ordinal = SwapBytes32 (TPM_ORD_ContinueSelfTest);
47 return Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response);
|
Tpm12Startup.c | 2 Implement TPM1.2 Startup related command.
32 Send Startup command to TPM1.2.
46 TPM_CMD_START_UP Command;
51 // send Tpm command TPM_ORD_Startup
53 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
54 Command.Hdr.paramSize = SwapBytes32 (sizeof (Command));
55 Command.Hdr.ordinal = SwapBytes32 (TPM_ORD_Startup);
56 Command.TpmSt = SwapBytes16 (TpmSt);
58 Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response); [all...] |
Tpm12NvStorage.c | 2 Implement TPM1.2 NV storage related command.
60 Send NV DefineSpace command to TPM1.2.
76 TPM_CMD_NV_DEFINE_SPACE Command;
81 // send Tpm command TPM_ORD_NV_DefineSpace
83 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
84 Command.Hdr.paramSize = SwapBytes32 (sizeof (Command));
85 Command.Hdr.ordinal = SwapBytes32 (TPM_ORD_NV_DefineSpace);
86 Command.PubInfo.tag = SwapBytes16 (PubInfo->tag);
87 Command.PubInfo.nvIndex = SwapBytes32 (PubInfo->nvIndex); [all...] |
Tpm12PhysicalPresence.c | 2 Implement TPM1.2 Physical Presence related command.
31 Send TSC_PhysicalPresence command to TPM.
48 TPM_CMD_PHYSICAL_PRESENCE Command;
53 // send Tpm command TSC_ORD_PhysicalPresence
55 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
56 Command.Hdr.paramSize = SwapBytes32 (sizeof (Command));
57 Command.Hdr.ordinal = SwapBytes32 (TSC_ORD_PhysicalPresence);
58 Command.PhysicalPresence = SwapBytes16 (PhysicalPresence);
61 Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response); [all...] |
Tpm12GetCapability.c | 63 TPM_CMD_GET_CAPABILITY Command;
68 // send Tpm command TPM_ORD_GetCapability
70 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
71 Command.Hdr.paramSize = SwapBytes32 (sizeof (Command));
72 Command.Hdr.ordinal = SwapBytes32 (TPM_ORD_GetCapability);
73 Command.Capability = SwapBytes32 (TPM_CAP_FLAG);
74 Command.CapabilityFlagSize = SwapBytes32 (sizeof (TPM_CAP_FLAG_PERMANENT));
75 Command.CapabilityFlag = SwapBytes32 (TPM_CAP_FLAG_PERMANENT);
77 Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response); [all...] |
Tpm12Pcr.c | 59 TPM_CMD_EXTEND Command;
64 // send Tpm command TPM_ORD_Extend
66 Command.Hdr.tag = SwapBytes16 (TPM_TAG_RQU_COMMAND);
67 Command.Hdr.paramSize = SwapBytes32 (sizeof (Command));
68 Command.Hdr.ordinal = SwapBytes32 (TPM_ORD_Extend);
69 Command.PcrIndex = SwapBytes32 (PcrIndex);
70 CopyMem (&Command.TpmDigest, DigestToExtend, sizeof (Command.TpmDigest));
72 Status = Tpm12SubmitCommand (sizeof (Command), (UINT8 *)&Command, &Length, (UINT8 *)&Response); [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/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/ |
CommandParser.java | 17 * Parser which remembers the parsed command to have additional context 22 private final Command command; field in class:CommandParser 24 CommandParser(final Command command) { 25 super(command); 26 this.command = command; 29 Command getCommand() { 30 return command; [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/tests/unit/ |
ShUtil.py | 5 from lit.ShUtil import Command, Pipeline, Seq, ShLexer, ShParser 47 Pipeline([Command(['echo', 'hello'], [])], False)) 49 Pipeline([Command(['echo', ''], [])], False)) 51 Pipeline([Command(['echo', '-DFOO=a'], [])], False)) 53 Pipeline([Command(['echo', '-DFOO=a'], [])], False)) 57 Pipeline([Command(['echo', 'hello'], 60 Pipeline([Command(['echo', 'hello'], [(('>',), 'c'), 63 Pipeline([Command(['a'], [(('>&',2), '1')])], False)) 67 Pipeline([Command(['a'], []), 68 Command(['b'], [])] [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) : output(o), echo(true), ignore_error(false) {} 38 void Eval(DepNode* n, vector<Command*>* commands);
|
/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) {
|
/device/google/cuttlefish_common/host/commands/virtual_usb_manager/vadb/ |
usb_cmd.h | 22 // USBCommand is an abstraction of a proxied USB command. 24 // 1) A specific instance (COMMAND) is being created. 26 // 3) OWNER calls COMMAND.OnRequest() to send any relevant, additional 28 // 4) OWNER queues COMMAND until response arrives. 30 // At this point instance owner can process next command in queue. Then, 34 // 6) OWNER calls COMMAND.OnResponse(), supplying FD that carries additional 36 // 7) OWNER dequeues and deletes COMMAND. 42 // Command returns a specific usbforward command ID associated with this 44 virtual usb_forward::Command Command() = 0 [all...] |