/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
IoUtilTest.groovy | 30 * Test the readBytes() method
35 assert IoUtil.readBytes(input) == BYTES
39 * Test the readBytes() method, passing in a null
42 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_byte_stream.h | 51 u32 *readBytes);
|
h264bsd_byte_stream.c | 72 readBytes number of bytes "consumed" from the stream buffer 81 u32 *readBytes) 118 *readBytes = len; 185 *readBytes = pStrmData->strmBuffSize + initByteCount + zeroCount;
|
/frameworks/av/drm/common/include/ |
ReadWriteUtils.h | 48 static String8 readBytes(const String8& filePath); 56 static int readBytes(const String8& filePath, char** buffer);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPipedStreamTest.java | 121 byte readBytes[] = new byte[5]; 127 ret = in.read(readBytes, nread, readBytes.length - nread); 137 int readInt = (((int) readBytes[0] & 0xff) << 24) 138 | (((int) readBytes[1] & 0xff) << 16) 139 | (((int) readBytes[2] & 0xff) << 8) 140 | (((int) readBytes[3] & 0xff)); 144 assertEquals("Error at " + countRead, 0, readBytes[4]); 196 final byte readBytes[] = new byte[1024 * 2]; 209 while (nread < readBytes.length) [all...] |
/external/llvm/include/llvm/Support/ |
MemoryObject.h | 19 /// when the request is made. This just means that readByte/readBytes might have 26 /// of the stream. Finally, getPointer can be used instead of readBytes to avoid 47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size, 51 /// More efficient than using readBytes if the data is already in memory. May
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
MemoryObject.h | 47 /// readBytes - Tries to read a contiguous range of bytes from the 61 virtual int readBytes(uint64_t address,
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
MemoryObject.h | 19 /// when the request is made. This just means that readByte/readBytes might have 26 /// of the stream. Finally, getPointer can be used instead of readBytes to avoid 47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size, 51 /// More efficient than using readBytes if the data is already in memory. May
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Support/ |
MemoryObject.h | 19 /// when the request is made. This just means that readByte/readBytes might have 26 /// of the stream. Finally, getPointer can be used instead of readBytes to avoid 47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size, 51 /// More efficient than using readBytes if the data is already in memory. May
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
StreamInterface.h | 34 virtual Error readBytes(uint32_t Offset, uint32_t Size,
|
ByteStream.h | 34 Error readBytes(uint32_t Offset, uint32_t Size,
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
IoUtil.java | 38 public static byte[] readBytes(InputStream input) throws IOException {
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
MemoryObject.cpp | 16 int MemoryObject::readBytes(uint64_t address,
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
XmlMessageWrapper.java | 132 String receiverId = new String(readBytes(stream, 136 byte[] payloadLenBytes = readBytes(stream, HEADER_FIELD_PAYLOAD_LENGTH); 139 int protocolVersion = shortBigEndianBytesToInt(readBytes(stream, 142 byte createorId = readBytes(stream, 1)[0]; 143 byte[] padding = readBytes(stream, HEADER_FIELD_PADDING_LENGTH); 144 byte[] payload = readBytes(stream, (int)payloadLen); 247 private static byte[] readBytes(InputStream stream, int numBytes)
|
/external/guava/guava-tests/test/com/google/common/io/ |
ByteSourceTester.java | 111 byte[] readBytes = ByteStreams.toByteArray(in); 112 assertExpectedBytes(readBytes); 121 byte[] readBytes = ByteStreams.toByteArray(in); 122 assertExpectedBytes(readBytes); 129 byte[] readBytes = source.read(); 130 assertExpectedBytes(readBytes); 170 byte[] readBytes = source.read(new ByteProcessor<byte[]>() { 185 assertExpectedBytes(readBytes); 207 private void assertExpectedBytes(byte[] readBytes) { 208 assertArrayEquals(expected, readBytes); [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
TargetLoader.java | 61 return readBytes(getClassData(loader, name)); 65 return readBytes(getClassData(clazz)); 68 private static byte[] readBytes(InputStream in) throws IOException {
|
/external/llvm/lib/DebugInfo/CodeView/ |
StreamReader.cpp | 27 Error StreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { 28 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) 66 if (auto EC = readBytes(Data, Length)) 77 if (auto EC = readBytes(Bytes, Length))
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
MappedBlockStream.h | 32 Error readBytes(uint32_t Offset, uint32_t Size, 53 Error readBytes(uint32_t Offset, MutableArrayRef<uint8_t> Buffer) const;
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
BinaryDictOffdeviceUtils.java | 197 int readBytes = 0; 199 while (readBytes != outBuffer.length) { 200 readBytesLastCycle = inputStream.read(outBuffer, readBytes, 201 outBuffer.length - readBytes); 204 + " (expected " + outBuffer.length + ", read " + readBytes + ")"); 205 readBytes += readBytesLastCycle; 211 for (int readBytes = input.read(buffer); readBytes >= 0; readBytes = input.read(buffer)) { 212 output.write(buffer, 0, readBytes); [all...] |
/prebuilts/tools/common/m2/repository/io/netty/netty-buffer/4.1.0.CR3/ |
netty-buffer-4.1.0.CR3.jar | |
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 118 mMemoryFile.readBytes(gotData, 0, 0, gotData.length); 140 mMemoryFile.readBytes(data, srcOffset, destOffset, count); 157 mMemoryFile.readBytes(data, 0, 0, 128);
|
/frameworks/base/drm/java/android/drm/ |
DrmUtils.java | 39 /* package */ static byte[] readBytes(String path) throws IOException { 41 return readBytes(file); 45 /* package */ static byte[] readBytes(File file) throws IOException {
|
/frameworks/av/drm/common/ |
DrmRights.cpp | 30 rightsLength = ReadWriteUtils::readBytes(rightsFilePath, &mRightsFromFile);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
BinaryStream.h | 37 virtual Error readBytes(uint32_t Offset, uint32_t Size,
|
BinaryStreamReader.h | 52 Error readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size); 66 if (auto EC = readBytes(Bytes, sizeof(T))) 129 if (auto EC = readBytes(Buffer, sizeof(T))) 156 if (auto EC = readBytes(Bytes, NumElements * sizeof(T)))
|