Searched defs:stream (Results 1 - 25 of 32) sorted by relevance

12

/glassfish-3.1.2/installer/src/cpp/share/launcher/zlib-1.1.4/
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 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 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/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
/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/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/admin/config-api/src/main/java/org/glassfish/config/support/
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
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/readers/
H A DJsonHashMapProvider.java112 public static String inputStreamAsString(InputStream stream) throws IOException { argument
113 BufferedReader br = new BufferedReader(new InputStreamReader(stream));
H A DJsonParameterMapProvider.java109 public static String inputStreamAsString(InputStream stream) throws IOException { argument
110 BufferedReader br = new BufferedReader(new InputStreamReader(stream));
/glassfish-3.1.2/common/container-common/src/main/java/com/sun/enterprise/container/common/impl/
H A DEntityManagerFactoryWrapper.java245 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { argument
246 stream.defaultReadObject();
H A DEntityManagerWrapper.java1083 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { argument
1084 stream.defaultReadObject();
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/
H A DCommands.java157 // can come from more than one stream, only want to output once
204 * Class used to read process output stream and
232 public StreamWatcher(InputStream stream, String name) { argument
234 reader = new BufferedReader(new InputStreamReader(stream));
/glassfish-3.1.2/web/web-ha/src/main/java/org/glassfish/web/ha/session/management/
H A DBaseHASession.java185 * object input stream.
190 * @param stream The input stream to read from
195 private void readObject(ObjectInputStream stream) argument
199 userName = (String) stream.readObject();
204 * object output stream.
217 * @param stream The output stream to write to
221 private void writeObject(ObjectOutputStream stream) throws IOException { argument
224 stream
[all...]
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/conf/
H A DDomainManager.java320 public StreamWatcher(InputStream stream, String name) { argument
322 reader = new BufferedReader(new InputStreamReader(stream));
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/util/
H A DDumpMapping.java70 * @param stream PrintStream used to dump the info
72 public static void dumpMappingCache (PrintStream stream) argument
74 stream.println("Mapping cache (class names -> MappingClassElements)"); // NOI18N
83 stream.println("\t" + className + " ->\t" + mceRepr); //NOI18N
88 * @param stream PrintStream used to dump the info
90 public static void dumpClassLoaderCache (PrintStream stream) argument
92 stream.println("ClassLoader cache (class names -> ClassLoaders)"); //NOI18N
99 stream.println("\t" + className + " ->\t" + classLoader); //NOI18N
/glassfish-3.1.2/tests/quicklook/utils/src/com/sun/appserv/test/util/process/
H A DProcessManager.java181 private void readStream(String name, InputStream stream, StringBuffer sb) { argument
182 BufferedReader reader = new BufferedReader(new InputStreamReader(stream));
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DResponse.java99 * Return the number of bytes actually written to the output stream.
178 * Return the output stream associated with this Response.
184 * Set the output stream associated with this Response.
186 * @param stream The new output stream
188 public void setStream(OutputStream stream); argument
249 * stream or writer, in a single operation.
271 * regardless of whether a stream or writer has already been acquired.
276 * (and only in that case), null will be returned if the response stream
H A DRequest.java210 * Return the input stream associated with this Request.
216 * Set the input stream associated with this Request.
218 * @param stream The new input stream
220 public void setStream(InputStream stream); argument
253 * stream or reader, in a single operation.
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/
H A DRequestItemIterator.java108 // The file items input stream.
109 private InputStream stream; field in class:RequestItemIterator.RequestItemImpl
134 stream = multiStream.newInputStream();
146 stream = new LimitedInputStream(stream, fileSizeMax) {
194 * Returns an input stream, which may be used to
196 * @return Opened input stream.
200 return stream;
208 stream.close();
242 // The multi part stream t
[all...]
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/process/
H A DProcessManager.java191 private void readStream(String name, InputStream stream, StringBuffer sb) { argument
192 BufferedReader reader = new BufferedReader(new InputStreamReader(stream));
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/
H A DRepositoryManager.java54 import javax.xml.transform.stream.StreamResult;
350 * @param stream the OutputStream to which to write the XML
353 void write(Node node, OutputStream stream) throws RegistrationException { argument
355 transformer.transform(new DOMSource(node), new StreamResult(stream));
362 * Writes the cached document to the provided output stream
366 * @param stream the OutputStream to which to write the document
369 void write(OutputStream stream) throws RegistrationException { argument
370 write(document, stream);
/glassfish-3.1.2/security/webintegration/src/main/java/com/sun/web/security/
H A DHttpResponseWrapper.java158 public void setStream(OutputStream stream) { argument
159 httpResponse.setStream(stream);
H A DHttpRequestWrapper.java245 public void setStream(InputStream stream) { argument
246 httpRequest.setStream(stream);
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DDummyResponse.java105 public void setStream(OutputStream stream) {} argument
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/
H A DModel.java210 /** Returns the input stream with the supplied resource name found with
216 * @return the input stream for the specified resource, <code>null</code>
351 InputStream stream = getInputStreamForResource(className,
354 if (stream != null)
359 if (stream.available() > 0)
361 XMLInputStream xmlInput = new XMLInputStream(stream,
387 // stream is null, mapping file does not exist =>
506 OutputStream stream = ((className == null) ? null :
510 storeMappingClass(mappingClass, stream);
515 * specified output stream
522 storeMappingClass(MappingClassElement mappingClass, OutputStream stream) argument
564 unlockFile(OutputStream stream, String className) argument
[all...]

Completed in 4013 milliseconds

12