Searched defs:amount (Results 1 - 25 of 26) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/awt/
H A DScrollPaneWheelScroller.java122 * the amount by which the Adjustable should be adjusted. This value may
145 * Scroll the given Adjustable by the given amount. Checks the Adjustable's
148 public static void scrollAdjustable(Adjustable adj, int amount) { argument
153 if (amount == 0) {
154 log.fine("Assertion (amount != 0) failed");
161 log.finer("doScrolling by " + amount);
164 if (amount > 0 && current < upperLimit) { // still some room to scroll
166 if (current + amount < upperLimit) {
167 adj.setValue(current + amount);
175 else if (amount <
[all...]
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTestEquals.java56 private static void test(TestEquals v1, TestEquals v2, int amount) { argument
58 if (amount < count)
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTestEquals.java55 private static void test(TestEquals v1, TestEquals v2, int amount) { argument
57 if (amount < count)
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dmlib_v_ImageConstLogic.h155 mlib_s32 amount; local
164 amount = height * width;
165 dend = dp + amount - 1;
200 for (; i < amount - 24; i += 24) {
208 if (i < amount) {
216 if (i < amount) {
224 if (i < amount) {
266 for (; i < amount - 24; i += 24) {
281 if (i < amount) {
292 if (i < amount) {
[all...]
H A Dmlib_v_ImageLogic.h54 mlib_s32 amount);
59 mlib_s32 amount);
64 mlib_s32 amount);
69 mlib_s32 amount);
115 mlib_s32 amount; local
122 amount = width * channels;
124 if (stride1 == amount && stride2 == amount && strided == amount) {
126 amount *
287 mlib_v_alligned_dst_src1(mlib_u8 *dp, mlib_u8 *sp1, mlib_u8 *sp2, mlib_s32 amount) argument
340 mlib_v_alligned_dst_src2(mlib_u8 *dp, mlib_u8 *sp1, mlib_u8 *sp2, mlib_s32 amount) argument
393 mlib_v_alligned_src1_src2(mlib_u8 *dp, mlib_u8 *sp1, mlib_u8 *sp2, mlib_s32 amount) argument
447 mlib_v_notalligned(mlib_u8 *dp, mlib_u8 *sp1, mlib_u8 *sp2, mlib_s32 amount) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConvClearEdge_Bit.c86 mlib_s32 i, j, amount; local
117 amount = (bitoff + dx_l + 7) >> 3;
122 for (j = 1; j < amount - 1; j++) {
129 pd[i*img_stride + amount - 1] = (pd[i*img_stride + amount - 1] & mask) | tmp_color;
156 amount = (bitoff + dx_r + 7) >> 3;
161 for (j = 1; j < amount - 1; j++) {
168 pd[i*img_stride + amount - 1] = (pd[i*img_stride + amount - 1] & mask) | tmp_color;
175 amount
[all...]
H A Dmlib_ImageConvCopyEdge_Bit.c94 mlib_s32 i, j, amount; local
115 amount = (bitoffd + dx_l + 7) >> 3;
118 for (j = 1; j < amount - 1; j++) {
125 pd[i*img_strided + amount - 1] = (pd[i*img_strided + amount - 1] & ~mask) |
126 (ps[i*img_strides + amount - 1] & mask);
150 amount = (bitoffd + dx_r + 7) >> 3;
153 for (j = 1; j < amount - 1; j++) {
160 pd[i*img_strided + amount - 1] = (pd[i*img_strided + amount
[all...]
/openjdk7/jdk/src/share/classes/sun/util/
H A DBuddhistCalendar.java139 * Adds the specified (signed) amount of time to the given time field.
141 * @param amount the amount of date or time to be added to the field.
143 public void add(int field, int amount) argument
150 super.add(field, amount);
157 * Add to field a signed amount without changing larger fields.
158 * A negative roll amount means to subtract from field without changing
161 * @param amount the signed amount to add to <code>field</code>.
163 public void roll(int field, int amount) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSF2Modulator.java54 short amount; field in class:SF2Modulator
59 return amount;
62 public void setAmount(short amount) { argument
63 this.amount = amount;
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/opti/
H A DSchemaDOM.java338 public static void indent(int amount) { argument
339 for (int i = 0; i < amount; i++) {
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DASCII_CharStream.java251 public final void backup(int amount) { argument
253 inBuf += amount;
254 if ((bufpos -= amount) < 0)
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/
H A DASCII_UCodeESC_CharStream.java400 public final void backup(int amount) { argument
402 inBuf += amount;
403 if ((bufpos -= amount) < 0)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/
H A DJavaCharStream.java434 public void backup(int amount) { argument
436 inBuf += amount;
437 if ((bufpos -= amount) < 0)
H A DUCode_UCodeESC_CharStream.java441 public final void backup(int amount) { argument
443 inBuf += amount;
444 if ((bufpos -= amount) < 0)
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DSimpleCharStream.java260 public void backup(int amount) { argument
262 inBuf += amount;
263 if ((bufpos -= amount) < 0)
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DMemoryPanel.java664 private void modifySelection(int amount) { argument
666 setSelection(getRowAnchor() + amount, getRowLead() + amount,
/openjdk7/hotspot/src/share/vm/services/
H A DmemBaseline.hpp47 size_t _amount; // total amount of memory malloc-ed from this callsite
63 _amount = p.amount();
76 inline size_t amount() const { function in class:MallocCallsitePointer
85 size_t _reserved_amount; // total reserved amount
86 size_t _committed_amount; // total committed amount
170 _amount = m.amount();
200 inline size_t amount() const { function in class:MallocMem
360 return _malloc_data[flag2index(flag)].amount();
368 return _arena_data[flag2index(flag)].amount();
386 return _malloc_data[index].amount()
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DGregorianCalendar.java852 * Adds the specified (signed) amount of time to the given calendar field,
857 * call is <code>amount</code>, modulo any overflow that has occurred in
873 * @param amount the amount of date or time to be added to the field.
879 public void add(int field, int amount) { argument
880 // If amount == 0, do nothing even the given field is out of
882 if (amount == 0) {
896 year += amount;
906 year -= amount;
917 int month = internalGet(MONTH) + amount;
1125 roll(int field, int amount) argument
3145 getRolledValue(int value, int amount, int min, int max) argument
[all...]
H A DJapaneseImperialCalendar.java330 * Adds the specified (signed) amount of time to the given calendar field,
335 * call is <code>amount</code>, modulo any overflow that has occurred in
351 * @param amount the amount of date or time to be added to the field.
357 public void add(int field, int amount) { argument
358 // If amount == 0, do nothing even the given field is out of
360 if (amount == 0) {
373 d.addYear(amount);
381 d.addMonth(amount);
388 int era = internalGet(ERA) + amount;
509 roll(int field, int amount) argument
2350 getRolledValue(int value, int amount, int min, int max) argument
[all...]
H A DCalendar.java2003 * Adds or subtracts the specified amount of time to the given calendar field,
2009 * @param amount the amount of date or time to be added to the field.
2013 abstract public void add(int field, int amount); argument
2038 * Adds the specified (signed) amount to the specified calendar field
2039 * without changing larger fields. A negative amount means to roll
2050 * @param amount the signed amount to add to the calendar <code>field</code>.
2056 public void roll(int field, int amount) argument
2058 while (amount >
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DFixedHeightLayoutCache.java1002 * <code>amount</code>.
1004 protected void adjustRowBy(int amount) { argument
1005 row += amount;
1009 ((FHTreeStateNode)getChildAt(counter)).adjustRowBy(amount);
1019 protected void adjustRowBy(int amount, int startIndex) { argument
1025 ((FHTreeStateNode)getChildAt(counter)).adjustRowBy(amount);
1031 parent.adjustRowBy(amount, parent.getIndex(this) + 1);
1274 * <code>amount</code>, starting at <code>index</code>.
1276 protected void adjustChildIndexs(int index, int amount) { argument
1279 ((FHTreeStateNode)getChildAt(counter)).childIndex += amount;
[all...]
/openjdk7/hotspot/src/share/vm/asm/
H A DcodeBuffer.cpp687 csize_t amount,
709 if (exp < amount) exp = amount;
710 if (StressCodeBuffers) exp = amount; // expand only slightly
714 if (StressCodeBuffers) exp = amount / 2; // expand only slightly
733 void CodeBuffer::expand(CodeSection* which_cs, csize_t amount) { argument
762 = figure_expanded_capacities(which_cs, amount, new_capacity);
686 figure_expanded_capacities(CodeSection* which_cs, csize_t amount, csize_t* new_capacity) argument
H A DcodeBuffer.hpp232 bool maybe_expand_to_ensure_remaining(csize_t amount);
385 // Expand the given section so at least 'amount' is remaining.
387 void expand(CodeSection* which_cs, csize_t amount);
390 csize_t figure_expanded_capacities(CodeSection* which_cs, csize_t amount, csize_t* new_capacity);
589 inline bool CodeSection::maybe_expand_to_ensure_remaining(csize_t amount) { argument
590 if (remaining() < amount) { _outer->expand(this, amount); return true; }
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXEmbedServerTester.java685 private void sleep(int amount) { argument
687 Thread.sleep(amount);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java2286 int amount) {
2303 column += amount;
2318 private int getNextIndex(JList list, BasicListUI ui, int amount) { argument
2324 if (amount > 0) {
2336 index += ui.columnCount * amount;
2339 index += amount;
2285 getNextColumnIndex(JList list, BasicListUI ui, int amount) argument

Completed in 151 milliseconds

12