Home
last modified time | relevance | path

Searched refs:newStart (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dgpt.cpp292 off_t newStart = *start; in efi_gpt_validate_move_child() local
293 if (newStart < 0) in efi_gpt_validate_move_child()
294 newStart = 0; in efi_gpt_validate_move_child()
296 if (newStart + child->size > partition->size) in efi_gpt_validate_move_child()
297 newStart = partition->size - child->size; in efi_gpt_validate_move_child()
299 newStart = block_align(partition, newStart, false); in efi_gpt_validate_move_child()
300 if (newStart > child->offset) { in efi_gpt_validate_move_child()
307 if (other->offset < newStart + child->size) in efi_gpt_validate_move_child()
308 newStart = other->offset - child->size; in efi_gpt_validate_move_child()
311 newStart = block_align(partition, newStart, false); in efi_gpt_validate_move_child()
[all …]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DBitmapBlock.cpp434 uint32 newStart = (startIndex + 1) << 5; in FindLargestUnmarkedRange() local
444 --newStart; in FindLargestUnmarkedRange()
455 start = newStart; in FindLargestUnmarkedRange()
474 uint32 newStart = (startIndex + 1) << 5; in FindLargestUnmarkedRange() local
480 newLength, newStart); in FindLargestUnmarkedRange()
482 if (newStart != 0) { in FindLargestUnmarkedRange()
493 --newStart; in FindLargestUnmarkedRange()
497 "to %" B_PRIu32 " and new length to %" B_PRIu32 "\n", newStart, in FindLargestUnmarkedRange()
512 start = newStart; in FindLargestUnmarkedRange()
H A DBlockAllocator.cpp340 uint32 newStart = start; in Free() local
341 block.FindPreviousMarked(newStart); in Free()
342 newStart++; in Free()
344 if (newEnd - newStart > fLargestLength) { in Free()
345 fLargestLength = newEnd - newStart; in Free()
346 fLargestStart = newStart; in Free()
/haiku/src/tools/checkstyle/
H A Dutils.py133 newStart = min(lastHighlight[0], highlight[0])
140 highlight = (newStart, newEnd, newComment)