Home
last modified time | relevance | path

Searched refs:commandLine (Results 1 – 11 of 11) sorted by relevance

/haiku/src/kits/shared/
H A DArgumentVector.cpp17 ParseError Parse(const char* commandLine, const char*& _errorLocation) in Parse()
25 for (; *commandLine; commandLine++) { in Parse()
26 char c = *commandLine; in Parse()
34 const char* errorBase = commandLine; in Parse()
39 while (*++commandLine != '\'') { in Parse()
40 c = *commandLine; in Parse()
51 while (*++commandLine != '"') { in Parse()
52 c = *commandLine; in Parse()
59 c = *++commandLine; in Parse()
77 c = *++commandLine; in Parse()
[all …]
/haiku/src/apps/terminal/
H A DHyperLink.cpp50 BString commandLine; in Open() local
51 commandLine.SetToFormat("/bin/open %s", address.String()); in Open()
52 return system(commandLine) == 0 ? B_OK : errno; in Open()
/haiku/src/tests/servers/registrar/
H A Dmessage_deliverer_test.cpp176 BString commandLine(path.Path()); in main() local
177 commandLine << " broadcast"; in main()
178 if (system(commandLine.String()) < 0) { in main()
/haiku/headers/private/shared/
H A DArgumentVector.h35 ParseError Parse(const char* commandLine,
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp743 std::string commandLine("groupadd "); in _AddGroup() local
744 commandLine += FSUtils::ShellEscapeString(groupName).String(); in _AddGroup()
746 if (system(commandLine.c_str()) != 0) { in _AddGroup()
771 std::string commandLine("useradd "); in _AddUser() local
774 commandLine += std::string("-n ") in _AddUser()
779 commandLine += std::string("-d ") in _AddUser()
784 commandLine += std::string("-s ") in _AddUser()
789 commandLine += std::string("-g ") in _AddUser()
794 commandLine += FSUtils::ShellEscapeString(user.Name()).String(); in _AddUser()
796 if (system(commandLine.c_str()) != 0) { in _AddUser()
[all …]
H A DFSUtils.cpp215 std::string commandLine = std::string("package extract -C ") in ExtractPackageContent() local
221 if (system(commandLine.c_str()) != 0) in ExtractPackageContent()
/haiku/build/jam/
H A DMiscRules220 rule RunCommandLine commandLine
222 # RunCommandLine <commandLine>
225 # command line to be executed. Elements of <commandLine> with the prefix ":"
240 for i in $(commandLine) {
443 local commandLine = :<build>bfs_shell $(startOffset)
445 JAM_TARGETS = [ RunCommandLine $(commandLine) ] ;
/haiku/src/tools/fs_shell/
H A Dfssh.cpp1396 bool Parse(const char* commandLine) in Parse() argument
1408 for (; *commandLine; commandLine++) { in Parse()
1409 char c = *commandLine; in Parse()
1420 while (*++commandLine != '\'') { in Parse()
1421 c = *commandLine; in Parse()
1433 while (*++commandLine != '"') { in Parse()
1434 c = *commandLine; in Parse()
1442 c = *++commandLine; in Parse()
1461 c = *++commandLine; in Parse()
/haiku/src/system/kernel/arch/riscv64/
H A Darch_debug.cpp785 const char* commandLine = argv[1]; in cmd_in_context() local
787 if (parse_next_debug_command_argument(&commandLine, threadIDString, in cmd_in_context()
793 if (commandLine == NULL) { in cmd_in_context()
824 evaluate_debug_command(commandLine); in cmd_in_context()
/haiku/src/system/kernel/debug/
H A Ddebug_parser.cpp1198 evaluate_debug_command(const char* commandLine) in evaluate_debug_command() argument
1211 ExpressionParser().EvaluateCommand(commandLine, returnCode); in evaluate_debug_command()
1215 sExceptionMessage, sExceptionPosition, commandLine); in evaluate_debug_command()
/haiku/src/system/kernel/arch/x86/
H A Darch_debug.cpp994 const char* commandLine = argv[1]; in cmd_in_context() local
996 if (parse_next_debug_command_argument(&commandLine, threadIDString, in cmd_in_context()
1002 if (commandLine == NULL) { in cmd_in_context()
1033 evaluate_debug_command(commandLine); in cmd_in_context()