Searched refs:stream (Results 1 - 25 of 122) sorted by relevance

12345

/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
H A Duncompr.c31 z_stream stream; local
34 stream.next_in = (Bytef*)source;
35 stream.avail_in = (uInt)sourceLen;
37 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
39 stream.next_out = dest;
40 stream.avail_out = (uInt)*destLen;
41 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
43 stream.zalloc = (alloc_func)0;
44 stream.zfree = (free_func)0;
46 err = inflateInit(&stream);
[all...]
H A Dcompress.c27 z_stream stream; local
30 stream.next_in = (Bytef*)source;
31 stream.avail_in = (uInt)sourceLen;
34 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
36 stream.next_out = dest;
37 stream.avail_out = (uInt)*destLen;
38 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
40 stream.zalloc = (alloc_func)0;
41 stream.zfree = (free_func)0;
42 stream
[all...]
H A Dgzio.c40 z_stream stream; member in struct:gz_stream
41 int z_err; /* error code for last stream operation */
90 s->stream.zalloc = (alloc_func)0;
91 s->stream.zfree = (free_func)0;
92 s->stream.opaque = (voidpf)0;
93 s->stream.next_in = s->inbuf = Z_NULL;
94 s->stream.next_out = s->outbuf = Z_NULL;
95 s->stream.avail_in = s->stream.avail_out = 0;
129 err = deflateInit2(&(s->stream), leve
[all...]
/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DDasReaderFilter.java44 import javax.xml.stream.XMLInputFactory;
45 import javax.xml.stream.XMLStreamException;
H A DServerReaderFilter.java48 import javax.xml.stream.*;
61 stream = domainXml.openStream();
62 setParent(xif.createXMLStreamReader(stream, Charset.defaultCharset().toString()));
73 stream.close();
89 final InputStream stream; field in class:ServerReaderFilter
H A DConfigurationPersistence.java46 import javax.xml.stream.XMLStreamException;
H A DXMLStreamReaderFilter.java43 import javax.xml.stream.XMLStreamConstants;
44 import javax.xml.stream.XMLStreamException;
45 import javax.xml.stream.XMLStreamReader;
46 import javax.xml.stream.events.XMLEvent;
47 import javax.xml.stream.util.StreamReaderDelegate;
H A DInstanceReaderFilter.java52 import javax.xml.stream.XMLInputFactory;
53 import static javax.xml.stream.XMLStreamConstants.START_ELEMENT;
54 import javax.xml.stream.XMLStreamException;
55 import javax.xml.stream.XMLStreamReader;
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DEmbeddedSecurity.java49 import javax.xml.stream.XMLInputFactory;
50 import javax.xml.stream.XMLStreamException;
51 import javax.xml.stream.XMLStreamReader;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/
H A DCustomObjectInputStream.java89 * @param stream The input stream we will read from
94 public CustomObjectInputStream(InputStream stream, argument
98 super(stream);
104 * Load the local class equivalent of the specified stream class
107 * @param classDesc Class description from the input stream
H A DCharsetMapper.java129 InputStream stream =
131 map.load(stream);
132 stream.close();
/glassfish-3.1.2/build/maven-glassfishbuild-plugin/src/main/java/com/sun/enterprise/build/
H A DSetPropertiesMojo.java104 FileInputStream stream = new FileInputStream(file);
108 projectProperties.load(stream);
110 if (stream != null) {
111 stream.close();
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/
H A DSaxParserHandlerBundled.java107 *Attempt to open a stream to the requested resource as a schema.
171 InputStream stream;
173 stream = url != null ? url.openStream() : null;
175 stream = null;
178 if (stream != null) {
179 source = new InputSource(stream);
/glassfish-3.1.2/extras/embedded/common/instanceroot-builder/src/main/java/org/glassfish/uberjar/builder/instanceroot/
H A DInstanceRootBuilderUtil.java89 public static void copy(InputStream stream, String destDir, String path) { argument
90 copy(stream, destDir, path, false);
93 public static void copy(InputStream stream, String destDir, String path, boolean overwrite) { argument
95 if (stream != null) {
104 while ((count = stream.read(data)) != -1) {
113 stream.close();
/glassfish-3.1.2/jbi/serviceengine/sun-javaee-engine/src/main/java/com/sun/enterprise/jbi/serviceengine/util/
H A DJBIConstants.java52 import javax.xml.stream.XMLInputFactory;
53 import javax.xml.stream.XMLOutputFactory;
H A DUtil.java46 import javax.xml.stream.XMLInputFactory;
47 import javax.xml.stream.XMLOutputFactory;
/glassfish-3.1.2/extras/embedded/common/installroot-builder/src/main/java/org/glassfish/uberjar/builder/installroot/
H A DInstallRootBuilderUtil.java83 public static void copy(InputStream stream, String destDir, String path) { argument
84 if (stream != null) {
93 while ((count = stream.read(data)) != -1) {
102 stream.close();
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/modules/
H A DMbeansDescriptorsSerSource.java117 InputStream stream=null;
119 stream=((URL)source).openStream();
122 stream=(InputStream)source;
124 if( stream==null ) {
127 ObjectInputStream ois=new ObjectInputStream(stream);
/glassfish-3.1.2/deployment/common/src/main/java/com/sun/enterprise/deploy/shared/
H A DAbstractArchiveHandler.java57 import javax.xml.stream.XMLInputFactory;
58 import javax.xml.stream.XMLStreamException;
59 import javax.xml.stream.XMLResolver;
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DConfigPersistence.java45 import javax.xml.stream.XMLStreamException;
46 import javax.xml.stream.XMLOutputFactory;
47 import javax.xml.stream.XMLStreamWriter;
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/session/
H A DStandardSession.java1822 * object input stream.
1827 * @param stream The input stream to read from
1832 private void readObject(ObjectInputStream stream) argument
1846 * The stream starts with a Long, which indicates the session's
1850 Object obj = stream.readObject();
1854 creationTime = ((Long) stream.readObject()).longValue();
1859 readRemainingObject(stream);
1864 * stream (in writeObject), and must be read back in HERE, i.e.,
1869 sipAppSessionId = (String) stream
1899 readRemainingObject(ObjectInputStream stream) argument
1982 writeObject(ObjectOutputStream stream) argument
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/xml/
H A DXmlParserHelper.java43 import javax.xml.stream.*;
63 * Closes the parser and the stream
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/xml/
H A DStaxParser.java52 import javax.xml.stream.*;
53 import static javax.xml.stream.XMLStreamConstants.END_DOCUMENT;
54 import static javax.xml.stream.XMLStreamConstants.END_ELEMENT;
55 import static javax.xml.stream.XMLStreamConstants.START_ELEMENT;
103 * @throws javax.xml.stream.XMLStreamException
/glassfish-3.1.2/common/internal-api/src/main/java/org/glassfish/internal/deployment/
H A DGenericSniffer.java47 import javax.xml.stream.XMLEventReader;
48 import javax.xml.stream.XMLInputFactory;
49 import javax.xml.stream.XMLStreamException;
50 import javax.xml.stream.events.XMLEvent;
65 import javax.xml.stream.events.StartDocument;
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DRejar.java118 ByteArrayOutputStream stream = metadata.get(je.getName());
119 if (stream==null) {
120 metadata.put(je.getName(), stream = new ByteArrayOutputStream());
122 stream.write(("# from "+ module.getName() + "\n").getBytes());
123 copy(in, je, stream);

Completed in 2218 milliseconds

12345