Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 – 10 of 10) sorted by relevance

/libcore/dalvik/src/main/java/dalvik/system/
DVMDebug.java170 …public static void startMethodTracing(String traceFileName, int bufferSize, int flags, boolean sam… in startMethodTracing() argument
171 …startMethodTracingFilename(traceFileName, checkBufferSize(bufferSize), flags, samplingEnabled, int… in startMethodTracing()
179 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, in startMethodTracing() argument
181 startMethodTracing(traceFileName, fd, bufferSize, flags, samplingEnabled, intervalUs, in startMethodTracing()
191 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, in startMethodTracing() argument
197 startMethodTracingFd(traceFileName, fd, checkBufferSize(bufferSize), flags, in startMethodTracing()
206 …public static void startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int … in startMethodTracingDdms() argument
207 startMethodTracingDdmsImpl(checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs); in startMethodTracingDdms()
210 private static int checkBufferSize(int bufferSize) { in checkBufferSize() argument
211 if (bufferSize == 0) { in checkBufferSize()
[all …]
/libcore/support/src/test/java/tests/support/
DSupport_ASimpleOutputStream.java34 public Support_ASimpleOutputStream(int bufferSize) { in Support_ASimpleOutputStream() argument
35 buf = new byte[bufferSize]; in Support_ASimpleOutputStream()
37 size = bufferSize; in Support_ASimpleOutputStream()
DSupport_ASimpleWriter.java34 public Support_ASimpleWriter(int bufferSize) { in Support_ASimpleWriter() argument
35 buf = new char[bufferSize]; in Support_ASimpleWriter()
37 size = bufferSize; in Support_ASimpleWriter()
DSupport_OutputStream.java34 public Support_OutputStream(int bufferSize) { in Support_OutputStream() argument
35 buffer = new byte[bufferSize]; in Support_OutputStream()
37 size = bufferSize; in Support_OutputStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DOutputStreamTesterTest.java158 private final int bufferSize; field in OutputStreamTesterTest.BufferedOutputStreamTester
160 private BufferedOutputStreamTester(int bufferSize) { in BufferedOutputStreamTester() argument
161 this.bufferSize = bufferSize; in BufferedOutputStreamTester()
165 return new BufferedOutputStream(delegate, bufferSize); in create()
DWriterTesterTest.java156 private final int bufferSize; field in WriterTesterTest.BufferedWriterCharSinkTester
158 private BufferedWriterCharSinkTester(int bufferSize) { in BufferedWriterCharSinkTester() argument
159 this.bufferSize = bufferSize; in BufferedWriterCharSinkTester()
164 return new BufferedWriter(delegate, bufferSize); in create()
DPipedInputStreamTest.java436 int bufferSize) throws IOException { in MockPipedInputStream() argument
437 super(src, bufferSize); in MockPipedInputStream()
440 public MockPipedInputStream(int bufferSize) { in MockPipedInputStream() argument
441 super(bufferSize); in MockPipedInputStream()
DBufferedInputStreamTest.java119 int bufferSize = INPUT.length() / 2; in test_ConstructorLjava_io_InputStreamI() local
120 is = new BufferedInputStream(isBytes, bufferSize); in test_ConstructorLjava_io_InputStreamI()
128 is.skip(bufferSize - 2); in test_ConstructorLjava_io_InputStreamI()
/libcore/benchmarks/src/benchmarks/regression/
DByteBufferBulkBenchmark.java43 @Param({"4096", "1232896"}) private int bufferSize; field in ByteBufferBulkBenchmark
70 ByteBuffer src = ByteBufferBulkBenchmark.newBuffer(aligned, srcBufferType, bufferSize); in timeByteBuffer_putByteBuffer()
71 ByteBuffer data = ByteBufferBulkBenchmark.newBuffer(aligned, dataBufferType, bufferSize); in timeByteBuffer_putByteBuffer()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp108 : env(NULL), object(object), buffer(NULL), bufferSize(-1) { in ParsingContext()
138 if (bufferSize < length) { in ensureCapacity()
151 bufferSize = length; in ensureCapacity()
161 bufferSize = -1; in freeBuffer()
180 int bufferSize; member