/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | posix_memalign.c | 49 posix_memalign(void **memptr, size_t alignment, size_t size) in posix_memalign() argument 54 if (alignment == 0 || in posix_memalign() 55 (alignment & (sizeof (void *) - 1)) != 0 || in posix_memalign() 56 (alignment & (alignment - 1)) != 0) in posix_memalign() 59 (ptr = memalign(alignment, size)) == NULL) in posix_memalign()
|
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/awt/ |
H A D | MultiLineLabel.java | 83 protected int alignment = LEFT; // The alignment of the text. field in MultiLineLabel 163 int alignment) { in MultiLineLabel() argument 168 this.alignment = alignment; in MultiLineLabel() 175 int alignment) { in MultiLineLabel() argument 176 this(label, maxChars, 10, 10, alignment); in MultiLineLabel() 225 public void setAlignment(int a) { alignment = a; repaint(); } in setAlignment() 229 public int getAlignment() { return alignment; } in getAlignment() 276 switch (alignment) { in paint()
|
H A D | LabelBar.java | 95 private int alignment = Label.LEFT; field in LabelBar 127 public void setAlignment(int alignment) { in setAlignment() argument 128 switch (alignment) { in setAlignment() 132 this.alignment = alignment; in setAlignment() 143 return (alignment); in getAlignment() 226 switch (alignment) { in paint()
|
H A D | CLIconLabel.java | 80 int x, int y, int w, int h, int ascent, int alignment) in paint() argument 86 String s = getOffsetAndText(w, alignment, xoff); in paint() 101 private String getOffsetAndText(int width, int alignment, in getOffsetAndText() argument 126 switch (alignment) { in getOffsetAndText()
|
H A D | CLCheckbox.java | 94 int rowHeight, int ascent, int alignment) in paint() argument 114 colWidth - rowHeight - 8, alignment); in paint()
|
/titanic_41/usr/src/uts/common/io/drm/ |
H A D | drm_mm.c | 206 unsigned alignment) in drm_mm_get_block() argument 213 if (alignment) in drm_mm_get_block() 214 tmp = parent->start % alignment; in drm_mm_get_block() 217 align_splitoff = drm_mm_split_at_start(parent, alignment - tmp); in drm_mm_get_block() 239 unsigned alignment, in drm_mm_search_free() argument 259 if (alignment) { in drm_mm_search_free() 260 register unsigned tmp = entry->start % alignment; in drm_mm_search_free() 262 wasted += alignment - tmp; in drm_mm_search_free()
|
H A D | drm_bufs.c | 406 int alignment; in drm_do_addbufs_agp() local 418 alignment = (request->flags & _DRM_PAGE_ALIGN) in drm_do_addbufs_agp() 445 buf->total = alignment; in drm_do_addbufs_agp() 465 offset += alignment; in drm_do_addbufs_agp() 514 int alignment; in drm_do_addbufs_sg() local 524 alignment = (request->flags & _DRM_PAGE_ALIGN) in drm_do_addbufs_sg() 545 buf->total = alignment; in drm_do_addbufs_sg() 566 offset += alignment; in drm_do_addbufs_sg()
|
/titanic_41/usr/src/lib/libbc/libc/crt/sparc/ |
H A D | misalign.s | 54 andcc %o0,1,%g0 ! test 16-bit alignment 87 andcc %i0,1,%g0 ! test for short alignment 121 andcc %i0,3,%g0 ! test for long alignment 125 andcc %i0,1,%g0 ! test for short alignment 129 ldub [%i0],%o0 ! worst case: byte alignment 177 andcc %o1,1,%g0 ! test for short alignment 208 andcc %i1,1,%g0 ! test for short alignment 245 andcc %i2,3,%g0 ! test for long alignment 249 andcc %i2,1,%g0 ! test for short alignment 300 andcc %o1,1,%g0 ! test for short alignment [all …]
|
/titanic_41/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 198 memalign(size_t alignment, size_t size) in memalign() argument 206 if (size == 0 || alignment == 0 || in memalign() 207 (alignment & (alignment - 1)) != 0) { in memalign() 210 if (alignment <= ALIGNSZ) in memalign() 213 alloc_size = size + alignment; in memalign() 226 fr = (fr + alignment - 1) / alignment * alignment; in memalign() 239 alloc_size = size + alignment*2; in memalign() 252 fr = (fr + alignment - 1) / alignment * alignment; in memalign() 256 fr = fr + alignment; in memalign()
|
/titanic_41/usr/src/tools/ndrgen/ |
H A D | ndr_anal.c | 131 tdti->alignment, in show_typeinfo_list() 138 ti->alignment, in show_typeinfo_list() 374 while (offset & ti->alignment) in analyze_typeinfo_typedef() 421 while (offset & ti->alignment) in analyze_typeinfo_struct() 475 while (size & ti->alignment) in analyze_typeinfo_union() 494 ti->alignment |= mem->type->alignment; in analyze_typeinfo_aggregate_finish() 610 while (*offsetp & type_down->alignment) in analyze_member() 774 ti->alignment = ti->size_fixed_part - 1; in seed_basic_types() 898 ti->alignment = 3; in bind_typeinfo() 906 ti->alignment = tdti->alignment; in bind_typeinfo() [all …]
|
/titanic_41/usr/src/lib/libc/i386_hwcap1/gen/ |
H A D | memset.s | 52 cmpl $256, %ecx / smaller areas don't benefit from alignment 63 pushl %esi / for alignment work 75 jz .sse_aligned / skip alignment if not needed 77 movl %esi, %ecx / alignment bytes 102 jmp .sse_nt_loop / branch across alignment nops 152 andl $7, %edi / check alignment
|
/titanic_41/usr/src/uts/intel/io/drm/ |
H A D | radeon_mem.c | 261 alloc.alignment = alloc32.alignment; in radeon_mem_alloc() 279 if (alloc.alignment < 12) in radeon_mem_alloc() 280 alloc.alignment = 12; in radeon_mem_alloc() 282 block = alloc_block(*heap, alloc.size, alloc.alignment, fpriv); in radeon_mem_alloc()
|
H A D | i915_mem.c | 308 alloc.alignment = alloc32.alignment; in i915_mem_alloc() 321 if (alloc.alignment < 12) in i915_mem_alloc() 322 alloc.alignment = 12; in i915_mem_alloc() 324 block = alloc_block(*heap, alloc.size, alloc.alignment, fpriv); in i915_mem_alloc()
|
H A D | i915_drm.h | 334 int alignment; member 341 int alignment; member 609 uint64_t alignment; member 650 uint64_t alignment; member
|
/titanic_41/usr/src/uts/common/io/i40e/ |
H A D | i40e_osdep.c | 45 enum i40e_memory_type type, u64 size, u32 alignment) in i40e_allocate_dma_mem() argument 61 attr.dma_attr_align = alignment; in i40e_allocate_dma_mem() 62 mem->idm_alignment = alignment; in i40e_allocate_dma_mem()
|
/titanic_41/usr/src/lib/libc/i386/gen/ |
H A D | strchr.s | 42 cmp $3, %ecx / check alignment 49 cmp $2, %ecx / check alignment
|
/titanic_41/usr/src/uts/sun4/vm/ |
H A D | sfmmu.c | 526 ndata_extra_base(struct memlist *ndata, size_t alignment, caddr_t endaddr) in ndata_extra_base() argument 540 ASSERT((alignment % ecache_alignsize) == 0); in ndata_extra_base() 547 base = roundup(ndata->ml_address, alignment); in ndata_extra_base() 580 ndata_select_chunk(struct memlist *ndata, size_t wanted, size_t alignment) in ndata_select_chunk() argument 609 base = roundup(frlist->ml_address, alignment); in ndata_select_chunk() 658 ndata_alloc(struct memlist *ndata, size_t wanted, size_t alignment) in ndata_alloc() argument 670 if ((found = ndata_select_chunk(ndata, wanted, alignment)) == NULL) in ndata_alloc() 676 base = roundup(found->ml_address, alignment); in ndata_alloc()
|
/titanic_41/usr/src/common/mapfiles/common/ |
H A D | map.bssalign | 24 # the segment at 4Mb. This effectively provides an appropriate alignment for 26 # executables. See ppgsz(1). Users are cautioned that an alignment
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_sp.c | 153 sp_ext_length_t alignment); 167 sp_ext_offset_t last_off, sp_ext_length_t alignment); 202 mdcmdopts_t options, sp_ext_length_t alignment, md_error_t *ep); 1311 sp_ext_offset_t alignment in meta_sp_alloc_by_len() argument 1361 align = (alignment > 0) && in meta_sp_alloc_by_len() 1363 alignment) == 0); in meta_sp_alloc_by_len() 1371 alignment = 0; in meta_sp_alloc_by_len() 1398 alloc_len -= alloc_len % alignment; in meta_sp_alloc_by_len() 1450 if (alignment > 0) { in meta_sp_alloc_by_len() 1457 if (a_length < alignment) { in meta_sp_alloc_by_len() [all …]
|
/titanic_41/usr/src/uts/sun4u/cpu/ |
H A D | cheetah_copy.s | 758 bz,pt %ncc, .kcopy_8 ! check for longword alignment 774 bz,pt %ncc, .kcopy_4 ! check for word alignment 942 bz,pt %ncc, .bcopy_8 ! check for longword alignment 958 bz,pt %ncc, .bcopy_4 ! check for word alignment 1007 or %o0, %o1, %o3 ! prepare alignment check 1008 andcc %o3, 0x3, %g0 ! test for alignment 1045 nop ! instruction alignment 1106 xor %o0, %o1, %o3 ! setup alignment check 1118 bz,pt %ncc, .bc_med_long1 ! word alignment 1177 bz,pt %ncc, .bc_med_word1 ! word alignment [all …]
|
H A D | opl_olympus_copy.s | 713 bz,pt %ncc, .kcopy_8 ! check for longword alignment 729 bz,pt %ncc, .kcopy_4 ! check for word alignment 897 bz,pt %ncc, .bcopy_8 ! check for longword alignment 913 bz,pt %ncc, .bcopy_4 ! check for word alignment 962 or %o0, %o1, %o3 ! prepare alignment check 963 andcc %o3, 0x3, %g0 ! test for alignment 996 nop ! instruction alignment 1057 xor %o0, %o1, %o3 ! setup alignment check 1069 bz,pt %ncc, .bc_med_long1 ! word alignment 1128 bz,pt %ncc, .bc_med_word1 ! word alignment [all …]
|
/titanic_41/usr/src/cmd/lvm/util/ |
H A D | metattach.c | 68 sp_ext_offset_t alignment = 0; in sp_attach() local 79 if (meta_sp_parsesize(optarg, &alignment) == -1) { in sp_attach() 96 if (meta_sp_attach(*spp, spnp, argv[0], options, alignment, ep) != 0) { in sp_attach()
|
/titanic_41/usr/src/lib/libmtmalloc/common/ |
H A D | mtmalloc.c | 460 memalign(size_t alignment, size_t size) in memalign() argument 467 if (size == 0 || alignment == 0 || misaligned(alignment) || in memalign() 468 (alignment & (alignment - 1)) != 0) { in memalign() 474 if (alignment <= MTMALLOC_MIN_ALIGN) in memalign() 477 alloc_size = size + alignment - MTMALLOC_MIN_ALIGN; in memalign() 500 if ((offset = (uintptr_t)alloc_buf & (alignment - 1)) == 0) { in memalign() 534 shift = alignment - offset; in memalign()
|
/titanic_41/usr/src/lib/libc/capabilities/sun4v/common/ |
H A D | memcpy.s | 244 .cpy_dbwdbc: ! alignment of src is needed 262 srl %g1, 3, %o0 ! retsote %o0 value for alignment 263 add %o5, %o0, %o5 ! restore src alignment 269 .dbcopybc: ! alignment of src is not needed 330 .mv_large_align8_copy: ! Src and dst share 8 byte alignment 354 ! Determine source alignment 778 or %o0, %o1, %o4 ! prepare alignment check 779 andcc %o4, 0x3, %o5 ! test for alignment 1745 ! Move bytes according to source alignment 1747 bnz %ncc, .unalignbyte ! check for byte alignment [all …]
|
/titanic_41/usr/src/uts/sun4/conf/ |
H A D | genalign.s | 40 ! the booter what alignment we want
|