/openjdk7/jdk/src/share/classes/java/awt/peer/ |
H A D | LabelPeer.java | 50 * Sets the alignment of the label text. 52 * @param alignment the alignment of the label text 59 void setAlignment(int alignment); argument
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | adjoiningVirtualSpaces.cpp | 32 size_t alignment) : 35 _alignment(alignment) {} 47 _low = new PSVirtualSpace(old_rs, alignment()); 53 _high = new PSVirtualSpaceHighToLow(young_rs, alignment()); 29 AdjoiningVirtualSpaces(ReservedSpace rs, size_t min_low_byte_size, size_t min_high_byte_size, size_t alignment) argument
|
H A D | adjoiningVirtualSpaces.hpp | 84 size_t alignment); 92 size_t alignment() const { return _alignment; } function in class:AdjoiningVirtualSpaces
|
H A D | adjoiningGenerations.cpp | 42 size_t alignment) : 44 min_high_byte_size, alignment) { 105 _young_gen->initialize(young_rs, alignment); 108 _old_gen->initialize(old_rs, alignment, "old", 1); 133 const size_t alignment = virtual_spaces()->alignment(); local 136 align_size_up_(expand_in_bytes, alignment)); 191 const size_t alignment = virtual_spaces()->alignment(); local 194 align_size_up_(expand_in_bytes, alignment)); 35 AdjoiningGenerations(ReservedSpace old_young_rs, size_t init_low_byte_size, size_t min_low_byte_size, size_t max_low_byte_size, size_t init_high_byte_size, size_t min_high_byte_size, size_t max_high_byte_size, size_t alignment) argument [all...] |
H A D | psPermGen.cpp | 34 PSPermGen::PSPermGen(ReservedSpace rs, size_t alignment, argument 37 PSOldGen(rs, alignment, initial_size, min_size, max_size, gen_name, level), 71 // We have different alignment constraints than the rest of the heap. 72 const size_t alignment = MAX2(MinPermHeapExpansion, local 73 virtual_space()->alignment()); 79 desired_size = align_size_up(desired_size, alignment); 99 align_size_up(change_bytes, alignment); 105 const size_t aligned_change_bytes = align_size_down(change_bytes, alignment);
|
H A D | asPSYoungGen.cpp | 58 size_t alignment) { 60 _virtual_space = new PSVirtualSpaceHighToLow(rs, alignment); 67 void ASPSYoungGen::initialize(ReservedSpace rs, size_t alignment) { argument 68 initialize_virtual_space(rs, alignment); 135 const size_t alignment = heap->intra_heap_alignment(); local 143 if (eden_space()->is_empty() && eden_capacity > alignment) { 144 available += eden_capacity - alignment; 157 const size_t alignment = virtual_space()->alignment(); local 173 align_size_up(eden_size + 2 * survivor_size, alignment); 57 initialize_virtual_space(ReservedSpace rs, size_t alignment) argument [all...] |
H A D | psVirtualspace.cpp | 44 PSVirtualSpace::PSVirtualSpace(ReservedSpace rs, size_t alignment) : argument 45 _alignment(alignment) 105 os::commit_memory(base_addr, bytes, alignment(), !ExecMem); 158 os::commit_memory(commit_base, tmp_bytes, alignment(), !ExecMem)) { 199 return is_aligned(value, alignment()); 207 assert(is_aligned(alignment(), os::vm_page_size()), "bad alignment"); 229 gclog_or_tty->print_cr("virtual space [" PTR_FORMAT "]: alignment=" 231 this, alignment() / K, grows_up() ? "up" : "down", 250 size_t alignment) 249 PSVirtualSpaceHighToLow(ReservedSpace rs, size_t alignment) argument [all...] |
H A D | psVirtualspace.hpp | 58 PSVirtualSpace(ReservedSpace rs, size_t alignment); 66 PSVirtualSpace(size_t alignment): _alignment(alignment) { } argument 73 size_t alignment() const { return _alignment; } function in class:PSVirtualSpace 132 PSVirtualSpaceHighToLow(ReservedSpace rs, size_t alignment);
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/ |
H A D | ConnectionAnchor.java | 46 private HorizontalAlignment alignment; field in class:ConnectionAnchor 52 public ConnectionAnchor(HorizontalAlignment alignment, Widget widget) { argument 54 this.alignment = alignment; 72 if (alignment == HorizontalAlignment.Center) { 74 } else if (alignment == HorizontalAlignment.Right) {
|
H A D | SlotLayout.java | 47 private HorizontalAlignment alignment; field in class:SlotLayout 54 public SlotLayout(HorizontalAlignment alignment, boolean vertical) { argument 55 this.alignment = alignment; 84 switch (alignment) { 121 switch (alignment) {
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/ |
H A D | LWLabelPeer.java | 73 public void setAlignment(final int alignment) { argument 75 getDelegate().setHorizontalAlignment(convertAlignment(alignment)); 98 * Converts {@code Label} alignment constant to the {@code JLabel} constant. 99 * If wrong Label alignment provided returns default alignment. 101 * @param alignment {@code Label} constant. 105 private static int convertAlignment(final int alignment) { argument 106 switch (alignment) {
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_blocks.h | 53 int alignment; /* Data alignment, 1, 2, 4, 8, 16 */ member in struct:Blocks 58 Blocks * blocks_init(int alignment, int elem_size, int population);
|
H A D | hprof_blocks.c | 54 /* Get the real size allocated based on alignment and bytes needed */ 56 real_size(int alignment, int nbytes) argument 58 if ( alignment > 1 ) { 61 wasted = alignment - ( nbytes % alignment ); 62 if ( wasted != alignment ) { 80 header_size = real_size(blocks->alignment, sizeof(BlockHeader)); 83 block_size = real_size(blocks->alignment, nbytes); 102 blocks_init(int alignment, int elem_size, int population) argument 106 HPROF_ASSERT(alignment> [all...] |
/openjdk7/hotspot/src/share/vm/memory/ |
H A D | generationSpec.cpp | 189 void PermanentGenerationSpec::align(size_t alignment) { argument 190 _init_size = align_size_up(_init_size, alignment); 191 _max_size = align_size_up(_max_size, alignment); 192 _read_only_size = align_size_up(_read_only_size, alignment); 193 _read_write_size = align_size_up(_read_write_size, alignment); 194 _misc_data_size = align_size_up(_misc_data_size, alignment); 195 _misc_code_size = align_size_up(_misc_code_size, alignment);
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WLabelPeer.java | 55 public native void setAlignment(int alignment); argument
|
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | SizeRequirements.java | 48 * by each component's X or Y alignment value. 55 * about either the width (and X alignment) 56 * or height (and Y alignment) 73 * <dt> <code>alignment</code> 74 * <dd> The X/Y alignment of the component 123 * The alignment, specified as a value between 0.0 and 1.0, 125 * To specify centering, the alignment should be 0.5. 127 public float alignment; field in class:SizeRequirements 131 * and maximum sizes set to zero and an alignment value of 0.5 138 alignment [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | TabStop.java | 64 in the RTF spec. However, being a bar tab and having alignment 66 as being a kind of alignment. */ 76 private int alignment; field in class:TabStop 82 * Creates a tab at position <code>pos</code> with a default alignment 91 * alignment <code>align</code> and leader <code>leader</code>. 94 alignment = align; 108 * Returns the alignment, as an integer, of the tab. 109 * @return the alignment of the tab 112 return alignment; 134 return ( (alignment [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/shell/ |
H A D | ShellFolderColumnInfo.java | 39 private Integer alignment; field in class:ShellFolderColumnInfo 51 Integer alignment, boolean visible, 56 this.alignment = alignment; 64 Integer alignment, boolean visible, 66 this(title, width, alignment, visible, sortOrder, comparator, false); 73 public ShellFolderColumnInfo(String title, int width, int alignment, argument 75 this(title, width, alignment, visible, null, null); 95 return alignment; 98 public void setAlignment(Integer alignment) { argument 50 ShellFolderColumnInfo(String title, Integer width, Integer alignment, boolean visible, SortOrder sortOrder, Comparator comparator, boolean compareByColumn) argument 63 ShellFolderColumnInfo(String title, Integer width, Integer alignment, boolean visible, SortOrder sortOrder, Comparator comparator) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Label.java | 92 * The label's alignment. The default alignment is set 99 int alignment = LEFT; field in class:Label 137 * text with the specified alignment. 138 * Possible values for <code>alignment</code> are <code>Label.LEFT</code>, 144 * @param alignment the alignment value. 149 public Label(String text, int alignment) throws HeadlessException { argument 152 setAlignment(alignment); 194 * Gets the current alignment o 212 setAlignment(int alignment) argument [all...] |
/openjdk7/jdk/src/share/classes/java/awt/font/ |
H A D | GraphicAttribute.java | 95 * Subclasses use this to define the alignment of the graphic. 96 * @param alignment an int representing one of the 97 * <code>GraphicAttribute</code> alignment fields 98 * @throws IllegalArgumentException if alignment is not one of the 101 protected GraphicAttribute(int alignment) { argument 102 if (alignment < BOTTOM_ALIGNMENT || alignment > HANGING_BASELINE) { 103 throw new IllegalArgumentException("bad alignment"); 105 fAlignment = alignment; 187 * Returns the alignment o [all...] |
H A D | ImageGraphicAttribute.java | 66 * @param alignment one of the alignments from this 69 public ImageGraphicAttribute(Image image, int alignment) { argument 71 this(image, alignment, 0, 0); 83 * @param alignment one of the alignments from this 93 int alignment, 97 super(alignment); 92 ImageGraphicAttribute(Image image, int alignment, float originX, float originY) argument
|
H A D | ShapeGraphicAttribute.java | 82 * @param alignment one of the alignments from this 89 int alignment, 92 super(alignment); 88 ShapeGraphicAttribute(Shape shape, int alignment, boolean stroke) argument
|
/openjdk7/hotspot/src/os/posix/vm/ |
H A D | os_posix.cpp | 98 // rather than unmapping and remapping the whole chunk to get requested alignment. 99 char* os::reserve_memory_aligned(size_t size, size_t alignment) { argument 100 assert((alignment & (os::vm_allocation_granularity() - 1)) == 0, 102 assert((size & (alignment -1)) == 0, "size must be 'alignment' aligned"); 104 size_t extra_size = size + alignment; 105 assert(extra_size >= size, "overflow, size is too large to allow alignment"); 107 char* extra_base = os::reserve_memory(extra_size, NULL, alignment); 113 // Do manual alignment 114 char* aligned_base = (char*) align_size_up((uintptr_t) extra_base, alignment); [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XLabelPeer.java | 39 int alignment; field in class:XLabelPeer 59 alignment = target.getAlignment(); 108 switch (alignment) { 147 alignment = align;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/ |
H A D | HeapSummary.java | 136 System.out.println(alignment + (double)oldGen.used() * 100.0 / oldGen.capacity() + "% used"); 144 System.out.println(alignment + (double)permGen.used() * 100.0 / permGen.capacity() + "% used"); 210 System.out.println(alignment + (double)space.used() * 100.0 / space.capacity() + "% used"); 213 private static String alignment = " "; field in class:HeapSummary 219 System.out.println(alignment + (double)gen.used() * 100.0 / gen.capacity() + "% used"); 226 System.out.println(alignment + (double)space.used() * 100.0 / space.capacity() + "% used"); 238 System.out.println(alignment + occPerc + "% used"); 244 System.out.println(alignment + title + (value >>> 20) + " MB"); 247 System.out.println(alignment + title + value + " (" + mb + "MB)"); 252 System.out.println(alignment [all...] |