/freebsd/contrib/bc/tests/ |
H A D | history.py | 83 while child.buffer is not None and len(child.buffer) > 0: 91 eat(child) 104 child.wait() 166 wait(child) 180 return child 206 eat(child) 208 wait(child) 222 return child 257 wait(child) 270 return child [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | X86DisassemblerTables.cpp | 89 if (child == parent) in inheritsFrom() 96 inheritsFrom(child, IC_ADSIZE) || in inheritsFrom() 100 return (inheritsFrom(child, IC_64BIT_REXW) || in inheritsFrom() 106 return inheritsFrom(child, IC_64BIT_OPSIZE) || in inheritsFrom() 107 inheritsFrom(child, IC_OPSIZE_ADSIZE); in inheritsFrom() 117 return inheritsFrom(child, IC_64BIT_XD); in inheritsFrom() 119 return inheritsFrom(child, IC_64BIT_XS); in inheritsFrom() 121 return inheritsFrom(child, IC_64BIT_XD_OPSIZE); in inheritsFrom() 123 return inheritsFrom(child, IC_64BIT_XS_OPSIZE); in inheritsFrom() 125 return inheritsFrom(child, IC_64BIT_XD_ADSIZE); in inheritsFrom() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/ |
H A D | t_ptrace_wait.c | 82 pid_t child, wpid; in ATF_TC_BODY() local 89 if (child == 0) { in ATF_TC_BODY() 140 pid_t child, wpid; in ATF_TC_BODY() local 148 if (child == 0) { in ATF_TC_BODY() 203 if (child == 0) { in ATF_TC_BODY() 252 if (child == 0) { in ATF_TC_BODY() 1757 child); in ATF_TC_BODY() 4499 child); in ATF_TC_BODY() 4567 child); in ATF_TC_BODY() 4635 child); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/netbsd-tests/kernel/arch/amd64/ |
H A D | t_ptrace_wait.c | 70 pid_t child, wpid; in ATF_TC_BODY() local 78 if (child == 0) { in ATF_TC_BODY() 91 TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); in ATF_TC_BODY() 153 pid_t child, wpid; in ATF_TC_BODY() local 161 if (child == 0) { in ATF_TC_BODY() 210 pid_t child, wpid; in ATF_TC_BODY() local 220 if (child == 0) { in ATF_TC_BODY() 284 pid_t child, wpid; in ATF_TC_BODY() local 294 if (child == 0) { in ATF_TC_BODY() 374 if (child == 0) { in ATF_TC_BODY() [all …]
|
/freebsd/sys/dev/bhnd/siba/ |
H A D | siba.c | 132 dinfo = device_get_ivars(child); in siba_read_ivar() 195 dinfo = device_get_ivars(child); in siba_write_ivar() 1241 device_t child; in siba_add_child() local 1244 if (child == NULL) in siba_add_child() 1254 return (child); in siba_add_child() 1315 device_t child; in siba_add_children() local 1322 if (child == NULL) { in siba_add_children() 1327 children[i] = child; in siba_add_children() 1341 device_disable(child); in siba_add_children() 1352 device_t child; in siba_add_children() local [all …]
|
/freebsd/sys/dev/bhnd/bcma/ |
H A D | bcma.c | 101 device_t child; in bcma_add_child() local 104 if (child == NULL) in bcma_add_child() 108 device_delete_child(dev, child); in bcma_add_child() 112 device_set_ivars(child, dinfo); in bcma_add_child() 114 return (child); in bcma_add_child() 129 device_set_ivars(child, NULL); in bcma_child_deleted() 138 dinfo = device_get_ivars(child); in bcma_read_ivar() 179 dinfo = device_get_ivars(child); in bcma_write_ivar() 663 device_t child; in bcma_add_children() local 682 if (child == NULL) { in bcma_add_children() [all …]
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_cmd_if.m | 922 device_t child; 931 device_t child; 939 device_t child; 950 device_t child; 958 device_t child; 964 device_t child; 971 device_t child; 979 device_t child; 988 device_t child; 995 device_t child; [all …]
|
/freebsd/contrib/kyua/utils/process/ |
H A D | child_test.cpp | 295 std::auto_ptr< process::child > child = process::child::fork_files( in do_inherit_test() local 368 std::auto_ptr< process::child > child = process::child::fork_capture( in ATF_TEST_CASE_BODY() local 386 std::auto_ptr< process::child > child = process::child::fork_capture( in ATF_TEST_CASE_BODY() local 414 std::auto_ptr< process::child > child = process::child::fork_capture( in ATF_TEST_CASE_BODY() local 470 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY() local 493 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY() local 516 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY() local 531 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY() local 560 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY() local 618 std::auto_ptr< process::child > child = process::child::fork_files( in ATF_TEST_CASE_BODY() local [all …]
|
H A D | child.cpp | 173 process::child::child(impl *implptr) : in child() function in process::child 180 process::child::~child(void) in ~child() 195 std::auto_ptr< process::child > 315 std::auto_ptr< child > child = fork_capture_aux(); in spawn_capture() local 316 if (child.get() == NULL) in spawn_capture() 319 return child; in spawn_capture() 344 std::auto_ptr< child > child = fork_files_aux(stdout_file, stderr_file); in spawn_files() local 345 if (child.get() == NULL) in spawn_files() 348 return child; in spawn_files() 369 process::child::output(void) in output() [all …]
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd.c | 142 device_t child = devs[i]; in bhnd_delete_children() local 203 device_t child = devs[i]; in bhnd_generic_shutdown() local 240 device_t child = devs[i]; in bhnd_generic_resume() local 243 if ((error = BUS_RESUME_CHILD(device_get_parent(child), child))) in bhnd_generic_resume() 279 device_t child = devs[i]; in bhnd_generic_suspend() local 280 error = BUS_SUSPEND_CHILD(device_get_parent(child), child); in bhnd_generic_suspend() 308 switch (bhnd_get_class(child)) { in bhnd_generic_get_probe_order() 514 bhnd_set_pmu_info(child, NULL); in bhnd_generic_release_pmu() 870 bhnd_get_device_name(child), bhnd_get_hwrev(child)); in bhnd_generic_probe_nomatch() 889 bhnd_get_vendor(child), bhnd_get_device(child), in bhnd_child_pnpinfo() [all …]
|
H A D | bhnd_bus_if.m | 410 * @param child The child device. 439 * @param child The child device. 453 * @param child The child device. 464 * @param child The child device. 982 * @param child The child device. 1005 * @param child The child device. 1016 * @param child The child device. 1080 * @param child The child device. 1127 * @param child The bhnd child. 1147 * @param child The bhnd child. [all …]
|
/freebsd/sys/dev/ofw/ |
H A D | ofw_graph.c | 56 if (child != 0) in ofw_graph_get_port_by_idx() 57 return (child); in ofw_graph_get_port_by_idx() 63 if (child != 0) in ofw_graph_get_port_by_idx() 64 return (child); in ofw_graph_get_port_by_idx() 72 for (child = OF_child(ports); child != 0; child = OF_peer(child)) { in ofw_graph_get_port_by_idx() 77 return (child); in ofw_graph_get_port_by_idx() 86 phandle_t child; in ofw_graph_port_get_num_endpoints() local 91 for (num = 0, child = OF_child(port); child != 0; in ofw_graph_port_get_num_endpoints() 92 child = OF_peer(child)) { in ofw_graph_port_get_num_endpoints() 118 for (child = OF_child(port); child != 0; child = OF_peer(child)) { in ofw_graph_get_endpoint_by_idx() [all …]
|
/freebsd/sys/isa/ |
H A D | isa_common.c | 455 bus_print_child_header(device_get_parent(child), child); in isa_assign_resources() 458 isa_print_child(device_get_parent(child), child); in isa_assign_resources() 537 child = children[i]; in isa_probe_children() 561 child = children[i]; in isa_probe_children() 582 child = children[i]; in isa_probe_children() 605 device_t child; in isa_add_child() local 609 if (child == NULL) in isa_add_child() 610 return (child); in isa_add_child() 622 return (child); in isa_add_child() 1108 device_t child; in isab_attach() local [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_pci.c | 178 pci_child_deleted(dev, child); in acpi_pci_child_deleted() 239 h = acpi_get_handle(child); in acpi_pci_set_powerstate_method() 261 device_t child; in acpi_pci_update_device() local 270 child = acpi_get_device(handle); in acpi_pci_update_device() 271 if (child != NULL) { in acpi_pci_update_device() 293 device_t child; in acpi_pci_save_handle() local 299 child = context; in acpi_pci_save_handle() 366 device_t child, dev; in acpi_pci_device_notify_handler() local 379 child = acpi_get_device(h); in acpi_pci_device_notify_handler() 380 if (child == NULL) { in acpi_pci_device_notify_handler() [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest_xml_test_utils.py | 153 for child in element.childNodes: 154 if child.nodeType == Node.ELEMENT_NODE: 155 if child.tagName == 'properties': 157 child.parentNode is not None, 166 child_id = child.getAttribute( 170 children[child_id] = child 178 child.nodeValue 232 for child in element.childNodes: 237 child.nodeValue = re.sub( 240 for child in element.childNodes: [all …]
|
/freebsd/sys/powerpc/pseries/ |
H A D | vdevice.c | 50 device_t child); 126 phandle_t root, child; in vdevice_attach() local 136 for (child = OF_child(root); child != 0; child = OF_peer(child)) { in vdevice_attach() 140 child) != 0) { in vdevice_attach() 165 return (device_get_ivars(child)); in vdevice_get_devinfo() 175 dinfo = device_get_ivars(child); in vdevice_print_child() 178 retval += bus_print_child_header(dev, child); in vdevice_print_child() 192 dinfo = device_get_ivars(child); in vdevice_get_resource_list() 200 while (child != NULL && device_get_parent(child) != dev) in vdevice_get_dma_tag() 201 child = device_get_parent(child); in vdevice_get_dma_tag() [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_sysctl.c | 789 tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "alq", in ath_sysctl_alq_attach() 792 child = SYSCTL_CHILDREN(tree); in ath_sysctl_alq_attach() 794 SYSCTL_ADD_STRING(ctx, child, OID_AUTO, "filename", in ath_sysctl_alq_attach() 1034 child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach_rxphyerr() 1053 child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach_intr() 1076 child = SYSCTL_CHILDREN(tree); in ath_sysctl_stats_attach() 1302 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tsfoor", in ath_sysctl_stats_attach() 1307 ath_sysctl_stats_attach_rxphyerr(sc, child); in ath_sysctl_stats_attach() 1310 ath_sysctl_stats_attach_intr(sc, child); in ath_sysctl_stats_attach() 1324 tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "hal", in ath_sysctl_hal_attach() [all …]
|
/freebsd/sys/dev/smbus/ |
H A D | smbus.c | 101 device_t child; in smbus_add_child() local 104 if (child == NULL) in smbus_add_child() 105 return (child); in smbus_add_child() 111 device_set_ivars(child, devi); in smbus_add_child() 112 return (child); in smbus_add_child() 119 device_t child; in smbus_hinted_child() local 130 if (child == NULL) in smbus_hinted_child() 132 devi = device_get_ivars(child); in smbus_hinted_child() 141 devi = device_get_ivars(child); in smbus_child_location() 153 devi = device_get_ivars(child); in smbus_print_child() [all …]
|
/freebsd/sys/dev/spibus/ |
H A D | spibus.c | 92 retval += bus_print_child_header(dev, child); in spibus_print_child() 97 retval += bus_print_child_footer(dev, child); in spibus_print_child() 185 device_t child; in spibus_add_child_common() local 189 if (child == NULL) in spibus_add_child_common() 190 return (child); in spibus_add_child_common() 193 device_delete_child(dev, child); in spibus_add_child_common() 197 device_set_ivars(child, devi); in spibus_add_child_common() 198 return (child); in spibus_add_child_common() 211 device_t child; in spibus_hinted_child() local 216 devi = SPIBUS_IVAR(child); in spibus_hinted_child() [all …]
|
H A D | ofw_spibus.c | 79 phandle_t child; in ofw_spibus_attach() local 92 for (child = OF_child(ofw_bus_get_node(dev)); child != 0; in ofw_spibus_attach() 93 child = OF_peer(child)) { in ofw_spibus_attach() 108 if (OF_hasprop(child, "spi-cpol")) in ofw_spibus_attach() 165 device_t child; in ofw_spibus_add_child() local 169 if (child == NULL) in ofw_spibus_add_child() 170 return (child); in ofw_spibus_add_child() 174 device_delete_child(dev, child); in ofw_spibus_add_child() 188 device_set_ivars(child, devi); in ofw_spibus_add_child() 190 return (child); in ofw_spibus_add_child() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | eqn_term.c | 115 child = bp->first; in eqn_box() 116 eqn_box(p, child); in eqn_box() 121 child = child->next; in eqn_box() 122 if (child != NULL) { in eqn_box() 124 eqn_box(p, child); in eqn_box() 130 child = child->next; in eqn_box() 131 if (child != NULL) in eqn_box() 136 child = bp->first; in eqn_box() 141 child = child->first; in eqn_box() 148 child->first : child); in eqn_box() [all …]
|
/freebsd/sys/dev/pci/ |
H A D | hostb_pci.c | 133 pci_hostb_enable_busmaster(device_t dev, device_t child) in pci_hostb_enable_busmaster() argument 137 device_get_nameunit(child)); in pci_hostb_enable_busmaster() 142 pci_hostb_disable_busmaster(device_t dev, device_t child) in pci_hostb_disable_busmaster() argument 146 device_get_nameunit(child)); in pci_hostb_disable_busmaster() 155 device_get_nameunit(child)); in pci_hostb_enable_io() 164 device_get_nameunit(child)); in pci_hostb_disable_io() 173 device_get_nameunit(child)); in pci_hostb_set_powerstate() 178 pci_hostb_get_powerstate(device_t dev, device_t child) in pci_hostb_get_powerstate() argument 182 device_get_nameunit(child)); in pci_hostb_get_powerstate() 187 pci_hostb_assign_interrupt(device_t dev, device_t child) in pci_hostb_assign_interrupt() argument [all …]
|
/freebsd/sys/x86/x86/ |
H A D | legacy.c | 155 device_t child; in legacy_attach() local 172 if (child == NULL) in legacy_attach() 197 device_t child; in legacy_add_child() local 209 if (child == NULL) in legacy_add_child() 215 return (child); in legacy_add_child() 318 device_t child; in cpu_identify() local 328 if (child == NULL) in cpu_identify() 337 device_t child; in cpu_add_child() local 348 if (child != NULL) { in cpu_add_child() 349 pc->pc_device = child; in cpu_add_child() [all …]
|
/freebsd/tools/test/popss/ |
H A D | popss.c | 54 setup(pid_t child) in setup() argument 63 error = ptrace(PT_GETREGS, child, (caddr_t)&r, 0); in setup() 78 error = ptrace(PT_CONTINUE, child, (caddr_t)1, 0); in setup() 95 "dr6 %#x dr7 %#x\n", child, r.r_eip, r.r_esp, in setup() 102 kill(child, SIGKILL); in setup() 103 ptrace(PT_DETACH, child, NULL, 0); in setup() 167 int child; in main() local 175 child = fork(); in main() 176 if (child == -1) in main() 178 if (child == 0) in main() [all …]
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhnd_bhndb.c | 52 bhnd_bhndb_read_board_info(device_t dev, device_t child, in bhnd_bhndb_read_board_info() argument 58 if ((error = bhnd_bus_generic_read_board_info(dev, child, info))) in bhnd_bhndb_read_board_info() 66 bhnd_bhndb_get_attach_type(device_t dev, device_t child) in bhnd_bhndb_get_attach_type() argument 73 bhnd_bhndb_is_hw_disabled(device_t dev, device_t child) in bhnd_bhndb_is_hw_disabled() argument 75 struct bhnd_core_info core = bhnd_get_core_info(child); in bhnd_bhndb_is_hw_disabled() 108 return (BHND_BUS_UNMAP_INTR(device_get_parent(dev), child, irq)); in bhnd_bhndb_unmap_intr() 112 bhnd_bhndb_pwrctl_get_clksrc(device_t dev, device_t child, in bhnd_bhndb_pwrctl_get_clksrc() argument 121 bhnd_bhndb_pwrctl_gate_clock(device_t dev, device_t child, in bhnd_bhndb_pwrctl_gate_clock() argument 130 bhnd_bhndb_pwrctl_ungate_clock(device_t dev, device_t child, in bhnd_bhndb_pwrctl_ungate_clock() argument 147 core = child; in bhnd_bhndb_setup_intr() [all …]
|