/libcore/dalvik/src/main/java/dalvik/system/ |
D | VMDebug.java | 192 …public static void startMethodTracing(String traceFileName, int bufferSize, int flags, boolean sam… in startMethodTracing() argument 193 …startMethodTracingFilename(traceFileName, checkBufferSize(bufferSize), flags, samplingEnabled, int… in startMethodTracing() 201 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, in startMethodTracing() argument 203 startMethodTracing(traceFileName, fd, bufferSize, flags, samplingEnabled, intervalUs, in startMethodTracing() 214 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, in startMethodTracing() argument 220 startMethodTracingFd(traceFileName, fd.getInt$(), checkBufferSize(bufferSize), flags, in startMethodTracing() 230 …public static void startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int … in startMethodTracingDdms() argument 231 startMethodTracingDdmsImpl(checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs); in startMethodTracingDdms() 234 private static int checkBufferSize(int bufferSize) { in checkBufferSize() argument 235 if (bufferSize == 0) { in checkBufferSize() [all …]
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ASimpleOutputStream.java | 34 public Support_ASimpleOutputStream(int bufferSize) { in Support_ASimpleOutputStream() argument 35 buf = new byte[bufferSize]; in Support_ASimpleOutputStream() 37 size = bufferSize; in Support_ASimpleOutputStream()
|
D | Support_ASimpleWriter.java | 34 public Support_ASimpleWriter(int bufferSize) { in Support_ASimpleWriter() argument 35 buf = new char[bufferSize]; in Support_ASimpleWriter() 37 size = bufferSize; in Support_ASimpleWriter()
|
D | Support_OutputStream.java | 34 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/ |
D | OutputStreamTesterTest.java | 158 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()
|
D | WriterTesterTest.java | 156 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()
|
D | PipedInputStreamTest.java | 436 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()
|
D | BufferedInputStreamTest.java | 119 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/ |
D | ByteBufferBulkBenchmark.java | 43 @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/test/java/libcore/java/util/zip/ |
D | AbstractZipFileTest.java | 571 int bufferSize = 128; in testReadWithOffset() local 572 byte[] readBuffer = new byte[bufferSize]; in testReadWithOffset() 579 int read = is.read(readBuffer, bufferSize - 32, 32); in testReadWithOffset() 583 for (int i = 0; i < bufferSize - 32; i++) { in testReadWithOffset() 597 int bufferSize = 128; in testReadWithOffsetInvalid() local 598 byte[] readBuffer = new byte[bufferSize]; in testReadWithOffsetInvalid() 605 is.read(readBuffer, bufferSize - 32, 33); in testReadWithOffsetInvalid() 617 is.read(readBuffer, bufferSize, 1); in testReadWithOffsetInvalid()
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 109 : env(NULL), object(object), buffer(NULL), bufferSize(-1) { in ParsingContext() 139 if (bufferSize < length) { in ensureCapacity() 152 bufferSize = length; in ensureCapacity() 162 bufferSize = -1; in freeBuffer() 181 int bufferSize; member
|