/haiku/src/tests/system/kernel/ |
H A D | page_fault_cache_merge_test.cpp | 32 pid_t child = fork(); local 33 if (child < 0) { 38 if (child == 0) { 39 // child 54 while (wait(&status) != child);
|
/haiku/src/kits/storage/disk_device/ |
H A D | DiskSystemAddOn.cpp | 81 BDiskSystemAddOn::IsSubSystemFor(const BMutablePartition* child) argument 117 BPartitionHandle::SupportedChildOperations(const BMutablePartition* child, argument 125 BPartitionHandle::SupportsInitializingChild(const BMutablePartition* child, argument 133 BPartitionHandle::GetNextSupportedType(const BMutablePartition* child, argument 169 BPartitionHandle::ValidateResizeChild(const BMutablePartition* child, argument 184 BPartitionHandle::ResizeChild(BMutablePartition* child, off_t size) argument 200 BPartitionHandle::ValidateMoveChild(const BMutablePartition* child, argument 217 BPartitionHandle::MoveChild(BMutablePartition* child, off_t offset) argument 231 BPartitionHandle::ValidateSetName(const BMutablePartition* child, argument 246 BPartitionHandle::SetName(BMutablePartition* child, cons argument 253 ValidateSetType(const BMutablePartition* child, const char* type) argument 261 SetType(BMutablePartition* child, const char* type) argument 290 ValidateSetParameters(const BMutablePartition* child, const char* parameters) argument 305 SetParameters(BMutablePartition* child, const char* parameters) argument 321 CreateChild(off_t offset, off_t size, const char* type, const char* name, const char* parameters, BMutablePartition** child) argument 329 DeleteChild(BMutablePartition* child) argument [all...] |
/haiku/src/tests/libs/bsd/ |
H A D | wait4_test.cpp | 18 an error (and errno to ECHILD), since there is no child with that process group ID. 30 //! exits before child 2 37 pid_t child = fork(); local 38 if (child == 0) 51 pid_t child = fork(); local 52 if (child == 0) 61 printf("wait4() returned %" PRId32 " (%s), child status %" PRId32
|
/haiku/src/system/libroot/posix/stdlib/ |
H A D | heapsort.c | 80 #define CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) { \ 83 child = base + child_i * size; \ 84 if (child_i < nmemb && COMPAR(child, child + size) < 0) { \ 85 child += size; \ 89 if (COMPAR(child, par) <= 0) \ 91 SWAP(par, child, count, size, tmp); \ 100 * heapify, always maintaining the invariant that the larger child is copied 112 #define SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) { \ 114 child [all...] |
/haiku/src/kits/storage/disk_device/jobs/ |
H A D | DeleteChildJob.cpp | 16 PartitionReference* child) 17 : DiskDeviceJob(partition, child) 15 DeleteChildJob(PartitionReference* partition, PartitionReference* child) argument
|
H A D | ResizeJob.cpp | 15 ResizeJob::ResizeJob(PartitionReference* partition, PartitionReference* child, argument 18 DiskDeviceJob(partition, child),
|
/haiku/src/add-ons/disk_systems/intel/ |
H A D | PartitionMapAddOn.h | 43 const BMutablePartition* child, 47 const BMutablePartition* child, 53 const BMutablePartition* child, 56 BMutablePartition* child, 68 BMutablePartition** child); 69 virtual status_t DeleteChild(BMutablePartition* child);
|
/haiku/src/tests/system/kernel/device_manager/ |
H A D | config.c | 32 device_node_handle child; member in struct:_driver_cookie 46 cookie->child = gDeviceManager->get_root(); 64 gDeviceManager->put_device_node(cook->child); 75 device_node_handle child = NULL; local 87 TRACE("DM_GET_CHILD parent %p child %p\n", cook->parent, cook->child); 89 gDeviceManager->release_attr(cook->child, cook->attr); 92 err = gDeviceManager->get_next_child_device(cook->child, &child, NULL); 96 cook->parent = cook->child; [all...] |
/haiku/src/system/boot/loader/ |
H A D | partitions.cpp | 132 Partition *child; local 134 while ((child = (Partition *)iterator.Next()) != NULL) { 135 if (child->Parent() == this) 136 child->SetParent(NULL); 241 Partition *child = new(nothrow) Partition(fFD); local 242 TRACE(("%p Partition::AddChild %p\n", this, child)); 243 if (child == NULL) 246 child->SetParent(this); 248 fChildren.Add(child); 250 return child; 398 Partition *child = NULL; local 504 Partition *child = partition->AddChild(); local [all...] |
/haiku/src/tests/servers/app/newerClipping/ |
H A D | ViewLayer.cpp | 93 for (ViewLayer* child = FirstChild(); child; child = NextChild()) 94 child->AttachedToWindow(window); 103 for (ViewLayer* child = FirstChild(); child; child = NextChild()) 104 child->DetachedFromWindow(); 122 // append layer to formerly last child 149 printf("ViewLayer::RemoveChild(%p - %s) - ViewLayer is not child o [all...] |
/haiku/src/apps/debugger/user_interface/cli/commands/ |
H A D | CliPrintVariableCommand.cpp | 82 for (int32 j = 0; ValueNodeChild* child = container->ChildAt(j); j++) { 83 if (child->Name() == variableName) { 86 _ResolveValueIfNeeded(child->Node(), context, depth); 89 UiUtils::PrintValueNodeGraph(data, child, 1, depth); 131 ValueNodeChild* child = node->ChildAt(i); local 133 result = manager->AddChildNodes(child); 141 && child->GetType()->Kind() == TYPE_COMPOUND) { 142 _ResolveValueIfNeeded(child->Node(), context, maxDepth); 144 _ResolveValueIfNeeded(child->Node(), context, maxDepth - 1);
|
H A D | CliVariablesCommand.cpp | 49 for (int32 i = 0; ValueNodeChild* child = container->ChildAt(i); i++) { 50 printf(" %s\n", child->Name().String());
|
/haiku/src/tests/system/benchmarks/ |
H A D | forkbench.c | 27 int pid, child, status, brksize; local 55 child = fork(); 56 if (child == -1) { 60 if (child == 0) 62 while ((pid = wait(&status)) != -1 && pid != child)
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | HIDCollection.cpp | 73 HIDCollection::AddChild(HIDCollection *child) argument 75 if (fChildren.PushBack(child) == B_NO_MEMORY) { 76 TRACE_ALWAYS("no memory when trying to resize collection child list\n"); 102 HIDCollection *child = fChildren[i]; local 103 if (child == NULL) 106 count += child->CountChildrenFlat(type); 147 HIDCollection *child = fChildren[i]; local 148 if (child != NULL) 149 count += child->CountItemsFlat(); 210 HIDCollection *child local 228 HIDCollection *child = fChildren[i]; local 251 HIDCollection *child = fChildren[i]; local 293 HIDCollection *child = fChildren[i]; local [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/intel/ |
H A D | write_support.cpp | 51 partition_data* child, off_t childOffset, partition_data** prec, 77 // creating child 94 partition_data* child, uint32 mask) 107 // primary partition map doesn't naturally live in any other child partition 167 // no child has to be over the new size of the parent partition 169 // If child->offset is relative to parent, then yes! 172 partition_data* child = get_child_partition(partition->id, i); local 173 if (child && child->offset + child 93 pm_get_supported_child_operations(partition_data* partition, partition_data* child, uint32 mask) argument 204 get_sibling_partitions_pm(partition_data* partition, partition_data* child, off_t childOffset, partition_data** previous, partition_data** next, off_t* previousOffset, off_t* previousSize, off_t* nextOffset, off_t* nextSize) argument 245 get_sibling_partitions_ep(partition_data* partition, partition_data* child, off_t childOffset, partition_data** previous, partition_data** next, off_t* previousOffset, off_t* previousSize, off_t* nextOffset, off_t* nextSize) argument 281 validate_resize_child(partition_data* partition, partition_data* child, off_t childOffset, off_t childSize, off_t* size, fc_get_sibling_partitions getSiblingPartitions) argument 319 pm_validate_resize_child(partition_data* partition, partition_data* child, off_t* size) argument 347 validate_move_child(partition_data* partition, partition_data* child, off_t childOffset, off_t childSize, off_t* _start, fc_get_sibling_partitions getSiblingPartitions) argument 389 pm_validate_move_child(partition_data* partition, partition_data* child, off_t* start) argument 596 const partition_data* child = get_child_partition(partition->id, i); local 618 const partition_data* child = get_child_partition(partition->id, i); local 753 pm_shadow_changed(partition_data* partition, partition_data* child, uint32 operation) argument 974 partition_data* child = get_partition(partitionID); local 1133 partition_data* child = get_partition(childID); local 1202 partition_data* child = get_partition(partitionID); local 1272 partition_data* child = get_partition(partitionID); local 1439 partition_data* child = create_child_partition(partition->id, index, local 1523 partition_data* child = get_partition(childID); local 1587 ep_get_supported_child_operations(partition_data* partition, partition_data* child, uint32 mask) argument 1633 ep_validate_resize_child(partition_data* partition, partition_data* child, off_t* _size) argument 1666 ep_validate_move_child(partition_data* partition, partition_data* child, off_t* _start) argument 1805 ep_shadow_changed(partition_data* partition, partition_data* child, uint32 operation) argument 1913 partition_data* child = get_partition(partitionID); local 2001 partition_data* child = get_partition(childID); local 2083 partition_data* child = get_partition(partitionID); local 2240 partition_data* child = create_child_partition(partition->id, local 2324 partition_data* child = get_partition(childID); local [all...] |
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KPartitioningSystem.cpp | 176 //! Resizes child of a partition 178 KPartitioningSystem::ResizeChild(KPartition* child, off_t size, disk_job_id job) argument 181 if (!child || !child->Parent() || size < 0 || !fModule) 188 status_t result = child->Parent()->Open(O_RDWR, &fd); 193 result = fModule->resize_child(fd, child->ID(), size, job); 228 //! Moves child of a partition 230 KPartitioningSystem::MoveChild(KPartition* child, off_t offset, disk_job_id job) argument 233 if (!child || !child 257 SetName(KPartition* child, const char* name, disk_job_id job) argument 312 SetType(KPartition* child, const char* type, disk_job_id job) argument 340 SetParameters(KPartition* child, const char* parameters, disk_job_id job) argument 449 CreateChild(KPartition* partition, off_t offset, off_t size, const char* type, const char* name, const char* parameters, disk_job_id job, KPartition** child, partition_id childID) argument 481 DeleteChild(KPartition* child, disk_job_id job) argument [all...] |
/haiku/src/apps/terminal/ |
H A D | TermScrollView.cpp | 35 TermScrollView::TermScrollView(const char* name, BView* child, BView* target, argument 38 BScrollView(name, child, resizingMode, 0, false, true, B_NO_BORDER) 40 child->TargetedByScrollView(NULL);
|
/haiku/src/apps/icon-o-matic/generic/gui/ |
H A D | Group.cpp | 80 for (int32 i = 0; BView* child = ChildAt(i); i++) { 81 r.right = r.left + child->Bounds().Width() + 2 * fSpacing; 82 _LayoutControl(child, r); 87 for (int32 i = 0; BView* child = ChildAt(i); i++) { 88 r.bottom = r.top + child->Bounds().Height() + 2 * fSpacing; 89 _LayoutControl(child, r); 104 for (int32 i = 0; BView* child = ChildAt(i); i++) { 105 minWidth += child->Bounds().Width() + 1 + fSpacing; 107 child->Bounds().Height() + 1 + fInset * 2.0); 111 for (int32 i = 0; BView* child [all...] |
/haiku/src/kits/debugger/value/value_nodes/ |
H A D | CompoundValueNode.cpp | 166 for (int32 i = 0; Child* child = fChildren.ItemAt(i); i++) 167 child->ReleaseReference(); 204 BaseTypeChild* child = new(std::nothrow) BaseTypeChild(this, baseType); local 205 if (child == NULL || !fChildren.AddItem(child)) { 206 delete child; 210 child->SetContainer(fContainer); 217 MemberChild* child = new(std::nothrow) MemberChild(this, member); local 218 if (child == NULL || !fChildren.AddItem(child)) { [all...] |
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_request.c | 59 struct nvme_request *child = child_arg; local 60 struct nvme_request *parent = child->parent; 62 nvme_request_remove_child(parent, child); 178 nvme_assert(req->child_reqs == 0, "Number of child request not 0\n"); 193 struct nvme_request *child) 208 TAILQ_INSERT_TAIL(&parent->children, child, child_tailq); 209 child->parent = parent; 210 child->cb_fn = nvme_request_cb_complete_child; 211 child->cb_arg = child; 192 nvme_request_add_child(struct nvme_request *parent, struct nvme_request *child) argument 214 nvme_request_remove_child(struct nvme_request *parent, struct nvme_request *child) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_sysctl.c | 789 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); local 791 tree = SYSCTL_ADD_NODE(ctx, child, OID_AUTO, "alq", 794 child = SYSCTL_CHILDREN(tree); 796 SYSCTL_ADD_STRING(ctx, child, OID_AUTO, "filename", 1030 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); local 1036 child = SYSCTL_CHILDREN(tree); 1039 SYSCTL_ADD_UINT(ctx, child, OID_AUTO, sn, CTLFLAG_RD, &sc->sc_stats.ast_rx_phy[i], 0, ""); 1049 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); local 1055 child = SYSCTL_CHILDREN(tree); 1058 SYSCTL_ADD_UINT(ctx, child, OID_AUT 1068 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); local 1320 struct sysctl_oid_list *child = SYSCTL_CHILDREN(tree); local [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | posix_spawn_redir_test.c | 10 pid_t child; local 20 ret = posix_spawn(&child, "./posix_spawn_redir_err", &child_fd_acts, NULL, av, NULL);
|
/haiku/src/add-ons/kernel/partitioning_systems/common/ |
H A D | PartitionMapWriter.cpp | 50 check_logical_location(const LogicalPartition* child, argument 53 if (child->PartitionTableOffset() % child->BlockSize() != 0) { 56 child->PartitionTableOffset(), child->BlockSize())); 59 if (child->Offset() % child->BlockSize() != 0) { 61 "is not a multiple of block size: %" B_PRId32 "\n", child->Offset(), 62 child->BlockSize())); 65 if (child [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | device.c | 191 device_t child = NULL; local 195 while ((child = list_get_next_item(&dev->children, child)) != NULL) { 210 while ((child = list_get_next_item(&dev->children, child)) != NULL) { 211 list[count] = child; 364 device_t child = NULL; local 368 child = new_device(&miibus_driver); 378 child = new_device(*driver); 383 child 418 device_delete_child(device_t parent, device_t child) argument 526 device_t child = NULL; local 555 device_t child = NULL; local [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/gpt/ |
H A D | gpt.cpp | 125 TRACE(("efi_gpt: child partition exceeds existing space (ends at " 131 TRACE(("efi_gpt: child partition starts at 0 (recursive entry)\n")); 135 partition_data* child = create_child_partition(partition->id, index++, local 138 if (child == NULL) { 139 TRACE(("efi_gpt: Creating child at index %" B_PRIu32 " failed\n", 146 child->name = strdup(name); 147 child->type = strdup(get_partition_type(entry.partition_type)); 148 child->block_size = partition->block_size; 149 child->cookie = (void*)(addr_t)i; 150 child 188 efi_gpt_get_supported_child_operations(partition_data* partition, partition_data* child, uint32 mask) argument 227 partition_data* child = get_child_partition(partition->id, i); local 242 efi_gpt_validate_resize_child(partition_data* partition, partition_data* child, off_t* size) argument 289 efi_gpt_validate_move_child(partition_data* partition, partition_data* child, off_t* start) argument 446 efi_gpt_shadow_changed(partition_data* partition, partition_data* child, uint32 operation) argument 813 partition_data* child = create_child_partition(partition->id, entryIndex, local [all...] |