Searched defs:in (Results 351 - 375 of 640) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DWaveFileWriter.java9 * 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
46 //$$fb this class is buggy. Should be replaced in future.
231 private int writeWaveFile(InputStream in, WaveFileFormat waveFileFormat, OutputStream out) throws IOException { argument
235 InputStream fileStream = getFileStream(waveFileFormat, in);
303 // plug in the transcoder to convert from PCM_SIGNED to PCM_UNSIGNED
320 // plug in the transcoder to convert to PCM_SIGNED_LITTLE_ENDIAN
340 // we write in littleendian...
/openjdk7/jdk/src/share/classes/com/sun/security/cert/internal/x509/
H A DX509V1CertImpl.java9 * 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
94 * @param in an input stream holding at least one certificate
97 public X509V1CertImpl(InputStream in) argument
101 getFactory().generateCertificate(in);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/bdi/
H A DChildSession.java9 * 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
30 * input validation and proper error handling, might not be present in
51 private PrintWriter in; field in class:ChildSession
122 new InputWriter("input writer", in, input);
167 BufferedReader in =
170 while ((line = in.readLine()) != null) {
220 in = new PrintWriter(new OutputStreamWriter(process.getOutputStream()));
258 // Run in Swin
[all...]
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DMimeType.java9 * 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
37 * in RFC 2045 and 2046.
167 // we have all three items in the proper sequence
279 * described in <code>rawdata</code>; otherwise returns
285 * described in <code>rawdata</code>; otherwise returns
304 // one-to-one correspondence between ASCII char and byte in UTF string
319 * readExternal method must read the values in the same sequence
324 public void readExternal(ObjectInput in) throw argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/spp/
H A DSpp.java9 * 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
35 * Usage: java build.tools.spp.Spp [-be] [-Kkey] -Dvar=value ... <in >out
52 * Meaningful anywhere in line
80 System.err.println("Usage: java build.tools.spp.Spp [-be] [-Kkey] -Dvar=value ... <in >out");
86 new Spp().spp(new Scanner(System.in),
136 boolean spp(Scanner in, StringBuffer buf, String key, argument
139 while (in.hasNextLine()) {
140 String ln = in
[all...]
/openjdk7/jdk/src/share/back/
H A DEventRequestImpl.c9 * 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
40 readAndSetFilters(JNIEnv *env, PacketInputStream *in, HandlerNode *node, argument
50 modifier = inStream_readByte(in);
51 if ( (serror = inStream_error(in)) != JDWP_ERROR(NONE) )
58 exprID = inStream_readInt(in);
59 if ( (serror = inStream_error(in)) != JDWP_ERROR(NONE) )
68 count = inStream_readInt(in);
69 if ( (serror = inStream_error(in)) !
231 setCommand(PacketInputStream *in, PacketOutputStream *out) argument
306 clearCommand(PacketInputStream *in, PacketOutputStream *out) argument
338 clearAllBreakpoints(PacketInputStream *in, PacketOutputStream *out) argument
[all...]
H A DObjectReferenceImpl.c9 * 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 referenceType(PacketInputStream *in, PacketOutputStream *out) argument
40 object = inStream_readObjectRef(env, in);
41 if (inStream_error(in)) {
62 getValues(PacketInputStream *in, PacketOutputStream *out) argument
64 sharedGetFieldValues(in, out, JNI_FALSE);
70 readFieldValue(JNIEnv *env, PacketInputStream *in, jclass clazz, argument
79 value.l = inStream_readObjectRef(env, in);
133 setValues(PacketInputStream *in, PacketOutputStream *out) argument
196 monitorInfo(PacketInputStream *in, PacketOutputStream *out) argument
237 invokeInstance(PacketInputStream *in, PacketOutputStream *out) argument
243 disableCollection(PacketInputStream *in, PacketOutputStream *out) argument
262 enableCollection(PacketInputStream *in, PacketOutputStream *out) argument
281 isCollected(PacketInputStream *in, PacketOutputStream *out) argument
308 referringObjects(PacketInputStream *in, PacketOutputStream *out) argument
[all...]
H A DThreadReferenceImpl.c9 * 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
35 name(PacketInputStream *in, PacketOutputStream *out) argument
42 thread = inStream_readThreadRef(env, in);
43 if (inStream_error(in)) {
77 suspend(PacketInputStream *in, PacketOutputStream *out) argument
82 thread = inStream_readThreadRef(getEnv(), in);
83 if (inStream_error(in)) {
99 resume(PacketInputStream *in, PacketOutputStrea argument
123 status(PacketInputStream *in, PacketOutputStream *out) argument
152 threadGroup(PacketInputStream *in, PacketOutputStream *out) argument
214 frames(PacketInputStream *in, PacketOutputStream *out) argument
315 getFrameCount(PacketInputStream *in, PacketOutputStream *out) argument
347 ownedMonitors(PacketInputStream *in, PacketOutputStream *out) argument
396 currentContendedMonitor(PacketInputStream *in, PacketOutputStream *out) argument
438 stop(PacketInputStream *in, PacketOutputStream *out) argument
468 interrupt(PacketInputStream *in, PacketOutputStream *out) argument
491 suspendCount(PacketInputStream *in, PacketOutputStream *out) argument
518 ownedMonitorsWithStackDepth(PacketInputStream *in, PacketOutputStream *out) argument
570 forceEarlyReturn(PacketInputStream *in, PacketOutputStream *out) argument
[all...]
H A DdebugLoop.c9 * 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
128 PacketInputStream in; local
150 inStream_init(&in, p);
151 outStream_initReply(&out, inStream_id(&in));
172 replyToSender = func(&in, &out);
177 if (inStream_error(&in)) {
178 outStream_setError(&out, inStream_error(&in));
190 inStream_destroy(&in);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DAESWrapCipher.java9 * 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
36 * in <a href=http://www.w3.org/TR/xmlenc-core/#sec-Alg-SymmetricKeyWrap>
106 * Returns the block size (in bytes). i.e. 16 bytes.
108 * @return the block size (in bytes), i.e. 16 bytes.
115 * Returns the length in bytes that an output buffer would need to be
116 * given the input length <code>inputLen</code> (in bytes).
122 * @param inputLen the input length (in bytes)
124 * @return the required output buffer size (in byte
254 engineUpdate(byte[] in, int inOffset, int inLen) argument
276 engineUpdate(byte[] in, int inOffset, int inLen, byte[] out, int outOffset) argument
321 engineDoFinal(byte[] in, int inOffset, int inLen, byte[] out, int outOffset) argument
[all...]
H A DARCFOURCipher.java9 * 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 // because int arithmetic is much faster than in Java than bytes.
95 private void crypt(byte[] in, int inOfs, int inLen, byte[] out, argument
108 out[outOfs++] = (byte)(in[inOfs++] ^ S[(Si + Sj) & 0xff]);
209 protected byte[] engineUpdate(byte[] in, int inOfs, int inLen) { argument
211 crypt(in, inOfs, inLen, out, 0);
216 protected int engineUpdate(byte[] in, int inOfs, int inLen, argument
221 crypt(in, inOf
226 engineDoFinal(byte[] in, int inOfs, int inLen) argument
233 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
[all...]
H A DBlowfishCrypt.java9 * 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
125 * The result is stored in <code>cipher</code>, starting at
132 * @param plainOffset the offset in <code>plain</code>
135 * @param cipherOffset the offset in <code>cipher</code>
149 * The result is stored in <code>plain</code>, starting at
156 * @param cipherOffset the offset in <code>cipherOffset</code>
159 * @param plainOffset the offset in <code>plain</code>
168 * Encrypts, or decrypts, the blocks of data passed in
170 cipherBlock(byte[] in, int inOffset, byte[] out, int outOffset) argument
[all...]
H A DCounterMode.java9 * 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
31 * This class represents ciphers in counter (CTR) mode.
35 * <i>plugged-in</i> using the constructor.
50 // number of bytes in encryptedCounter already used up
75 * This is used when doFinal is called in the Cipher class, so that the
108 * Initializes the cipher in the specified mode with the given key
136 * The result is stored in <code>cipher</code>, starting at
147 * @param in th
153 encrypt(byte[] in, int inOff, int len, byte[] out, int outOff) argument
180 decrypt(byte[] in, int inOff, int len, byte[] out, int outOff) argument
200 crypt(byte[] in, int inOff, int len, byte[] out, int outOff) argument
[all...]
H A DRC2Cipher.java9 * 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
35 * JCE CipherSpi for the RC2(tm) algorithm as described in RFC 2268.
36 * The real code is in CipherCore and RC2Crypt.
114 protected byte[] engineUpdate(byte[] in, int inOfs, int inLen) { argument
115 return core.update(in, inOfs, inLen);
118 protected int engineUpdate(byte[] in, int inOfs, int inLen, argument
120 return core.update(in, inOfs, inLen, out, outOfs);
123 protected byte[] engineDoFinal(byte[] in, in argument
128 engineDoFinal(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) argument
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiEnvFill.java9 * 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 LineNumberReader in; field in class:SourceFile
73 line = in.readLine();
95 line = in.readLine();
126 body.add(0, " /*** warning: function added and not filled in ***/");
131 // it has actually been filled in
170 in = new LineNumberReader(reader);
178 in.close();
183 System.err.println("Line number: " + in
[all...]
/openjdk7/jaxws/src/share/jaf_classes/javax/activation/
H A DMimeType.java9 * 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 * in RFC 2045 and 2046.
115 // we have all three items in the proper sequence
243 * the same as what is in the given type.
257 * the same as the content type described in rawdata.
284 * readExternal method must read the values in the same sequence
287 * @param in the ObjectInput object to read from
291 public void readExternal(ObjectInput in) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DBridgeAdapter.java9 * 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
112 public @NotNull InMemory unmarshal(Unmarshaller u, XMLStreamReader in) throws JAXBException { argument
113 return adaptU(u, core.unmarshal(u,in));
116 public @NotNull InMemory unmarshal(Unmarshaller u, Source in) throws JAXBException { argument
117 return adaptU(u, core.unmarshal(u,in));
120 public @NotNull InMemory unmarshal(Unmarshaller u, InputStream in) throws JAXBException { argument
121 return adaptU(u, core.unmarshal(u,in));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DXmlReader.java9 * 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
68 private Reader in; field in class:XmlReader
91 * in the XML 1.0 recommendation.
93 * @param in the input stream from which the reader is constructed
96 public static Reader createReader(InputStream in) throws IOException { argument
97 return new XmlReader(in);
105 * @param in the input stream from which the reader is constructed
110 public static Reader createReader(InputStream in, Strin argument
724 AsciiReader(InputStream in) argument
757 Iso8859_1Reader(InputStream in) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DUUDecoderStream.java9 * 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 * @param in the input stream
61 public UUDecoderStream(InputStream in) { argument
62 super(in);
63 lin = new LineInputStream(in);
64 buffer = new byte[45]; // max decoded chars in a line = 45
69 * is returned as an <code>int</code> in the range <code>0</code>
78 * @see java.io.FilterInputStream#in
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/util/
H A DByteOutputStream.java9 * 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
53 * The number of valid bytes in the buffer.
68 public void write(InputStream in) throws IOException { argument
69 if (in instanceof ByteArrayInputStream) {
70 int size = in.available();
72 count += in.read(buf,count,size);
77 int sz = in.read(buf,count,cap);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DMimeMultipartParser.java9 * 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
71 public MimeMultipartParser(InputStream in, String contentType, StreamingAttachmentFeature feature) { argument
78 ? new MIMEMessage(in, boundary, feature.getConfig())
79 : new MIMEMessage(in, boundary);
90 * present in Content-Type, it is used to determine the root part, otherwise
193 InputStream in = part.read();
196 while((len=in.read(temp)) != -1) {
199 in
[all...]
H A DStreamSOAPCodec.java9 * 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
117 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument
118 decode(in, contentType, packet, new AttachmentSetImpl());
226 public void decode(ReadableByteChannel in, String contentType, Packet packet ) { argument
276 // lifetime of information in the buffer if accessed beyond
281 public void decode(InputStream in, String contentType, Packet packet, AttachmentSet att ) throws IOException { argument
290 XMLStreamReader reader = XMLStreamReaderFactory.create(null, in, charset, true);
291 reader = new TidyXMLStreamReader(reader, in);
295 decode(ReadableByteChannel in, String contentType, Packet response, AttachmentSet att ) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/fastinfoset/
H A DFastInfosetCodec.java9 * 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
110 public void decode(InputStream in, String contentType, Packet packet) throws IOException { argument
114 in = hasSomeData(in);
115 if (in != null) {
116 message = Messages.createUsingPayload(new FastInfosetSource(in),
125 public void decode(ReadableByteChannel in, String contentType, Packet response) { argument
138 private XMLStreamReader getXMLStreamReader(InputStream in) { argument
217 createNewStreamReader(InputStream in, boolean retainState) argument
241 createNewStreamReaderRecyclable(InputStream in, boolean retainState) argument
267 hasSomeData(InputStream in) argument
[all...]
H A DFastInfosetStreamSOAPCodec.java9 * 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
110 public void decode(InputStream in, String contentType, Packet response) throws IOException { argument
112 _soapCodec.decode(getXMLStreamReader(in)));
115 public void decode(ReadableByteChannel in, String contentType, Packet response) { argument
132 private XMLStreamReader getXMLStreamReader(InputStream in) { argument
136 _statefulParser.setInputStream(in);
139 return _statefulParser = FastInfosetCodec.createNewStreamReader(in, _retainState);
144 return READER_FACTORY.doCreate(null, in, fals
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DByteArrayBuffer.java9 * 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
38 * It works in a way similar to {@link ByteArrayOutputStream} but
39 * this class works better in the following ways:
59 * The number of valid bytes in the buffer.
75 * the specified size, in bytes.
102 public final void write(InputStream in) throws IOException { argument
105 int sz = in.read(buf,count,cap);
139 // Writing it in chunk
[all...]

Completed in 54 milliseconds

<<11121314151617181920>>