Searched refs:command (Results 1 - 25 of 319) sorted by relevance

1234567891011>>

/haiku/src/libs/stdc++/legacy/
H A Dprocbuf.cc34 procbuf::procbuf(const char *command, int mode) : filebuf() argument
36 _IO_proc_open(this, command, (mode & ios::in) ? "r" : "w");
39 procbuf *procbuf::open(const char *command, int mode) argument
41 return (procbuf*)_IO_proc_open(this, command, (mode & ios::in) ? "r" : "w");
/haiku/src/tools/fs_shell/
H A Dfs_shell_command.h12 bool send_external_command(const char* command, int* result);
H A Dfs_shell_command_beos.h11 static const char *kFSShellCommandPort = "fs shell command port";
16 char command[1]; member in struct:external_command_message
H A Dfs_shell_command.cpp53 fprintf(stderr, "Error: No command given.\n");
60 // prepare the command string
61 char command[102400]; local
62 prepare_command_string(argv + 1, argc - 1, command, sizeof(command));
64 // send the command
66 if (!send_external_command(command, &result))
72 fprintf(stderr, "Error: Command was:\n %s\n", command);
/haiku/src/apps/icon-o-matic/
H A DUtil.cpp24 Style** style, AddStylesCommand** command)
30 *command = new (nothrow) AddStylesCommand(
33 if (*command == NULL) {
38 *command = NULL;
45 AddPathsCommand** command, VectorPath* other)
57 *command = new (nothrow) AddPathsCommand(
59 if (*command == NULL) {
64 *command = NULL;
23 new_style(rgb_color color, Container<Style>* container, Style** style, AddStylesCommand** command) argument
44 new_path(Container<VectorPath>* container, VectorPath** path, AddPathsCommand** command, VectorPath* other) argument
/haiku/src/kits/device/
H A DUSBEndpoint.cpp20 usb_raw_command command; local
21 command.endpoint_etc.descriptor = &fDescriptor;
22 command.endpoint_etc.config_index = fInterface->Configuration()->Index();
23 command.endpoint_etc.interface_index = fInterface->Index();
24 command.endpoint_etc.alternate_index = fInterface->AlternateIndex();
25 command.endpoint_etc.endpoint_index = fIndex;
26 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_ENDPOINT_DESCRIPTOR_ETC, &command,
27 sizeof(command)) || command.endpoint_etc.status != B_USB_RAW_STATUS_SUCCESS)
141 usb_raw_command command;
[all...]
H A DUSBInterface.cpp133 usb_raw_command command;
134 command.generic_etc.descriptor = descriptor;
135 command.generic_etc.config_index = fConfiguration->Index();
136 command.generic_etc.interface_index = fIndex;
137 command.generic_etc.alternate_index = fAlternate;
138 command.generic_etc.generic_index = index;
139 command.generic_etc.length = length;
140 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_GENERIC_DESCRIPTOR_ETC, &command,
141 sizeof(command)) || command
168 usb_raw_command command; local
210 usb_raw_command command; local
224 usb_raw_command command; local
240 usb_raw_command command; local
[all...]
H A DUSBDevice.cpp61 usb_raw_command command; local
62 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_VERSION, &command, sizeof(command))
63 || command.version.status != B_USB_RAW_PROTOCOL_VERSION) {
68 command.device.descriptor = &fDescriptor;
69 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_DEVICE_DESCRIPTOR, &command,
70 sizeof(command)) || command.device.status != B_USB_RAW_STATUS_SUCCESS) {
254 usb_raw_command command;
255 command
[all...]
/haiku/src/bin/package_repo/
H A Dpackage_repo.cpp20 "Usage: %s <command> <command args>\n"
67 const char* command = argv[1]; local
68 if (strcmp(command, "create") == 0)
71 if (strcmp(command, "list") == 0)
74 if (strcmp(command, "update") == 0)
77 if (strcmp(command, "help") == 0)
/haiku/src/add-ons/kernel/drivers/bus/usb/
H A Dusb_raw.cpp287 usb_raw_command command;
288 if (length < sizeof(command.version.status))
291 || user_memcpy(&command, buffer, min_c(length, sizeof(command)))
296 command.version.status = B_USB_RAW_STATUS_ABORTED;
302 command.version.status = B_USB_RAW_PROTOCOL_VERSION;
309 if (length < sizeof(command.device))
318 if (!IS_USER_ADDRESS(command.device.descriptor)
319 || user_memcpy(command.device.descriptor, deviceDescriptor,
324 command
[all...]
/haiku/src/kits/media/
H A DBufferConsumer.cpp108 producer_late_notice_received_command command;
109 command.source = whatSource;
110 command.how_much = howMuch;
111 command.performance_time = performanceTime;
113 SendToPort(whatSource.port, PRODUCER_LATE_NOTICE_RECEIVED, &command,
114 sizeof(command));
135 producer_video_clipping_changed_command* command; local
138 command
140 if (command == NULL)
143 command
280 producer_set_buffer_group_command *command local
379 const consumer_buffer_received_command* command local
402 const consumer_producer_data_status_command *command = static_cast<const consumer_producer_data_status_command *>(data); local
512 producer_video_clipping_changed_command *command; local
[all...]
H A DBufferProducer.cpp140 const producer_set_run_mode_delay_command* command local
143 fDelay = command->delay;
144 fRunMode = command->mode;
269 const producer_set_buffer_group_command* command local
273 group = command->buffer_count != 0
274 ? new BBufferGroup(command->buffer_count, command->buffers)
283 status_t status = SetBufferGroup(command->source, group);
284 if (command->destination == media_destination::null)
288 replycommand.info.change_tag = command
301 const producer_format_change_requested_command* command local
325 const producer_video_clipping_changed_command* command local
351 const producer_additional_buffer_requested_command* command local
362 const producer_latency_changed_command* command local
371 const producer_late_notice_received_command* command local
381 const producer_enable_output_command* command local
[all...]
/haiku/src/bin/package/
H A Dpackage.cpp24 "Usage: %s <command> <command args>\n"
158 const char* command = argv[1]; local
159 if (strcmp(command, "add") == 0)
162 if (strcmp(command, "checksum") == 0)
165 if (strcmp(command, "create") == 0)
168 if (strcmp(command, "dump") == 0)
171 if (strcmp(command, "extract") == 0)
174 if (strcmp(command, "list") == 0)
177 if (strcmp(command, "inf
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DIOCtlInfo.h10 int command; member in struct:IOCtlInfo
/haiku/src/kits/interface/
H A DInput.cpp29 BMessage command(IS_FIND_DEVICES);
32 command.AddString("device", name);
34 status_t err = _control_input_server_(&command, &reply);
60 BMessage command(IS_FIND_DEVICES);
63 status_t err = _control_input_server_(&command, &reply);
89 BMessage command(IS_WATCH_DEVICES);
92 command.AddMessenger("target", target);
93 command.AddBool("start", start);
95 return _control_input_server_(&command, &reply);
125 BMessage command(IS_IS_DEVICE_RUNNIN
257 _control_input_server_(BMessage *command, BMessage *reply) argument
[all...]
/haiku/src/apps/icon-o-matic/generic/command/
H A DCommandStack.cpp35 CommandStack::Perform(Command* command) argument
40 status_t ret = command ? B_OK : B_BAD_VALUE;
42 ret = command->InitCheck();
45 ret = command->Perform();
48 ret = _AddCommand(command);
52 delete command;
68 Command* command = fUndoHistory.top(); local
70 status = command->Undo();
72 fRedoHistory.push(command);
74 fUndoHistory.push(command);
92 Command* command = fRedoHistory.top(); local
191 _AddCommand(Command* command) argument
[all...]
/haiku/src/apps/mediaplayer/support/
H A DCommandStack.cpp36 CommandStack::Perform(Command* command) argument
41 status_t ret = command ? B_OK : B_BAD_VALUE;
43 ret = command->InitCheck();
46 ret = command->Perform();
49 ret = _AddCommand(command);
53 delete command;
71 Command* command = fUndoHistory.top(); local
73 status = command->Undo();
75 fRedoHistory.push(command);
77 fUndoHistory.push(command);
95 Command* command = fRedoHistory.top(); local
194 _AddCommand(Command* command) argument
[all...]
/haiku/headers/cpp/
H A Dprocbuf.h42 procbuf(const char *command, int mode);
43 procbuf* open(const char *command, int mode);
/haiku/src/add-ons/accelerants/radeon_hd/
H A Ddisplay.h24 void display_crtc_ss(pll_info* pll, int command);
25 void display_crtc_lock(uint8 crtcID, int command);
26 void display_crtc_blank(uint8 crtcID, int command);
32 void display_crtc_power(uint8 crtcID, int command);
33 void display_crtc_memreq(uint8 crtcID, int command);
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DCommands.cpp141 RawCommand::RawCommand(const BString& command) argument
143 fCommand(command)
169 BString command = "LOGIN "; local
170 command << "\"" << fUser << "\" " << "\"" << fPassword << "\"";
172 return command;
222 BString command = "SELECT \"";
223 command += fMailboxName;
224 command += "\"";
225 return command;
299 BString command local
401 BString command = "UID FETCH "; local
476 BString command = "UID STORE "; local
671 BString command = _Command(); local
748 BString command = "SUBSCRIBE \\""; local
768 BString command = "UNSUBSCRIBE \\""; local
790 BString command = "GETQUOTAROOT \\""; local
[all...]
/haiku/src/bin/pkgman/
H A DCommand.cpp35 fShortUsage.ReplaceAll("%command%", fName);
36 fLongUsage.ReplaceAll("%command%", fName);
80 CommandManager::RegisterCommand(Command* command) argument
82 fCommands.AddItem(command);
89 for (int32 i = 0; Command* command = fCommands.ItemAt(i); i++)
90 command->Init(programName);
99 for (int32 i = 0; Command* command = fCommands.ItemAt(i); i++) {
100 if (command->Name().StartsWith(prefix))
101 _commands.AddItem(command);
110 for (int32 i = 0; Command* command
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug_commands.cpp36 debugger_command* command; member in struct:invoke_command_parameters
92 // invoke command
129 // invoke command
176 parameters->result = parameters->command->func(parameters->argc,
190 // set last command argument
195 // invoke command
199 int result = invoke_debugger_command(segment.command, segment.argc,
222 next_debugger_command(debugger_command* command, const char* prefix, argument
225 if (command == NULL)
226 command
240 debugger_command *command; local
284 invoke_debugger_command(struct debugger_command *command, int argc, char** argv) argument
429 debugger_command** command = &sCommands; local
483 debugger_command* command = find_debugger_command(oldName, false, local
500 debugger_command* command = find_debugger_command(commandName, true, local
[all...]
/haiku/src/tests/add-ons/mail/imap/
H A Dimap_tester.cpp56 IMAP::SelectCommand command(folder);
57 status_t status = sProtocol.ProcessCommand(command);
60 command.NextUID(), command.UIDValidity());
110 IMAP::FetchCommand command(from, to, flags | IMAP::kFetchFlags);
153 command.SetListener(&listener);
155 status_t status = sProtocol.ProcessCommand(command);
179 IMAP::FetchMessageEntriesCommand command(entries, from, to, true);
180 status_t status = sProtocol.ProcessCommand(command);
196 IMAP::RawCommand command("NOO
207 char command[4096]; local
218 RawCommand(const char* command) argument
[all...]
/haiku/headers/tools/cppunit/
H A DTestUtils.h33 // Calls system() with the concatenated string of command and parameter.
34 extern CPPUNIT_API void ExecCommand(const char *command, const char *parameter);
36 // Calls system() with the concatenated string of command, parameter1,
38 extern CPPUNIT_API void ExecCommand(const char *command, const char *parameter1,
41 // Calls system() with the given command (kind of silly, but it's consistent :-)
42 extern CPPUNIT_API void ExecCommand(const char *command);
/haiku/src/tools/cppunit/
H A DTestUtils.cpp202 void ExecCommand(const char *command) { argument
203 if (command)
204 system(command);
208 void ExecCommand(const char *command, const char *parameter) { argument
209 if (command && parameter) {
210 char *cmdLine = new char[strlen(command) + strlen(parameter) + 1];
211 strcpy(cmdLine, command);
219 void ExecCommand(const char *command, const char *parameter1, argument
221 if (command && parameter1 && parameter2) {
222 char *cmdLine = new char[strlen(command)
[all...]

Completed in 270 milliseconds

1234567891011>>