Searched refs:slop (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextFieldUI.java128 int slop = height - vspan;
129 baseline += slop / 2;
214 int slop = bounds.height - vspan;
215 bounds.y += slop / 2;
216 bounds.height -= slop;
234 int slop = bounds.width - 1 - hspan;
256 bounds.x += slop / 2;
257 bounds.width -= slop;
260 bounds.x += slop;
261 bounds.width -= slop;
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFieldView.java85 int slop = bounds.height - vspan;
86 bounds.y += slop / 2;
87 bounds.height -= slop;
105 int slop = bounds.width - 1 - hspan;
127 bounds.x += slop / 2;
128 bounds.width -= slop;
131 bounds.x += slop;
132 bounds.width -= slop;
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DvtableStubs_sparc.cpp116 int slop = 2*BytesPerInstWord; // 32-bit offset is this much larger than a 13-bit one local
117 assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for sethi;add");
208 int slop = 2*BytesPerInstWord; // 32-bit offset is this much larger than a 13-bit one local
209 assert(itable_index > 10 || __ pc() + slop <= s->code_end(), "room for sethi;add");
219 const int slop = 2*BytesPerInstWord; // sethi;add (needed for long offsets) local
226 return basic + slop;
232 return (basic + slop);
/openjdk7/hotspot/src/cpu/x86/vm/
H A DvtableStubs_x86_32.cpp123 int slop = 3; // 32-bit offset is this much larger than an 8-bit one local
124 assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
199 int slop = 3; // 32-bit offset is this much larger than an 8-bit one local
200 assert(itable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
H A DvtableStubs_x86_64.cpp116 int slop = 3; // 32-bit offset is this much larger than an 8-bit one local
117 assert(vtable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
204 int slop = 3; // 32-bit offset is this much larger than an 8-bit one local
205 assert(itable_index > 10 || __ pc() + slop <= s->code_end(), "room for 32-bit offset");
H A DcppInterpreter_x86.cpp715 const int slop = 6 * K; local
722 __ addptr(rax, slop + 2*max_pages * page_size);
/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djmemmgr.c236 * we try to get enough space for the current request plus a "slop" factor,
237 * where the slop will be the amount of leftover space in the new pool.
238 * The speed vs. space tradeoff is largely determined by the slop values.
239 * A different slop value is provided for each pool class (lifetime),
267 size_t odd_bytes, min_request, slop; local
292 /* min_request is what we need now, slop is what will be leftover */
295 slop = first_pool_slop[pool_id];
297 slop = extra_pool_slop[pool_id];
299 if (slop > (size_t) (MAX_ALLOC_CHUNK-min_request))
300 slop
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DFormattedFloatingDecimal.java1225 int slop = maxDecimalDigits - kDigits;
1226 if ( exp <= maxSmallTen+slop ){
1228 * We can multiply dValue by 10^(slop)
1230 * Then we can multiply by 10^(exp-slop)
1233 dValue *= small10pow[slop];
1234 rValue = dValue * small10pow[exp-slop];
1237 tValue = rValue / small10pow[exp-slop];
1568 int slop = singleMaxDecimalDigits - kDigits;
1569 if ( exp <= singleMaxSmallTen+slop ){
1571 * We can multiply dValue by 10^(slop)
[all...]
H A DFloatingDecimal.java1319 int slop = maxDecimalDigits - kDigits;
1320 if ( exp <= maxSmallTen+slop ){
1322 * We can multiply dValue by 10^(slop)
1324 * Then we can multiply by 10^(exp-slop)
1327 dValue *= small10pow[slop];
1328 rValue = dValue * small10pow[exp-slop];
1331 tValue = rValue / small10pow[exp-slop];
1662 int slop = singleMaxDecimalDigits - kDigits;
1663 if ( exp <= singleMaxSmallTen+slop ){
1665 * We can multiply dValue by 10^(slop)
[all...]
/openjdk7/hotspot/src/share/vm/asm/
H A DcodeBuffer.cpp91 // Always allow for empty slop around each section.
92 int slop = (int) CodeSection::end_slop(); local
95 set_blob(BufferBlob::create(_name, code_size + (align+slop) * (SECT_LIMIT+1)));
151 csize_t slop = CodeSection::end_slop(); // margin between sections local
158 guarantee(middle - slop > start, "need enough space to divide up");
159 _insts._limit = middle - slop; // subtract desired space, plus slop
719 // Allow for inter-section slop:
/openjdk7/hotspot/src/share/vm/utilities/
H A Dostream.hpp70 void move_to(int col, int slop = 6, int min_space = 2);
H A Dostream.cpp159 void outputStream::move_to(int col, int slop, int min_space) { argument
160 if (position() >= col + slop)
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java2064 int slop = delta - sDelta * resizableCount;
2072 sDelta += slop;
2081 slop = delta - sDelta * (resizableCount - counter - 1);

Completed in 110 milliseconds