Home
last modified time | relevance | path

Searched refs:ReadBytes (Results 1 – 25 of 60) sorted by relevance

123

/external/google-breakpad/src/common/mac/
Dmacho_walker.cc103 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()
Dmacho_id.cc148 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()
Dmacho_walker.h70 bool ReadBytes(void *buffer, size_t size, off_t offset);
/external/tpm2/
DTcpServer.c15 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/
Dbytebuffer.cc72 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
Dbytebuffer_unittest.cc176 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); in TEST()
186 EXPECT_TRUE(buffer.ReadBytes(read_bytes, 3)); in TEST()
Dbytebuffer.h55 bool ReadBytes(char* val, size_t len);
/external/swiftshader/third_party/LLVM/lib/Support/
DMemoryBuffer.cpp362 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/
Dfont_parsing_test.cc67 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()
Dfont_data_test.cc158 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/
Dminidump.cc451 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 …]
Dminidump_dump.cc71 if (!minidump->ReadBytes(&contents[0], length)) { in DumpRawStream()
/external/llvm/lib/Support/
DMemoryBuffer.cpp239 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/
DMemoryBuffer.cpp239 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/
DProgram.cs68 byte[] inputData = input.ReadBytes(size.Value); in RunTest()
129 byte[] bytes = input.ReadBytes(4); in ReadInt32()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.h307 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/
Dwire_format_lite.h315 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/
DInBuffer.h78 size_t ReadBytes(Byte *buf, size_t size);
DInBuffer.cpp98 size_t CInBufferBase::ReadBytes(Byte *buf, size_t size) in ReadBytes() function in CInBufferBase
/external/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc173 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/
DCodedInputStreamTest.cs284 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/
Dtestutils.cc71 ret &= buf->ReadBytes(payload, sizeof(payload)); in ReadFromByteBuffer()
106 ret &= buf->ReadBytes(payload, sizeof(payload)); in ReadFromByteBuffer()
/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.h96 virtual int32_t ReadBytes(int32_t index,
/external/libchrome/base/
Dpickle_unittest.cc499 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()
Dpickle.cc199 return ReadBytes(data, *length); in ReadData()
202 bool PickleIterator::ReadBytes(const char** data, int length) { in ReadBytes() function in base::PickleIterator

123