Searched refs:cmd (Results 1 - 25 of 453) sorted by relevance

1234567891011>>

/haiku-fatelf/src/add-ons/kernel/generic/scsi_periph/
H A Dsync.cpp24 scsi_cmd_sync_cache* cmd = (scsi_cmd_sync_cache*)request->cdb; local
34 memset(cmd, 0, sizeof(*cmd));
36 cmd->opcode = SCSI_OP_SYNCHRONIZE_CACHE;
37 cmd->immediately = 0;
40 cmd->block_count = 0;
42 request->cdb_length = sizeof(*cmd);
H A Dio.cpp37 scsi_cmd_prevent_allow cmd; local
41 memset(&cmd, 0, sizeof(cmd));
42 cmd.opcode = SCSI_OP_PREVENT_ALLOW;
43 cmd.prevent = prevent;
45 return periph_simple_exec(device, (uint8 *)&cmd, sizeof(cmd), NULL, 0,
52 raw_command(scsi_periph_device_info *device, raw_device_command *cmd) argument
64 if (cmd->flags & B_RAW_DEVICE_DATA_IN)
66 else if (cmd
168 scsi_cmd_rw_6 *cmd = (scsi_cmd_rw_6 *)request->cdb; local
181 scsi_cmd_rw_10 *cmd = (scsi_cmd_rw_10 *)request->cdb; local
195 scsi_cmd_rw_12 *cmd = (scsi_cmd_rw_12 *)request->cdb; local
207 scsi_cmd_rw_16 *cmd = (scsi_cmd_rw_16 *)request->cdb; local
[all...]
H A Dblock.cpp20 scsi_cmd_read_capacity *cmd = (scsi_cmd_read_capacity *)request->cdb; local
41 memset(cmd, 0, sizeof(*cmd));
42 cmd->opcode = SCSI_OP_READ_CAPACITY;
63 scsi_cmd_read_capacity_long *cmd local
71 memset(cmd, 0, sizeof(*cmd));
72 cmd->opcode = SCSI_OP_SERVICE_ACTION_IN;
73 cmd->service_action = SCSI_SAI_READ_CAPACITY_16;
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_service.cpp45 ps2_service_cmd cmd; local
49 cmd.id = PS2_SERVICE_NOTIFY_DEVICE_ADDED;
50 cmd.dev = dev;
52 packet_buffer_write(sServiceCmdBuffer, (const uint8 *)&cmd, sizeof(cmd));
62 ps2_service_cmd cmd; local
66 cmd.id = PS2_SERVICE_NOTIFY_DEVICE_REPUBLISH;
67 cmd.dev = dev;
69 packet_buffer_write(sServiceCmdBuffer, (const uint8 *)&cmd, sizeof(cmd));
79 ps2_service_cmd cmd; local
106 ps2_service_cmd cmd; local
[all...]
/haiku-fatelf/src/bin/gdb/gdb/mi/
H A Dmi-parse.h37 const struct mi_cmd *cmd; member in struct:mi_parse
49 extern struct mi_parse *mi_parse (char *cmd);
53 extern void mi_parse_free (struct mi_parse *cmd);
/haiku-fatelf/src/libs/print/libgutenprint/src/escputil/
H A Dd4lib.c328 /* Input: unsigned char *cmd the data are to be put here */
334 static void printCmdType(unsigned char *cmd) argument
336 if (cmd[6] & 0x80)
338 if ( cmd[0] == 0 && cmd[1] == 0 )
340 switch(cmd[6] & 0x7f)
366 /* char *cmd the data are to be put here */
373 static int writeCmd(int fd, unsigned char *cmd, int len) argument
385 printCmdType(cmd);
389 if ( cmd[
723 sendReceiveCmd(int fd, unsigned char *cmd, int len, unsigned char *answer, int expectedlen, int allowExtra) argument
782 unsigned char cmd[] = local
834 init_t cmd; local
863 cmdHeader_t cmd; local
893 cmdHeader_t *cmd = (cmdHeader_t*)buf; local
927 unsigned char cmd[17]; local
1017 cmdHeader_t *cmd = (cmdHeader_t *)buf; local
1047 cmdHeader_t *cmd = (cmdHeader_t *)buf; local
1089 cmdHeader_t *cmd = (cmdHeader_t*)buf; local
1181 unsigned char cmd[6]; local
1308 writeAndReadData(int fd, unsigned char socketID, const unsigned char *cmd, int cmd_len, int eoj, unsigned char *buf, int len, int *sndSz, int *rcvSz, int (*test)(const unsigned char *buf)) argument
[all...]
/haiku-fatelf/headers/libs/agg/
H A Dagg_conv_close_polygon.h64 unsigned cmd = path_cmd_stop; local
71 cmd = m_cmd[m_vertex];
76 cmd = m_source->vertex(x, y);
78 if(is_end_poly(cmd))
80 cmd |= path_flags_close;
84 if(is_stop(cmd))
97 if(is_move_to(cmd))
106 m_cmd[1] = cmd;
114 if(is_vertex(cmd))
120 return cmd;
[all...]
H A Dagg_conv_unclose_polygon.h37 unsigned cmd = m_source->vertex(x, y); local
38 if(is_end_poly(cmd)) cmd &= ~path_flags_close;
39 return cmd;
H A Dagg_vcgen_vertex_sequence.h43 void add_vertex(double x, double y, unsigned cmd);
74 inline void vcgen_vertex_sequence::add_vertex(double x, double y, unsigned cmd) argument
77 if(is_move_to(cmd))
79 m_src_vertices.modify_last(vertex_dist_cmd(x, y, cmd));
83 if(is_vertex(cmd))
85 m_src_vertices.add(vertex_dist_cmd(x, y, cmd));
89 m_flags = cmd & path_flags_mask;
129 return v.cmd;
H A Dagg_path_length.h34 unsigned cmd; local
36 while(!is_stop(cmd = vs.vertex(&x2, &y2)))
38 if(is_vertex(cmd))
40 if(first || is_move_to(cmd))
55 if(is_close(cmd) && !first)
H A Dagg_conv_concat.h44 unsigned cmd; local
47 cmd = m_source1->vertex(x, y);
48 if(!is_stop(cmd)) return cmd;
53 cmd = m_source2->vertex(x, y);
54 if(!is_stop(cmd)) return cmd;
H A Dagg_conv_adaptor_vcgen.h91 unsigned cmd = path_cmd_stop; local
111 cmd = m_source->vertex(x, y);
112 if(is_vertex(cmd))
114 m_last_cmd = cmd;
115 if(is_move_to(cmd))
121 m_generator.add_vertex(*x, *y, cmd);
126 if(is_stop(cmd))
131 if(is_end_poly(cmd))
133 m_generator.add_vertex(*x, *y, cmd);
142 cmd
[all...]
H A Dagg_trans_single_path.h63 unsigned cmd; local
65 while(!is_stop(cmd = vs.vertex(&x, &y)))
67 if(is_move_to(cmd))
73 if(is_vertex(cmd))
/haiku-fatelf/src/libs/agg/src/
H A Dagg_vcgen_contour.cpp50 void vcgen_contour::add_vertex(double x, double y, unsigned cmd) argument
53 if(is_move_to(cmd))
59 if(is_vertex(cmd))
65 if(is_end_poly(cmd))
67 m_closed = get_close_flag(cmd);
70 m_orientation = get_orientation(cmd);
104 unsigned cmd = path_cmd_line_to; local
105 while(!is_stop(cmd))
115 cmd = path_cmd_stop;
119 cmd
[all...]
/haiku-fatelf/src/libs/stdc++/legacy/
H A DPlotFile.cc62 PlotFile& PlotFile:: cmd(char c) function in class:PlotFile
91 return cmd('a') << xi << yi << x0 << y0 << x1 << y1;
106 return cmd('c') << x << y << r;
111 return cmd('n') << xi << yi;
117 cmd('d') << xi << yi << dx << n;
124 return cmd('e');
129 return cmd('t') << s << "\n";
135 return cmd('l') << x0 << y0 << x1 << y1;
140 return cmd('f') << s << "\n";
145 return cmd('
[all...]
/haiku-fatelf/data/etc/
H A Dprofile73 for cmd
76 echo $(builtin type $cmd | sed 1q)
78 path=$(builtin type -path $cmd)
82 case "$cmd" in
83 */*) if [ -x "$cmd" ]; then
84 echo "$cmd"
89 *) case "$(builtin type -type $cmd)" in
92 *) echo "$cmd"
/haiku-fatelf/src/bin/less/
H A Dlsystem.c42 lsystem(cmd, donemsg)
43 char *cmd;
60 if (cmd[0] == '-')
61 cmd++;
66 putstr(cmd);
129 if (*cmd == '\0')
133 char *esccmd = shell_quote(cmd);
145 if (*cmd == '\0')
148 p = save(cmd);
163 system(cmd);
[all...]
/haiku-fatelf/src/bin/gdb/gdb/cli/
H A Dcli-dump.h30 extern char *scan_filename_with_cleanup (char **cmd, const char *defname);
32 extern char *scan_expression_with_cleanup (char **cmd, const char *defname);
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/
H A Dtransform_procs.c28 \param cmd: SCSI command buffer to be transformed
29 \param len: length of buffer, pointed by cmd parameter
35 transform_6_to_10(uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
37 scsi_cmd_generic_6 *from = (scsi_cmd_generic_6 *)cmd;
88 \param cmd: SCSI command buffer to be transformed
89 \param len: length of buffer, pointed by cmd parameter
95 transform_cmd_6_to_10(usb_device_info *udi, uint8 *cmd, uint8 len, argument
98 scsi_cmd_generic_6 *from = (scsi_cmd_generic_6 *)cmd;
105 transform_6_to_10(cmd, len, rcmd, rlen);
115 transform_6_to_10(cmd, le
137 transform_cmd_test_unit_ready(usb_device_info *udi, uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
171 scsi_transform(usb_device_info *udi, uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
220 rbc_transform(usb_device_info *udi, uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
285 ufi_transform(usb_device_info *udi, uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
356 atapi_transform(usb_device_info *udi, uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
454 qic157_transform(usb_device_info *udi, uint8 *cmd, uint8 len, uint8 **rcmd, uint8 *rlen) argument
[all...]
/haiku-fatelf/src/apps/codycam/
H A DFtpClient.cpp35 string cmd = "CWD ", replyString; local
37 cmd += dir;
40 cmd += '/';
42 if (_SendRequest(cmd) == true) {
56 string cmd, replyString; local
60 cmd = "TYPE A";
62 if (_SendRequest(cmd))
66 cmd = "LIST";
68 if (_SendRequest(cmd)) {
101 string cmd local
126 string cmd, replyString; local
188 string cmd, replyString; local
269 string cmd, replyString; local
376 string cmd = "SITE CHMOD ", replyString; local
428 _SendRequest(const string& cmd) argument
570 string host, cmd, replyString; local
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon/
H A Dagp.c15 static void agp_list_active(uint32 cmd);
148 agp_list_active(uint32 cmd) argument
151 if ((cmd & AGP_3_MODE) == 0) {
153 if (cmd & AGP_2_1x)
155 if (cmd & AGP_2_2x)
157 if (cmd & AGP_2_4x)
161 if (cmd & AGP_3_4x)
163 if (cmd & AGP_3_8x)
167 if (cmd & AGP_FAST_WRITE) {
172 if (cmd
[all...]
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dioctl.c24 ioctl(int fd, ulong cmd, ...) argument
31 va_start(args, cmd);
36 status = _kern_ioctl(fd, cmd, argument, size);
/haiku-fatelf/src/add-ons/accelerants/nvidia/engine/
H A Dnv_agp.c11 static void nv_agp_list_active(uint32 cmd);
113 nca.cmd = 0x00000000;
120 nca.cmd = 0xfffffff7;
123 nca.cmd |= AGP_3_MODE;
126 if (nca.cmd & AGP_ENABLE)
132 nv_agp_list_active(nca.cmd | (nv_ai.interface.status & AGP_3_MODE));
194 nv_agp_list_active(uint32 cmd) argument
197 if (!(cmd & AGP_3_MODE)) {
199 if (cmd & AGP_2_1x)
201 if (cmd
[all...]
/haiku-fatelf/src/add-ons/accelerants/skeleton/engine/
H A Dagp.c11 static void eng_agp_list_active(uint32 cmd);
112 nca.cmd = 0x00000000;
121 nca.cmd = 0xfffffff7;
123 if (eng_ai.interface.agp_stat & AGP_rate_rev) nca.cmd |= AGP_rate_rev;
129 eng_agp_list_active(nca.cmd | (eng_ai.interface.agp_stat & AGP_rate_rev));
187 static void eng_agp_list_active(uint32 cmd) argument
190 if (!(cmd & AGP_rate_rev))
193 if (cmd & AGP_2_1x)
195 if (cmd & AGP_2_2x)
197 if (cmd
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ralink2860/dev/rt2860/
H A Drt2860_led.h31 void rt2860_led_cmd(struct rt2860_softc *sc, uint8_t cmd);

Completed in 127 milliseconds

1234567891011>>