Searched defs:bufferSize (Results 1 - 11 of 11) sorted by relevance

/libcore/luni/src/main/java/java/util/zip/
H A DGZIPOutputStream.java71 public GZIPOutputStream(OutputStream os, int bufferSize) throws IOException { argument
72 this(os, bufferSize, true);
81 public GZIPOutputStream(OutputStream os, int bufferSize, boolean syncFlush) throws IOException { argument
82 super(os, new Deflater(Deflater.DEFAULT_COMPRESSION, true), bufferSize, syncFlush);
H A DDeflaterOutputStream.java67 public DeflaterOutputStream(OutputStream os, Deflater def, int bufferSize) { argument
68 this(os, def, bufferSize, false);
93 public DeflaterOutputStream(OutputStream os, Deflater def, int bufferSize, boolean syncFlush) { argument
100 if (bufferSize <= 0) {
101 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize);
105 buf = new byte[bufferSize];
H A DInflaterOutputStream.java69 * @param bufferSize the length in bytes of the internal buffer
71 public InflaterOutputStream(OutputStream out, Inflater inf, int bufferSize) { argument
78 if (bufferSize <= 0) {
79 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize);
82 this.buf = new byte[bufferSize];
H A DDeflaterInputStream.java71 * @param bufferSize the length in bytes of the internal buffer
73 public DeflaterInputStream(InputStream in, Deflater deflater, int bufferSize) { argument
80 if (bufferSize <= 0) {
81 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize);
84 this.buf = new byte[bufferSize];
H A DInflaterInputStream.java101 * @param bufferSize
104 public InflaterInputStream(InputStream is, Inflater inflater, int bufferSize) { argument
111 if (bufferSize <= 0) {
112 throw new IllegalArgumentException("bufferSize <= 0: " + bufferSize);
116 nativeEndBufSize = bufferSize;
118 buf = new byte[bufferSize];
/libcore/support/src/test/java/tests/support/
H A DSupport_ASimpleOutputStream.java34 public Support_ASimpleOutputStream(int bufferSize) { argument
35 buf = new byte[bufferSize];
37 size = bufferSize;
H A DSupport_ASimpleWriter.java34 public Support_ASimpleWriter(int bufferSize) { argument
35 buf = new char[bufferSize];
37 size = bufferSize;
H A DSupport_OutputStream.java34 public Support_OutputStream(int bufferSize) { argument
35 buffer = new byte[bufferSize];
37 size = bufferSize;
/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeCollation.cpp150 jint bufferSize = U_COL_SAFECLONE_BUFFERSIZE; local
151 UCollator* c = ucol_safeClone(toCollator(address), NULL, &bufferSize, &status);
H A Dorg_apache_harmony_xml_ExpatParser.cpp104 ParsingContext(jobject object) : env(NULL), object(object), buffer(NULL), bufferSize(-1) {
134 if (bufferSize < length) {
147 bufferSize = length;
157 bufferSize = -1;
176 int bufferSize; member in struct:ParsingContext
/libcore/dalvik/src/main/java/dalvik/system/
H A DVMDebug.java155 * @param bufferSize the maximum size of both files combined. If passed
160 public static void startMethodTracing(String traceFileName, int bufferSize, int flags) { argument
161 startMethodTracingFilename(traceFileName, checkBufferSize(bufferSize), flags);
169 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, int flags) { argument
173 startMethodTracingFd(traceFileName, fd, checkBufferSize(bufferSize), flags);
181 public static void startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int intervalUs) { argument
182 startMethodTracingDdmsImpl(checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs);
185 private static int checkBufferSize(int bufferSize) { argument
186 if (bufferSize == 0) {
188 bufferSize
196 startMethodTracingDdmsImpl(int bufferSize, int flags, boolean samplingEnabled, int intervalUs) argument
197 startMethodTracingFd(String traceFileName, FileDescriptor fd, int bufferSize, int flags) argument
198 startMethodTracingFilename(String traceFileName, int bufferSize, int flags) argument
[all...]

Completed in 154 milliseconds