/libcore/luni/src/main/java/java/util/zip/ |
H A D | GZIPOutputStream.java | 71 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 D | DeflaterOutputStream.java | 67 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 D | InflaterOutputStream.java | 69 * @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 D | DeflaterInputStream.java | 71 * @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 D | InflaterInputStream.java | 101 * @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 D | Support_ASimpleOutputStream.java | 34 public Support_ASimpleOutputStream(int bufferSize) { argument 35 buf = new byte[bufferSize]; 37 size = bufferSize;
|
H A D | Support_ASimpleWriter.java | 34 public Support_ASimpleWriter(int bufferSize) { argument 35 buf = new char[bufferSize]; 37 size = bufferSize;
|
H A D | Support_OutputStream.java | 34 public Support_OutputStream(int bufferSize) { argument 35 buffer = new byte[bufferSize]; 37 size = bufferSize;
|
/libcore/luni/src/main/native/ |
H A D | libcore_icu_NativeCollation.cpp | 150 jint bufferSize = U_COL_SAFECLONE_BUFFERSIZE; local 151 UCollator* c = ucol_safeClone(toCollator(address), NULL, &bufferSize, &status);
|
H A D | org_apache_harmony_xml_ExpatParser.cpp | 104 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 D | VMDebug.java | 155 * @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...] |