Lines Matching defs:Partition

193 	const Partition* partition1 = *(const Partition**)p1;
194 const Partition* partition2 = *(const Partition**)p2;
221 is_inside_partitions(off_t location, const Partition** partitions, int32 count)
230 const Partition* midPartition = partitions[mid];
236 const Partition* partition = partitions[lower];
355 // #pragma mark - Partition
358 Partition::Partition()
369 Partition::Partition(const partition_descriptor* descriptor, off_t tableOffset,
383 Partition::SetTo(const partition_descriptor* descriptor, off_t tableOffset,
386 TRACE(("Partition::SetTo(): active: %x\n", descriptor->active));
394 Partition::SetTo(off_t offset, off_t size, uint8 type, bool active,
410 Partition::Unset()
421 Partition::CheckLocation(off_t sessionSize) const
428 TRACE(("Partition::CheckLocation() - bad partition table offset: %lld "
434 TRACE(("Partition::CheckLocation() - bad offset: %lld "
439 TRACE(("Partition::CheckLocation() - bad size: %lld "
444 TRACE(("Partition::CheckLocation() - partition table offset outside "
450 TRACE(("Partition::CheckLocation() - offset before session: %lld "
455 TRACE(("Partition::CheckLocation() - end after session: %lld "
464 Partition::FitSizeToSession(off_t sessionSize)
486 Partition(),
499 Partition::SetTo(descriptor, tableOffset, 0, blockSize);
508 Partition::SetTo(offset, size, type, active, 0, blockSize);
522 Partition::Unset();
631 Partition(),
642 Partition(),
670 Partition::SetTo(descriptor, tableOffset, baseOffset,
683 Partition::SetTo(offset, size, type, active, tableOffset,
696 Partition::Unset();
825 Partition*
828 Partition* partition = NULL;
847 const Partition*
867 Partition** byOffset = new(nothrow) Partition*[partitionCount];
875 Partition* partition = (Partition*)PartitionAt(i);
887 qsort(byOffset, byOffsetCount, sizeof(Partition*),
894 Partition* partition = byOffset[i];
896 Partition* previousPartition = byOffset[i - 1];
923 (const Partition**)byOffset, byOffsetCount)) {