Home
last modified time | relevance | path

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

123

/external/llvm/tools/lli/ChildTarget/
DChildTarget.cpp39 int ReadBytes(void *Data, size_t Size) { in ReadBytes() function in LLIChildTarget
40 return RPC.ReadBytes(Data, Size) ? Size : -1; in ReadBytes()
69 if (ReadBytes(&MsgType, 4) > 0) in waitForIncomingMessage()
101 int rc = ReadBytes(&DataSize, 4); in handleAllocateSpace()
109 rc = ReadBytes(&Alignment, 4); in handleAllocateSpace()
111 rc = ReadBytes(&AllocSize, 4); in handleAllocateSpace()
125 int rc = ReadBytes(&DataSize, 4); in handleLoadSection()
131 rc = ReadBytes(&Addr, 8); in handleLoadSection()
139 rc = ReadBytes((void*)Addr, BufferSize); in handleLoadSection()
154 int rc = ReadBytes(&DataSize, 4); in handleExecute()
[all …]
/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/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 …]
/external/llvm/lib/Support/
DMemoryBuffer.cpp231 ssize_t ReadBytes; in getMemoryBufferForStream() local
235 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream()
236 if (ReadBytes == -1) { in getMemoryBufferForStream()
240 Buffer.set_size(Buffer.size() + ReadBytes); in getMemoryBufferForStream()
241 } while (ReadBytes != 0); in getMemoryBufferForStream()
/external/llvm/tools/lli/
DRemoteTargetExternal.h38 bool ReadBytes(void *Data, size_t Size) { return RPC.ReadBytes(Data, Size); } in ReadBytes() function
DRemoteTargetExternal.cpp215 if (!ReadBytes(&MsgType, 4)) { in ReceiveHeader()
242 if (!ReadBytes(&DataSize, 4)) { in ReceivePayload()
259 if (!ReadBytes(ReceiveData[I], Sizes[I])) { in ReceivePayload()
DRPCChannel.h42 bool ReadBytes(void *Data, size_t Size);
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.h293 void ReadBytes(Byte *data, size_t size);
346 void ReadBytes(Byte *data, size_t size) { _inByteBack->ReadBytes(data, size); } in ReadBytes() function
/external/llvm/tools/lli/Unix/
DRPCChannel.inc113 bool RPCChannel::ReadBytes(void *Data, size_t Size) {
115 return CheckError(rc, Size, "ReadBytes");
/external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DDirectXHelper.h37 Streams::DataReader::FromBuffer(fileBuffer)->ReadBytes(fileData);
/external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
DDirectXHelper.h37 Streams::DataReader::FromBuffer(fileBuffer)->ReadBytes(fileData);
/external/llvm/tools/lli/Windows/
DRPCChannel.inc23 bool RPCChannel::ReadBytes(void *Data, size_t Size) { return false; }
/external/libchrome/crypto/
Dsecure_hash_default.cc76 if (!data_iterator->ReadBytes(&data, sizeof(ctx_))) in Deserialize()
Dsecure_hash_openssl.cc82 if (!data_iterator->ReadBytes(&data, sizeof(ctx_))) in Deserialize()
/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.cc171 data_->ReadBytes(Offset::kPanose, &((*value)[0]), 0, 10); in Panose()
194 data_->ReadBytes(Offset::kAchVendId, &((*b)[0]), 0, 4); in AchVendId()
420 InternalReadData()->ReadBytes(Offset::kPanose, in Panose()
473 InternalReadData()->ReadBytes(Offset::kAchVendId, &((*b)[0]), 0, 4); in AchVendId()

123