Searched refs:alignment (Results 26 - 50 of 188) sorted by relevance

12345678

/haiku-fatelf/src/tools/anyboot/
H A Danyboot.cpp129 off_t alignment = 1 * 1024 * 1024 - 1;
130 off_t imageOffset = (isoSize + alignment) & ~alignment;
148 alignment = kBlockSize - 1;
149 imageSize = (imageSize + alignment) & ~alignment;
/haiku-fatelf/headers/os/interface/
H A DStringView.h29 void SetAlignment(alignment flag);
30 alignment Alignment() const;
84 alignment fAlign;
H A DLayoutUtils.h32 static BAlignment ComposeAlignment(BAlignment alignment,
36 BAlignment alignment);
H A DSpaceLayoutItem.h14 BSize preferredSize, BAlignment alignment);
30 virtual void SetExplicitAlignment(BAlignment alignment);
H A DTextControl.h52 virtual void SetAlignment(alignment label, alignment text);
53 void GetAlignment(alignment* _label,
54 alignment* _text) const;
135 alignment fLabelAlign;
/haiku-fatelf/src/bin/network/tcpdump/
H A Dcpack.c42 cpack_next_boundary(u_int8_t *buf, u_int8_t *p, size_t alignment) argument
44 size_t misalignment = (size_t)(p - buf) % alignment;
49 return p + (alignment - misalignment);
61 /* Ensure alignment. */
/haiku-fatelf/headers/os/drivers/
H A Dlocked_pool.h27 You can also specify an alignment, e.g. if the blocks are used for
52 // alignment - set address bits here that must be zero for block addresses
62 locked_pool_cookie (*create)(int block_size, int alignment, int next_ofs,
/haiku-fatelf/headers/os/locale/
H A DFormatParameters.h17 void SetAlignment(format_alignment alignment);
/haiku-fatelf/headers/private/storage/
H A DPef.h40 uint8 alignment; member in struct:PEFSectionHeader
/haiku-fatelf/src/add-ons/media/plugins/matroska/libebml/ebml/
H A DEbmlCrc32.h144 inline bool IsAlignedOn(const void *p, unsigned int alignment) argument
146 return IsPowerOf2(alignment) ? ModPowerOf2((unsigned long)p, alignment) == 0 : (unsigned long)p % alignment == 0;
/haiku-fatelf/src/apps/cortex/support/
H A DTextControlFloater.h64 alignment align,
/haiku-fatelf/src/apps/debuganalyzer/gui/table/
H A DTableColumn.cpp12 float maxWidth, alignment align)
H A DTableColumns.cpp19 alignment align)
67 alignment align)
103 const BString& falseString, uint32 truncate, alignment align)
135 alignment align)
165 alignment align)
198 uint32 truncate, alignment align)
246 uint32 truncate, alignment align)
/haiku-fatelf/src/bin/gdb/bfd/
H A Dmerge.c40 alignment octets (not 1 << align). */
41 unsigned int alignment; member in struct:sec_merge_hash_entry
46 /* Entry this is a suffix of (if alignment is 0). */
121 ret->alignment = 0;
133 unsigned int alignment, bfd_boolean create)
201 alignment, we need to insert another copy. */
202 if (hashp->alignment < alignment)
208 hashp->alignment = 0;
226 hashp->alignment
132 sec_merge_hash_lookup(struct sec_merge_hash *table, const char *string, unsigned int alignment, bfd_boolean create) argument
263 sec_merge_add(struct sec_merge_hash *tab, const char *str, unsigned int alignment, struct sec_merge_sec_info *secinfo) argument
580 unsigned int alignment = 0; local
[all...]
/haiku-fatelf/src/system/kernel/slab/
H A DSmallObjectCache.h16 size_t alignment, size_t maximum,
/haiku-fatelf/src/tools/restest/
H A DPef.h40 uint8 alignment; member in struct:PEFSectionHeader
/haiku-fatelf/src/kits/locale/
H A DFormatParameters.cpp36 BFormatParameters::SetAlignment(format_alignment alignment) argument
38 fAlignment = alignment;
/haiku-fatelf/src/apps/debugger/dwarf/
H A DCfaContext.h38 void SetCodeAlignment(uint32 alignment);
42 void SetDataAlignment(int32 alignment);
/haiku-fatelf/src/add-ons/kernel/bus_managers/firewire/
H A Dfwdma.cpp60 fwdma_malloc(struct firewire_comm *fc, int alignment, bus_size_t size,
68 /*alignment*/ alignment,
143 fwdma_malloc_multiseg(int alignment, argument
160 esize = roundup2(esize, alignment);
179 /*alignment*/ alignment,
/haiku-fatelf/src/apps/mail/
H A DComboBox.h156 virtual void SetAlignment(alignment label, alignment text);
157 void GetAlignment(alignment *label, alignment *text) const;
213 alignment fLabelAlign;
/haiku-fatelf/src/kits/interface/
H A DGraphicsDefs.cpp115 size_t alignment = 0; local
117 alignment = (sizeof(int) % bytesPerPixel) * sizeof(int);
118 if (alignment < sizeof(int))
119 alignment = sizeof(int);
123 *rowAlignment = alignment;
H A DLayoutItem.cpp120 BAlignment alignment = Alignment(); local
123 // The item has height for width, so we do the horizontal alignment
126 && alignment.horizontal != B_ALIGN_USE_FULL_WIDTH) {
128 * alignment.horizontal);
131 alignment.horizontal = B_ALIGN_USE_FULL_WIDTH;
140 SetFrame(BLayoutUtils::AlignInFrame(frame, maxSize, alignment));
H A DAbstractLayout.cpp17 const char* const kAlignmentField = "BAbstractLayout:alignment";
71 alignment(),
109 return this->alignment;
114 this->alignment = align;
147 err = archive->AddAlignment(kAlignmentField, alignment);
164 err = archive->FindAlignment(kAlignmentField, &alignment);
176 BAlignment alignment; member in struct:BAbstractLayout::DataProxy
225 void SetAlignment(const BAlignment& alignment) argument
227 view->SetExplicitAlignment(alignment);
345 BAbstractLayout::SetExplicitAlignment(BAlignment alignment) argument
[all...]
H A DToolTipManager.cpp169 alignment that the tool tip specifies.
203 // Find best alignment, starting with the requested one
205 BAlignment alignment = fToolTip->Alignment(); local
209 switch (alignment.horizontal) {
237 if ((doesNotFit && alignment.vertical == B_ALIGN_MIDDLE)
238 || (alignment.vertical == B_ALIGN_MIDDLE
239 && alignment.horizontal == B_ALIGN_CENTER))
240 alignment.vertical = B_ALIGN_BOTTOM;
243 switch (alignment.vertical) {
247 alignment
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/scsi/
H A Ddma_buffer.cpp43 uint32 alignment = bus->dma_params.alignment; local
54 if (dma_boundary == ~(uint32)0 && alignment == 0 && max_sg_block_size == 0)
71 // check both begin and end of entry for alignment
72 if ((sg_list->address & alignment) != 0) {
73 SHOW_FLOW(0, "S/G-entry has bad alignment @%#" B_PRIxPHYSADDR,
78 if (((sg_list->address + sg_list->size) & alignment) != 0) {
79 SHOW_FLOW(0, "end of S/G-entry has bad alignment @%" B_PRIxPHYSADDR,
162 // just in case alignment is ridiculously huge
163 size = (size + dma_params->alignment)
[all...]

Completed in 148 milliseconds

12345678