/external/google-breakpad/src/common/mac/ |
D | macho_walker.cc | 103 bool MachoWalker::ReadBytes(void *buffer, size_t size, off_t offset) { in ReadBytes() function in MacFileUtilities::MachoWalker 136 if (!ReadBytes(&magic, sizeof(magic), 0)) in FindHeader() 155 if (!ReadBytes(&header, sizeof(header), 0)) in FindHeader() 173 if (!ReadBytes(&fat, sizeof(fat), offset)) in FindHeader() 184 if (!ReadBytes(&arch, sizeof(arch), offset)) in FindHeader() 206 if (!ReadBytes(&header, sizeof(header), offset)) in WalkHeaderAtOffset() 232 if (!ReadBytes(&header, sizeof(header), offset)) in WalkHeader64AtOffset() 254 if (!ReadBytes(&cmd, sizeof(cmd), offset)) in WalkHeaderCore()
|
D | macho_id.cc | 148 if (!walker->ReadBytes(buffer, buffer_size, file_offset)) in Update() 260 if (!walker->ReadBytes(&seg, sizeof(seg), offset)) in WalkerCB() 277 if (!walker->ReadBytes(&sec, sizeof(sec), offset)) in WalkerCB() 293 if (!walker->ReadBytes(&seg64, sizeof(seg64), offset)) in WalkerCB() 310 if (!walker->ReadBytes(&sec64, sizeof(sec64), offset)) in WalkerCB() 338 if (!walker->ReadBytes(uuid_cmd, sizeof(struct breakpad_uuid_command), in UUIDWalkerCB() 358 if (!walker->ReadBytes(dylib_cmd, sizeof(struct dylib_command), offset)) in IDWalkerCB()
|
D | macho_walker.h | 70 bool ReadBytes(void *buffer, size_t size, off_t offset);
|
/external/tpm2/ |
D | TcpServer.c | 15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes); 100 ok = ReadBytes(s, (char*) &Command, 4); in PlatformServer() 319 ReadBytes( in ReadBytes() function 409 res = ReadBytes(s, (char*) &length, 4); in ReadVarBytes() 419 res = ReadBytes(s, buffer, length); in ReadVarBytes() 466 ok = ReadBytes(s, (char*) &Command, 4); in TpmServer() 489 ok = ReadBytes(s, (char*) &locality, 1); in TpmServer() 524 ok = ReadBytes(s, (char*)&clientVersion, 4); in TpmServer() 537 ok = ReadBytes(s, (char*)&result, 4); in TpmServer()
|
/external/webrtc/webrtc/base/ |
D | bytebuffer.cc | 72 return ReadBytes(reinterpret_cast<char*>(val), 1); in ReadUInt8() 79 if (!ReadBytes(reinterpret_cast<char*>(&v), 2)) { in ReadUInt16() 96 if (!ReadBytes(read_into, 3)) { in ReadUInt24() 108 if (!ReadBytes(reinterpret_cast<char*>(&v), 4)) { in ReadUInt32() 120 if (!ReadBytes(reinterpret_cast<char*>(&v), 8)) { in ReadUInt64() 140 bool ByteBuffer::ReadBytes(char* val, size_t len) { in ReadBytes() function in rtc::ByteBuffer
|
D | bytebuffer_unittest.cc | 176 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); in TEST() 186 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); in TEST()
|
D | bytebuffer.h | 55 bool ReadBytes(char* val, size_t len);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | MemoryBuffer.cpp | 362 ssize_t ReadBytes; in getSTDIN() local 366 ReadBytes = read(0, Buffer.end(), ChunkSize); in getSTDIN() 367 if (ReadBytes == -1) { in getSTDIN() 371 Buffer.set_size(Buffer.size() + ReadBytes); in getSTDIN() 372 } while (ReadBytes != 0); in getSTDIN()
|
/external/sfntly/cpp/src/test/ |
D | font_parsing_test.cc | 67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing() 93 wfd1->ReadBytes(0, &(b1[0]), 0, TTF_LENGTH[i]); in TestFontParsing() 94 wfd2->ReadBytes(0, &(b2[0]), 0, TTF_LENGTH[i]); in TestFontParsing()
|
D | font_data_test.cc | 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); in ReadFontDataWithBuffer() 173 rfd->ReadBytes(index, &((*b)[0]), index, actual_window_size); in ReadFontDataWithSlidingWindow() 192 int32_t bytesRead = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); in WriteFontDataWithBuffer() 205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); in WriteFontDataWithSlidingWindow()
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 451 if (!minidump_->ReadBytes(context_amd64.get(), in Read() 553 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) { in Read() 587 if (!minidump_->ReadBytes(context_after_flags, in Read() 650 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) { in Read() 684 if (!minidump_->ReadBytes(context_after_flags, in Read() 730 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) { in Read() 781 if (!minidump_->ReadBytes(context_after_flags, in Read() 854 if (!minidump_->ReadBytes(context_after_flags, in Read() 930 if (!minidump_->ReadBytes(context_after_flags, in Read() 986 if (!minidump_->ReadBytes(context_after_flags, in Read() [all …]
|
D | minidump_dump.cc | 71 if (!minidump->ReadBytes(&contents[0], length)) { in DumpRawStream()
|
/external/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 239 ssize_t ReadBytes; in getMemoryBufferForStream() local 243 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream() 244 if (ReadBytes == -1) { in getMemoryBufferForStream() 248 Buffer.set_size(Buffer.size() + ReadBytes); in getMemoryBufferForStream() 249 } while (ReadBytes != 0); in getMemoryBufferForStream()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | MemoryBuffer.cpp | 239 ssize_t ReadBytes; in getMemoryBufferForStream() local 243 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream() 244 if (ReadBytes == -1) { in getMemoryBufferForStream() 248 Buffer.set_size(Buffer.size() + ReadBytes); in getMemoryBufferForStream() 249 } while (ReadBytes != 0); in getMemoryBufferForStream()
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 68 byte[] inputData = input.ReadBytes(size.Value); in RunTest() 129 byte[] bytes = input.ReadBytes(4); in ReadInt32()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.h | 307 void ReadBytes(Byte *data, size_t size); 361 void ReadBytes(Byte *data, size_t size) { _inByteBack->ReadBytes(data, size); } in ReadBytes() function
|
/external/protobuf/src/google/protobuf/ |
D | wire_format_lite.h | 315 static bool ReadBytes(input, string* value); 316 static bool ReadBytes(input, string** p); 684 return ReadBytes(input, value); in ReadString() 689 return ReadBytes(input, p); in ReadString()
|
/external/lzma/CPP/7zip/Common/ |
D | InBuffer.h | 78 size_t ReadBytes(Byte *buf, size_t size);
|
D | InBuffer.cpp | 98 size_t CInBufferBase::ReadBytes(Byte *buf, size_t size) in ReadBytes() function in CInBufferBase
|
/external/sfntly/cpp/src/sfntly/table/core/ |
D | os2_table.cc | 173 data_->ReadBytes(Offset::kPanose, &((*value)[0]), 0, 10); in Panose() 196 data_->ReadBytes(Offset::kAchVendId, &((*b)[0]), 0, 4); in AchVendId() 422 InternalReadData()->ReadBytes(Offset::kPanose, in Panose() 475 InternalReadData()->ReadBytes(Offset::kAchVendId, &((*b)[0]), 0, 4); in AchVendId()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 284 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadBytes()); in ReadMaliciouslyLargeBlob() 410 Assert.AreEqual(100, input.ReadBytes().Length); in TestSlowPathAvoidance() 414 Assert.AreEqual(100, input.ReadBytes().Length); in TestSlowPathAvoidance()
|
/external/webrtc/talk/media/base/ |
D | testutils.cc | 71 ret &= buf->ReadBytes(payload, sizeof(payload)); in ReadFromByteBuffer() 106 ret &= buf->ReadBytes(payload, sizeof(payload)); in ReadFromByteBuffer()
|
/external/sfntly/cpp/src/sfntly/data/ |
D | readable_font_data.h | 96 virtual int32_t ReadBytes(int32_t index,
|
/external/libchrome/base/ |
D | pickle_unittest.cc | 499 TEST(PickleTest, ReadBytes) { in TEST() argument 506 EXPECT_TRUE(iter.ReadBytes(&outdata_char, sizeof(data))); in TEST() 565 EXPECT_TRUE(iter.ReadBytes(&out_data, out_data_length)); in TEST()
|
D | pickle.cc | 199 return ReadBytes(data, *length); in ReadData() 202 bool PickleIterator::ReadBytes(const char** data, int length) { in ReadBytes() function in base::PickleIterator
|