/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | File.cpp | 37 off_t oldSize = DataContainer::GetSize(); local 43 if (oldSize != DataContainer::GetSize()) { 47 index->Changed(this, oldSize); 57 off_t oldSize = DataContainer::GetSize(); local 58 if (newSize != oldSize) { 63 index->Changed(this, oldSize);
|
H A D | SymLink.cpp | 31 int32 oldSize = GetLinkedPathLength(); local 32 if (error == B_OK && newSize < oldSize) { 37 index->Changed(this, oldSize);
|
H A D | SizeIndex.h | 20 virtual status_t Changed(Node *node, off_t oldSize);
|
H A D | Attribute.cpp | 58 off_t oldSize = DataContainer::GetSize(); local 59 if (newSize != oldSize) {
|
H A D | SizeIndex.cpp | 146 SizeIndex::Changed(Node *node, off_t oldSize) argument 151 Node **foundNode = fNodes->Find(SizeIndexPrimaryKey(node, oldSize), 169 (const uint8*)&oldSize, sizeof(oldSize), (const uint8*)&newSize,
|
/haiku/src/kits/debugger/util/ |
H A D | BitBuffer.cpp | 84 size_t oldSize = fBytes.Size(); local 88 memcpy(fBytes.Elements() + oldSize, data, size); 108 size_t oldSize = fBytes.Size(); local 112 fBytes[oldSize - 1] |= bits; 122 fBytes[oldSize - 1] |= reader.ReadBits(fMissingBits); 127 uint8* buffer = fBytes.Elements() + oldSize; 150 size_t oldSize = fBytes.Size(); 167 uint8* buffer = fBytes.Elements() + oldSize;
|
/haiku/src/system/runtime_loader/ |
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));
|
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));
|
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/ |
H A D | SizeIndex.cpp | 204 off_t oldSize = oldAttributes.FileSize(); local 206 if (newSize == oldSize) 210 Node** foundNode = fNodes->Find(SizeIndexPrimaryKey(node, oldSize), node, 239 (const uint8*)&oldSize, sizeof(oldSize), (const uint8*)&newSize,
|
/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/apps/mediaplayer/interface/ |
H A D | SymbolButton.cpp | 110 BSize oldSize = MinSize(); local 115 if (MinSize() != oldSize)
|
H A D | PlayPauseButton.cpp | 170 BSize oldSize = MinSize(); local 177 if (MinSize() != oldSize)
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
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/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/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);
|
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | MetadataCache.cpp | 78 off_t oldSize = fStatCache.st_size; local 81 if (oldSize != fStatCache.st_size) {
|
/haiku/src/system/kernel/vm/ |
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)
|
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...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Index.cpp | 339 off_t oldSize = inode->OldSize(); local 343 (uint8*)&oldSize, sizeof(int64), (uint8*)&newSize, sizeof(int64),
|
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 | Inode.h | 151 status_t FillGapWithZeros(off_t oldSize, off_t newSize);
|
/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/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/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/kits/tracker/ |
H A D | StatusWindow.cpp | 721 float oldSize = font.Size(); local 731 font.SetSize(oldSize);
|