/libcore/dalvik/src/main/java/dalvik/system/ |
D | VMDebug.java | 170 …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/ |
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/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 108 : 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
|