/libcore/luni/src/main/java/java/nio/ |
NioUtils.java | 29 public final class NioUtils { 30 private NioUtils() {
|
IoVec.java | 63 ioBuffers[i] = NioUtils.unsafeArray(b); 64 offsets[i] = NioUtils.unsafeArrayOffset(b) + b.position();
|
ByteBuffer.java | 790 Object srcObject = src.isDirect() ? src : NioUtils.unsafeArray(src); 793 srcOffset += NioUtils.unsafeArrayOffset(src); 797 Object dstObject = dst.isDirect() ? dst : NioUtils.unsafeArray(dst); 800 dstOffset += NioUtils.unsafeArrayOffset(dst); [all...] |
FileChannelImpl.java | 392 NioUtils.freeDirectBuffer(buffer); 449 NioUtils.freeDirectBuffer(buffer);
|
/libcore/luni/src/main/java/java/io/ |
FileOutputStream.java | 21 import java.nio.NioUtils; 104 this.channel = NioUtils.newFileChannel(this, fd, mode); 171 channel = NioUtils.newFileChannel(this, fd, mode);
|
FileInputStream.java | 24 import java.nio.NioUtils; 159 channel = NioUtils.newFileChannel(this, fd, O_RDONLY);
|
RandomAccessFile.java | 25 import java.nio.NioUtils; 195 channel = NioUtils.newFileChannel(this, fd, mode);
|
/libcore/luni/src/main/java/libcore/io/ |
Posix.java | 42 import java.nio.NioUtils; 125 bytesRead = preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining(), offset); 143 bytesWritten = pwriteBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining(), offset); 161 bytesRead = readBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining()); 181 bytesReceived = recvfromBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining(), flags, srcAddress); 203 bytesSent = sendtoBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + position, buffer.remaining(), flags, ine (…) [all...] |
MemoryMappedFile.java | 25 import java.nio.NioUtils;
|
/frameworks/base/media/java/android/media/ |
ImageReader.java | 31 import java.nio.NioUtils; 819 NioUtils.freeDirectBuffer(mBuffer);
|
ImageWriter.java | 29 import java.nio.NioUtils; 771 NioUtils.freeDirectBuffer(mBuffer);
|
AudioTrack.java | 25 import java.nio.NioUtils; [all...] |
MediaCodec.java | [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
BufferTest.java | 35 import java.nio.NioUtils; [all...] |