Searched refs:stream (Results 51 - 75 of 912) sorted by relevance

1234567891011>>

/openjdk7/jaxp/src/javax/xml/stream/events/
H A DCharacters.java29 package javax.xml.stream.events;
62 * If javax.xml.stream.isCoalescing is set to true CDATA Sections
H A DNotationDeclaration.java29 package javax.xml.stream.events;
H A DXMLEvent.java29 package javax.xml.stream.events;
41 * @see javax.xml.stream.XMLEventReader
53 public interface XMLEvent extends javax.xml.stream.XMLStreamConstants {
74 * @see javax.xml.stream.Location
76 javax.xml.stream.Location getLocation();
164 * called when being written to on an output stream.
168 * Events to an output stream.
176 throws javax.xml.stream.XMLStreamException;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/
H A DMonitorValue.java37 public MonitorValue(DebugInfoReadStream stream) { argument
38 basicLock = new Location(stream);
39 owner = ScopeValue.readFrom(stream);
40 eliminated= stream.readBoolean();
48 // void write_on(DebugInfoWriteStream* stream);
H A DScopeDesc.java61 DebugInfoReadStream stream = streamAt(decodeOffset);
63 senderDecodeOffset = stream.readInt();
64 method = (Method) VM.getVM().getObjectHeap().newOop(stream.readOopHandle());
65 bci = stream.readBCI();
67 localsDecodeOffset = stream.readInt();
68 expressionsDecodeOffset = stream.readInt();
69 monitorsDecodeOffset = stream.readInt();
79 DebugInfoReadStream stream = streamAt(decodeOffset);
81 senderDecodeOffset = stream.readInt();
82 method = (Method) VM.getVM().getObjectHeap().newOop(stream
[all...]
H A DConstantDoubleValue.java49 ConstantDoubleValue(DebugInfoReadStream stream) { argument
50 value = stream.readDouble();
54 // void write_on(DebugInfoWriteStream* stream);
H A DConstantIntValue.java49 ConstantIntValue(DebugInfoReadStream stream) { argument
50 value = stream.readSignedInt();
54 // void write_on(DebugInfoWriteStream* stream);
H A DConstantLongValue.java49 ConstantLongValue(DebugInfoReadStream stream) { argument
50 value = stream.readLong();
54 // void write_on(DebugInfoWriteStream* stream);
/openjdk7/jdk/test/java/lang/instrument/
H A DNamedBuffer.java45 InputStream stream)
49 loadBufferFromStream(stream));
65 loadBufferFromStream(InputStream stream) argument
68 // hack for now, just assume the stream will fit in our reasonable size buffer.
72 int actualSize = stream.read(readBuffer);
44 NamedBuffer( String name, InputStream stream) argument
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DForwardValueGen.java76 if (stream == null)
92 stream = Util.stream (v, ".java");
123 Util.writePackage (stream, v);
124 Util.writeProlog (stream, ((GenFileStream)stream).name ());
127 v.comment ().generate ("", stream);
129 stream.print ("public class " + v.name () + " implements org.omg.CORBA.portable.IDLEntity");
132 stream.println ("{");
147 stream
161 helperType(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) argument
166 type(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) argument
171 helperRead(String entryName, SymtabEntry entry, PrintWriter stream) argument
178 read(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
183 helperWrite(SymtabEntry entry, PrintWriter stream) argument
188 write(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
205 protected PrintWriter stream = null; field in class:ForwardValueGen
[all...]
H A DInterfaceGen.java88 public void generate (Hashtable symbolTable, InterfaceEntry i, PrintWriter stream) argument
194 * 2.) Open print stream - openStream ()
198 * 6.) Close the print stream - closeStream ()
209 if (stream == null)
226 stream = Util.stream (i, ".java");
228 stream = Util.stream (i, "Operations.java");
236 Util.writePackage (stream, i, Util.TypeFile);
237 Util.writeProlog (stream, ((GenFileStrea
439 helperType(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) argument
455 type(int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) argument
477 helperRead(String entryName, SymtabEntry entry, PrintWriter stream) argument
497 helperWrite(SymtabEntry entry, PrintWriter stream) argument
519 read(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
546 write(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
856 protected PrintWriter stream = null; field in class:InterfaceGen
[all...]
H A DSequenceGen.java68 public void generate (Hashtable symbolTable, SequenceEntry s, PrintWriter stream) argument
75 public int helperType (int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) argument
89 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_recursive_sequence_tc (0, " + (offsetOfType - tcoffsets.currentOffset ()) + ");");
91 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_recursive_sequence_tc (" + Util.parseExpression (maxSize) + ", " + (offsetOfType - tcoffsets.currentOffset ()) + ");");
98 index = ((JavaGenerator)entry.type ().generator ()).helperType (index + 1, indent, tcoffsets, name, entry.type (), stream);
101 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_sequence_tc (0, " + name + ");");
103 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_sequence_tc (" + Util.parseExpression (maxSize) + ", " + name + ");");
109 public int type (int index, String indent, TCOffsets tcoffsets, String name, SymtabEntry entry, PrintWriter stream) { argument
120 stream.println (indent + name + " = org.omg.CORBA.ORB.init ().create_recursive_tc (" + "\"\"" + ");");
127 index = ((JavaGenerator)entry.type ().generator ()).type (index + 1, indent, tcoffsets, name, entry.type (), stream);
138 helperRead(String entryName, SymtabEntry entry, PrintWriter stream) argument
142 helperWrite(SymtabEntry entry, PrintWriter stream) argument
146 read(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
224 write(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
[all...]
H A DValueGen24.java86 public void helperWrite (SymtabEntry entry, PrintWriter stream) argument
90 stream.println (" ((org.omg.CORBA_2_3.portable.OutputStream) ostream).write_value (value, id ());");
96 public void helperRead (String entryName, SymtabEntry entry, PrintWriter stream) argument
100 stream.println (" return (" + entryName + ")((org.omg.CORBA_2_3.portable.InputStream) istream).read_value (id ());");
118 stream.println (" private static String[] _truncatable_ids = {");
119 stream.print (" " + Util.helperName(v, true) + ".id ()");
127 stream.println(",");
129 stream.print(" \"" + Util.stripLeadingUnderscoresFromID (parent.repositoryID ().ID ()) + "\"");
132 stream.println();
133 stream
299 read(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
340 write(int index, String indent, String name, SymtabEntry entry, PrintWriter stream) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/
H A DInputStreamHook.java69 * Get the ObjectStreamClass that describes the fields in the stream.
79 * in this stream.
221 // is uncommented, it will throw a stream corrupted exception.
242 // RMI-IIOP stream format version 2. Please see the
258 public void beginUnmarshalCustomValue(InputStreamHook stream, argument
262 public void endUnmarshalCustomValue(InputStreamHook stream) throws IOException {} argument
263 public void beginDefaultReadObject(InputStreamHook stream) throws IOException {} argument
264 public void endDefaultReadObject(InputStreamHook stream) throws IOException {} argument
265 public void readData(InputStreamHook stream) throws IOException {} argument
287 public void beginUnmarshalCustomValue(InputStreamHook stream, argument
325 beginUnmarshalCustomValue(InputStreamHook stream, boolean calledDefaultWriteObject, boolean hasReadObject) argument
332 endDefaultReadObject(InputStreamHook stream) argument
336 readData(InputStreamHook stream) argument
343 beginUnmarshalCustomValue(InputStreamHook stream, boolean calledDefaultWriteObject, boolean hasReadObject) argument
350 beginDefaultReadObject(InputStreamHook stream) argument
357 readData(InputStreamHook stream) argument
370 beginUnmarshalCustomValue(InputStreamHook stream, boolean calledDefaultWriteObject, boolean hasReadObject) argument
377 endUnmarshalCustomValue(InputStreamHook stream) argument
391 endDefaultReadObject(InputStreamHook stream) argument
400 readData(InputStreamHook stream) argument
424 beginUnmarshalCustomValue(InputStreamHook stream, boolean calledDefaultWriteObject, boolean hasReadObject) argument
432 endUnmarshalCustomValue(InputStreamHook stream) argument
440 beginDefaultReadObject(InputStreamHook stream) argument
452 readData(InputStreamHook stream) argument
458 endUnmarshalCustomValue(InputStreamHook stream) argument
[all...]
H A DOutputStreamHook.java119 * Write the data and fields to the specified ObjectOutput stream.
126 // Write the fields to the stream in the order
164 // Return the stream format version currently being used
190 // RMI-IIOP stream format version 2. Please see the
201 public void enterWriteObject(OutputStreamHook stream) throws IOException {} argument
202 public void exitWriteObject(OutputStreamHook stream) throws IOException {} argument
203 public void defaultWriteObject(OutputStreamHook stream) throws IOException {} argument
204 public void writeData(OutputStreamHook stream) throws IOException {} argument
208 public void enterWriteObject(OutputStreamHook stream) throws IOException { argument
209 stream
220 enterWriteObject(OutputStreamHook stream) argument
225 exitWriteObject(OutputStreamHook stream) argument
240 defaultWriteObject(OutputStreamHook stream) argument
250 writeData(OutputStreamHook stream) argument
265 exitWriteObject(OutputStreamHook stream) argument
276 defaultWriteObject(OutputStreamHook stream) argument
281 writeData(OutputStreamHook stream) argument
294 exitWriteObject(OutputStreamHook stream) argument
303 defaultWriteObject(OutputStreamHook stream) argument
310 writeData(OutputStreamHook stream) argument
[all...]
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DNoop.java52 public void generate (Hashtable symbolTable, AttributeEntry entry, PrintWriter stream) argument
56 public void generate (Hashtable symbolTable, ConstEntry entry, PrintWriter stream) argument
60 public void generate (Hashtable symbolTable, EnumEntry entry, PrintWriter stream) argument
64 public void generate (Hashtable symbolTable, ExceptionEntry entry, PrintWriter stream) argument
68 public void generate (Hashtable symbolTable, ForwardEntry entry, PrintWriter stream) argument
72 public void generate (Hashtable symbolTable, ForwardValueEntry entry, PrintWriter stream) argument
76 public void generate (Hashtable symbolTable, IncludeEntry entry, PrintWriter stream) argument
80 public void generate (Hashtable symbolTable, InterfaceEntry entry, PrintWriter stream) argument
84 public void generate (Hashtable symbolTable, ValueEntry entry, PrintWriter stream) argument
88 public void generate (Hashtable symbolTable, ValueBoxEntry entry, PrintWriter stream) argument
92 generate(Hashtable symbolTable, MethodEntry entry, PrintWriter stream) argument
96 generate(Hashtable symbolTable, ModuleEntry entry, PrintWriter stream) argument
100 generate(Hashtable symbolTable, ParameterEntry entry, PrintWriter stream) argument
104 generate(Hashtable symbolTable, PragmaEntry entry, PrintWriter stream) argument
108 generate(Hashtable symbolTable, PrimitiveEntry entry, PrintWriter stream) argument
112 generate(Hashtable symbolTable, SequenceEntry entry, PrintWriter stream) argument
116 generate(Hashtable symbolTable, StringEntry entry, PrintWriter stream) argument
120 generate(Hashtable symbolTable, StructEntry entry, PrintWriter stream) argument
124 generate(Hashtable symbolTable, TypedefEntry entry, PrintWriter stream) argument
128 generate(Hashtable symbolTable, UnionEntry entry, PrintWriter stream) argument
132 generate(Hashtable symbolTable, NativeEntry entry, PrintWriter stream) argument
[all...]
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTestSerialization.java116 FileInputStream stream = null;
118 stream = new FileInputStream(new File(System.getProperty("test.src", "."), file));
120 for (int i = stream.read(); i != -1; i = stream.read())
126 if (stream != null)
127 stream.close();
132 ObjectInputStream stream = null;
134 stream = new ObjectInputStream(new FileInputStream(new File(System.getProperty("test.src", "."), file)));
135 return (PropertyChangeSupport)stream.readObject();
138 if (stream !
[all...]
/openjdk7/jdk/test/java/beans/VetoableChangeSupport/
H A DTestSerialization.java116 FileInputStream stream = null;
118 stream = new FileInputStream(new File(System.getProperty("test.src", "."), file));
120 for (int i = stream.read(); i != -1; i = stream.read())
126 if (stream != null)
127 stream.close();
132 ObjectInputStream stream = null;
134 stream = new ObjectInputStream(new FileInputStream(new File(System.getProperty("test.src", "."), file)));
135 return (VetoableChangeSupport)stream.readObject();
138 if (stream !
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DSdpSocketImpl.java40 protected void create(boolean stream) throws IOException { argument
41 if (!stream)
42 throw new UnsupportedOperationException("Must be a stream socket");
/openjdk7/jdk/src/share/classes/java/security/
H A DCertificate.java98 * Encodes the certificate to an output stream in a format that can
101 * @param stream the output stream to which to encode the
107 * @exception IOException if a stream exception occurs while
108 * trying to output the encoded certificate to the output stream.
113 public abstract void encode(OutputStream stream) argument
117 * Decodes a certificate from an input stream. The format should be
121 * @param stream the input stream from which to fetch the data
128 * the encoded certificate from the input stream
133 decode(InputStream stream) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/staxex/
H A DXMLStreamReaderEx.java28 import javax.xml.stream.XMLStreamReader;
29 import javax.xml.stream.XMLStreamException;
95 // * producing a {@link DataHandler} with "application/octet-stream"
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/server/
H A DSDDocumentFilter.java28 import javax.xml.stream.XMLStreamException;
29 import javax.xml.stream.XMLStreamWriter;
/openjdk7/jdk/test/javax/sound/midi/Gervill/AudioFloatInputStream/
H A DReset.java70 AudioFloatInputStream stream = null;
71 if(i == 0) stream = getStream1();
72 if(i == 1) stream = getStream2();
75 stream.read(buff);
76 stream.mark(512);
77 stream.read(buff);
78 stream.reset();
79 stream.read(buff2);
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DWaveFloatFileWriter.java50 public Type[] getAudioFileTypes(AudioInputStream stream) { argument
52 if (!stream.getFormat().getEncoding().equals(Encoding.PCM_FLOAT))
57 private void checkFormat(AudioFileFormat.Type type, AudioInputStream stream) { argument
61 if (!stream.getFormat().getEncoding().equals(Encoding.PCM_FLOAT))
63 + stream.getFormat() + " not supported.");
66 public void write(AudioInputStream stream, RIFFWriter writer) argument
71 AudioFormat format = stream.getFormat();
83 while ((len = stream.read(buff, 0, buff.length)) != -1)
121 public int write(AudioInputStream stream, Type fileType, OutputStream out) argument
124 checkFormat(fileType, stream);
134 write(AudioInputStream stream, Type fileType, File out) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/imageio/stream/
H A DMemoryCacheImageInputStream.java26 package javax.imageio.stream;
30 import com.sun.imageio.stream.StreamFinalizer;
48 private InputStream stream; field in class:MemoryCacheImageInputStream
62 * @param stream an <code>InputStream</code> to read from.
64 * @exception IllegalArgumentException if <code>stream</code> is
67 public MemoryCacheImageInputStream(InputStream stream) { argument
68 if (stream == null) {
69 throw new IllegalArgumentException("stream == null!");
71 this.stream = stream;
[all...]

Completed in 266 milliseconds

1234567891011>>