/netbsd/external/gpl3/gdb.old/dist/binutils/ |
H A D | od-macho.c | 357 for (cmd = mdata->first_command; cmd != NULL; cmd = cmd->next) in dump_section_map() 1259 || bfd_bread (buf, cmd->datasize, abfd) != cmd->datasize) in dump_code_signature() 1287 || bfd_bread (buf, cmd->datasize, abfd) != cmd->datasize) in dump_segment_split_info() 1334 || bfd_bread (buf, cmd->datasize, abfd) != cmd->datasize) in dump_function_starts() 1398 || bfd_bread (buf, cmd->datasize, abfd) != cmd->datasize) in dump_data_in_code() 1500 tools_offset = cmd->offset + cmd->len - tools_len; in dump_build_version() 1538 idx, cmd->len, cmd->offset); in dump_load_command() 1544 switch (cmd->type) in dump_load_command() 1769 for (cmd = mdata->first_command, i = 0; cmd != NULL; cmd = cmd->next, i++) in dump_load_commands() 1773 else if (cmd->type == cmd32 || cmd->type == cmd64) in dump_load_commands() [all …]
|
/netbsd/sys/arch/macppc/dev/ |
H A D | if_mc.c | 215 dbdma_command_t *cmd = sc->sc_txdmacmd; in mc_putpacket() local 233 dbdma_command_t *cmd; in mc_dmaintr() local 243 cmd = &sc->sc_rxdmacmd[i]; in mc_dmaintr() 245 status = in16rb(&cmd->d_status); in mc_dmaintr() 246 resid = in16rb(&cmd->d_resid); in mc_dmaintr() 286 cmd->d_status = 0; in mc_dmaintr() 287 cmd->d_resid = 0; in mc_dmaintr() 299 dbdma_command_t *cmd = sc->sc_rxdmacmd; in mc_reset_rxdma() local 314 cmd++; in mc_reset_rxdma() 320 cmd++; in mc_reset_rxdma() [all …]
|
/netbsd/external/bsd/nsd/dist/contrib/bind2nsd/scripts/ |
H A D | nsd-sync | 103 cmd = 'scp -r ' + fnames 105 cmd += conf.getValue('dest-ip') + ':' 106 report_info('=> ' + cmd) 107 child = pexpect.spawn(cmd) 140 cmd = conf.getValue('stop_cmd') 141 run_cmd(cmd, 'stopping nsd...') 149 cmd = conf.getValue('zonec_cmd') 152 cmd = conf.getValue('start_cmd') 153 run_cmd(cmd, 'starting nsd...') 155 cmd = 'ssh -a -x ' [all …]
|
H A D | s64-sync | 106 cmd = 'scp -r ' + fnames 108 cmd += conf.getValue('dest-ip') + ':' 109 report_info('=> ' + cmd) 110 child = pexpect.spawn(cmd) 143 cmd = conf.getValue('stop_cmd') 144 run_cmd(cmd, 'stopping nsd...') 152 cmd = conf.getValue('zonec_cmd') 155 cmd = conf.getValue('start_cmd') 156 run_cmd(cmd, 'starting nsd...') 159 child = pexpect.spawn(cmd) [all …]
|
/netbsd/external/gpl3/gdb/dist/gdb/testsuite/gdb.xml/ |
H A D | tdesc-arch.exp | 78 set cmd "set tdesc filename $filename" 80 set cmd_regex [string_to_regexp $cmd] 81 gdb_test_multiple $cmd $msg { 90 set cmd "show architecture" 91 gdb_test $cmd \ 93 "$cmd ($which architecture)" 118 set cmd "set tdesc filename $filename" 119 gdb_test $cmd \ 123 set cmd "show architecture" 124 gdb_test $cmd \ [all …]
|
/netbsd/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.xml/ |
H A D | tdesc-arch.exp | 78 set cmd "set tdesc filename $filename" 80 set cmd_regex [string_to_regexp $cmd] 81 gdb_test_multiple $cmd $msg { 90 set cmd "show architecture" 91 gdb_test $cmd \ 93 "$cmd ($which architecture)" 118 set cmd "set tdesc filename $filename" 119 gdb_test $cmd \ 123 set cmd "show architecture" 124 gdb_test $cmd \ [all …]
|
/netbsd/sys/dev/sdmmc/ |
H A D | sdmmc.c | 879 cmd->c_opcode, cmd->c_arg, cmd->c_flags)); in sdmmc_mmc_command() 896 error = cmd->c_error; in sdmmc_mmc_command() 915 struct sdmmc_command cmd; in sdmmc_stop_transmission() local 921 memset(&cmd, 0, sizeof(cmd)); in sdmmc_stop_transmission() 934 struct sdmmc_command cmd; in sdmmc_go_idle_state() local 940 memset(&cmd, 0, sizeof(cmd)); in sdmmc_go_idle_state() 953 struct sdmmc_command cmd; in sdmmc_set_relative_addr() local 964 memset(&cmd, 0, sizeof(cmd)); in sdmmc_set_relative_addr() 1003 memset(&cmd, 0, sizeof(cmd)); in sdmmc_select_card() 1026 DEVNAME(sc), cmd->c_opcode, cmd->c_arg, cmd->c_data, in sdmmc_dump_command() [all …]
|
H A D | sdhc.c | 1478 memset(&cmd, 0, sizeof(cmd)); in sdhc_execute_tuning1() 1483 cmd.c_blklen = cmd.c_datalen = 128; in sdhc_execute_tuning1() 1485 cmd.c_blklen = cmd.c_datalen = 64; in sdhc_execute_tuning1() 1650 cmd->c_resp[0] = (cmd->c_resp[0] >> 8) | in sdhc_exec_command() 1652 cmd->c_resp[1] = (cmd->c_resp[1] >> 8) | in sdhc_exec_command() 1654 cmd->c_resp[2] = (cmd->c_resp[2] >> 8) | in sdhc_exec_command() 1656 cmd->c_resp[3] = (cmd->c_resp[3] >> 8); in sdhc_exec_command() 1666 if (cmd->c_error == 0 && cmd->c_data != NULL) in sdhc_exec_command() 1694 cmd->c_flags, cmd->c_error)); in sdhc_exec_command() 1711 HDEVNAME(hp), cmd->c_opcode, cmd->c_arg, cmd->c_data, in sdhc_start_command() [all …]
|
/netbsd/external/bsd/wpa/dist/src/utils/ |
H A D | edit_readline.c | 19 static void (*edit_cmd_cb)(void *ctx, char *cmd); 92 static void readline_cmd_handler(char *cmd) in readline_cmd_handler() argument 94 if (cmd && *cmd) { in readline_cmd_handler() 99 if (h == NULL || os_strcmp(cmd, h->line) != 0) in readline_cmd_handler() 100 add_history(cmd); in readline_cmd_handler() 103 if (cmd == NULL) { in readline_cmd_handler() 107 trunc_nl(cmd); in readline_cmd_handler() 108 edit_cmd_cb(edit_cb_ctx, cmd); in readline_cmd_handler() 112 int edit_init(void (*cmd_cb)(void *ctx, char *cmd), in edit_init() argument 114 char ** (*completion_cb)(void *ctx, const char *cmd, int pos), in edit_init() argument [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/utils/lit/lit/formats/ |
H A D | googletest.py | 117 cmd = [testPath, '--gtest_filter=' + testName] 118 cmd = self.prepareCmd(cmd) 120 cmd = litConfig.valgrindArgs + cmd 129 cmd, env=test.config.environment, 150 def prepareCmd(self, cmd): argument 159 if cmd[0].endswith('.py'): 160 cmd = [sys.executable] + cmd 163 cmd = self.run_under + cmd 165 cmd = shlex.split(self.run_under) + cmd 166 return cmd
|
/netbsd/sys/arch/sandpoint/stand/altboot/ |
H A D | dsk.c | 156 sts = CSR_READ_1(chan->cmd + _STS); in spinwait_unbusy() 161 sts = CSR_READ_1(chan->cmd + _STS); in spinwait_unbusy() 199 CSR_WRITE_1(chan->cmd + _NSECT, 0); in wakeup_drive() 203 CSR_WRITE_1(chan->cmd + _NSECT, 0); in wakeup_drive() 217 return CSR_READ_1(chan->cmd + _NSECT); in atachkpwr() 236 *p++ = iole16toh(chan->cmd + _DAT); in probe_drive() 238 (void)CSR_READ_1(chan->cmd + _STS); in probe_drive() 388 CSR_WRITE_1(chan->cmd + _FEA, ATA_XFER); in set_xfermode() 428 (void)CSR_READ_1(chan->cmd + _STS); in lba_read() 442 CSR_WRITE_1(chan->cmd + _NSECT, nblk); in issue48() [all …]
|
/netbsd/lib/libedit/ |
H A D | readline.c | 596 if ('0' <= cmd[idx] && cmd[idx] <= '9') { in get_history_event() 600 while (cmd[idx] && '0' <= cmd[idx] && cmd[idx] <= '9') { in get_history_event() 625 || cmd[idx] == '\t' || cmd[idx] == qchar)) in get_history_event() 698 for (; *cmd && *cmd != delim; cmd++) { in getfrom() 699 if (*cmd == '\\' && cmd[1] == delim) in getfrom() 700 cmd++; in getfrom() 759 for (; *cmd && *cmd != delim; cmd++) { in getto() 774 if (*cmd == '\\' && (*(cmd + 1) == delim || *(cmd + 1) == '&')) in getto() 888 while (*cmd && '0' <= *cmd && *cmd <= '9') in _history_expand_command() 895 while (*cmd && '0' <= *cmd && *cmd <= '9') in _history_expand_command() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/util/perl/OpenSSL/ |
H A D | Test.pm | 311 sub cmd { subroutine 312 my $cmd = shift; 326 my $cmd = shift; 337 my $cmd = shift; 348 my $cmd = shift; 359 my $cmd = shift; 373 my $cmd = shift; 434 return () if !$cmd; 760 return $cmd; 1111 my $cmd = shift; [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/global/ |
H A D | fold_addr.c | 113 ARGV *cmd; in main() local 120 cmd = argv_split(STR(line_buffer), CHARS_SPACE); in main() 121 if (cmd->argc == 0 || cmd->argv[0][0] == '#') { in main() 122 argv_free(cmd); in main() 125 args = cmd->argv; in main() 130 if (strcmp(args[0], "host") == 0 && cmd->argc == 2) { in main() 138 else if (strcmp(args[0], "user") == 0 && cmd->argc == 2) { in main() 146 else if (strcmp(args[0], "all") == 0 && cmd->argc == 2) { in main() 154 else if (strcmp(args[0], "none") == 0 && cmd->argc == 2) { in main() 167 argv_free(cmd); in main()
|
/netbsd/usr.bin/sed/ |
H A D | compile.c | 189 cmd->startline = cmd->nonsel = 0; in compile_stream() 208 cmd->a2 = 0; in compile_stream() 210 cmd->a1 = cmd->a2 = 0; in compile_stream() 215 cmd->code = *p; in compile_stream() 229 cmd->nonsel = ! cmd->nonsel; in compile_stream() 235 stack = cmd; in compile_stream() 245 cmd->nonsel = 1; in compile_stream() 292 cmd->u.fd = -1; in compile_stream() 310 cmd->t = NULL; in compile_stream() 320 enterlabel(cmd); in compile_stream() [all …]
|
/netbsd/external/gpl2/lvm2/dist/lib/snapshot/ |
H A D | snapshot.c | 95 struct cmd_context *cmd __attribute((unused)), in _snap_target_percent() 120 static int _snap_target_present(struct cmd_context *cmd, in _snap_target_present() argument 128 _snap_present = target_present(cmd, "snapshot", 1) && in _snap_target_present() 129 target_present(cmd, "snapshot-origin", 0); in _snap_target_present() 142 if (!(path = dm_pool_alloc(cmd->mem, PATH_MAX))) { in _get_snapshot_dso_path() 151 get_shared_library_path(cmd, libpath, path, PATH_MAX); in _get_snapshot_dso_path() 195 if (!_get_snapshot_dso_path(vg->cmd, &dso)) in _target_registered() 229 if (!_get_snapshot_dso_path(vg->cmd, &dso)) in _target_set_events() 303 struct segment_type *init_segtype(struct cmd_context *cmd) 314 segtype->cmd = cmd; [all …]
|
/netbsd/external/gpl2/lvm2/dist/lib/locking/ |
H A D | no_locking.c | 40 static int _no_lock_resource(struct cmd_context *cmd, const char *resource, in _no_lock_resource() argument 49 return lv_deactivate(cmd, resource); in _no_lock_resource() 51 return lv_resume_if_active(cmd, resource); in _no_lock_resource() 53 return lv_activate_with_filter(cmd, resource, 0); in _no_lock_resource() 55 return lv_suspend_if_active(cmd, resource); in _no_lock_resource() 57 return lv_activate_with_filter(cmd, resource, 1); in _no_lock_resource() 71 static int _readonly_lock_resource(struct cmd_context *cmd, in _readonly_lock_resource() argument 83 return _no_lock_resource(cmd, resource, flags); in _readonly_lock_resource() 86 int init_no_locking(struct locking_type *locking, struct cmd_context *cmd __attribute((unused))) in init_no_locking() 96 int init_readonly_locking(struct locking_type *locking, struct cmd_context *cmd __attribute((unused… in init_readonly_locking()
|
/netbsd/external/gpl2/lvm2/dist/include/ |
H A D | segtype.h | 57 struct cmd_context *cmd; /* lvm_register_segtype() sets this. */ member 85 struct cmd_context *cmd, 89 int (*target_present) (struct cmd_context *cmd, 101 struct segment_type *get_segtype_from_string(struct cmd_context *cmd, 108 struct segment_type *init_striped_segtype(struct cmd_context *cmd); 109 struct segment_type *init_zero_segtype(struct cmd_context *cmd); 110 struct segment_type *init_error_segtype(struct cmd_context *cmd); 111 struct segment_type *init_free_segtype(struct cmd_context *cmd); 115 struct segment_type *init_snapshot_segtype(struct cmd_context *cmd); 119 struct segment_type *init_mirrored_segtype(struct cmd_context *cmd); [all …]
|
/netbsd/external/gpl2/lvm2/dist/lib/metadata/ |
H A D | segtype.h | 57 struct cmd_context *cmd; /* lvm_register_segtype() sets this. */ member 85 struct cmd_context *cmd, 89 int (*target_present) (struct cmd_context *cmd, 101 struct segment_type *get_segtype_from_string(struct cmd_context *cmd, 108 struct segment_type *init_striped_segtype(struct cmd_context *cmd); 109 struct segment_type *init_zero_segtype(struct cmd_context *cmd); 110 struct segment_type *init_error_segtype(struct cmd_context *cmd); 111 struct segment_type *init_free_segtype(struct cmd_context *cmd); 115 struct segment_type *init_snapshot_segtype(struct cmd_context *cmd); 119 struct segment_type *init_mirrored_segtype(struct cmd_context *cmd); [all …]
|
/netbsd/sys/arch/sun3/dev/ |
H A D | if_ie.c | 1274 cmd->ie_mcast_bytes = in mc_setup() 1295 cmd->ie_fifo = 8; in ie_setup_config() 1296 cmd->ie_save_bad = 0x40; in ie_setup_config() 1297 cmd->ie_addr_len = 0x2e; in ie_setup_config() 1298 cmd->ie_priority = 0; in ie_setup_config() 1299 cmd->ie_ifs = 0x60; in ie_setup_config() 1300 cmd->ie_slot_low = 0; in ie_setup_config() 1303 cmd->ie_crs_cdt = 0; in ie_setup_config() 1304 cmd->ie_min_len = 64; in ie_setup_config() 1305 cmd->ie_junk = 0xff; in ie_setup_config() [all …]
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/wpa_gui-qt4/ |
H A D | peers.cpp | 325 snprintf(cmd, sizeof(cmd), "WPS_ER_PIN %s %s %s", in enter_pin() 330 snprintf(cmd, sizeof(cmd), "WPS_PIN %s %s", in enter_pin() 479 snprintf(cmd, sizeof(cmd), "STA-NEXT %s", reply); in add_stations() 492 snprintf(cmd, sizeof(cmd), "STA %s", addr); in add_single_station() 664 snprintf(cmd, sizeof(cmd), "BSS %d", index++); in add_scan_results() 1386 snprintf(cmd, sizeof(cmd), "P2P_CONNECT %s %s", in ctx_p2p_connect() 1454 snprintf(cmd, sizeof(cmd), "P2P_CONNECT %s pin", in ctx_p2p_display_pin() 1537 snprintf(cmd, sizeof(cmd), "P2P_GROUP_REMOVE %s", in ctx_p2p_remove_group() 1715 snprintf(cmd, sizeof(cmd), "WPS_ER_PBC %s", in connect_pbc() 1724 snprintf(cmd, sizeof(cmd), "WPS_PBC"); in connect_pbc() [all …]
|
/netbsd/external/gpl2/lvm2/dist/tools/ |
H A D | lvmdiskscan.c | 65 static void _print(struct cmd_context *cmd, const struct device *dev, in _print() argument 69 display_size(cmd, size), what ? : ""); in _print() 72 static int _check_device(struct cmd_context *cmd, struct device *dev) in _check_device() argument 87 _print(cmd, dev, size, NULL); in _check_device() 110 if (arg_count(cmd, lvmpartition_ARG)) in lvmdiskscan() 113 max_len = _get_max_dev_name_len(cmd->filter); in lvmdiskscan() 115 if (!(iter = dev_iter_create(cmd->filter, 0))) { in lvmdiskscan() 129 _print(cmd, dev, size, "LVM physical volume"); in lvmdiskscan() 134 if (arg_count(cmd, lvmpartition_ARG)) in lvmdiskscan() 138 if (!_check_device(cmd, dev)) in lvmdiskscan() [all …]
|
H A D | vgscan.c | 20 static int vgscan_single(struct cmd_context *cmd, const char *vg_name, in vgscan_single() argument 33 int vgscan(struct cmd_context *cmd, int argc, char **argv) in vgscan() argument 42 if (!lock_vol(cmd, VG_GLOBAL, LCK_VG_WRITE)) { in vgscan() 47 persistent_filter_wipe(cmd->filter); in vgscan() 48 lvmcache_destroy(cmd, 1); in vgscan() 52 maxret = process_each_vg(cmd, argc, argv, 0, NULL, in vgscan() 55 if (arg_count(cmd, mknodes_ARG)) { in vgscan() 56 ret = vgmknodes(cmd, argc, argv); in vgscan() 61 unlock_vg(cmd, VG_GLOBAL); in vgscan()
|
/netbsd/sys/arch/arm/cortex/ |
H A D | gicv3_its.c | 143 memset(&cmd, 0, sizeof(cmd)); in gits_command_mapc() 145 cmd.dw[2] = icid; in gits_command_mapc() 164 memset(&cmd, 0, sizeof(cmd)); in gits_command_mapd() 166 cmd.dw[1] = size; in gits_command_mapd() 183 memset(&cmd, 0, sizeof(cmd)); in gits_command_mapti() 186 cmd.dw[2] = icid; in gits_command_mapti() 200 memset(&cmd, 0, sizeof(cmd)); in gits_command_movi() 203 cmd.dw[2] = icid; in gits_command_movi() 217 memset(&cmd, 0, sizeof(cmd)); in gits_command_inv() 233 memset(&cmd, 0, sizeof(cmd)); in gits_command_invall() [all …]
|
/netbsd/sys/dev/i2c/ |
H A D | i2c_exec.c | 185 const uint8_t *cmd = vcmd; in iic_exec() local 201 b[1] = cmd[0]; in iic_exec() 224 return ((*tag->ic_exec)(tag->ic_cookie, op, addr, cmd, in iic_exec() 233 return ((*tag->ic_exec)(tag->ic_cookie, op, addr, cmd, in iic_exec() 240 if ((error = iic_write_byte(tag, *cmd++, flags)) != 0) in iic_exec() 331 return (iic_exec(tag, I2C_OP_READ_WITH_STOP, addr, &cmd, 1, in iic_smbus_read_byte() 345 return (iic_exec(tag, I2C_OP_READ_WITH_STOP, addr, &cmd, 1, in iic_smbus_read_word() 412 return (iic_exec(tag, I2C_OP_READ_BLOCK, addr, &cmd, 1, in iic_smbus_block_read() 426 return (iic_exec(tag, I2C_OP_WRITE_BLOCK, addr, &cmd, 1, in iic_smbus_block_write() 473 i2cexec_modcmd(modcmd_t cmd, void *opaque) in i2cexec_modcmd() argument [all …]
|