Lines Matching defs:child
174 // our parent has already set the child cookie to the primary partition.
182 // init the child partitions
185 BMutablePartition* child = partition->ChildAt(i);
188 if (!type.SetType(child->Type()))
191 void* handle = parse_driver_settings_string(child->Parameters());
213 logical->SetTo(child->Offset(), child->Size(), type.Type(), active,
216 child->SetChildCookie(logical);
228 // creating child
243 const BMutablePartition* child, uint32 mask)
250 ExtendedPartitionHandle::GetNextSupportedType(const BMutablePartition* child,
290 BMutablePartition* child = partition->ChildAt(i);
291 error = info->ExcludeOccupiedSpace(child->Offset(),
292 child->Size() + PTS_OFFSET + Partition()->BlockSize());
296 LogicalPartition* logical = (LogicalPartition*)child->ChildCookie();
463 // everything looks good, create the child
464 BMutablePartition* child;
466 NULL, parameters.String(), &child);
470 // init the child
471 child->SetOffset(offset);
472 child->SetSize(size);
473 child->SetBlockSize(Partition()->BlockSize());
474 //child->SetFlags(0);
475 child->SetChildCookie(Partition());
477 *_child = child;
483 ExtendedPartitionHandle::DeleteChild(BMutablePartition* child)
485 BMutablePartition* parent = child->Parent();
486 status_t error = parent->DeleteChild(child);