Home
last modified time | relevance | path

Searched refs:cmd_len (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dmsp430-dis.c205 int cmd_len = 2; in msp430_singleoperand() local
260 cmd_len += 2; in msp430_singleoperand()
281 cmd_len += 2; in msp430_singleoperand()
297 cmd_len += 2; in msp430_singleoperand()
341 cmd_len += 2; in msp430_singleoperand()
369 cmd_len += 2; in msp430_singleoperand()
389 cmd_len += 2; in msp430_singleoperand()
411 cmd_len += 2; in msp430_singleoperand()
443 cmd_len = 0; in msp430_singleoperand()
446 return cmd_len; in msp430_singleoperand()
[all …]
H A Davr-dis.c351 int cmd_len = 2; in print_insn_avr() local
441 cmd_len = 4; in print_insn_avr()
493 return cmd_len; in print_insn_avr()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dmsp430-dis.c205 int cmd_len = 2; in msp430_singleoperand() local
260 cmd_len += 2; in msp430_singleoperand()
281 cmd_len += 2; in msp430_singleoperand()
297 cmd_len += 2; in msp430_singleoperand()
341 cmd_len += 2; in msp430_singleoperand()
369 cmd_len += 2; in msp430_singleoperand()
389 cmd_len += 2; in msp430_singleoperand()
411 cmd_len += 2; in msp430_singleoperand()
443 cmd_len = 0; in msp430_singleoperand()
446 return cmd_len; in msp430_singleoperand()
[all …]
H A Davr-dis.c351 int cmd_len = 2; in print_insn_avr() local
441 cmd_len = 4; in print_insn_avr()
493 return cmd_len; in print_insn_avr()
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/intrinsics/
H A Dsystem.c29 gfc_charlen_type cmd_len);
33 system_sub (const char *fcmd, GFC_INTEGER_4 *status, gfc_charlen_type cmd_len) in system_sub() argument
35 char *cmd = fc_strdup (fcmd, cmd_len); in system_sub()
52 PREFIX(system) (const char *fcmd, gfc_charlen_type cmd_len) in PREFIX()
55 system_sub (fcmd, &stat, cmd_len); in PREFIX()
/netbsd-src/external/gpl3/gcc/dist/libgfortran/intrinsics/
H A Dsystem.c29 gfc_charlen_type cmd_len);
33 system_sub (const char *fcmd, GFC_INTEGER_4 *status, gfc_charlen_type cmd_len) in system_sub() argument
35 char *cmd = fc_strdup (fcmd, cmd_len); in system_sub()
52 PREFIX(system) (const char *fcmd, gfc_charlen_type cmd_len) in PREFIX()
55 system_sub (fcmd, &stat, cmd_len); in PREFIX()
/netbsd-src/external/ibm-public/postfix/dist/src/global/
H A Danvil_clnt.c441 ssize_t cmd_len; in main() local
474 cmd_len = strlen(cmd); in main()
475 if (strncmp(cmd, ANVIL_REQ_CONN, cmd_len) == 0) { in main()
480 } else if (strncmp(cmd, ANVIL_REQ_MAIL, cmd_len) == 0) { in main()
485 } else if (strncmp(cmd, ANVIL_REQ_RCPT, cmd_len) == 0) { in main()
490 } else if (strncmp(cmd, ANVIL_REQ_NTLS, cmd_len) == 0) { in main()
495 } else if (strncmp(cmd, ANVIL_REQ_AUTH, cmd_len) == 0) { in main()
500 } else if (strncmp(cmd, ANVIL_REQ_NTLS_STAT, cmd_len) == 0) { in main()
505 } else if (strncmp(cmd, ANVIL_REQ_DISC, cmd_len) == 0) { in main()
510 } else if (strncmp(cmd, ANVIL_REQ_LOOKUP, cmd_len) == 0) { in main()
H A Dheader_body_checks.c238 ssize_t cmd_len = cmd_args - cmd; in hbc_action() local
252 && (ret = cb->extend(context, cmd, cmd_len, cmd_args, where, line, in hbc_action()
256 if (STREQUAL(cmd, "WARN", cmd_len)) { in hbc_action()
260 if (STREQUAL(cmd, "INFO", cmd_len)) { in hbc_action()
264 if (STREQUAL(cmd, "REPLACE", cmd_len)) { in hbc_action()
278 if (cb->prepend && STREQUAL(cmd, "PREPEND", cmd_len)) { in hbc_action()
291 if (STREQUAL(cmd, "STRIP", cmd_len)) { in hbc_action()
297 if (STREQUAL(cmd, "IGNORE", cmd_len)) in hbc_action()
301 if (STREQUAL(cmd, "DUNNO", cmd_len) /* preferred */ in hbc_action()
302 ||STREQUAL(cmd, "OK", cmd_len)) /* compatibility */ in hbc_action()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dtrace.h232 u32 cmd_len, u32 buf_type, u32 buf_addr_type,
235 TP_ARGS(vgpu_id, ring_id, ip_gma, cmd_va, cmd_len, buf_type,
244 __field(u32, cmd_len)
246 __dynamic_array(u32, raw_cmd, cmd_len)
256 __entry->cmd_len = cmd_len;
259 memcpy(__get_dynamic_array(raw_cmd), cmd_va, cmd_len * sizeof(*cmd_va));
270 __entry->cmd_len,
272 __entry->cmd_len, 4),
H A Dcmd_parser.c971 int cmd_len = cmd_length(s); in cmd_handler_lri() local
980 if ((cmd_len < valid_len) || (cmd_len > MAX_VALID_LEN)) { in cmd_handler_lri()
982 cmd_len, valid_len); in cmd_handler_lri()
986 for (i = 1; i < cmd_len; i += 2) { in cmd_handler_lri()
1006 int cmd_len = cmd_length(s); in cmd_handler_lrr() local
1008 for (i = 1; i < cmd_len; i += 2) { in cmd_handler_lrr()
1034 int cmd_len = cmd_length(s); in cmd_handler_lrm() local
1036 for (i = 1; i < cmd_len;) { in cmd_handler_lrm()
1062 int cmd_len = cmd_length(s); in cmd_handler_srm() local
1064 for (i = 1; i < cmd_len;) { in cmd_handler_srm()
[all …]
/netbsd-src/external/bsd/unbound/dist/util/
H A Dtube.c160 if(tube->cmd_read < sizeof(tube->cmd_len)) { in tube_handle_listen()
162 r = read(c->fd, ((uint8_t*)&tube->cmd_len) + tube->cmd_read, in tube_handle_listen()
163 sizeof(tube->cmd_len) - tube->cmd_read); in tube_handle_listen()
180 if(tube->cmd_read < sizeof(tube->cmd_len)) { in tube_handle_listen()
184 tube->cmd_msg = (uint8_t*)calloc(1, tube->cmd_len); in tube_handle_listen()
192 r = read(c->fd, tube->cmd_msg+tube->cmd_read-sizeof(tube->cmd_len), in tube_handle_listen()
193 tube->cmd_len - (tube->cmd_read - sizeof(tube->cmd_len))); in tube_handle_listen()
210 if(tube->cmd_read < sizeof(tube->cmd_len) + tube->cmd_len) { in tube_handle_listen()
217 (*tube->listen_cb)(tube, tube->cmd_msg, tube->cmd_len, in tube_handle_listen()
H A Dtube.h79 uint32_t cmd_len; member
/netbsd-src/sys/compat/linux/common/
H A Dlinux_sg.c126 if (lreq.cmd_len > sizeof(req.cmd)) { in linux_ioctl_sg()
127 DPRINTF(("invalid command length %d\n", lreq.cmd_len)); in linux_ioctl_sg()
132 error = copyin(lreq.cmdp, req.cmd, lreq.cmd_len); in linux_ioctl_sg()
139 req.cmdlen = lreq.cmd_len; in linux_ioctl_sg()
274 lr->interface_id, lr->dxfer_direction, lr->cmd_len, in dump_sg_io()
H A Dlinux_sg.h68 unsigned char cmd_len; member
/netbsd-src/sys/arch/prep/pnpbus/
H A Dwdc_pnpbus.c102 int cmd_iobase, cmd_len, aux_iobase, aux_len, i; in wdc_pnpbus_attach() local
109 pnpbus_getioport(&pna->pna_res, 0, &cmd_iobase, &cmd_len); in wdc_pnpbus_attach()
117 for (i = 0; i < cmd_len; i++) { in wdc_pnpbus_attach()
/netbsd-src/external/ibm-public/postfix/dist/src/dns/
H A Ddns_rr_filter.c100 int cmd_len = cmd_args - cmd; in dns_rr_action() local
107 if (STREQUAL(cmd, "IGNORE", cmd_len)) { in dns_rr_action()
/netbsd-src/usr.bin/make/
H A Dcompat.c250 size_t cmd_len; in Compat_RunCommand() local
326 cmd_len = strlen(cmd); in Compat_RunCommand()
327 if (cmd_len > MAKE_CMDLEN_LIMIT) in Compat_RunCommand()
335 if (Cmd_Argv(cmd, cmd_len, shargv, 5, in Compat_RunCommand()
H A Dmain.c1705 Cmd_Argv(const char *cmd, size_t cmd_len, const char **av, size_t avsz, in Cmd_Argv()
1715 if (cmd_len == 0) in Cmd_Argv()
1716 cmd_len = strlen(cmd); in Cmd_Argv()
1718 if (cmd_len > MAKE_CMDLEN_LIMIT) { in Cmd_Argv()
1723 n = write(cmd_fd, cmd, cmd_len); in Cmd_Argv()
1725 if (n < (ssize_t)cmd_len) { in Cmd_Argv()
1690 Cmd_Argv(const char * cmd,size_t cmd_len,const char ** av,size_t avsz,char * cmd_file,size_t cmd_filesz,bool eflag,bool xflag) Cmd_Argv() argument
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_surface.c267 uint32_t cmd_len; in vmw_surface_define_encode() local
270 cmd_len = sizeof(cmd->body) + srf->num_sizes * sizeof(SVGA3dSize); in vmw_surface_define_encode()
273 cmd->header.size = cmd_len; in vmw_surface_define_encode()
1070 uint32_t cmd_len, cmd_id, submit_len; in vmw_gb_surface_create() local
1102 cmd_len = sizeof(cmd3->body); in vmw_gb_surface_create()
1107 cmd_len = sizeof(cmd2->body); in vmw_gb_surface_create()
1111 cmd_len = sizeof(cmd->body); in vmw_gb_surface_create()
1125 cmd3->header.size = cmd_len; in vmw_gb_surface_create()
1140 cmd2->header.size = cmd_len; in vmw_gb_surface_create()
1153 cmd->header.size = cmd_len; in vmw_gb_surface_create()
/netbsd-src/sys/external/mit/xen-include-public/dist/xen/include/public/io/
H A Dvscsiif.h266 uint8_t cmd_len; /* valid CDB bytes */ member
/netbsd-src/external/ibm-public/postfix/dist/src/smtpd/
H A Dsmtpd_check.c2375 int cmd_len; in check_table_result() local
2392 cmd_len = cmd_text - value; in check_table_result()
2393 vstring_strncpy(buf, value, cmd_len); in check_table_result()
2405 if (STREQUAL(value, "DUNNO", cmd_len)) in check_table_result()
2412 if (STREQUAL(value, "REJECT", cmd_len)) { in check_table_result()
2427 if (STREQUAL(value, "DEFER", cmd_len)) { in check_table_result()
2448 if (STREQUAL(value, "HANGUP", cmd_len)) { in check_table_result()
2457 if (STREQUAL(value, "INFO", cmd_len)) { in check_table_result()
2465 if (STREQUAL(value, "WARN", cmd_len)) { in check_table_result()
2474 if (STREQUAL(value, "FILTER", cmd_len)) { in check_table_result()
[all …]
/netbsd-src/sys/dev/mca/
H A Dedc_mca.c578 u_int16_t cmd_args[], int cmd_len, int poll) in edc_run_cmd() argument
602 cmd0 = ((cmd_len == 4) ? (CIFR_LONG_CMD) : 0) in edc_run_cmd()
613 for(i=0; i < cmd_len; i++) { in edc_run_cmd()
/netbsd-src/external/gpl2/lvm2/dist/daemons/clvmd/
H A Dclvmd.h56 int cmd_len; /* Length of above */ member
/netbsd-src/external/ibm-public/postfix/dist/src/cleanup/
H A Dcleanup_milter.c279 ssize_t cmd_len, const char *optional_text, in cleanup_milter_hbc_extend() argument
323 if (STREQUAL(command, "BCC", cmd_len)) { in cleanup_milter_hbc_extend()
335 if (STREQUAL(command, "REJECT", cmd_len)) { in cleanup_milter_hbc_extend()
362 if (STREQUAL(command, "FILTER", cmd_len)) { in cleanup_milter_hbc_extend()
378 if (STREQUAL(command, "DISCARD", cmd_len)) { in cleanup_milter_hbc_extend()
385 if (STREQUAL(command, "HOLD", cmd_len)) { in cleanup_milter_hbc_extend()
392 if (STREQUAL(command, "REDIRECT", cmd_len)) { in cleanup_milter_hbc_extend()
/netbsd-src/usr.sbin/mmcformat/
H A Duscsi_subr.c290 req.cmd_len = cmdlen; in uscsi_command()

12