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

1234567891011>>

/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...]
/haiku/src/kits/device/
H A DUSBConfiguration.cpp23 usb_raw_command command; local
24 command.config.descriptor = &fDescriptor;
25 command.config.config_index = fIndex;
26 if (ioctl(fRawFD, B_USB_RAW_COMMAND_GET_CONFIGURATION_DESCRIPTOR, &command,
27 sizeof(command)) || command.config.status != B_USB_RAW_STATUS_SUCCESS)
/haiku/src/libs/stdc++/legacy/
H A Dpfstream.cc38 // Look for '| command' (as used by ftp).
48 // Look for 'command |'
55 char *command = new char[p-name+1]; local
57 char command[p-name+1]; local
59 memcpy(command, name, p-name);
60 command[p-name] = '\0';
63 if (pbuf->open(command, mode))
66 delete command;
79 // Look for '| command'.
/haiku/src/add-ons/accelerants/radeon_hd/
H A Dencoder.h22 uint32 pixelClock, int command);
24 uint32 pixelClock, int command);
26 uint32 pixelClock, int command);
27 status_t encoder_external_setup(uint32 connectorIndex, int command);
29 uint32 pixelClock, int command);
36 uint8 laneNumber, uint8 laneSet, int command);
/haiku/src/add-ons/accelerants/intel_extreme/
H A Dcommands.h15 struct command { struct
26 void Put(struct command &command, size_t size);
41 struct xy_command : command {
51 xy_command(uint32 command, uint16 rop) argument
53 opcode = command;
123 struct xy_scanline_blit_command : command {
/haiku/src/kits/bluetooth/
H A DCommandManager.cpp60 request.AddData("raw command", B_ANY_TYPE,
121 void* command = buildCommand(OGF_CONTROL_BASEBAND, OCF_WRITE_SCAN_ENABLE, local
125 if (command != NULL) {
129 return command;
144 void* command = buildCommand(OGF_LINK_CONTROL, OCF_REMOTE_NAME_REQUEST, local
147 if (command != NULL) {
153 return command;
162 void* command = buildCommand(OGF_LINK_CONTROL, OCF_INQUIRY, local
165 if (command != NULL) {
174 return command;
196 void* command = buildCommand(OGF_LINK_CONTROL, OCF_PIN_CODE_REPLY, local
215 void* command = buildCommand(OGF_LINK_CONTROL, OCF_PIN_CODE_NEG_REPLY, local
234 void* command = buildCommand(OGF_LINK_CONTROL, OCF_ACCEPT_CONN_REQ, local
252 void* command = buildCommand(OGF_LINK_CONTROL, OCF_REJECT_CONN_REQ, local
[all...]
/haiku/src/servers/registrar/
H A DMessagingService.cpp121 // get the command
122 messaging_command *command
130 fHeader->first_command = command->next_command;
132 return command;
225 only implemented command type is to send a message, but it is very easy
226 to add further command types (e.g. one for alerting the user in case of
229 The MessagingService maintains a mapping of command types to command
280 // create the command handler map
285 // spawn the command processo
358 SetCommandHandler(uint32 command, MessagingCommandHandler *handler) argument
408 const messaging_command *command = area->PopCommand(); local
[all...]
H A DMessageEvent.h40 MessageEvent(bigtime_t time, BHandler* handler, uint32 command);
42 MessageEvent(bigtime_t time, const BMessenger& messenger, uint32 command);
/haiku/src/system/libroot/posix/sys/
H A Dxsi_sem.cpp32 semctl(int semID, int semNum, int command, ...) argument
37 switch (command) {
43 RETURN_AND_SET_ERRNO(_kern_xsi_semctl(semID, semNum, command, 0));
50 va_start(args, command);
53 RETURN_AND_SET_ERRNO(_kern_xsi_semctl(semID, semNum, command,
/haiku/headers/private/shared/
H A DToolBar.h24 void AddAction(uint32 command, BHandler* target,
38 void SetActionEnabled(uint32 command, bool enabled);
39 void SetActionPressed(uint32 command, bool pressed);
40 void SetActionVisible(uint32 command, bool visible);
42 BButton* FindButton(uint32 command) const;
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/
H A DProtocol.cpp124 RawCommand command("LOGOUT");
125 ProcessCommand(command);
202 ListCommand command(NULL, true);
203 status_t status = ProcessCommand(command);
207 folders = command.FolderList();
208 separator = command.Separator();
216 SubscribeCommand command(folder);
217 return ProcessCommand(command);
224 UnsubscribeCommand command(folder);
225 return ProcessCommand(command);
247 SendCommand(const char* command) argument
254 SendCommand(int32 id, const char* command) argument
282 ProcessCommand(Command& command, bigtime_t timeout) argument
310 HandleResponse(Command* command, bigtime_t timeout, bool disconnectOnTimeout) argument
[all...]
/haiku/src/system/kernel/debug/
H A Ddebug_commands.h26 debugger_command* command; member in struct:debugger_command_pipe_segment
30 uint64 user_data[4]; // can be used by the command
45 debugger_command* next_debugger_command(debugger_command* command,
51 int invoke_debugger_command(struct debugger_command *command, int argc,
/haiku/src/apps/softwareupdater/
H A DSoftwareUpdaterApp.cpp22 "Usage: SoftwareUpdater <command> [ <option> ]\n"
118 const char* command = ""; local
126 command = argv[optind];
129 if (strcmp("update", command) == 0)
131 else if (strcmp("check", command) == 0)
133 else if (strcmp("full-sync", command) == 0)
138 fprintf(stderr, " \"%s\"\n", command);
/haiku/src/apps/icon-o-matic/generic/command/
H A DCommandStack.h27 status_t Perform(Command* command);
40 status_t _AddCommand(Command* command);
/haiku/src/apps/mediaplayer/support/
H A DCommandStack.h24 status_t Perform(Command* command);
37 status_t _AddCommand(Command* command);
H A DMessageEvent.cpp11 MessageEvent::MessageEvent(bigtime_t time, BHandler* handler, uint32 command) argument
14 fMessage(command)
/haiku/src/apps/icon-o-matic/
H A DUtil.h32 Style** style, AddStylesCommand** command);
35 AddPathsCommand** command, VectorPath* other = NULL);
/haiku/src/tests/add-ons/kernel/network/
H A Duserland_ipc.c121 clone_command_areas(net_area_info *localArea,net_command *command) argument
128 if (command->area[i].id <= 0)
132 B_READ_AREA | B_WRITE_AREA,command->area[i].id);
209 net_command *command; local
218 printf("got bad command index: %lx\n",index);
221 command = cookie->commands + index;
222 if (clone_command_areas(area, command) < B_OK) {
223 printf("could not clone command areas!\n");
230 if (ci->op == command->op)
235 args = convert_to_local(&command
[all...]
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_signal.cpp42 NetBufferHeaderReader<l2cap_connection_req> command(buffer);
43 if (command.Status() != B_OK)
46 const uint16 psm = le16toh(command->psm);
47 const uint16 scid = le16toh(command->scid);
65 NetBufferHeaderReader<l2cap_connection_rsp> command(buffer);
66 if (command.Status() != B_OK)
70 response.dcid = le16toh(command->dcid);
71 response.scid = le16toh(command->scid);
72 response.result = le16toh(command->result);
73 response.status = le16toh(command
336 send_l2cap_command(HciConnection* conn, uint8 code, uint8 ident, net_buffer* command) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATADevice.cpp43 fTaskFile.write.command = ATA_COMMAND_GET_MEDIA_STATUS;
70 fTaskFile.lba.command
91 fTaskFile.lba.command = ATA_COMMAND_MEDIA_EJECT;
111 scsi_cmd_inquiry *command = (scsi_cmd_inquiry *)ccb->cdb; local
112 if (command->evpd || command->page_code) {
159 uint32 allocationLength = command->allocation_length;
173 scsi_cmd_read_capacity *command = (scsi_cmd_read_capacity *)ccb->cdb; local
174 if (command->pmi || command
204 scsi_cmd_read_capacity_long *command local
265 scsi_cmd_ssu *command = (scsi_cmd_ssu *)ccb->cdb; local
308 scsi_cmd_rw_6 *command = (scsi_cmd_rw_6 *)ccb->cdb; local
320 scsi_cmd_rw_10 *command = (scsi_cmd_rw_10 *)ccb->cdb; local
337 scsi_cmd_rw_12 *command = (scsi_cmd_rw_12 *)ccb->cdb; local
354 scsi_cmd_rw_16 *command = (scsi_cmd_rw_16 *)ccb->cdb; local
[all...]
/haiku/headers/private/graphics/radeon/
H A Ddma_regs.h16 uint32 command; member in struct:DMA_descriptor
/haiku/headers/private/interface/
H A Dinput_globals.h14 status_t _control_input_server_(BMessage *command, BMessage *reply);
/haiku/headers/private/kernel/boot/net/
H A DRemoteDiskDefs.h60 uint8_t command; member in struct:remote_disk_header
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DSettings.h21 const IOCtlInfo* GetIOCtlInfo(int command) const;
/haiku/src/tools/fs_shell/
H A Dfs_shell_command_beos.cpp20 send_external_command(const char *command, int *result) argument
22 int commandLen = strlen(command);
30 strcpy(message->command, command);
32 // find the command port
35 fprintf(stderr, "Error: Couldn't find fs_shell command port.\n");
48 // send the command message
56 fprintf(stderr, "Error: Failed to send command: %s\n", strerror(error));

Completed in 110 milliseconds

1234567891011>>