Searched refs:alignment (Results 101 - 125 of 189) sorted by relevance

12345678

/haiku/src/apps/debugger/user_interface/gui/teams_window/
H A DTeamsListView.h51 alignment align = B_ALIGN_LEFT);
/haiku/src/apps/mediaplayer/settings/
H A DSettingsWindow.cpp65 BAlignment alignment(B_ALIGN_LEFT, B_ALIGN_VERTICAL_CENTER);
66 playModeLabel->SetExplicitAlignment(alignment);
68 viewOptionsLabel->SetExplicitAlignment(alignment);
70 bgMoviesModeLabel->SetExplicitAlignment(alignment);
/haiku/src/tests/add-ons/kernel/bus_managers/agp_gart/
H A Dgart_tester.cpp154 allocate(aperture_id aperture, size_t size, size_t alignment, uint32 flags, argument
157 printf("Alloc %lu bytes, alignment %ld%s\n", size, alignment,
161 status_t status = sGART->allocate_memory(aperture, size, alignment, flags,
/haiku/src/system/runtime_loader/
H A Dheap.cpp170 align(size_t size, size_t alignment = kAlignment)
172 return (size + alignment - 1) & ~(alignment - 1);
/haiku/src/system/boot/platform/riscv/
H A Dvirtio.cpp28 aligned_malloc(size_t required_bytes, size_t alignment) argument
32 int offset = alignment - 1 + sizeof(void*);
36 p2 = (void**)(((size_t)(p1) + offset) & ~(alignment - 1));
/haiku/src/system/kernel/vm/
H A DVMKernelAddressSpace.cpp590 // prepare size, alignment and the base address for the range search
593 size_t alignment = addressRestrictions->alignment != 0 local
594 ? addressRestrictions->alignment : B_PAGE_SIZE;
610 while (alignment < size)
611 alignment <<= 1;
625 Range* range = _FindFreeRange(address, size, alignment,
699 size_t alignment, uint32 addressSpec, bool allowReservedRange,
703 ", size: %#" B_PRIxSIZE ", alignment: %#" B_PRIxSIZE ", addressSpec: %#"
704 B_PRIx32 ", reserved allowed: %d)\n", start, size, alignment,
698 _FindFreeRange(addr_t start, size_t size, size_t alignment, uint32 addressSpec, bool allowReservedRange, addr_t& _foundAddress) argument
[all...]
H A DVMKernelAddressSpace.h84 size_t alignment, uint32 addressSpec,
/haiku/src/system/libroot/posix/malloc_debug/
H A Dheap.cpp42 static void *debug_heap_memalign(size_t alignment, size_t size);
179 4, /* bin alignment */
189 32, /* bin alignment */
199 128, /* bin alignment */
944 size_t alignment)
957 if (alignment > heap->page_size) {
958 firstValid = (ROUNDUP(area->base, alignment) - area->base)
960 step = alignment / heap->page_size;
1022 heap_raw_alloc(heap_allocator *heap, size_t size, size_t alignment) argument
1025 " alignment
943 heap_allocate_contiguous_pages(heap_allocator *heap, uint32 pageCount, size_t alignment) argument
1114 heap_memalign(heap_allocator *heap, size_t alignment, size_t size) argument
1837 debug_heap_memalign(size_t alignment, size_t size) argument
[all...]
/haiku/src/system/boot/loader/
H A Dkernel_args.cpp398 kernel_args_malloc(size_t size, uint8 alignment) argument
403 size_t alignedSize = size + alignment - 1;
407 void* address = (void*)ALIGN((addr_t)sFirstFree, alignment);
429 return (void*)ALIGN((addr_t)block, alignment);
449 return (void*)ALIGN((addr_t)block, alignment);
/haiku/src/kits/tracker/
H A DViewState.cpp85 alignment align, const char* attributeName, uint32 attrType,
94 alignment align, const char* attributeName, uint32 attrType,
112 stream->Read(&fAlignment, sizeof(alignment));
125 STATIC_ASSERT(sizeof(alignment) == sizeof(int32));
126 fAlignment = (alignment)B_SWAP_INT32(fAlignment);
182 alignment align, const char* attributeName, uint32 attrType,
264 stream->Write(&fAlignment, sizeof(alignment));
H A DTextWidget.h120 alignment fAlignment;
/haiku/src/kits/interface/
H A DColumnTypes.cpp35 float maxWidth, alignment align)
195 float maxWidth, uint32 truncate, alignment align)
312 float maxWidth, alignment align)
406 float maxWidth, alignment align)
520 float maxWidth, alignment align)
550 float maxWidth, alignment align)
620 float maxWidth, alignment align)
H A DStringView.cpp82 fAlign = (alignment)archive->GetInt32("_align", B_ALIGN_LEFT);
350 SetAlignment((alignment)align);
418 BStringView::SetAlignment(alignment flag)
425 alignment
H A DTextControl.cpp245 alignment labelAlignment;
246 alignment textAlignment;
638 BTextControl::SetAlignment(alignment labelAlignment, alignment textAlignment)
650 BTextControl::GetAlignment(alignment* _label, alignment* _text) const
1134 SetAlignment((alignment)labelAlignment, (alignment)textAlignment);
/haiku/src/system/kernel/slab/
H A DSlab.cpp121 Create(const char* name, size_t objectSize, size_t alignment, argument
127 fAlignment(alignment),
139 "%" B_PRIuSIZE ", alignment: %" B_PRIuSIZE ", max usage: "
271 "\n", cache, cache->name, cache->object_size, cache->alignment,
293 kprintf("alignment: %" B_PRIuSIZE "\n", cache->alignment);
1122 create_object_cache(const char* name, size_t object_size, size_t alignment, argument
1126 return create_object_cache_etc(name, object_size, alignment, 0, 0, 0, 0,
1132 create_object_cache_etc(const char* name, size_t objectSize, size_t alignment, argument
1142 cache = SmallObjectCache::Create(name, objectSize, alignment, maximu
[all...]
/haiku/src/apps/drivesetup/
H A DPartitionList.h48 alignment align = B_ALIGN_LEFT);
/haiku/headers/os/interface/
H A DAbstractLayout.h26 virtual void SetExplicitAlignment(BAlignment alignment);
/haiku/headers/private/graphics/radeon_hd/
H A Dradeon_hd.h279 uint32 alignment; member in struct:radeon_allocate_graphics_memory
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dbus_dma.h145 * alignment: Alignment for segments.
165 /* XXX Should probably allow specification of alignment */
166 int bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
/haiku/src/system/kernel/device_manager/
H A Ddma_resources.h27 generic_size_t alignment; member in struct:dma_restrictions
/haiku/headers/libs/agg/
H A Dagg_array.h826 int8u* allocate(unsigned size, unsigned alignment=1) argument
832 if(alignment > 1)
835 (alignment - unsigned((size_t)ptr) % alignment) % alignment;
846 return allocate(size - align, alignment);
852 allocate_block(size + alignment - 1);
853 return allocate(size, alignment);
/haiku/headers/posix/
H A Dstdlib.h51 extern int posix_memalign(void **_pointer, size_t alignment, size_t size);
52 extern void *aligned_alloc(size_t alignment, size_t size) _ALIGNED_BY_ARG(1);
/haiku/headers/private/kernel/vm/
H A Dvm_types.h46 size_t alignment; member in struct:virtual_address_restrictions
47 // address alignment; overridden when
57 phys_size_t alignment; member in struct:physical_address_restrictions
58 // address alignment
/haiku/src/apps/bootmanager/
H A DLegacyBootMenu.cpp69 bool Align(int16 alignment);
159 LittleEndianMallocIO::Align(int16 alignment) argument
161 if ((Position() % alignment) == 0)
163 return Fill(alignment - (Position() % alignment), 0);
/haiku/src/libs/alm/
H A DArea.cpp627 // we only need max constraints if the alignment is full height/width
629 BAlignment alignment = fLayoutItem->Alignment(); local
631 if (alignment.Vertical() == B_ALIGN_USE_FULL_HEIGHT)
649 if (alignment.Horizontal() == B_ALIGN_USE_FULL_WIDTH)

Completed in 240 milliseconds

12345678