Home
last modified time | relevance | path

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

12

/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/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.cpp229 ssize_t ReadBytes; in getMemoryBufferForStream() local
233 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream()
234 if (ReadBytes == -1) { in getMemoryBufferForStream()
238 Buffer.set_size(Buffer.size() + ReadBytes); in getMemoryBufferForStream()
239 } 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.h112 void ReadBytes(Byte *data, size_t size);
158 void ReadBytes(Byte *data, size_t size) { _inByteBack->ReadBytes(data, size); } in ReadBytes() function
D7zIn.cpp190 void CInByte2::ReadBytes(Byte *data, size_t size) in ReadBytes() function in NArchive::N7z::CInByte2
403 ReadBytes(longID, idSize); in GetNextFolderItem()
425 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in GetNextFolderItem()
/external/llvm/tools/lli/Unix/
DRPCChannel.inc113 bool RPCChannel::ReadBytes(void *Data, size_t Size) {
115 return CheckError(rc, Size, "ReadBytes");
/external/llvm/tools/lli/Windows/
DRPCChannel.inc23 bool RPCChannel::ReadBytes(void *Data, size_t Size) { return false; }
/external/lzma/CPP/7zip/Common/
DInBuffer.h59 UInt32 ReadBytes(Byte *buf, UInt32 size) in ReadBytes() function
/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()
/external/lldb/source/Core/
DAddress.cpp29 ReadBytes (ExecutionContextScope *exe_scope, const Address &address, void *dst, size_t dst_len) in ReadBytes() function
82 success = ReadBytes (exe_scope, address, &buf, byte_size) == byte_size; in ReadUIntMax64()
147 if (ReadBytes (exe_scope, address, &buf[0], buf.size()) == buf.size()) in DumpUInt()
187 while ((bytes_read = ReadBytes (exe_scope, curr_address, buf, k_buf_len)) > 0) in ReadCStringFromMemory()
/external/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.h90 virtual int32_t ReadBytes(int32_t index,
Dreadable_font_data.cc82 int32_t ReadableFontData::ReadBytes(int32_t index, in ReadBytes() function in sfntly::ReadableFontData
/external/sfntly/cpp/src/sfntly/
Dfont_factory.cc205 rfd->ReadBytes(0, &(tag[0]), 0, tag.size()); in IsCollection()
/external/v8/test/cctest/
Dtest-serialize.cc278 byte* str = ReadBytes(snapshot_file, &len); in InitializeFromFile()
492 byte* snapshot = ReadBytes(file_name, &snapshot_size); in UNINITIALIZED_DEPENDENT_TEST()
614 byte* snapshot = ReadBytes(file_name, &snapshot_size); in UNINITIALIZED_DEPENDENT_TEST()
/external/sonivox/jet_tools/JetCreator/
Dmidifile.py264 def ReadBytes (stream, length): function
631 msg = ReadBytes(stream, length)
663 msg = ReadBytes(stream, length)
697 msg = ReadBytes(stream, length)
/external/v8/src/
Dutils.cc222 byte* ReadBytes(const char* filename, int* size, bool verbose) { in ReadBytes() function

12