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

123456

/openjdk10/hotspot/src/share/vm/gc/shared/
H A DgenCollectedHeap.cpp153 char* GenCollectedHeap::allocate(size_t alignment, argument
157 assert(alignment % pageSize == 0, "Must be");
168 assert(total_reserved % alignment == 0,
169 "Gen size; total_reserved=" SIZE_FORMAT ", alignment="
170 SIZE_FORMAT, total_reserved, alignment);
172 *heap_rs = Universe::reserve_heap(total_reserved, alignment);
177 alignment,
H A DgenCollectedHeap.hpp133 char* allocate(size_t alignment, ReservedSpace* heap_rs);
169 // Return the (conservative) maximum heap alignment
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DJLabel.java56 * by setting the vertical and horizontal alignment.
144 * text, image, and horizontal alignment.
168 * text and horizontal alignment.
197 * image and horizontal alignment.
661 * Returns the alignment of the label's contents along the Y axis.
678 * Sets the alignment of the label's contents along the Y axis.
682 * @param alignment One of the following constants
695 description = "The alignment of the label's contents along the Y axis.")
696 public void setVerticalAlignment(int alignment) { argument
697 if (alignment
746 setHorizontalAlignment(int alignment) argument
[all...]
H A DAbstractButton.java87 // Text positioning and alignment
90 /** Identifies a change in the button's vertical alignment. */
92 /** Identifies a change in the button's horizontal alignment. */
721 * Returns the vertical alignment of the text and icon.
736 * Sets the vertical alignment of the icon and text.
737 * @param alignment one of the following values:
743 * @throws IllegalArgumentException if the alignment is not one of the legal
750 = "The vertical alignment of the icon and text.")
751 public void setVerticalAlignment(int alignment) { argument
752 if (alignment
800 setHorizontalAlignment(int alignment) argument
[all...]
H A DJSlider.java934 public LabelUIResource( String text, int alignment ) {
935 super( text, alignment );
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DTableView.java584 // set the alignment
587 // set horizontal alignment
590 r.alignment = 0;
592 r.alignment = 0.5f;
594 r.alignment = 1;
596 r.alignment = 0;
599 r.alignment = 0;
1400 req.alignment = 0f;
1507 r.alignment = 0.5f;
1741 // PENDING(prinz) change to use the css alignment
[all...]
/openjdk10/hotspot/src/share/vm/runtime/
H A Dos.hpp299 const size_t alignment,
308 static char* reserve_memory_aligned(size_t size, size_t alignment);
371 static char* reserve_memory_special(size_t size, size_t alignment,
H A DcommandLineFlagConstraintsGC.cpp622 // To avoid an overflow by 'align_up(value, alignment)'.
623 static Flag::Error MaxSizeForAlignment(const char* name, size_t value, size_t alignment, bool verbose) { argument
624 size_t aligned_max = ((max_uintx - alignment) & ~(alignment-1));
697 // At least, alignment reserve area is needed.
H A DstubRoutines.cpp207 static void test_arraycopy_func(address func, int alignment) { argument
218 // C++ does not guarantee jlong[] array alignment to 8 bytes.
227 // adjust destination alignment
228 ((arraycopy_fn)func)(buffer, buffer2 + alignment, 0);
232 // adjust source alignment
233 ((arraycopy_fn)func)(buffer + alignment, buffer2, 0);
/openjdk10/hotspot/src/os/posix/vm/
H A Dos_posix.cpp150 // rather than unmapping and remapping the whole chunk to get requested alignment.
151 char* os::reserve_memory_aligned(size_t size, size_t alignment) { argument
152 assert((alignment & (os::vm_allocation_granularity() - 1)) == 0,
154 assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned");
156 size_t extra_size = size + alignment;
157 assert(extra_size >= size, "overflow, size is too large to allow alignment");
159 char* extra_base = os::reserve_memory(extra_size, NULL, alignment);
165 // Do manual alignment
166 char* aligned_base = align_up(extra_base, alignment);
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/sun/swing/
H A DFilePane.java1093 Integer alignment = columnInfo.getAlignment();
1094 if (alignment == null) {
1095 alignment = (value instanceof Number)
1100 setHorizontalAlignment(alignment);
1281 Integer alignment = columnInfo.getAlignment();
1282 if (alignment == null) {
1283 alignment = SwingConstants.CENTER;
1286 ((JLabel) c).setHorizontalAlignment(alignment);
/openjdk10/hotspot/src/share/vm/memory/
H A DmetaspaceShared.cpp134 char* allocate(size_t num_bytes, size_t alignment=BytesPerWord) { argument
135 char* p = (char*)align_up(_top, alignment);
136 char* newtop = p + align_up(num_bytes, alignment);
143 assert(is_aligned(_top, sizeof(intptr_t)), "bad alignment");
576 assert(is_aligned(_md_region.top(), sizeof(intptr_t)), "bad alignment");
754 assert((intptr_t)start % sizeof(intptr_t) == 0, "bad alignment");
994 size_t alignment = BytesPerWord; local
1000 p = _ro_region.allocate(bytes, alignment);
1004 p = _rw_region.allocate(bytes, alignment);
1782 assert((intptr_t)start % sizeof(intptr_t) == 0, "bad alignment");
[all...]
/openjdk10/hotspot/src/cpu/s390/vm/
H A DtemplateTable_s390.cpp61 #define BTB_BEGIN(lbl, alignment, name) \
62 __ align_address(alignment); \
66 __ z_larl(Z_R0, (int64_t)0); /* Check current address alignment. */ \
71 guarantee(b_addr%alignment == 0, "bad alignment at begin of block" name);
74 #define BTB_END(lbl, alignment, name) \
78 if (len > alignment) { \
80 len, alignment, e_addr-len, name); \
81 guarantee(len <= alignment, "block too large"); \
87 #define BTB_BEGIN(lbl, alignment, nam
[all...]
/openjdk10/hotspot/src/share/vm/opto/
H A Dsuperword.cpp589 // to be used for alignment. The pre-loop trip count is modified to align
597 // Set alignment relative to "align_to_ref" for all related memory operations.
611 // alignment is set and vectors will be aligned.
643 // with a different alignment were created before.
656 int align = alignment(s1);
660 if (alignment(s2) == top_align) continue;
691 // If needed find the best memory reference for loop alignment again.
694 // the best alignment search.
720 if (alignment(m) != top_align) {
1106 int s1_align = alignment(s
[all...]
/openjdk10/hotspot/src/share/vm/asm/
H A DcodeBuffer.hpp222 // alignment requirement for starting offset
226 int alignment() const { return MAX2((int)sizeof(jdouble), (int)CodeEntryAlignment); } function in class:VALUE_OBJ_CLASS_SPEC
231 csize_t align_at_start(csize_t off) const { return (csize_t) align_up(off, alignment()); }
334 // and relocations) of the sections are padded to an alignment and concatenated.
H A DcodeBuffer.cpp94 // Compute maximal alignment.
95 int align = _insts.alignment();
161 int align = cs->alignment();
204 int align = _insts.alignment();
460 /// We iterate over all the sections, padding each to alignment.
481 assert( (dest->_total_start - _insts.start()) % alignSize == 0, "copy must preserve alignment");
996 guarantee((intptr_t)sect->start() % sect->alignment() == 0
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DTableView.java380 r.alignment = 0;
671 req.alignment = 0f;
/openjdk10/hotspot/src/os/solaris/vm/
H A Dos_solaris.hpp100 static size_t page_size_for_alignment(size_t alignment);
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/font/
H A DTextLayout.java2641 byte alignment = (byte) graphic.getAlignment();
2643 if (alignment == GraphicAttribute.BOTTOM_ALIGNMENT ||
2644 alignment == GraphicAttribute.TOP_ALIGNMENT) {
2649 return alignment;
/openjdk10/jdk/src/java.desktop/windows/native/libawt/java2d/opengl/
H A DWGLSurfaceData.c456 j2d_glPixelStorei(GL_PACK_ALIGNMENT, pf.alignment);
/openjdk10/hotspot/src/share/vm/code/
H A DcodeCache.cpp286 size_t alignment = heap_alignment(); local
287 non_nmethod_size = align_up(non_nmethod_size, alignment);
288 profiled_size = align_down(profiled_size, alignment);
321 // Determine alignment
1055 // This was originally just a check of the alignment, causing failure, instead, round
/openjdk10/hotspot/src/share/vm/jvmci/
H A DjvmciCodeInstaller.cpp680 if ((_constants->alignment() % HotSpotCompiledCode::dataSectionAlignment(compiled_code)) != 0) {
681 JVMCI_ERROR("invalid data section alignment: %d", HotSpotCompiledCode::dataSectionAlignment(compiled_code));
747 int total_size = align_up(_code_size, buffer.insts()->alignment()) + align_up(_constants_size, buffer.consts()->alignment()) + align_up(stubs_size, buffer.stubs()->alignment());
/openjdk10/hotspot/src/os/windows/vm/
H A Dos_windows.cpp2897 // virtual space to get requested alignment, like posix-like os's.
2899 char* os::reserve_memory_aligned(size_t size, size_t alignment) { argument
2900 assert((alignment & (os::vm_allocation_granularity() - 1)) == 0,
2902 assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned");
2904 size_t extra_size = size + alignment;
2905 assert(extra_size >= size, "overflow, size is too large to allow alignment");
2910 char* extra_base = os::reserve_memory(extra_size, NULL, alignment);
2914 // Do manual alignment
2915 aligned_base = align_up(extra_base, alignment);
2980 reserve_memory_special(size_t bytes, size_t alignment, char* addr, bool exec) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicSpinnerUI.java428 // if editor alignment isn't set in LAF, we get 0 (CENTER) here
429 int alignment = UIManager.getInt("Spinner.editorAlignment");
431 text.setHorizontalAlignment(alignment);
/openjdk10/jdk/src/java.desktop/share/native/common/java2d/opengl/
H A DOGLBlitLoops.c645 j2d_glPixelStorei(GL_UNPACK_ALIGNMENT, pf.alignment);
820 j2d_glPixelStorei(GL_PACK_ALIGNMENT, pf.alignment);

Completed in 310 milliseconds

123456