Searched refs:alignment (Results 1 - 25 of 109) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolderColumnInfo.java39 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/peer/
H A DLabelPeer.java50 * Sets the alignment of the label text.
52 * @param alignment the alignment of the label text
59 void setAlignment(int alignment); argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DLabel.java92 * 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/demo/jvmti/hprof/
H A Dhprof_blocks.h53 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 Dhprof_blocks.c54 /* 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/jdk/src/share/classes/javax/swing/text/
H A DTabStop.java64 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/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DConnectionAnchor.java46 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) {
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPermGen.cpp34 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 DadjoiningVirtualSpaces.cpp32 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 DpsPermGen.hpp40 PSPermGen(ReservedSpace rs, size_t alignment, size_t initial_byte_size,
H A DadjoiningVirtualSpaces.hpp84 size_t alignment);
92 size_t alignment() const { return _alignment; } function in class:AdjoiningVirtualSpaces
H A DasPSYoungGen.hpp53 void initialize(ReservedSpace rs, size_t alignment);
54 void initialize_virtual_space(ReservedSpace rs, size_t alignment);
H A DadjoiningGenerations.cpp42 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 DpsVirtualspace.hpp58 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);
H A DpsOldGen.cpp40 PSOldGen::PSOldGen(ReservedSpace rs, size_t alignment, argument
46 initialize(rs, alignment, perf_data_name, level);
56 void PSOldGen::initialize(ReservedSpace rs, size_t alignment, argument
58 initialize_virtual_space(rs, alignment);
65 void PSOldGen::initialize_virtual_space(ReservedSpace rs, size_t alignment) { argument
67 _virtual_space = new PSVirtualSpace(rs, alignment);
127 _object_space = new MutableSpace(virtual_space()->alignment());
223 const size_t alignment = virtual_space()->alignment(); local
224 size_t aligned_bytes = align_size_up(bytes, alignment);
335 const size_t alignment = virtual_space()->alignment(); local
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DCDRInputStream_1_1.java56 // WARNING: Must compute real alignment after calling
58 int alignment = computeAlignment(bbwi.position(), align);
60 if (bbwi.position() + n + alignment > bbwi.buflen) {
63 // fragments which put alignment bytes at the end
65 if (bbwi.position() + alignment == bbwi.buflen)
67 bbwi.position(bbwi.position() + alignment);
72 // We must recalculate the alignment after a possible
74 // may require a different alignment.
76 alignment = computeAlignment(bbwi.position(), align);
79 bbwi.position(bbwi.position() + alignment);
[all...]
H A DCDROutputStream_1_1.java51 // alignment padding. We also won't guarantee that
53 // boundaries. There may be alignment
58 int alignment = computeAlignment(align);
60 if (bbwi.position() + n + alignment > bbwi.buflen) {
63 // Must recompute the alignment after a grow.
64 // In the case of fragmentation, the alignment
69 // this alignment fills the entire buffer.
70 alignment = computeAlignment(align);
73 bbwi.position(bbwi.position() + alignment);
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DGraphicAttribute.java95 * 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 DImageGraphicAttribute.java66 * @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
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWLabelPeer.java73 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/classes/javax/swing/
H A DSizeRequirements.java48 * 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/hotspot/src/share/vm/runtime/
H A Dvirtualspace.hpp39 // The base and size prior to any alignment done by this class; used only on
49 ReservedSpace(char* base, size_t size, size_t alignment, bool special,
54 void initialize(size_t size, size_t alignment, bool large,
61 // Release virtual address space. If alignment was done, use the saved
66 // get a new region that has "compound alignment." Return the start of the
79 // Reserve memory, call align_reserved_region() to alignment it and return the
94 ReservedSpace(size_t size, size_t alignment, bool large,
101 ReservedSpace(size_t size, size_t alignment, bool large, bool executable);
106 size_t alignment() const { return _alignment; } function in class:VALUE_OBJ_CLASS_SPEC
114 ReservedSpace first_part(size_t partition_size, size_t alignment,
[all...]
H A Dvirtualspace.cpp49 ReservedSpace::ReservedSpace(size_t size, size_t alignment, argument
53 initialize(size+noaccess_prefix, alignment, large, requested_address,
57 ReservedSpace::ReservedSpace(size_t size, size_t alignment, argument
60 initialize(size, alignment, large, NULL, 0, executable);
79 return NULL; // Cannot do proper alignment.
103 // is the only addr that can be passed to os::release_memory(). If alignment
145 assert(res >= raw, "alignment decreased start addr");
147 "alignment increased end addr");
148 assert((res & (prefix_align - 1)) == 0, "bad alignment of prefix");
150 "bad alignment o
284 initialize(size_t size, size_t alignment, bool large, char* requested_address, const size_t noaccess_prefix, bool executable) argument
406 ReservedSpace(char* base, size_t size, size_t alignment, bool special, bool executable) argument
420 first_part(size_t partition_size, size_t alignment, bool split, bool realloc) argument
426 ReservedSpace result(base(), partition_size, alignment, special(), local
433 last_part(size_t partition_size, size_t alignment) argument
507 ReservedHeapSpace(size_t size, size_t alignment, bool large, char* requested_address) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A DgenerationSpec.hpp59 void align(size_t alignment) { argument
60 set_init_size(align_size_up(init_size(), alignment));
61 set_max_size(align_size_up(max_size(), alignment));
121 void align(size_t alignment);
H A DgenerationSpec.cpp189 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);

Completed in 107 milliseconds

12345