Searched refs:newBuffer (Results 1 – 5 of 5) sorted by relevance
/libcore/benchmarks/src/benchmarks/regression/ |
D | ByteBufferBenchmark.java | 51 …public static ByteBuffer newBuffer(MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType… in newBuffer() method in ByteBufferBenchmark 85 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte() 95 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray() 106 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte_indexed() 116 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar() 126 … CharBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asCharBuffer(); in timeCharBuffer_getCharArray() 137 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar_indexed() 147 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getDouble() 157 … DoubleBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType).asDoubleBuffer(); in timeDoubleBuffer_getDoubleArray() 168 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getFloat() [all …]
|
D | ByteBufferBulkBenchmark.java | 45 …public static ByteBuffer newBuffer(boolean aligned, MyBufferType bufferType, int bsize) throws IOE… in newBuffer() method in ByteBufferBulkBenchmark 70 ByteBuffer src = ByteBufferBulkBenchmark.newBuffer(aligned, srcBufferType, bufferSize); in timeByteBuffer_putByteBuffer() 71 ByteBuffer data = ByteBufferBulkBenchmark.newBuffer(aligned, dataBufferType, bufferSize); in timeByteBuffer_putByteBuffer()
|
D | ByteBufferScalarVersusVectorBenchmark.java | 28 ByteBuffer src = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy() 29 ByteBuffer dst = ByteBufferBenchmark.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixNativeDispatcher.java | 124 NativeBuffer newBuffer = copyToNativeBuffer(newfile); in link() local 126 link0(existingBuffer.address(), newBuffer.address()); in link() 128 newBuffer.release(); in link()
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 2162 private void pushContentSource(char[] newBuffer) { in pushContentSource() argument 2164 buffer = newBuffer; in pushContentSource() 2166 limit = newBuffer.length; in pushContentSource()
|