/openjdk7/langtools/test/com/sun/javadoc/testSourceTab/ |
H A D | TestSourceTab.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 27 * @summary Test to make sure that the source documentation is indented properly 63 //Files to diff 89 void initTabs(File from, File to) throws IOException { argument 91 File t = new File(to, f.getName());
|
/openjdk7/jdk/test/java/util/Arrays/ |
H A D | Correct.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 71 static void stupidSort(Object[] a1, int from, int to) throws Exception { argument 72 for (int x=from; x<to; x++) { 75 for (int y=x; y<to; y++) {
|
/openjdk7/jdk/test/sun/net/ftp/ |
H A D | B6427768.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 37 // Need to test when login fails, so AuthHandler should always return 101 public boolean rename(String from, String to) { argument 118 // Give some time to the client thread to properly terminate. 125 // If there are still active clients attached to the FTP 128 throw new RuntimeException("URLConnection didn't close the ftp connection on failure to login");
|
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/util/ |
H A D | InstructionFinder.java | 33 * "Apache BCEL" must not be used to endorse or promote products 67 * InstructionFinder is a tool to search for given instructions patterns, 69 * regular expressions. This can be used, e.g., in order to implement 74 * Regexp</a> package to search for regular expressions. 100 private InstructionHandle[] handles; // map instruction list to array 103 * @param il instruction list to search for given patterns 115 char[] buf = new char[size]; // Create a string with length equal to il length 118 // Map opcodes to characters 126 * Map symbolic instruction names like "getfield" to a single character. 148 * @param pattern The pattern to compil 406 precompile(short from, short to, short extra) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/undo/ |
H A D | UndoManager.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 34 * providing a way to undo or redo the appropriate edits. There are 35 * two ways to add edits to an <code>UndoManager</code>. Add the edit 37 * <code>UndoManager</code> to a bean that supports 40 * <code>UndoableEditListener</code> to a <code>JTextField</code>: 50 * <code>undo</code> has been invoked it corresponds to the index 53 * edit to the last significant edit are undone, in reverse order. 69 * index of the next edit to 236 trimEdits(int from, int to) argument [all...] |
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ProcessBuilder.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 39 * This class is used to create operating system processes. 45 * to create new subprocesses with identical or related attributes. 52 * external program file to be invoked and its arguments, if any. 55 * argument to be an element in this list, but there are operating 56 * systems where programs are expected to tokenize command line 58 * require commands to contain exactly two elements. 61 * <i>variables</i> to <i>values</i>. The initial value is a copy of 72 * be redirected to anothe 586 public static Redirect to(final File file) { method in class:ProcessBuilder.Redirect [all...] |
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | FileTime.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 59 * The unit of granularity to interpret the value. 100 * the unit of granularity to interpret the value 125 * saturate to {@code Long.MIN_VALUE} if negative or {@code Long.MAX_VALUE} 134 public long to(TimeUnit unit) { method in class:FileTime 142 * saturate to {@code Long.MIN_VALUE} if negative or {@code Long.MAX_VALUE} 159 * the object to compare with 179 // hashcode of days/nanos representation to satisfy contract with equals 187 * the other {@code FileTime} to b [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | EnumSet.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 36 * class should be good enough to allow its use as a high-quality, typesafe 37 * alternative to traditional <tt>int</tt>-based "bit flags." Even bulk 45 * and it may or may not show the effects of any modifications to the set that 48 * <p>Null elements are not permitted. Attempts to insert a null element 49 * will throw {@link NullPointerException}. Attempts to test for the 50 * presence of a null element or to remove one will, however, function 59 * method. This is best done at creation time, to prevent accidental 67 * They are likely (though not guaranteed) to b 342 range(E from, E to) argument 354 addRange(E from, E to) argument [all...] |
H A D | JumboEnumSet.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 54 void addRange(E from, E to) { argument 56 int toIndex = to.ordinal() >>> 6; 59 elements[fromIndex] = (-1L >>> (from.ordinal() - to.ordinal() - 1)) 65 elements[toIndex] = -1L >>> (63 - to.ordinal()); 67 size = to.ordinal() - from.ordinal() + 1; 105 * The index corresponding to unseen in the elements array. 116 * The index corresponding to lastReturned in the elements array. 173 * @param e element to b [all...] |
H A D | RegularEnumSet.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 48 void addRange(E from, E to) { argument 49 elements = (-1L >>> (from.ordinal() - to.ordinal() - 1)) << from.ordinal(); 136 * @param e element to be checked for containment in this collection 152 * Adds the specified element to this set if it is not already present. 154 * @param e element to be added to this set 170 * @param e element to be removed from this set, if present 191 * @param c collection to b [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | Ber.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 49 int from, int to) { 56 new ByteArrayInputStream(bytes, from, to), 48 dumpBER(OutputStream outStream, String tag, byte[] bytes, int from, int to) argument
|
/openjdk7/hotspot/src/cpu/sparc/vm/ |
H A D | copy_sparc.hpp | 16 * 2 along with this work; if not, write to the Free Software Foundation, 30 static void pd_conjoint_words(HeapWord* from, HeapWord* to, size_t count) { argument 31 (void)memmove(to, from, count * HeapWordSize); 34 static void pd_disjoint_words(HeapWord* from, HeapWord* to, size_t count) { argument 36 case 8: to[7] = from[7]; 37 case 7: to[6] = from[6]; 38 case 6: to[5] = from[5]; 39 case 5: to[4] = from[4]; 40 case 4: to[3] = from[3]; 41 case 3: to[ 50 pd_disjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count) argument 68 pd_aligned_conjoint_words(HeapWord* from, HeapWord* to, size_t count) argument 72 pd_aligned_disjoint_words(HeapWord* from, HeapWord* to, size_t count) argument 76 pd_conjoint_bytes(void* from, void* to, size_t count) argument 80 pd_conjoint_bytes_atomic(void* from, void* to, size_t count) argument 84 pd_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) argument 100 pd_conjoint_jints_atomic(jint* from, jint* to, size_t count) argument 116 pd_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) argument 127 pd_conjoint_oops_atomic(oop* from, oop* to, size_t count) argument 144 pd_arrayof_conjoint_bytes(HeapWord* from, HeapWord* to, size_t count) argument 148 pd_arrayof_conjoint_jshorts(HeapWord* from, HeapWord* to, size_t count) argument 152 pd_arrayof_conjoint_jints(HeapWord* from, HeapWord* to, size_t count) argument 156 pd_arrayof_conjoint_jlongs(HeapWord* from, HeapWord* to, size_t count) argument 160 pd_arrayof_conjoint_oops(HeapWord* from, HeapWord* to, size_t count) argument 168 julong* to = (julong*)tohw; local 191 julong* to = (julong*)tohw; local 211 pd_fill_to_bytes(void* to, size_t count, jubyte value) argument 219 pd_zero_to_bytes(void* to, size_t count) argument [all...] |
H A D | interpreterRT_sparc.cpp | 16 * 2 along with this work; if not, write to the Free Software Foundation, 127 // generate code to handle arguments 149 intptr_t* _RegArgSignature; // Signature of first Arguments to be passed in Registers 152 enum { // We need to differenciate float from non floats in reg args 219 SlowSignatureHandler(methodHandle method, address from, intptr_t* to, intptr_t *RegArgSig) : NativeSignatureIterator(method) { argument 221 _to = to; 233 intptr_t* to )) 237 // Warning: We use reg arg slot 00 temporarily to return the RegArgSignature 238 // back to the code that pops the arguments into the CPU registers 239 SlowSignatureHandler(m, (address)from, m->is_static() ? to [all...] |
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/ |
H A D | HierarchicalGraphLayout.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 57 private VertexWrapper to; field in class:HierarchicalGraphLayout.LinkWrapper 59 public LinkWrapper(VertexWrapper from, VertexWrapper to) { argument 61 this.to = to; 69 return to.getSlot();
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/widgets/ |
H A D | MultiConnectionWidget.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 63 public Point to; field in class:MultiConnectionWidget.Route 68 public Route(Point from, Point to) { argument 70 assert to != null; 72 this.to = to; 81 return r.from.equals(from) && r.to.equals(to); 89 return ((((from.x * 1711) + from.y) * 1711 + to.x) * 1711 + to [all...] |
/openjdk7/hotspot/src/share/tools/hsdis/ |
H A D | hsdis-demo.c | 16 * 2 along with this work; if not, write to the Free Software Foundation, 177 /* return non-null to notify hsdis not to print the addr */ 189 void disassemble(void* from, void* to) { argument 195 printf("Decoding from %p to %p...\n", from, to); 200 res = (*decode_instructions)(from, to, NULL, stdout, NULL, stdout, options); 202 res = (*decode_instructions)(from, to, NULL, NULL, NULL, stdout, options); 204 res = (*decode_instructions)(from, to, 209 if (res != to) [all...] |
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | copy.hpp | 16 * 2 along with this work; if not, write to the Free Software Foundation, 32 void _Copy_conjoint_words(HeapWord* from, HeapWord* to, size_t count); 33 void _Copy_disjoint_words(HeapWord* from, HeapWord* to, size_t count); 35 void _Copy_conjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count); 36 void _Copy_disjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count); 38 void _Copy_aligned_conjoint_words(HeapWord* from, HeapWord* to, size_t count); 39 void _Copy_aligned_disjoint_words(HeapWord* from, HeapWord* to, size_t count); 41 void _Copy_conjoint_bytes(void* from, void* to, size_t count); 43 void _Copy_conjoint_bytes_atomic (void* from, void* to, size_t count); 44 void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_ 88 conjoint_words(HeapWord* from, HeapWord* to, size_t count) argument 94 disjoint_words(HeapWord* from, HeapWord* to, size_t count) argument 101 disjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count) argument 108 aligned_conjoint_words(HeapWord* from, HeapWord* to, size_t count) argument 114 aligned_disjoint_words(HeapWord* from, HeapWord* to, size_t count) argument 123 conjoint_jbytes(void* from, void* to, size_t count) argument 128 conjoint_jbytes_atomic(void* from, void* to, size_t count) argument 133 conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) argument 139 conjoint_jints_atomic(jint* from, jint* to, size_t count) argument 145 conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) argument 151 conjoint_oops_atomic(oop* from, oop* to, size_t count) argument 157 conjoint_oops_atomic(narrowOop* from, narrowOop* to, size_t count) argument 170 arrayof_conjoint_jbytes(HeapWord* from, HeapWord* to, size_t count) argument 175 arrayof_conjoint_jshorts(HeapWord* from, HeapWord* to, size_t count) argument 181 arrayof_conjoint_jints(HeapWord* from, HeapWord* to, size_t count) argument 187 arrayof_conjoint_jlongs(HeapWord* from, HeapWord* to, size_t count) argument 193 arrayof_conjoint_oops(HeapWord* from, HeapWord* to, size_t count) argument 201 conjoint_words_to_lower(HeapWord* from, HeapWord* to, size_t byte_count) argument 215 conjoint_words_to_higher(HeapWord* from, HeapWord* to, size_t byte_count) argument 234 fill_to_words(HeapWord* to, size_t count, juint value = 0) argument 239 fill_to_aligned_words(HeapWord* to, size_t count, juint value = 0) argument 245 fill_to_bytes(void* to, size_t count, jubyte value = 0) argument 258 zero_to_words(HeapWord* to, size_t count) argument 264 zero_to_bytes(void* to, size_t count) argument 269 params_disjoint(HeapWord* from, HeapWord* to, size_t count) argument 278 assert_disjoint(HeapWord* from, HeapWord* to, size_t count) argument 285 assert_params_ok(void* from, void* to, intptr_t log_align) argument 294 assert_params_ok(HeapWord* to, intptr_t log_align) argument 300 assert_params_aligned(HeapWord* from, HeapWord* to) argument 309 assert_params_aligned(HeapWord* to) argument [all...] |
/openjdk7/jdk/src/share/demo/jfc/TableExample/ |
H A D | TableSorter.java | 16 * contributors may be used to endorse or promote products derived 33 * This source code is provided to illustrate the usage of a given feature 56 * A sorter for TableModels. The sorter has a model (conforming to TableModel) 63 * getValueAt(row, col) it redirects them to its model via the mapping 64 * array. That way the TableSorter appears to hold another copy of the table 67 * function returns 0 to denote that they are equivalent. 112 an optimised model is reusing one object to return many values. 114 in this way but other subclasses of Number might want to do this to save 246 // to researc 252 shuttlesort(int from[], int to[], int low, int high) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/net/smtp/ |
H A D | SmtpClient.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 36 * the "to" method to add destinations, calling "from" to name the 37 * sender, calling startMessage to return a stream to which you write 50 * issue the QUIT command to the SMTP server and close the connection. 71 issueCommand("rcpt to: " + s + "\r\n", 250); 73 issueCommand("rcpt to 76 public void to(String s) throws IOException { method in class:SmtpClient 182 SmtpClient(int to) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/reflect/misc/ |
H A D | ReflectUtil.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 52 * due to a bug. We awkwardly work around it for now. 136 * available and the caller attempts to load a class on behalf 180 * access from a class loader 'from' to classes or members in 181 * a class defined by class loader 'to'. This method returns true 182 * if 'from' is not the same as or an ancestor of 'to'. All code 186 * attempts to access system domain classes, it requires package 189 public static boolean needsPackageAccessCheck(ClassLoader from, ClassLoader to) { argument 190 if (from == null || from == to) [all...] |
/openjdk7/langtools/test/tools/javac/types/ |
H A D | BoxingConversionTest.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 27 * @summary Add test library to simplify the task of writing automated type-system tests 63 void check(TypeHarness harness, Type from, Type to, Result expected) { 64 harness.assertAssignable(from, to, resSet.contains(expected)); 69 void check(TypeHarness harness, Type from, Type to, Result expected) { 70 harness.assertConvertible(from, to, resSet.contains(expected)); 80 abstract void check(TypeHarness harness, Type from, Type to, Result expected); argument
|
H A D | PrimitiveConversionTest.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 27 * @summary Add test library to simplify the task of writing automated type-system tests 63 void check(TypeHarness harness, Type from, Type to, Result expected) { 64 harness.assertAssignable(from, to, resSet.contains(expected)); 69 void check(TypeHarness harness, Type from, Type to, Result expected) { 70 harness.assertConvertible(from, to, resSet.contains(expected)); 80 abstract void check(TypeHarness harness, Type from, Type to, Result expected); argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | HeapGXLWriter.java | 16 * 2 along with this work; if not, write to the Free Software Foundation, 44 * 'from' and 'to' XML attributes that are ids of from and to nodes.</p> 46 * <p>Java heap to GXL document mapping:</p> 50 * <li>Java reference field - GXL edge from referee to referent node. 56 * <p>Java primitive to GXL type mapping:</p> 280 // Java identifier to XML NMTOKEN type string 306 // Refer to section 2.2 Characters in XML specification at 352 private void writeEdge(Oop from, Oop to, String name) throws IOException { argument 355 out.print("' to [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | FloatControl.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 36 * inner class provides static instances of types that are used to 39 * The <code>FloatControl</code> abstract class provides methods to set and get 42 * returned values). Some float controls allow ramping to a 127 * can change from one discrete value to the next during a {@link #shift(float,float,int) shift} 176 * to zero-length strings. 184 * can change from one discrete value to the next during a {@link #shift(float,float,int) shift} 309 * time, it should set the control's value to the final value immediately 321 * Changes the control value from the initial value to th 337 shift(float from, float to, int microseconds) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/table/ |
H A D | DefaultTableModel.java | 8 * particular file as subject to the "Classpath" exception as provided 18 * 2 along with this work; if not, write to the Free Software Foundation, 36 * uses a <code>Vector</code> of <code>Vectors</code> to store the 45 * <code>TableRowSorter</code> you are strongly encouraged to override 46 * <code>getColumnClass</code> to return the appropriate type. 54 * has been added to the <code>java.beans</code> package. 148 * to the <code>setDataVector</code> method. 165 * to the <code>setDataVector</code> 182 * each a single row of values. In other words, to get to th 257 justifyRows(int from, int to) argument 439 moveRow(int start, int end, int to) argument [all...] |