/libcore/dalvik/src/main/java/dalvik/system/ |
D | VMDebug.java | 259 …public static void startMethodTracing(String traceFileName, int bufferSize, int flags, boolean sam… in startMethodTracing() argument 260 …startMethodTracingFilename(traceFileName, checkBufferSize(bufferSize), flags, samplingEnabled, int… in startMethodTracing() 285 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, in startMethodTracing() argument 291 startMethodTracingFd(traceFileName, fd.getInt$(), checkBufferSize(bufferSize), flags, in startMethodTracing() 312 …public static void startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int … in startMethodTracingDdms() argument 313 startMethodTracingDdmsImpl(checkBufferSize(bufferSize), flags, samplingEnabled, intervalUs); in startMethodTracingDdms() 316 private static int checkBufferSize(int bufferSize) { in checkBufferSize() argument 317 if (bufferSize == 0) { in checkBufferSize() 319 bufferSize = 8 * 1024 * 1024; in checkBufferSize() 321 if (bufferSize < 1024) { 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/annotations/flagged_api/dalvik/system/ |
D | VMDebug.annotated.java | 35 public static void startMethodTracing(String traceFileName, int bufferSize, int flags, boolean samp… in startMethodTracing() argument 37 public static void startMethodTracing(String traceFileName, FileDescriptor fd, int bufferSize, int … in startMethodTracing() argument 39 public static void startMethodTracingDdms(int bufferSize, int flags, boolean samplingEnabled, int i… in startMethodTracingDdms() argument
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | AbstractZipFileTest.java | 525 int bufferSize = 128; in testReadWithOffset() local 526 byte[] readBuffer = new byte[bufferSize]; in testReadWithOffset() 533 int read = is.read(readBuffer, bufferSize - 32, 32); in testReadWithOffset() 537 for (int i = 0; i < bufferSize - 32; i++) { in testReadWithOffset() 551 int bufferSize = 128; in testReadWithOffsetInvalid() local 552 byte[] readBuffer = new byte[bufferSize]; in testReadWithOffsetInvalid() 559 is.read(readBuffer, bufferSize - 32, 33); in testReadWithOffsetInvalid() 571 is.read(readBuffer, bufferSize, 1); in testReadWithOffsetInvalid()
|
/libcore/ojluni/src/test/java/io/FileReader/ |
D | ConstructorTest.java | 94 public String readAll(Reader reader, int bufferSize) throws IOException { in readAll() argument 96 char[] buf = new char[bufferSize]; in readAll()
|
/libcore/ojluni/src/test/java/io/FileWriter/ |
D | ConstructorTest.java | 100 public String readAll(Reader reader, int bufferSize) throws IOException { in readAll() argument 102 char[] buf = new char[bufferSize]; in readAll()
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 110 : env(NULL), object(object), buffer(NULL), bufferSize(-1) { in ParsingContext() 140 if (bufferSize < length) { in ensureCapacity() 153 bufferSize = length; in ensureCapacity() 163 bufferSize = -1; in freeBuffer() 182 int bufferSize; member
|
D | libcore_io_Linux.cpp | 840 long bufferSize = sysconf(_SC_GETPW_R_SIZE_MAX); in Passwd() local 841 if (bufferSize > 0) { in Passwd() 842 mBufferSize = bufferSize; in Passwd()
|