/dragonfly/usr.sbin/installer/dfuibe_installer/ |
H A D | fn_install.c | 168 struct commands *cmds; in fn_install_os() local 196 cmds = commands_new(); in fn_install_os() 591 command_add(cmds, in fn_install_os() 684 command_add(cmds, in fn_install_os() 696 command_add(cmds, in fn_install_os() 727 command_add(cmds, in fn_install_os() 731 command_add(cmds, in fn_install_os() 735 command_add(cmds, in fn_install_os() 739 command_add(cmds, in fn_install_os() 768 commands_free(cmds); in fn_install_os() [all …]
|
H A D | fn_disk.c | 189 struct commands *cmds; in fn_format_disk_mbr() local 209 command_add(cmds, in fn_format_disk_mbr() 226 commands_free(cmds); in fn_format_disk_mbr() 230 commands_free(cmds); in fn_format_disk_mbr() 298 command_add(cmds, in fn_format_disk_uefi() 323 command_add(cmds, in fn_format_disk_uefi() 343 commands_free(cmds); in fn_format_disk_uefi() 405 command_add(cmds, in fn_wipe_start_of_disk() 415 commands_free(cmds); in fn_wipe_start_of_disk() 489 command_add(cmds, in ask_to_wipe_boot_sector() [all …]
|
H A D | fn_configure.c | 97 struct commands *cmds; in fn_add_user() local 233 commands_free(cmds); in fn_add_user() 248 struct commands *cmds; in fn_root_passwd() local 531 commands_free(cmds); in fn_set_kbdmap() 677 commands_free(cmds); in fn_set_timezone() 1211 commands_free(cmds); in mount_target_system() 1244 command_add(cmds, in mount_target_system() 1255 command_add(cmds, in mount_target_system() 1262 command_add(cmds, in mount_target_system() 1284 commands_free(cmds); in mount_target_system() [all …]
|
H A D | fn_subpart_hammer.c | 99 struct commands *cmds; in create_subpartitions() local 116 cmds = commands_new(); in create_subpartitions() 142 command_add(cmds, in create_subpartitions() 183 command_add(cmds, in create_subpartitions() 191 command_add(cmds, in create_subpartitions() 199 command_add(cmds, in create_subpartitions() 246 command_add(cmds, in create_subpartitions() 250 command_add(cmds, in create_subpartitions() 265 command_add(cmds, in create_subpartitions() 269 command_add(cmds, in create_subpartitions() [all …]
|
H A D | fn_subpart_ufs.c | 97 struct commands *cmds; in create_subpartitions() local 101 cmds = commands_new(); in create_subpartitions() 141 command_add(cmds, "%s%s '%s' >>%sinstall.disklabel", in create_subpartitions() 193 command_add(cmds, "%s%s %s", in create_subpartitions() 216 command_add(cmds, in create_subpartitions() 220 command_add(cmds, in create_subpartitions() 229 command_add(cmds, in create_subpartitions() 233 command_add(cmds, in create_subpartitions() 245 command_add(cmds, "%s%s%s -b %ld -f %ld /dev/%s", in create_subpartitions() 254 result = commands_execute(a, cmds); in create_subpartitions() [all …]
|
H A D | flow.c | 366 struct commands *cmds; in state_configure_menu() local 528 cmds = commands_new(); in state_configure_menu() 530 commands_execute(a, cmds); in state_configure_menu() 531 commands_free(cmds); in state_configure_menu() 1184 struct commands *cmds; in state_create_subpartitions() local 1196 cmds = commands_new(); in state_create_subpartitions() 1212 commands_execute(a, cmds); in state_create_subpartitions() 1213 commands_free(cmds); in state_create_subpartitions() 1468 cmds = commands_new(); in state_setup_remote_installation_server() 1481 command_add(cmds, "%s%s", in state_setup_remote_installation_server() [all …]
|
/dragonfly/usr.sbin/installer/libinstaller/ |
H A D | commands.c | 71 struct commands *cmds; in commands_new() local 75 cmds->head = NULL; in commands_new() 76 cmds->tail = NULL; in commands_new() 78 return(cmds); in commands_new() 100 if (cmds->head == NULL) in command_new() 101 cmds->head = cmd; in command_new() 105 cmd->prev = cmds->tail; in command_new() 106 cmds->tail = cmd; in command_new() 193 return(cmds->head); in command_get_first() 511 cmd = cmds->head; in commands_execute() [all …]
|
H A D | survey.c | 150 struct commands *cmds; in survey_storage() local 202 cmds = commands_new(); in survey_storage() 203 cmd = command_add(cmds, "%s%s -n '' >%ssurvey.txt", in survey_storage() 224 cmd = command_add(cmds, "%s%s '@DISK' >>%ssurvey.txt", in survey_storage() 227 cmd = command_add(cmds, "%s%s '%s' >>%ssurvey.txt", in survey_storage() 243 cmd = command_add(cmds, "%s%s '@END' >>%ssurvey.txt", in survey_storage() 262 cmd = command_add(cmds, "%s%s '@END' >>%ssurvey.txt", in survey_storage() 278 cmd = command_add(cmds, "%s%s '@END' >>%ssurvey.txt", in survey_storage() 283 cmd = command_add(cmds, "%s%s '.' >>%ssurvey.txt", in survey_storage() 287 if (!commands_execute(a, cmds)) in survey_storage() [all …]
|
H A D | confed.c | 176 struct commands *cmds; in config_vars_read() local 205 cmds = commands_new(); in config_vars_read() 206 command_add(cmds, "%sbin/sh %sextract_vars >%sextracted_vars.txt", in config_vars_read() 209 if (!commands_execute(a, cmds)) { in config_vars_read() 210 commands_free(cmds); in config_vars_read() 213 commands_free(cmds); in config_vars_read()
|
H A D | mount.c | 70 unmount_all_under(struct i_fn_args *a, struct commands *cmds, const char *fmt, ...) in unmount_all_under() argument 92 command_add(cmds, "%s%s %s", in unmount_all_under()
|
/dragonfly/usr.bin/objformat/ |
H A D | objformat.c | 102 struct command *cmds; in main() local 127 for (cmds = commands; cmds < &commands[NELEM(commands) - 1]; ++cmds) { in main() 128 if (strcmp(cmd, cmds->cmd) == 0) in main() 132 if (cmds) { in main() 133 switch (cmds->type) { in main() 173 if (cmds->type == OBJFORMAT) { in main() 222 if (cmds && cmds->type == COMPILER && in main()
|
/dragonfly/contrib/nvi2/ex/ |
H A D | ex_usage.c | 69 for (cp = cmds; cp->name != NULL && in ex_usage() 85 if (cp != &cmds[C_VISUAL_EX] && in ex_usage() 86 cp != &cmds[C_VISUAL_VI]) in ex_usage() 88 if (cp == &cmds[C_VISUAL_EX]) in ex_usage() 89 cp = &cmds[C_VISUAL_VI]; in ex_usage() 91 cp = &cmds[C_VISUAL_EX]; in ex_usage() 97 for (cp = cmds; cp->name != NULL && !INTERRUPTED(sp); ++cp) { in ex_usage() 106 if (cp == &cmds[C_SCROLL]) in ex_usage()
|
H A D | ex.c | 420 ecp->rcmd = cmds[C_DELETE]; in ex_cmd() 456 ecp->cmd = &cmds[C_K]; in ex_cmd() 529 if (ecp->cmd == &cmds[C_HASH]) in ex_cmd() 538 ecp->cmd = &cmds[C_PRINT]; in ex_cmd() 627 if (ecp->cmd == &cmds[C_EDIT] || ecp->cmd == &cmds[C_EX] || in ex_cmd() 628 ecp->cmd == &cmds[C_NEXT] || ecp->cmd == &cmds[C_VISUAL_VI] || in ex_cmd() 676 ecp->cmd == &cmds[C_GLOBAL] || ecp->cmd == &cmds[C_V]) { in ex_cmd() 699 } else if (ecp->cmd == &cmds[C_READ] || ecp->cmd == &cmds[C_WRITE]) { in ex_cmd() 814 if (ecp->cmd == &cmds[C_SET]) in ex_cmd() 2225 (cp == &cmds[C_ABBR] || cp == &cmds[C_UNABBREVIATE])); in ex_is_abbrev() [all …]
|
H A D | ex_edit.c | 83 if (F_ISSET(cmdp, E_NEWSCREEN) || cmdp->cmd == &cmds[C_VSPLIT]) in ex_edit() 116 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) || in ex_N_edit() 117 (cmdp->cmd != &cmds[C_VSPLIT] && vs_split(sp, new, 0))) { in ex_N_edit()
|
/dragonfly/usr.bin/usbhidaction/ |
H A D | usbhidaction.c | 243 struct command *cmds = in main() local 245 if (cmds) { in main() 247 commands = cmds; in main() 293 cmds = NULL; in parse_conf() 312 freecommands(cmds); in parse_conf() 329 cmd->next = cmds; in parse_conf() 330 cmds = cmd; in parse_conf() 343 freecommands(cmds); in parse_conf() 359 freecommands(cmds); in parse_conf() 436 freecommands(cmds); in parse_conf() [all …]
|
/dragonfly/contrib/gdb-7/gdb/cli/ |
H A D | cli-setshow.c | 427 struct cmd_list_element **cmds; in do_set_command() local 446 cmds = xmalloc (sizeof (struct cmd_list_element *) * i); in do_set_command() 451 cmds[i] = p; in do_set_command() 458 if (cmds[i]->prefixlist != &setlist) in do_set_command() 460 xfree (cmds); in do_set_command() 469 memcpy (cp, cmds[i]->name, strlen (cmds[i]->name)); in do_set_command() 470 cp += strlen (cmds[i]->name); in do_set_command() 480 xfree (cmds); in do_set_command()
|
H A D | cli-script.c | 1363 copy_command_lines (struct command_line *cmds) in copy_command_lines() argument 1367 if (cmds) in copy_command_lines() 1371 result->next = copy_command_lines (cmds->next); in copy_command_lines() 1372 result->line = xstrdup (cmds->line); in copy_command_lines() 1373 result->control_type = cmds->control_type; in copy_command_lines() 1374 result->body_count = cmds->body_count; in copy_command_lines() 1375 if (cmds->body_count > 0) in copy_command_lines() 1382 for (i = 0; i < cmds->body_count; i++) in copy_command_lines() 1461 struct command_line *cmds; in define_command() local 1536 cmds = read_command_lines (tmpbuf, from_tty, 1, 0, 0); in define_command() [all …]
|
/dragonfly/sys/dev/netif/iwm/ |
H A D | if_iwm_notif_wait.c | 138 if (cmd == wait_entry->cmds[i]) { in iwm_notification_wait_notify() 170 struct iwm_notification_wait *wait_entry, const uint16_t *cmds, int n_cmds, in iwm_init_notification_wait() argument 179 memcpy(wait_entry->cmds, cmds, n_cmds * sizeof(uint16_t)); in iwm_init_notification_wait()
|
H A D | if_iwm_notif_wait.h | 110 uint16_t cmds[IWM_MAX_NOTIF_CMDS]; member 128 const uint16_t *cmds, int n_cmds,
|
/dragonfly/contrib/libedit/src/ |
H A D | parse.c | 66 } cmds[] = { variable 128 for (i = 0; cmds[i].name != NULL; i++) in el_wparse() 129 if (wcscmp(cmds[i].name, ptr) == 0) { in el_wparse() 130 i = (*cmds[i].func) (el, argc, argv); in el_wparse()
|
/dragonfly/contrib/lvm2/dist/test/ |
H A D | mkdtemp | 46 cmds='date; date +%N; free; who -a; w; ps auxww; ps ef; netstat -n' 47 data=$( (eval "$cmds") 2>&1 | gzip ) 55 data=$( (echo "$data"; eval "$cmds") 2>&1 | gzip )
|
/dragonfly/usr.sbin/ngctl/ |
H A D | main.c | 61 static const struct ngcmd *const cmds[] = { variable 313 for (k = 0; cmds[k] != NULL; k++) { in FindCommand() 314 if (MatchCommand(cmds[k], string)) { in FindCommand() 326 return(cmds[found]); in FindCommand() 396 for (k = 0; cmds[k] != NULL; k++) { in HelpCmd() 399 cmd = cmds[k]; in HelpCmd()
|
/dragonfly/contrib/bmake/ |
H A D | for.c | 333 AddEscaped(Buffer *cmds, Substring item, char endc) in AddEscaped() argument 339 Buf_AddBytesBetween(cmds, item.start, item.end); in AddEscaped() 352 Buf_AddBytes(cmds, p, 1 + len); in AddEscaped() 356 Buf_AddByte(cmds, '\\'); in AddEscaped() 358 Buf_AddByte(cmds, '\\'); in AddEscaped() 363 Buf_AddByte(cmds, ch); in AddEscaped()
|
/dragonfly/sys/dev/drm/i915/ |
H A D | intel_guc_ct.c | 165 ctch->ctbs[i].cmds = blob + PAGE_SIZE/4 * i + PAGE_SIZE/2; in ctch_init() 276 u32 *cmds = ctb->cmds; in ctb_write() local 306 cmds[tail] = header; in ctb_write() 309 cmds[tail] = fence; in ctb_write() 313 cmds[tail] = action[i]; in ctb_write()
|
/dragonfly/sys/vfs/ufs/ |
H A D | ufs_vfsops.c | 74 ufs_quotactl(struct mount *mp, int cmds, uid_t uid, caddr_t arg, in ufs_quotactl() argument 82 type = cmds & SUBCMDMASK; in ufs_quotactl() 83 cmd = cmds >> SUBCMDSHIFT; in ufs_quotactl()
|