Home
last modified time | relevance | path

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

/haiku/src/bin/
H A Dsettype.cpp43 const char *commandName = NULL; in print_usage() local
46 commandName = lastSlash + 1; in print_usage()
48 commandName = kArgv[0]; in print_usage()
51 if (!commandName || strlen(commandName) == 0) in print_usage()
52 commandName = kCommandName; in print_usage()
55 fprintf((error ? stderr : stdout), kUsage, commandName, commandName, in print_usage()
56 commandName); in print_usage()
H A Dxres.cpp657 const char *commandName = NULL; in print_usage() local
660 commandName = lastSlash + 1; in print_usage()
662 commandName = kArgv[0]; in print_usage()
665 if (!commandName || commandName[0] == '\0') in print_usage()
666 commandName = kCommandName; in print_usage()
669 fprintf((error ? stderr : stdout), kUsage, commandName, commandName, in print_usage()
670 commandName); in print_usage()
H A Dcopyattr.cpp158 const char *commandName = NULL; in print_usage() local
161 commandName = lastSlash + 1; in print_usage()
163 commandName = kArgv[0]; in print_usage()
166 if (!commandName || strlen(commandName) == 0) in print_usage()
167 commandName = kCommandName; in print_usage()
170 fprintf((error ? stderr : stdout), kUsage, commandName); in print_usage()
/haiku/src/apps/debugger/user_interface/cli/
H A DCommandLineUserInterface.cpp380 CommandLineUserInterface::_FindCommand(const char* commandName) in _FindCommand() argument
382 size_t commandNameLength = strlen(commandName); in _FindCommand()
387 if (entry->Name() == commandName) { in _FindCommand()
397 if (entry->Name().Compare(commandName, commandNameLength) == 0) { in _FindCommand()
399 printf("Error: Ambiguous command \"%s\".\n", commandName); in _FindCommand()
409 printf("Error: Unknown command \"%s\".\n", commandName); in _FindCommand()
418 CommandLineUserInterface::_PrintHelp(const char* commandName) in _PrintHelp() argument
421 if (commandName != NULL) { in _PrintHelp()
422 CommandEntry* commandEntry = _FindCommand(commandName); in _PrintHelp()
H A DCommandLineUserInterface.h73 CommandEntry* _FindCommand(const char* commandName);
74 void _PrintHelp(const char* commandName);
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliCommand.cpp26 CliCommand::PrintUsage(const char* commandName) const in PrintUsage()
29 printf(Usage(), commandName); in PrintUsage()
H A DCliCommand.h24 void PrintUsage(const char* commandName) const;
/haiku/src/bin/makebootable/platform/bios_ia32/
H A Dmakebootable.cpp101 const char *commandName = NULL; in print_usage() local
104 commandName = lastSlash + 1; in print_usage()
106 commandName = kArgv[0]; in print_usage()
109 if (!commandName || strlen(commandName) == 0) in print_usage()
110 commandName = kCommandName; in print_usage()
113 fprintf((error ? stderr : stdout), kUsage, commandName, commandName, in print_usage()
114 commandName); in print_usage()
/haiku/src/apps/icon-o-matic/transformable/
H A DTransformGradientBox.cpp181 TransformGradientBox::MakeCommand(const char* commandName) in MakeCommand() argument
185 commandName); in MakeCommand()
H A DTransformShapesBox.cpp132 TransformShapesBox::MakeCommand(const char* commandName) in MakeCommand() argument
146 commandName); in MakeCommand()
H A DTransformPointsBox.cpp120 TransformPointsBox::MakeCommand(const char* commandName) in MakeCommand() argument
134 commandName); in MakeCommand()
H A DTransformPointsBox.h43 virtual TransformCommand* MakeCommand(const char* commandName);
/haiku/src/system/kernel/debug/
H A Ddebug_commands.cpp496 print_debugger_command_usage(const char* commandName) in print_debugger_command_usage() argument
500 debugger_command* command = find_debugger_command(commandName, true, in print_debugger_command_usage()
520 has_debugger_command(const char* commandName) in has_debugger_command() argument
523 return find_debugger_command(commandName, false, ambiguous) != NULL; in has_debugger_command()
/haiku/src/kits/tracker/
H A DUtilities.h409 extern void EnableNamedMenuItem(BMenu* menu, uint32 commandName, bool on);
410 extern void MarkNamedMenuItem(BMenu* menu, uint32 commandName, bool on);
H A DUtilities.cpp1413 EnableNamedMenuItem(BMenu* menu, uint32 commandName, bool on) in EnableNamedMenuItem() argument
1415 BMenuItem* item = menu->FindItem(commandName); in EnableNamedMenuItem()
1422 MarkNamedMenuItem(BMenu* menu, uint32 commandName, bool on) in MarkNamedMenuItem() argument
1424 BMenuItem* item = menu->FindItem(commandName); in MarkNamedMenuItem()