Searched refs:command (Results 26 - 50 of 674) sorted by relevance

1234567891011>>

/freebsd-current/contrib/googletest/googletest/test/
H A Dgoogletest-param-test-invalid-name1-test.py44 def TestExitCodeAndOutput(command):
45 """Runs the given command and verifies its exit code and output."""
49 p = gtest_test_utils.Subprocess(command)
H A Dgoogletest-param-test-invalid-name2-test.py44 def TestExitCodeAndOutput(command):
45 """Runs the given command and verifies its exit code and output."""
49 p = gtest_test_utils.Subprocess(command)
H A Dgoogletest-throw-on-failure-test.py35 Google Test) with different environments and command line flags.
44 # The command line flag for enabling/disabling the throw-on-failure mode.
75 def Run(command):
76 """Runs a command; returns True/False if its exit code is/isn't 0."""
78 print('Running "%s". . .' % ' '.join(command))
79 p = gtest_test_utils.Subprocess(command)
115 command = [EXE_PATH]
117 command.append(flag)
124 failed = not Run(command)
133 ' '.join(command),
[all...]
H A Dgoogletest-break-on-failure-unittest.py38 Google Test) with different environments and command line flags.
51 # The command line flag for enabling/disabling the break-on-failure mode.
77 def Run(command):
78 """Runs a command; returns 1 if it was killed by a signal, or 0 otherwise."""
80 p = gtest_test_utils.Subprocess(command, env=environ)
127 command = [EXE_PATH]
129 command.append(flag)
136 has_seg_fault = Run(command)
143 ' '.join(command),
H A Dgoogletest-uninitialized-test.py53 def TestExitCodeAndOutput(command):
54 """Runs the given command and verifies its exit code and output."""
56 # Verifies that 'command' exits with code 1.
57 p = gtest_test_utils.Subprocess(command)
/freebsd-current/contrib/dialog/
H A Dprgbox.c36 dlg_popen(const char *command, const char *type) argument
67 * given command. Also, it needs the command to be parsed into
70 if ((blob = malloc(10 + strlen(command))) != 0) {
72 sprintf(blob, "sh -c \"%s\"", command);
99 const char *command,
108 fp = dlg_popen(command, "r");
110 dlg_exiterr("pipe open failed: %s", command);
97 dialog_prgbox(const char *title, const char *cprompt, const char *command, int height, int width, int pauseopt) argument
/freebsd-current/contrib/sendmail/contrib/
H A Dsmcontrol.pl61 # &do_command -- send command to sendmail daemon view control socket
65 # command -- command to send
74 my $command = shift;
96 print SOCK "$command\n";
330 getopts('f:', $opts) || die "Usage: $0 [-f /path/to/control/socket] command\n";
333 my $command = shift;
339 if (not defined $command)
341 die "Usage: $0 [-f /path/to/control/socket] command\n";
343 if ($command e
[all...]
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_popen.c75 char *buffer, command[MAXPATHLEN]; local
87 (void)snprintf(command, sizeof(command), "%s >%s",
90 if ((my_pipe = popen(command, "w")) == NULL)
99 (void)snprintf(command, sizeof(command), "%s %s", _PATH_CAT, DATAFILE);
101 if ((my_pipe = popen(command, "r")) == NULL)
/freebsd-current/lib/libc/stdlib/
H A Dsystem.c47 system(const char *command) argument
51 __libc_interposing[INTERPOS_system])(command));
55 __libc_system(const char *command) argument
62 if (!command) /* just checking... */
80 * Restore original signal dispositions and exec the command.
83 execl(_PATH_BSHELL, "sh", "-c", command, (char *)NULL);
/freebsd-current/contrib/llvm-project/lldb/source/Utility/
H A DArgs.cpp67 // Trims all whitespace that can separate command line arguments from the left
75 // command string, processing quotes and backslashes in a shell-like manner.
80 ParseSingleArgument(llvm::StringRef command) { argument
88 // Since we can have multiple quotes that form a single command in a command
97 size_t regular = command.find_first_of(" \t\r\"'`\\");
98 arg += command.substr(0, regular);
99 command = command.substr(regular);
101 if (command
168 Args(llvm::StringRef command) argument
247 SetCommandString(llvm::StringRef command) argument
[all...]
/freebsd-current/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c48 static struct bthid_command * find_bthid_command(char const *command, struct bthid_command *category);
128 "'help command'\n");
142 fprintf(stdout, "Unknown command: \"%s\"\n", cmd);
157 fprintf(stdout, "Could not execute command \"%s\". %s\n",
162 fprintf(stdout, "Usage: %s\n%s\n", c->command, c->description);
171 /* Try to find command in specified category */
173 find_bthid_command(char const *command, struct bthid_command *category) argument
177 for (c = category; c->command != NULL; c++) {
178 char *c_end = strchr(c->command, ' ');
181 int len = c_end - c->command;
[all...]
/freebsd-current/contrib/bmake/unit-tests/
H A Dvarmod-sun-shell.mk3 # Tests for the :sh variable modifier, which runs the shell command
15 # If the command exits with non-zero, an error message is printed.
22 .MAKEFLAGS: -dv # to see the actual command
H A Dopt-var-expanded.mk3 # Tests for the -v command line option.
H A Dopt-var-literal.mk3 # Tests for the -V command line option.
/freebsd-current/sys/dev/ips/
H A Dips.h68 #define clear_ips_command(command) bzero(&((command)->status), (unsigned long)(&(command)[1])-(unsigned long)&((command)->status))
72 #define COMMAND_ERROR(command) (((command)->status.fields.basic_status & IPS_GSC_STATUS_MASK) >= IPS_MIN_ERROR)
74 #define ips_set_error(command, error) do { \
75 (command)->status.fields.basic_status = IPS_DRV_ERROR; \
76 (command)->status.fields.reserved = ((error) & 0x0f); \
112 void (* callback)(struct ips_command *command);
[all...]
/freebsd-current/usr.bin/top/
H A Dcommands.h50 struct command { struct
57 extern const struct command all_commands[];
/freebsd-current/usr.sbin/bluetooth/l2control/
H A Dl2control.c63 /* Process command line arguments */
115 "'help command'\n");
126 fprintf(stdout, "Unknown command: \"%s\"\n", cmd);
163 fprintf(stdout, "Could not execute command \"%s\". %s\n",
168 fprintf(stdout, "Usage: %s\n%s\n", c->command, c->description);
177 /* Try to find command in specified category */
179 find_l2cap_command(char const *command, struct l2cap_command *category) argument
183 for (c = category; c->command != NULL; c++) {
184 char *c_end = strchr(c->command, ' ');
187 int len = c_end - c->command;
[all...]
/freebsd-current/usr.sbin/bluetooth/sdpcontrol/
H A Dsdpcontrol.c64 /* Process command line arguments */
121 "'help command'\n");
132 fprintf(stdout, "Unknown command: \"%s\"\n", cmd);
160 fprintf(stdout, "Could not execute command \"%s\". %s\n",
165 fprintf(stdout, "Usage: %s\n%s\n", c->command, c->description);
176 /* Try to find command in specified category */
178 find_sdp_command(char const *command, struct sdp_command *category) argument
182 for (c = category; c->command != NULL; c++) {
183 char *c_end = strchr(c->command, ' ');
186 int len = c_end - c->command;
[all...]
/freebsd-current/contrib/kyua/bootstrap/
H A Dplain_helpers.cpp126 const char* command = std::getenv("HELPER"); local
127 if (command == NULL) {
133 for (; iter->name != NULL && std::strcmp(iter->name, command) != 0; iter++)
136 std::cerr << "Usage error: unknown command " << command << "\n"; local
/freebsd-current/contrib/netbsd-tests/libexec/ld.elf_so/
H A Dt_ifunc.c79 char *command; local
80 easprintf(&command, "%s/h_ifunc %d",
82 if (system(command) != EXIT_SUCCESS)
84 free(command);
/freebsd-current/contrib/netbsd-tests/sys/rc/
H A Dh_args.sh35 # command. All of them print the set of arguments passed to them and take no
43 command="/usr/bin/true"
46 for command in start stop restart custom; do
47 eval ${command}_precmd=\'print_args pre${command}\'
48 eval ${command}_cmd=\'print_args ${command}\'
49 eval ${command}_postcmd=\'print_args post${command}\'
53 local command
[all...]
/freebsd-current/sys/dev/ida/
H A Didaio.h7 int command; member in struct:ida_user_command
/freebsd-current/sys/dev/isci/scil/
H A Dintel_pci.h73 U16 command; member in struct:sci_pci_common_header
/freebsd-current/tools/tools/sortbench/
H A Dbench.py65 command = 'ministat -s -w 60 ' variable
67 command += '{} '.format(filename)
68 command += '> {}/{}stats'.format(outdir, test)
69 os.system(command)
/freebsd-current/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectApropos.h26 void DoExecute(Args &command, CommandReturnObject &result) override;

Completed in 599 milliseconds

1234567891011>>