/openjdk7/jdk/test/java/util/Collections/ |
H A D | AddAll.java | 48 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/src/share/classes/sun/java2d/pipe/ |
H A D | RegionIterator.java | 70 * 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 D | UnicodeSetIterator.java | 93 * 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
|
H A D | UnicodeSet.java | 57 * modification that they take a character range or single character 68 * argument is a set complement with respect to the superset range 142 * characters, as in "a-z". This specifies the range of all 339 * Constructs a set containing the given range. If <code>end > 342 * @param start first character, inclusive, of range 343 * @param end last character, inclusive, of range 546 add(range(start, end), 2, 0); 587 // i == 0 means c is before the first range 590 // c is before start of next range 609 // c is after end of prior range 1340 private int[] range(int start, int end) { method in class:UnicodeSet [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | EnumSet.java | 331 * range defined by the two specified endpoints. The returned set will 335 * @param from the first element in the range 336 * @param to the last element in the range 340 * range defined by the two specified endpoints 342 public static <E extends Enum<E>> EnumSet<E> range(E from, E to) { method in class:EnumSet 351 * Adds the specified range to this enum set, which is empty prior
|
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/gif/ |
H A D | GIFMetadata.java | 59 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/jdk/src/share/native/sun/font/layout/ |
H A D | OpenTypeUtilities.cpp | 128 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/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | ParserForXMLSchema.java | 160 * positive-c-group ::= (c-range | c-c-escape)+ 164 * c-range ::= single-range | from-to-range 165 * single-range ::= multi-c-escape | category-c-escape | block-c-escape | <any XML char> 167 * from-to-range ::= cc-normal-c '-' cc-normal-c 193 // single-range | from-to-range | subtraction 266 // c '-' ']' -> '-' is a single-range. 414 static void setupRange(Token range, Strin argument 420 setupRange(Token range, int[] src) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | Spring.java | 188 private double range(boolean contract) { method in class:Spring 195 return delta/range(getValue() < getPreferredValue()); 199 setValue(getPreferredValue() + (int)(strain * range(strain < 0)));
|
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/ |
H A D | parGCAllocBuffer.hpp | 259 MemRegion range() { function in class:ParGCAllocBufferWithBOT
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | generateOptoStub.cpp | 50 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)
|
H A D | loopPredicate.cpp | 40 * optimization has been applied to remove array range check and loop invariant 604 Node* range = cmp->in(2); local 605 if (range->Opcode() != Op_LoadRange) { 606 const TypeInt* tint = phase->_igvn.type(range)->isa_int(); 615 if (!invar.is_invariant(range)) { 631 // Create a range check predicate 648 Node* range, bool upper) { 690 CmpUNode* cmp = new (C) CmpUNode(max_idx_expr, range); 696 predString->print_cr("<u range"); 703 // Insert loop predicates for null checks and range check 645 rc_predicate(IdealLoopTree *loop, Node* ctrl, int scale, Node* offset, Node* init, Node* limit, Node* stride, Node* range, bool upper) argument [all...] |
H A D | ifnode.cpp | 445 // Return 0 if not a range check. Return 1 if a range check and set index and 448 int IfNode::is_range_check(Node* &range, Node* &index, jint &offset) { argument 473 // Make sure it's a real range check by requiring an uncommon trap 475 // something which optimized to look like a range check but behaves 523 range = r; 528 // Adjust (widen) a prior range check 529 static void adjust_check(Node* proj, Node* range, Node* index, argument 535 if( bol->is_top() ) return; // In case a partially dead range check appears 547 ? new (gvn->C) CmpUNode( new_add, range ) [all...] |
H A D | callnode.hpp | 569 const TypeTuple *r = tf()->range(); 760 // create result type (range) 764 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); local 766 return TypeFunc::make(domain, range); 949 // create result type (range) 952 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+0,fields); local 954 return TypeFunc::make(domain,range);
|
H A D | matcher.cpp | 198 const TypeTuple *range = C->tf()->range(); local 199 if( range->cnt() > TypeFunc::Parms ) { // If not a void function 201 int ireg = base2reg[range->field_at(TypeFunc::Parms)->base()]; 339 // Pre-size the new_node table to avoid the need for range checks. 631 uint ret_edge_cnt = TypeFunc::Parms + ((C->tf()->range()->cnt() == TypeFunc::Parms) ? 0 : 1); 1306 uint r_cnt = mcall->tf()->range()->cnt();
|
H A D | runtime.cpp | 453 // 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 D | loopnode.cpp | 391 // Truncation ensures value is in the range -32768..32767 (iv_trunc_t) 617 Node *range = gvn->transform(new (C) SubINode(limit,init_trip)); local 618 set_subtree_ctrl( range ); 619 hook->init_req(0, range); 621 Node *bias = gvn->transform(new (C) AddINode(range,stride)); 647 Node *range = gvn->transform(new (C) SubINode(limit,init_trip)); local 648 set_subtree_ctrl( range ); 649 hook->init_req(0, range); 651 Node *bias = gvn->transform(new (C) AddINode(range,stride)); 825 // The final value should be in integer range sinc 944 julong range = lim - ini + stride_p; local 948 Node *range = phase->transform(new (phase->C) SubINode(in(Limit), in(Init))); local 965 Node *range = phase->transform(new (phase->C) SubLNode(limit, init)); local [all...] |
H A D | type.cpp | 257 TypeInt::SYMINT = TypeInt::make(-max_jint,max_jint,WidenMin); // symmetric range 1091 const TypeInt *TypeInt::SYMINT; // symmetric range [-max_jint..max_jint] 1198 // Try to widen to an unsigned range type of 31 bits: 1215 //fatal("Integer value range is not subset"); 1233 // If old guy was maximum range, allow the narrowing 1244 // Use the new type only if the range shrinks a lot. 1454 // Try to widen to an unsigned range type of 32/63 bits: 1474 // fatal("Long value range is not subset"); 1492 // If old guy was maximum range, allow the narrowing 1503 // Use the new type only if the range shrink 4207 const TypeTuple *range = TypeTuple::make_range(method->signature()); local [all...] |
/openjdk7/hotspot/src/cpu/x86/vm/ |
H A D | c1_FrameMap_x86.hpp | 133 static int adjust_reg_range(int range) { argument 135 if (UseCompressedOops) return range - 1; 136 return range;
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/ |
H A D | DocumentImpl.java | 304 Range range = new RangeImpl(this); 306 ranges.addElement(range); 308 return range; 316 void removeRange(Range range) { argument 318 if (range == null) return; 321 ranges.removeElement(range); 1117 // notify the range of insertions
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | SoftChannel.java | 813 int[] destination, int[] range) { 816 controlled parameter (pp)|range (rr)| Description |Default 830 int r = range[i]; 948 public void mapPolyPressureToDestination(int[] destination, int[] range) { argument 957 destination, range); 960 public void mapChannelPressureToDestination(int[] destination, int[] range) { argument 969 destination, range); 972 public void mapControlToDestination(int control, int[] destination, int[] range) { argument 989 destination, range); 812 createModelConnections(ModelIdentifier sid, int[] destination, int[] range) argument
|
/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_Ports.c | 1049 float range = (float) (controlID->max - controlID->min); local 1051 volL = (((float) (controlID->unsignedValue[0].dwValue - controlID->min)) / range); 1052 volR = (((float) (controlID->unsignedValue[1].dwValue - controlID->min)) / range); 1089 float range = (float) (controlID->max - controlID->min); local 1096 ret = (((float) (controlID->unsignedValue[0].dwValue - controlID->min)) / range); 1112 float range = (float) (controlID->max - controlID->min); local 1118 controlID->unsignedValue[0].dwValue = (INT32) ((value * range) + 0.5f) + controlID->min;
|
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/ |
H A D | coding.cpp | 85 // 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/share/demo/jfc/Font2DTest/ |
H A D | FontPanel.java | 280 public void setTextToDraw( int i, int range[], argument 285 drawRange = range; 367 /// character range or user text data used (no file text data) 390 int range[] = { start, end }; 398 setTextToDraw( text, range, user, null ); 435 /// Limit is the end of range/text where no more draw will be done 460 /// Information about zooming (used with range text draw) 475 "ERROR: drawBytes cannot handle characters beyond 0x00FF. Select different range or draw methods.", 543 /// Draws the grid (Used for unicode/glyph range drawing) 713 /// If textToUse is set to range drawin [all...] |
/openjdk7/jdk/src/share/classes/java/util/regex/ |
H A D | Pattern.java | 133 * or <tt>A</tt> through <tt>Z</tt>, inclusive (range)</td></tr> 424 * character class, while the expression <tt>-</tt> becomes a range 1929 * surrogate in the specified range. 2507 node = range(bits); 2528 /* Bits can only handle codepoints in [u+0000-u+00ff] range. 2531 (1)Uppercase out of range: u+00ff, u+00b5 2558 * Parse a single character or a character range in a character class 2561 private CharProperty range(BitClass bits) { method in class:Pattern 2594 throw error("Illegal character range"); 3090 throw error("Illegal repetition range"); [all...] |