Searched refs:range (Results 1 - 25 of 85) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRegionIterator.java70 * Y range in the region returning true if one is found
72 * range in the array at locations 1 and 3 respectively.
74 public boolean nextYRange(int range[]) { argument
80 range[1] = region.bands[curIndex++];
81 range[3] = region.bands[curIndex++];
88 * X band in the current Y range returning true if one is
90 * the range in the array at locations 0 and 2 respectively.
92 public boolean nextXBand(int range[]) { argument
97 range[0] = region.bands[curIndex++];
98 range[
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DUnicodeSetIterator.java93 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
119 * Returns the next element in the set, either a code point range
123 * range of one or more code points from <tt>codepoint</tt> to
145 if (range < endRange) {
146 loadRange(++range);
180 range = 0;
184 loadRange(range);
197 private int range = 0; field in class:UnicodeSetIterator
/openjdk7/jdk/test/java/util/Collections/
H A DAddAll.java48 if (Collections.addAll(c, range(x, x + rangeLen)) !=
54 if (!c.equals(Arrays.asList(range(0, x))))
57 if (!c.equals(new HashSet<Integer>(Arrays.asList(range(0, x)))))
62 private static Integer[] range(int from, int to) { method in class:AddAll
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DPrintCharacterRanges.java97 BooleanRange range = (BooleanRange) iter.next();
98 System.out.print(" [ " + describe(range.begin()) + ", " + describe(range.end()) + " ]");
162 ShiftRange range = (ShiftRange) iter.next();
168 System.out.print(" [ " + describe(range.begin()) + ", " + describe(range.end()) + " ] -> [ " +
169 describe((range.begin() + range.offset())) + ", " + describe((range.end() + range
[all...]
/openjdk7/hotspot/src/share/vm/opto/
H A Druntime.cpp453 // create result type (range)
457 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
459 return TypeFunc::make(domain, range);
469 // create result type (range)
472 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0, fields); local
474 return TypeFunc::make(domain, range);
485 // create result type (range)
489 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
491 return TypeFunc::make(domain, range);
503 // create result type (range)
506 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
537 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
550 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0, fields); local
564 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields); local
578 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0, fields); local
593 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms,fields); local
612 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); local
629 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); local
643 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields); local
658 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
673 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
690 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+2, fields); local
707 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+2, fields); local
723 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+2, fields); local
770 const TypeTuple* range = TypeTuple::make(TypeFunc::Parms+retcnt, fields); local
809 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields); local
830 const TypeTuple* range = TypeTuple::make(TypeFunc::Parms, fields); local
852 const TypeTuple* range = TypeTuple::make(TypeFunc::Parms, fields); local
867 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields); local
883 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms, fields); local
1139 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local
1186 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); local
1204 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); local
1220 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); local
[all...]
H A DgenerateOptoStub.cpp50 const TypeTuple *jrange = C->tf()->range();
156 const TypeTuple* range = TypeTuple::make(jrange->cnt(),rfields); local
159 const TypeFunc *c_sig = TypeFunc::make(domain,range);
192 if (range->cnt() > TypeFunc::Parms) {
279 if (C->tf()->range()->cnt() > TypeFunc::Parms)
/openjdk7/hotspot/src/cpu/x86/vm/
H A Dc1_FrameMap_x86.hpp133 static int adjust_reg_range(int range) { argument
135 if (UseCompressedOops) return range - 1;
136 return range;
/openjdk7/jdk/test/java/lang/StringBuffer/
H A DTrim.java100 int range = constraint2 - constraint1;
101 if (range <= 0)
103 int x = generator.nextInt(range);
H A DAppendSB.java56 int range = constraint2 - constraint1;
57 int x = generator.nextInt(range);
H A DIndexOf.java64 int range = constraint2 - constraint1;
65 int x = generator.nextInt(range);
H A DSBBasher.java62 int range = constraint2 - constraint1;
64 return constraint1 + Math.abs(x % range);
/openjdk7/jdk/test/java/util/EnumSet/
H A DJumboRange.java41 EnumSet<T> range = EnumSet.range(e0, e1);
42 if (range.size() != e1.ordinal() - e0.ordinal() + 1)
43 throw new RuntimeException(range.size() + " != " +
H A DRange.java41 EnumSet<T> range = EnumSet.range(e0, e1);
/openjdk7/jdk/make/tools/src/build/tools/generatebreakiteratordata/
H A DCharacterCategory.java337 int range;
339 range = BEFORE;
341 range = AFTER;
343 range = SURROGATE;
346 if (oldListLen[range][index] > 64) {
347 oldList[range][index].append("\"\n + \"");
348 oldListLen[range][index] = 19;
352 oldList[range][index].append('\\');
353 oldList[range][index].append((char)code);
354 oldListLen[range][inde
[all...]
H A DRuleBasedBreakIteratorBuilder.java236 // - all printing characters in the ASCII range except letters and digits
740 int[] range = (int[])(enum_.nextElement());
744 if (range[0] < Character.MIN_SUPPLEMENTARY_CODE_POINT) {
745 if (range[1] < Character.MIN_SUPPLEMENTARY_CODE_POINT) {
746 charCategoryTable.setElementAt((char)range[0], (char)range[1], (byte)i);
748 charCategoryTable.setElementAt((char)range[0], (char)0xFFFF, (byte)i);
749 supplementaryCharCategoryTable.appendElement(Character.MIN_SUPPLEMENTARY_CODE_POINT, range[1], (byte)i);
752 supplementaryCharCategoryTable.appendElement(range[0], range[
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DOpenTypeUtilities.cpp128 le_int32 range = 0; local
135 range = extra;
141 if (SWAPW(records(range + probe,success).firstGlyph) <= glyphID) {
142 range += probe;
146 if (SWAPW(records(range,success).firstGlyph) <= glyphID && SWAPW(records(range,success).lastGlyph) >= glyphID) {
147 return range;
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DJavaTextAccessibility.m203 NSRange range = [(NSValue *)value rangeValue];
204 jint startIndex = range.location;
205 jint endIndex = startIndex + range.length;
279 NSRange range = [(NSValue *)parameter rangeValue];
283 jdoubleArray axBounds = JNFCallStaticObjectMethod(env, jm_getBoundsForRange, fAccessible, fComponent, range.location, range.length); // AWT_THREADING Safe (AWTRunLoop)
339 NSRange range = [(NSValue *)parameter rangeValue];
343 jstring jstringForRange = JNFCallStaticObjectMethod(env, jm_getStringForRange, fAccessible, fComponent, range.location, range.length); // AWT_THREADING Safe (AWTRunLoop)
374 NSRange range
[all...]
H A DQuartzSurfaceData.m145 CGFloat range = *in;
149 //fprintf(stderr, "range=%f\n", range);
163 *out++ = c1 - ((c1-c2)*range);
168 *out++ = c1 + ((c2-c1)*range);
185 CGFloat range = *in;
190 range *= length;
192 // put the range within the period
193 if (range < periodLeft)
195 while (range < periodLef
[all...]
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dcoding.cpp85 // first compute the range of the coding, in 64 bits
86 jlong range = 0;
90 range += H_i;
93 range *= L;
94 range += H_i;
96 assert(range > 0); // no useless codings, please
101 if (range >= ((jlong)1 << 32)) {
107 this_umax = (range > INT_MAX_VALUE) ? INT_MAX_VALUE : (int)range-1;
110 if (S != 0 && range !
340 int range = (int)(umax+1); local
351 assert(x < 0); } } if (x < 0) { x += range; if (x >= 0) return x; } else if (x >= range) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/print/
H A DAttributeClass.java155 int[] range = {0, 0};
166 range[j] = convertToInt(intBytes);
169 return range;
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DRECompiler.java373 syntaxError("Bad range");
576 RERange range = new RERange();
589 range.include(Character.MIN_VALUE, Character.MAX_VALUE, true);
608 // Classes can't be an endpoint of a range
623 range.include('\t', include);
624 range.include('\r', include);
625 range.include('\f', include);
626 range.include('\n', include);
627 range.include('\b', include);
628 range
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCoding.java123 The extremal positive and negative signed value for a given range
148 range, [0..R-1]. The coding of deltas is still in the normal signed
149 range, if S!=0. During delta encoding, all subtraction results are
150 reduced to the signed range, by adding multiples of R. Likewise,
151 . during encoding, all addition results are reduced to the unsigned range.
166 // Code range for a all (B,H) codes of length <=nMax (<=B).
189 long range = codeRangeLong(B, H, nMax);
190 if (range == 0)
192 if (S == 0 || range >= (long)1<<32)
193 return saturate32(range
[all...]
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/
H A DGIFMetadata.java59 String[] range)
71 if (range != null) {
78 int len = range.length;
80 if (value.equals(range[i])) {
56 getStringAttribute(Node node, String name, String defaultValue, boolean required, String[] range) argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/
H A DDecoderStateTables.java754 for (int range = 0; range < ranges.length; range++) {
755 int end = ranges[range][RANGE_INDEX_END];
756 int value = ranges[range][RANGE_INDEX_VALUE];
/openjdk7/jdk/src/share/classes/sun/font/
H A DCMap.java205 * to be mapped in to the Latin range as that is how
268 /* speed up the converting by setting the range for double
359 * include the ASCII range too.
1009 int range = 0;
1012 range = extra;
1018 if (startCharCode[range+probe] <= charCode) {
1019 range += probe;
1023 if (startCharCode[range] <= charCode &&
1024 endCharCode[range] >= charCode) {
1026 (startGlyphID[range]
[all...]

Completed in 7581 milliseconds

1234