/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 5050 uint32 oldSize = context->table_size; local 5051 int oldCloseOnExitBitmapSize = (oldSize + 7) / 8; 5055 if (newSize < oldSize) { 5056 for (uint32 i = oldSize; i-- > newSize;) { 5081 uint32 toCopy = min_c(oldSize, newSize); 5089 if (newSize > oldSize) { 5090 memset(context->fds + oldSize, 0, sizeof(void*) * (newSize - oldSize)); 5091 memset(context->select_infos + oldSize, 0, 5092 sizeof(void*) * (newSize - oldSize)); [all...] |
/haiku/src/system/kernel/vm/ |
H A D | vm.cpp | 705 const addr_t oldSize = area->Size(); local 719 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); 763 size_t oldBytes = area_page_protections_size(oldSize); 764 ssize_t pagesShifted = (oldSize - area->Size()) / B_PAGE_SIZE; 816 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); 835 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); 868 cache->Resize(cache->virtual_base + oldSize, priority); 885 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); 901 addressSpace->ShrinkAreaTail(area, oldSize, allocationFlags); 919 size_t oldBytes = area_page_protections_size(oldSize); 5342 size_t oldSize; local [all...] |
H A D | VMUserAddressSpace.cpp | 286 size_t oldSize = area->Size(); local 287 if (size == oldSize) 290 area->SetBase(area->Base() + oldSize - size); 301 size_t oldSize = area->Size(); local 302 if (size == oldSize)
|
/haiku/src/kits/tracker/ |
H A D | Utilities.cpp | 311 ExtendedPoseInfo::SizeWithHeadroom(size_t oldSize) argument 313 int32 count = (ssize_t)oldSize - (ssize_t)sizeof(ExtendedPoseInfo);
|
H A D | StatusWindow.cpp | 721 float oldSize = font.Size(); local 731 font.SetSize(oldSize);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 104 Resize(Inode* inode, off_t oldSize, off_t newSize, bool trim) argument 108 fOldSize(oldSize), 1619 off_t oldSize = Size(); local 1621 if ((uint64)pos + (uint64)length > (uint64)oldSize) { 1645 if (oldSize < pos) 1646 FillGapWithZeros(oldSize, pos); 2275 off_t oldSize = Size(); 2277 if (size == oldSize) 2280 T(Resize(this, oldSize, size, false)); 2284 if (size > oldSize) { [all...] |
H A D | kernel_interface.cpp | 901 off_t oldSize = inode->Size(); local 912 inode->FillGapWithZeros(oldSize, inode->Size());
|
H A D | Inode.h | 151 status_t FillGapWithZeros(off_t oldSize, off_t newSize);
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 648 off_t oldSize = inode->Size(); local 656 inode->FillGapWithZeros(oldSize, inode->Size());
|
H A D | Inode.cpp | 280 off_t oldSize = Size(); local 284 oldSize >> 32, oldSize & 0xFFFFFFFF, 287 if (end > oldSize) { 305 if (oldSize < pos) 306 FillGapWithZeros(oldSize, pos); 363 off_t oldSize = Size(); 365 if (size == oldSize) 369 "\n", oldSize, size); 372 if (size > oldSize) { 832 off_t oldSize = Size(); local 873 off_t oldSize = Size(); local [all...] |
/haiku/src/kits/interface/ |
H A D | AbstractSpinner.cpp | 1583 BSize oldSize = Bounds().Size(); local 1589 if (newSize != oldSize)
|
H A D | MenuField.cpp | 1186 BSize oldSize = Bounds().Size(); local 1193 if (newSize != oldSize)
|
H A D | TextControl.cpp | 1206 BSize oldSize(Bounds().Size()); 1212 if (newSize != oldSize)
|
/haiku/src/system/kernel/cache/ |
H A D | file_cache.cpp | 1265 off_t oldSize = cache->virtual_end; local 1269 if (status == B_OK && newSize < oldSize) {
|
/haiku/src/system/kernel/slab/ |
H A D | allocator.cpp | 269 size_t oldSize; 270 ObjectCache* cache = MemoryManager::GetAllocationInfo(address, oldSize); 271 if (cache == NULL && oldSize == 0) { 276 if (oldSize == newSize) 283 memcpy(newBlock, address, std::min(oldSize, newSize));
|
/haiku/src/system/kernel/ |
H A D | guarded_heap.cpp | 559 size_t oldSize = page.allocation_size; local 562 if (oldSize == newSize) 569 memcpy(newBlock, address, min_c(oldSize, newSize));
|
/haiku/src/system/runtime_loader/ |
H A D | elf_tls.cpp | 282 unsigned oldSize = _Size(); local 283 if (size <= oldSize) 291 memset(*fVector + oldSize + 1, 0, (size - oldSize) * sizeof(TLSBlock));
|
H A D | heap.cpp | 387 size_t oldSize = 0; local 390 oldSize = oldChunk->Size(); 393 if (oldSize >= newSize 394 && (oldSize < 128 || newSize > oldSize / 3)) { 406 memcpy(newBuffer, oldBuffer, std::min(oldSize, newSize));
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Attribute.cpp | 58 off_t oldSize = DataContainer::GetSize(); local 59 if (newSize != oldSize) {
|
H A D | SymLink.cpp | 31 int32 oldSize = GetLinkedPathLength(); local 32 if (error == B_OK && newSize < oldSize) { 37 index->Changed(this, oldSize);
|
/haiku/src/apps/remotedesktop/ |
H A D | RemoteView.cpp | 1164 float oldSize = offscreen->PenSize(); local 1175 offscreen->SetPenSize(oldSize); 1195 float oldSize = PenSize(); local 1198 offscreen->SetPenSize(oldSize);
|
/haiku/src/system/boot/loader/ |
H A D | heap.cpp | 513 size_t oldSize = 0; local 517 oldSize = oldChunk->Size(); 525 oldSize = allocation->Size(); 529 if (oldSize >= newSize 530 && (oldSize < 128 || newSize > oldSize / 3)) { 542 memcpy(newBuffer, oldBuffer, std::min(oldSize, newSize));
|
/haiku/src/apps/diskprobe/ |
H A D | DataView.cpp | 986 float oldSize = FontSize(); local 1000 if (oldSize != size) {
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | guarded_heap.cpp | 757 size_t oldSize; local 766 oldSize = page.allocation_size; 774 oldSize = page->allocation_size; 777 if (oldSize == newSize) 785 memcpy(newBlock, address, min_c(oldSize, newSize));
|
/haiku/src/preferences/time/ |
H A D | NetworkTimeView.cpp | 174 ssize_t oldSize = fOldMessage.FlattenedSize(); local 177 if (oldSize != newSize || oldSize < 0 || newSize < 0) 180 char* oldBytes = new (std::nothrow) char[oldSize]; 184 fOldMessage.Flatten(oldBytes, oldSize); 192 int result = memcmp(oldBytes, newBytes, oldSize);
|