Home
last modified time | relevance | path

Searched refs:commandName (Results 1 – 25 of 105) sorted by relevance

12345

/external/smali/util/src/main/java/org/jf/util/jcommander/
DExtendedCommands.java59 public static String commandName(JCommander jc) { in commandName() method in ExtendedCommands
60 return getExtendedParameters(jc.getObjects().get(0)).commandName(); in commandName()
64 public static String commandName(Object command) { in commandName() method in ExtendedCommands
65 return getExtendedParameters(command).commandName(); in commandName()
97 jc.addCommand(commandName(command), command, commandAliases(command)); in addExtendedCommand()
127 public static JCommander getSubcommand(JCommander jc, String commandName) { in getSubcommand() argument
128 if (jc.getCommands().containsKey(commandName)) { in getSubcommand()
129 return jc.getCommands().get(commandName); in getSubcommand()
133 if (commandName.equals(alias)) { in getSubcommand()
/external/google-smali/util/src/main/java/com/android/tools/smali/util/jcommander/
DExtendedCommands.java58 public static String commandName(JCommander jc) { in commandName() method in ExtendedCommands
59 return getExtendedParameters(jc.getObjects().get(0)).commandName(); in commandName()
63 public static String commandName(Object command) { in commandName() method in ExtendedCommands
64 return getExtendedParameters(command).commandName(); in commandName()
96 jc.addCommand(commandName(command), command, commandAliases(command)); in addExtendedCommand()
126 public static JCommander getSubcommand(JCommander jc, String commandName) { in getSubcommand() argument
127 if (jc.getCommands().containsKey(commandName)) { in getSubcommand()
128 return jc.getCommands().get(commandName); in getSubcommand()
132 if (commandName.equals(alias)) { in getSubcommand()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DSyntheticFieldsTest.java63 final String commandName; in runTestSyntheticFields() local
66 commandName = "ReferenceType.FieldsWithGeneric command"; in runTestSyntheticFields()
69 commandName = "ReferenceType.Fields command"; in runTestSyntheticFields()
71 logWriter.println("==> " + thisTestName + " for " + commandName + ": START..."); in runTestSyntheticFields()
79 logWriter.println("=> CHECK: send " + commandName + " and check reply..."); in runTestSyntheticFields()
85 checkReplyPacket(fieldsReply, commandName); in runTestSyntheticFields()
114 logWriter.println("==> " + thisTestName + " for " + commandName + ": FINISH"); in runTestSyntheticFields()
DSyntheticMethodsTest.java77 final String commandName; in runTestSyntheticMethods() local
80 commandName = "ReferenceType.MethodsWithGeneric command"; in runTestSyntheticMethods()
83 commandName = "ReferenceType.Methods command"; in runTestSyntheticMethods()
85 logWriter.println("==> " + thisTestName + " for " + commandName + ": START..."); in runTestSyntheticMethods()
93 logWriter.println("=> CHECK: send " + commandName + " and check reply..."); in runTestSyntheticMethods()
99 checkReplyPacket(methodsReply, commandName); in runTestSyntheticMethods()
134 logWriter.println("==> " + thisTestName + " for " + commandName + ": FINISH"); in runTestSyntheticMethods()
/external/deqp/external/vulkancts/modules/vulkan/sc/
DvktSafetyCriticalApiTests.cpp72 for (const auto& commandName : commands) in forbiddenCoreCommands() local
74 void* commandPointer = (void *)vkd.getDeviceProcAddr(device, commandName.c_str()); in forbiddenCoreCommands()
76 TCU_THROW(TestError, commandName + std::string(" should not be accessible")); in forbiddenCoreCommands()
199 for (const auto& commandName : commands) in forbiddenPromotedCommands() local
201 void* commandPointer = (void *)vkd.getDeviceProcAddr(device, commandName.c_str()); in forbiddenPromotedCommands()
203 TCU_THROW(TestError, commandName + std::string(" should not be accessible")); in forbiddenPromotedCommands()
/external/desugar/java/com/google/devtools/common/options/
DCommandNameCache.java35 public ImmutableSet<String> get(String commandName) { in get() argument
36 return delegate.get(commandName); in get()
41 ImmutableSet<String> get(String commandName); in get() argument
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java232 String commandName = (String) iter.next(); in setCommandHandlers() local
233 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
248 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
249 Assert.notNull(commandName, "commandName"); in setCommandHandler()
251 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java241 String commandName = (String) iter.next(); in setCommandHandlers() local
242 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
257 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
258 Assert.notNull(commandName, "commandName"); in setCommandHandler()
260 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java262 String commandName = (String) iter.next(); in setCommandHandlers() local
263 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
278 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
279 Assert.notNull(commandName, "commandName"); in setCommandHandler()
281 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java241 String commandName = (String) iter.next(); in setCommandHandlers() local
242 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
257 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
258 Assert.notNull(commandName, "commandName"); in setCommandHandler()
260 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java241 String commandName = (String) iter.next(); in setCommandHandlers() local
242 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
257 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
258 Assert.notNull(commandName, "commandName"); in setCommandHandler()
260 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java232 String commandName = (String) iter.next(); in setCommandHandlers() local
233 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
248 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
249 Assert.notNull(commandName, "commandName"); in setCommandHandler()
251 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java237 String commandName = (String) iter.next(); in setCommandHandlers() local
238 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
253 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
254 Assert.notNull(commandName, "commandName"); in setCommandHandler()
256 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java231 String commandName = (String) iter.next(); in setCommandHandlers() local
232 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
247 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
248 Assert.notNull(commandName, "commandName"); in setCommandHandler()
250 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java249 String commandName = (String) iter.next(); in setCommandHandlers() local
250 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
265 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
266 Assert.notNull(commandName, "commandName"); in setCommandHandler()
268 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java249 String commandName = (String) iter.next(); in setCommandHandlers() local
250 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
265 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
266 Assert.notNull(commandName, "commandName"); in setCommandHandler()
268 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java248 String commandName = (String) iter.next(); in setCommandHandlers() local
249 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
264 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
265 Assert.notNull(commandName, "commandName"); in setCommandHandler()
267 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java249 String commandName = (String) iter.next(); in setCommandHandlers() local
250 setCommandHandler(commandName, (CommandHandler) commandHandlerMapping.get(commandName)); in setCommandHandlers()
265 public void setCommandHandler(String commandName, CommandHandler commandHandler) { in setCommandHandler() argument
266 Assert.notNull(commandName, "commandName"); in setCommandHandler()
268 commandHandlers.put(Command.normalizeName(commandName), commandHandler); in setCommandHandler()
/external/emma/core/java12/
Demma.java35 final String commandName = args [0]; in main() local
39 … final Command command = Command.create (commandName, "emma ".concat (commandName), commandArgs); in main()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPInvokeMethodWithSuspensionTestCase.java92 String commandName = getInvokeCommandName(); in runInvokeMethodTest() local
93 logWriter.println("Send " + commandName); in runInvokeMethodTest()
98 logWriter.printError("Failed to send " + commandName, e); in runInvokeMethodTest()
135 checkReplyPacket(invokeMethodReply, commandName + " command"); in runInvokeMethodTest()
DJDWPInvokeMethodSuspendedTwiceTestCase.java93 String commandName = getInvokeCommandName(); in runInvokeMethodTest() local
94 logWriter.println("Send " + commandName); in runInvokeMethodTest()
99 logWriter.printError("Failed to send " + commandName, e); in runInvokeMethodTest()
146 checkReplyPacket(invokeMethodReply, commandName + " command"); in runInvokeMethodTest()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/stub/command/
DAbstractCommandHandlerTest.java60 String commandName, String[] parameters) throws Exception { in testHandleCommand_InvalidParameters() argument
63 commandHandler.handleCommand(new Command(commandName, parameters), session); in testHandleCommand_InvalidParameters()
68 … assertTrue("Error message must contain [" + commandName + "]", expected.getMessage().indexOf( in testHandleCommand_InvalidParameters()
69 commandName) != -1); in testHandleCommand_InvalidParameters()
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/stub/command/
DAbstractCommandHandlerTest.java60 String commandName, String[] parameters) throws Exception { in testHandleCommand_InvalidParameters() argument
63 commandHandler.handleCommand(new Command(commandName, parameters), session); in testHandleCommand_InvalidParameters()
68 … assertTrue("Error message must contain [" + commandName + "]", expected.getMessage().indexOf( in testHandleCommand_InvalidParameters()
69 commandName) != -1); in testHandleCommand_InvalidParameters()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/stub/command/
DAbstractCommandHandlerTest.java60 String commandName, String[] parameters) throws Exception { in testHandleCommand_InvalidParameters() argument
63 commandHandler.handleCommand(new Command(commandName, parameters), session); in testHandleCommand_InvalidParameters()
68 … assertTrue("Error message must contain [" + commandName + "]", expected.getMessage().indexOf( in testHandleCommand_InvalidParameters()
69 commandName) != -1); in testHandleCommand_InvalidParameters()
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/stub/command/
DAbstractCommandHandlerTest.java60 String commandName, String[] parameters) throws Exception { in testHandleCommand_InvalidParameters() argument
63 commandHandler.handleCommand(new Command(commandName, parameters), session); in testHandleCommand_InvalidParameters()
68 … assertTrue("Error message must contain [" + commandName + "]", expected.getMessage().indexOf( in testHandleCommand_InvalidParameters()
69 commandName) != -1); in testHandleCommand_InvalidParameters()

12345