/haiku/src/kits/translation/ |
H A D | TranslationUtils.cpp | 711 // alignment, default is B_ALIGN_LEFT 712 int32 alignment = view->Alignment(); 713 bytesWritten = file->WriteAttr("alignment", B_INT32_TYPE, 0, 714 &alignment, sizeof(int32));
|
/haiku/src/libs/alm/ |
H A D | Area.cpp | 627 // 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)
|
/haiku/src/libs/glut/ |
H A D | glut_bitmap.c | 22 GLint skiprows, skippixels, alignment; local 41 glGetIntegerv(GL_UNPACK_ALIGNMENT, &alignment); 60 glPixelStorei(GL_UNPACK_ALIGNMENT, alignment);
|
/haiku/src/preferences/filetypes/ |
H A D | AttributeListView.cpp | 138 int32 alignment; local 139 if (attributes.FindInt32("attr:alignment", index, &alignment) != B_OK) 140 alignment = B_ALIGN_LEFT; 146 return new AttributeItem(name, publicName, type, displayAs, alignment, 155 type_code type, const char* displayAs, int32 alignment, 162 fAlignment(alignment), 154 AttributeItem(const char* name, const char* publicName, type_code type, const char* displayAs, int32 alignment, int32 width, bool visible, bool editable) argument
|
H A D | AttributeListView.h | 17 const char* displayAs, int32 alignment, int32 width, bool visible,
|
H A D | AttributeWindow.cpp | 193 int32 alignment; member in struct:alignment_map 197 "Attribute column alignment in Tracker")}, 199 "Attribute column alignment in Tracker")}, 201 "Attribute column alignment in Tracker")}, 205 menu = new BPopUpMenu("alignment"); 208 message->AddInt32("alignment", kAlignmentMap[i].alignment); 213 if (kAlignmentMap[i].alignment == fAttribute.Alignment()) 217 fAlignmentMenuField = new BMenuField("alignment", 358 int32 alignment local [all...] |
/haiku/src/preferences/shortcuts/ |
H A D | PopUpColumn.cpp | 21 bool cycle, int cycleInit, alignment align)
|
H A D | PopUpColumn.h | 21 alignment align = B_ALIGN_LEFT);
|
/haiku/src/system/kernel/slab/ |
H A D | HashedObjectCache.cpp | 57 size_t alignment, size_t maximum, size_t magazineCapacity, 78 if (cache->Init(name, object_size, alignment, maximum, magazineCapacity, 56 Create(const char* name, size_t object_size, size_t alignment, size_t maximum, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void* cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
|
H A D | HashedObjectCache.h | 26 size_t alignment, size_t maximum,
|
H A D | ObjectCache.h | 50 size_t alignment; member in struct:ObjectCache 89 size_t alignment, size_t maximum,
|
H A D | SmallObjectCache.cpp | 30 size_t alignment, size_t maximum, size_t magazineCapacity, 41 if (cache->Init(name, object_size, alignment, maximum, magazineCapacity, 29 Create(const char* name, size_t object_size, size_t alignment, size_t maximum, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void* cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
|
H A D | SmallObjectCache.h | 16 size_t alignment, size_t maximum,
|
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | obstack.c | 66 /* Determine default alignment. */ 157 _obstack_begin (h, size, alignment, chunkfun, freefun) 160 int alignment; 171 if (alignment == 0) 172 alignment = (int) DEFAULT_ALIGNMENT; 198 h->alignment_mask = alignment - 1; 215 _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg) 218 int alignment; 230 if (alignment == 0) 231 alignment [all...] |
H A D | obstack.h | 173 int alignment_mask; /* Mask of alignment for each object. */ 307 # define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \ 308 _obstack_begin ((h), (size), (alignment), \ 312 # define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \ 313 _obstack_begin_1 ((h), (size), (alignment), \ 335 # define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \ 336 _obstack_begin ((h), (size), (alignment), \ 340 # define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \ 341 _obstack_begin_1 ((h), (size), (alignment), \ 425 /* These assume that the obstack alignment i [all...] |
/haiku/src/system/libroot/posix/glibc/include/ |
H A D | stdlib.h | 63 extern int __posix_memalign (void **memptr, size_t alignment, size_t size)
|
/haiku/src/system/libroot/posix/malloc_debug/ |
H A D | malloc_debug_api.h | 16 void* (*memalign)(size_t alignment, size_t size); 24 int (*posix_memalign)(void** pointer, size_t alignment,
|
/haiku/src/tests/add-ons/kernel/bus_managers/agp_gart/ |
H A D | gart_tester.cpp | 154 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/tests/add-ons/kernel/kernelland_emu/ |
H A D | misc.cpp | 36 memalign_etc(size_t alignment, size_t size, uint32 flags) argument 38 return memalign(alignment, size);
|
H A D | slab.cpp | 15 size_t alignment, size_t maxByteUsage, uint32 flags, void *cookie, 35 size_t alignment, void *cookie, object_cache_constructor constructor, 38 return new(std::nothrow) ObjectCache(name, objectSize, alignment, 45 size_t alignment, size_t maxByteUsage, size_t magazineCapacity, 50 return new(std::nothrow) ObjectCache(name, objectSize, alignment, 14 ObjectCache(const char *name, size_t objectSize, size_t alignment, size_t maxByteUsage, uint32 flags, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument 34 create_object_cache(const char *name, size_t objectSize, size_t alignment, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor) argument 44 create_object_cache_etc(const char *name, size_t objectSize, size_t alignment, size_t maxByteUsage, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void *cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | StringView.cpp | 39 StringView::SetAlignment(alignment align) 91 // horizontal alignment
|
H A D | StringView.h | 19 void SetAlignment(alignment align); 35 alignment fAlignment;
|
/haiku/src/tests/system/kernel/slab/ |
H A D | Slab.cpp | 42 size_t alignment = 16; local 45 alignment = byteCount; 47 *pages = memalign(alignment, byteCount); 88 BaseCache::BaseCache(const char *_name, size_t objectSize, size_t alignment, argument 95 if (alignment > 0 && (objectSize & (alignment - 1))) 96 fObjectSize = objectSize + alignment - (objectSize & (alignment - 1)); 409 object_cache_create(const char *name, size_t object_size, size_t alignment, argument 413 return new (std::nothrow) MallocLocalCache(name, object_size, alignment, [all...] |
H A D | Slab.h | 34 object_cache_create(const char *name, size_t object_size, size_t alignment, 53 BaseCache(const char *_name, size_t objectSize, size_t alignment, 120 Cache(const char *_name, size_t objectSize, size_t alignment, argument 122 : BaseCache(_name, Strategy::RequiredSpace(objectSize), alignment, 279 TypedCache(const char *name, size_t alignment) argument 280 : BaseType(name, sizeof(Type), alignment, _ConstructObject, 525 LocalCache(const char *name, size_t objectSize, size_t alignment, argument 527 : CacheType(name, objectSize, alignment, _constructor, _destructor,
|
/haiku/src/tests/system/libroot/posix/ |
H A D | memalign_test.cpp | 77 allocate_random_fixed_alignment(int32 count, size_t maxSize, size_t alignment) argument 83 allocations[i] = memalign(alignment, sizes[i]); 89 if ((addr_t)allocations[i] % alignment != 0) { 91 " with alignment %lu (0x%08lx)\n", sizes[i], 92 allocations[i], (addr_t)allocations[i] % alignment, alignment, 93 alignment);
|