/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteSourceTester.java | 111 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenStream() 112 assertExpectedBytes(readBytes); in testOpenStream() 121 byte[] readBytes = ByteStreams.toByteArray(in); in testOpenBufferedStream() 122 assertExpectedBytes(readBytes); in testOpenBufferedStream() 129 byte[] readBytes = source.read(); in testRead() 130 assertExpectedBytes(readBytes); in testRead() 170 byte[] readBytes = source.read(new ByteProcessor<byte[]>() { in testRead_usingByteProcessor() 185 assertExpectedBytes(readBytes); in testRead_usingByteProcessor() 207 private void assertExpectedBytes(byte[] readBytes) { in assertExpectedBytes() argument 208 assertArrayEquals(expected, readBytes); in assertExpectedBytes()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/xml/ |
D | XmlMessageWrapper.java | 132 String receiverId = new String(readBytes(stream, in fromInputStream() 136 byte[] payloadLenBytes = readBytes(stream, HEADER_FIELD_PAYLOAD_LENGTH); in fromInputStream() 139 int protocolVersion = shortBigEndianBytesToInt(readBytes(stream, in fromInputStream() 142 byte createorId = readBytes(stream, 1)[0]; in fromInputStream() 143 byte[] padding = readBytes(stream, HEADER_FIELD_PADDING_LENGTH); in fromInputStream() 144 byte[] payload = readBytes(stream, (int)payloadLen); in fromInputStream() 247 private static byte[] readBytes(InputStream stream, int numBytes) in readBytes() method in XmlMessageWrapper
|
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/core/util/ |
D | 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) }
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | StreamReader.cpp | 27 Error StreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { in readBytes() function in StreamReader 28 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) in readBytes() 66 if (auto EC = readBytes(Data, Length)) in readZeroString() 77 if (auto EC = readBytes(Bytes, Length)) in readFixedString()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/core/util/ |
D | IoUtilTest.groovy | 36 * Test the readBytes() method 41 assert IoUtil.readBytes(input) == BYTES 45 * Test the readBytes() method, passing in a null 48 shouldFailWithMessageContaining("input") { IoUtil.readBytes(null) }
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
D | TargetLoader.java | 61 return readBytes(getClassData(loader, name)); in getClassDataAsBytes() 65 return readBytes(getClassData(clazz)); in getClassDataAsBytes() 68 private static byte[] readBytes(InputStream in) throws IOException { in readBytes() method in TargetLoader
|
/external/llvm/unittests/DebugInfo/PDB/ |
D | MappedBlockStreamTest.cpp | 100 EXPECT_ERROR(SR.readBytes(0U, 1U, Buffer)); in TEST() 102 EXPECT_ERROR(SR.readBytes(1U, 1U, Buffer)); in TEST() 261 EXPECT_NO_ERROR(S.readBytes(0, 1, Buffer)); in TEST() 263 EXPECT_NO_ERROR(S.readBytes(9, 1, Buffer)); in TEST() 269 EXPECT_NO_ERROR(S.readBytes(0, 1, Buffer)); in TEST() 271 EXPECT_NO_ERROR(S.readBytes(9, 1, Buffer)); in TEST() 277 EXPECT_NO_ERROR(S.readBytes(0, 1, Buffer)); in TEST() 279 EXPECT_NO_ERROR(S.readBytes(9, 1, Buffer)); in TEST() 298 EXPECT_NO_ERROR(S.readBytes(0, 8, Buffer)); in TEST()
|
/external/parameter-framework/upstream/test/functional-tests/ |
D | Handle.cpp | 318 static Bytes readBytes(const string &strBytes) in readBytes() function 451 CHECK(showBytes(readBytes(testBasicSettingsBytes)) == testBasicSettingsBytes); 468 REQUIRE_NOTHROW(root.setAsBytes(readBytes(rootTestSettings))); 483 REQUIRE_NOTHROW(basicParams.setAsBytes(readBytes(testBasicSettingsBytes))); 496 REQUIRE_NOTHROW(elem0.setAsBytes(readBytes(testBasicSettingsBytes))); 511 REQUIRE_NOTHROW(root.setAsBytes(readBytes(rootBytesSettings))); 532 REQUIRE_NOTHROW(basicParams.setAsBytes(readBytes(testBasicSettingsBytes)));
|
/external/llvm/lib/Support/ |
D | StreamingMemoryObject.cpp | 28 uint64_t readBytes(uint8_t *Buf, uint64_t Size, 49 uint64_t RawMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, in readBytes() function in __anond3d072b70111::RawMemoryObject 87 uint64_t StreamingMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, in readBytes() function in llvm::StreamingMemoryObject
|
/external/swiftshader/third_party/subzero/pnacl-llvm/ |
D | StreamingMemoryObject.cpp | 28 uint64_t readBytes(uint8_t *Buf, uint64_t Size, 49 uint64_t RawMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, in readBytes() function in __anondc9f7fc50111::RawMemoryObject 87 uint64_t StreamingMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, in readBytes() function in llvm::StreamingMemoryObject
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | StreamReader.h | 32 Error readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size); 50 if (auto EC = readBytes(Buffer, sizeof(T))) in readObject() 67 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) in readArray()
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | MappedBlockStream.h | 32 Error readBytes(uint32_t Offset, uint32_t Size, 53 Error readBytes(uint32_t Offset, MutableArrayRef<uint8_t> Buffer) const;
|
/external/llvm/unittests/Support/ |
D | StreamingMemoryObjectTest.cpp | 52 EXPECT_EQ(16u, O.readBytes(Buf, 16, 0)); in TEST() 54 EXPECT_EQ(8u, O.readBytes(Buf, 16, 16)); in TEST()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | RPCChannel.h | 36 virtual Error readBytes(char *Dst, unsigned Size) = 0; 126 if (auto Err = C.readBytes(reinterpret_cast<char *>(&V), sizeof(T))) in deserialize() 158 if (auto Err = C.readBytes(reinterpret_cast<char *>(&VN), 1)) in deserialize() 185 return C.readBytes(&S[0], Count); in deserialize()
|