/openjdk7/jdk/src/share/classes/sun/rmi/transport/ |
H A D | StreamRemoteCall.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 49 private ConnectionInputStream in = null; field in class:StreamRemoteCall 130 if (in == null) { 133 in = new ConnectionInputStream(conn.getInputStream()); 135 return in; 148 if (in != null) { 151 in.done(); 156 in [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/transport/proxy/ |
H A D | WrappedSocket.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 47 protected InputStream in = null; field in class:WrappedSocket 59 * @param in the InputStream to return to users (can be null) 62 public WrappedSocket(Socket socket, InputStream in, OutputStream out) argument 67 this.in = in; 114 if (in == null) 115 in [all...] |
/openjdk7/jdk/src/share/classes/sun/rmi/transport/tcp/ |
H A D | MultiplexInputStream.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 32 * requesting more bytes of data as space in its internal buffer becomes 48 /** number of real data bytes present in buffer */ 51 /** current position to read from in input buffer */ 180 * @param in input stream with those bytes ready to be read 182 void receive(int length, DataInputStream in) argument 196 in.readFully(buffer, present, length);
|
H A D | TCPConnection.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 42 private InputStream in = null; field in class:TCPConnection 52 TCPConnection(TCPChannel ch, Socket s, InputStream in, OutputStream out) argument 56 this.in = in; 64 TCPConnection(TCPChannel ch, InputStream in, OutputStream out) argument 66 this(ch, null, in, out); 102 if (in [all...] |
/openjdk7/langtools/test/tools/javac/api/ |
H A D | T6877206.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 57 // names for entries to be created in directories and jar files 141 // does not close the JarFile in an expeditious manner, thus preventing 214 byte[] read(InputStream in) throws IOException { argument 219 while ((n = in.read(data, offset, data.length - offset)) != -1) { 225 in.close();
|
/openjdk7/langtools/test/tools/javac/file/zip/ |
H A D | Utils.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 89 public static void copyStream(InputStream in, OutputStream out) throws IOException { argument 91 int n = in.read(buf); 94 n = in.read(buf);
|
/openjdk7/jdk/test/sun/rmi/rmic/minimizeWrapperInstances/ |
H A D | Test.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 114 public void readExternal(ObjectInput in) { argument
|
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/ |
H A D | TestSymmCiphers.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 135 byte[] in, byte[] answer) throws Exception { 139 int outLen = cipher.getOutputSize(in.length); 143 ByteBuffer inBuf = ByteBuffer.allocate(in.length); 144 inBuf.put(in); 146 ByteBuffer inDirectBuf = ByteBuffer.allocateDirect(in.length); 147 inDirectBuf.put(in); 152 // test#1: byte[] in + byte[] out 158 byte[] temp = cipher.update(in, 133 test(Cipher cipher, int mode, SecretKey key, AlgorithmParameters params, int firstBlkSize, byte[] in, byte[] answer) argument [all...] |
H A D | TestSymmCiphersNoPad.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 114 byte[] in, byte[] answer) throws Exception { 118 int outLen = cipher.getOutputSize(in.length); 122 ByteBuffer inBuf = ByteBuffer.allocate(in.length); 123 inBuf.put(in); 125 ByteBuffer inDirectBuf = ByteBuffer.allocateDirect(in.length); 126 inDirectBuf.put(in); 131 // test#1: byte[] in + byte[] out 134 byte[] testOut1 = cipher.update(in, 112 test(Cipher cipher, int mode, SecretKey key, AlgorithmParameters params, byte[] in, byte[] answer) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/classfile/ |
H A D | Signature.java | 13 * Redistribution and use in source and binary forms, with or without 20 * 2. Redistributions in binary form must reproduce the above copyright 21 * notice, this list of conditions and the following disclaimer in 29 * Alternately, this acknowledgment may appear in the software itself, 38 * "Apache BCEL", nor may "Apache" appear in their name, without 84 * @param name_index Index in constant pool to CONSTANT_Utf8 85 * @param length Content length in bytes 97 * @param name_index Index in constant pool to CONSTANT_Utf8 98 * @param length Content length in bytes 100 * @param Signature_index Index in constan 173 matchIdent(MyByteArrayInputStream in, StringBuffer buf) argument 225 matchGJIdent(MyByteArrayInputStream in, StringBuffer buf) argument [all...] |
/openjdk7/jaxp/src/javax/xml/validation/ |
H A D | SchemaFactoryFinder.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 118 ; // getContextClassLoader() undefined in JDK1.1 134 * See {@link SchemaFactory Schema Language} table in <code>SchemaFactory</code> 203 debugPrintln("found " + factoryClassName + " in $java.home/jaxp.properties"); 369 * Looks up a value in a property file 375 private SchemaFactory loadFromProperty( String keyName, String resourceName, InputStream in ) 380 props.load(in); 381 in 405 loadFromService( String schemaLanguage, String inputName, InputStream in) argument [all...] |
/openjdk7/jaxp/src/javax/xml/xpath/ |
H A D | XPathFactoryFinder.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 116 ; // getContextClassLoader() undefined in JDK1.1 200 debugPrintln("found " + factoryClassName + " in $java.home/jaxp.properties"); 353 * <p>Look up a value in a property file.</p> 359 * @param in <code>InputStream</code> of properties. 363 * @throws IOException If IO error reading from <code>in</code>. 368 InputStream in) 379 BufferedReader configFile = new BufferedReader(new InputStreamReader(in)); 365 loadFromService( String objectModel, String inputName, InputStream in) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CodeSetComponentInfo.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 88 public void read(MarshalInputStream in) { argument 89 nativeCodeSet = in.read_ulong(); 90 int len = in.read_long(); 92 in.read_ulong_array(conversionCodeSets, 0, len); 166 public void read(MarshalInputStream in) { argument 168 forCharData.read(in); 170 forWCharData.read(in); 200 read(MarshalInputStream in) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/fsm/ |
H A D | StateEngineImpl.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 59 public void doIt( FSM fsm, Input in ) 72 public void doIt( FSM fsm, Input in ) 76 fsm.getState() + " under " + in ) ; 149 public void doIt( FSM fsm, Input in, boolean debug ) argument 156 fsm.getState() + " in = " + in ) ; 159 innerDoIt( fsm, in, debu 187 innerDoIt( FSM fsm, Input in, boolean debug ) argument 247 performStateTransition( FSM fsm, Input in, StateImpl nextState, Action action, boolean debug ) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/spi/orbutil/fsm/ |
H A D | FSMTest.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 59 public void doIt( FSM fsm, Input in ) 65 if (label != in) 66 throw new Error( "Unexcepted Input " + in ) ; 88 public void doIt( FSM fsm, Input in ) 93 System.out.println( "\tinput = " + in ) ; 109 public void doIt( FSM fsm, Input in ) 114 if (label != in) 167 add1( StateEngine se, State oldState, Input in, State newState ) argument [all...] |
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/som/cff/ |
H A D | FileLocator.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 52 * provides class methods for finding files in the directories or zip 76 * should be given in fully-qualified form, for example: 133 /* Make one last attempt to find the file in the current 166 * system, in which case each directory or zip file in the CLASSPATH will 230 * system, in which case each directory or zip file in th 402 NamedDataInputStream(InputStream in, String fullyQualifiedName, boolean inZipFile) argument [all...] |
/openjdk7/corba/src/share/classes/javax/rmi/CORBA/ |
H A D | Util.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 90 * @param out the stream in which to write the any. 102 * @param in the stream from which to read the any. 105 public static Object readAny(InputStream in) { argument 108 return utilDelegate.readAny(in); 120 * @param out the stream in which to write the object. 140 * @param out the stream in which to write the object. 269 * the servant incarnating the object is located in th [all...] |
H A D | UtilDelegate.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 45 * Supports delegation for method implementations in {@link Util}. The 72 java.lang.Object readAny(InputStream in); argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/ |
H A D | InputLexer.java | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * version 2 for more details (a copy is included in the LICENSE file that 31 types the debuggers are interested in. All read operations are 35 public InputLexer(BufferedInputStream in) throws IOException { argument 36 this.in = in; 41 in.close(); 44 /** Parses a boolean (really either a 0 or 1 integer in US-ASCII 51 /** Parses an int in US-ASCII encoding on the input stream */ 61 /** Parses a long in U 209 private BufferedInputStream in; field in class:InputLexer [all...] |
/openjdk7/jdk/src/share/classes/javax/security/auth/kerberos/ |
H A D | DelegationPermission.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 191 * DelegationPermission objects must be stored in a manner that 192 * allows them to be inserted into the collection in any order, but 194 * be implemented in an efficient (and consistent) manner. 222 // Read in the action, then initialize the rest 279 * expressed in "permission". 283 * @return true if "permission" is a proper subset of a permission in 328 * in th 378 readObject(ObjectInputStream in) argument [all...] |
H A D | ServicePermission.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 43 * applies regardless of whether the credentials are in a cache 55 * principal. This name is treated in a case sensitive manner. 135 // created and re-used in the getAction function. 229 * Returns the "canonical string representation" of the actions in the 231 * Always returns present actions in the following order: 259 * Always returns present actions in the following order: 275 * ServicePermission objects must be stored in 586 readObject(ObjectInputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/smartcardio/ |
H A D | CommandAPDU.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 33 * A command APDU following the structure defined in ISO/IEC 7816-4. 39 * in the {@linkplain #CommandAPDU(int,int,int,int,int) constructors}, 42 * value Ne. In other words, a value of 0 means "no data in the response APDU" 55 * <p>Instances of this class are immutable. Where data is passed in or out 104 * <code>apduOffset</code> in the byte array and is <code>apduLength</code> 111 * @param apduOffset the offset in the byte array at which the apdu 152 * <p>Note that the data in th 599 readObject(java.io.ObjectInputStream in) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/ |
H A D | DocumentParser.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 39 * you should really only use this class with the html dtd in swing). 41 * invokes the appropriate methods in the ParserCallback class. This 57 * The items in <i>italic</i> are implied, that is, although they were not 64 * If an attribute key of a tag is defined in HTML.Attribute, the 67 * not defined in HTML.Attribute, where as class is, therefore the 68 * AttributeSet will have two values in it, HTML.Attribute.CLASS with 72 * or text. Similiar to arrays, the first character in th 119 parse(Reader in, HTMLEditorKit.ParserCallback callback, boolean ignoreCharSet) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | GlobalCursorManager.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 56 public void postIfNotPending(Component heavy, InvocationEvent in) { argument 64 SunToolkit.postEvent(SunToolkit.targetToAppContext(heavy), in); 77 * The last time the cursor was updated, in milliseconds. 99 * Should be called in response to Java MOUSE_MOVED events. The update 115 * Should be called in response to a native mouse enter or native mouse 133 * Returns the global cursor position, in screen coordinates. 161 * because this update is occuring in respons [all...] |
/openjdk7/jdk/src/share/classes/java/io/ |
H A D | BufferedReader.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 43 * BufferedReader in 44 * = new BufferedReader(new FileReader("foo.in")); 65 private Reader in; field in class:BufferedReader 88 * @param in A Reader 93 public BufferedReader(Reader in, int sz) { argument 94 super(in); 97 this.in 108 BufferedReader(Reader in) argument [all...] |