/external/webrtc/rtc_base/ |
D | byte_buffer.cc | 49 return ReadBytes(reinterpret_cast<char*>(val), 1); in ReadUInt8() 57 if (!ReadBytes(reinterpret_cast<char*>(&v), 2)) { in ReadUInt16() 73 if (!ReadBytes(read_into, 3)) { in ReadUInt24() 86 if (!ReadBytes(reinterpret_cast<char*>(&v), 4)) { in ReadUInt32() 99 if (!ReadBytes(reinterpret_cast<char*>(&v), 8)) { in ReadUInt64() 116 if (!ReadBytes(&byte, 1)) { in ReadUVarint() 143 bool ByteBufferReader::ReadBytes(char* val, size_t len) { in ReadBytes() function in rtc::ByteBufferReader
|
/external/google-breakpad/src/common/mac/ |
D | macho_walker.cc | 101 bool MachoWalker::ReadBytes(void *buffer, size_t size, off_t offset) { in ReadBytes() function in MacFileUtilities::MachoWalker 134 if (!ReadBytes(&magic, sizeof(magic), 0)) in FindHeader() 153 if (!ReadBytes(&header, sizeof(header), 0)) in FindHeader() 171 if (!ReadBytes(&fat, sizeof(fat), offset)) in FindHeader() 182 if (!ReadBytes(&arch, sizeof(arch), offset)) in FindHeader() 204 if (!ReadBytes(&header, sizeof(header), offset)) in WalkHeaderAtOffset() 230 if (!ReadBytes(&header, sizeof(header), offset)) in WalkHeader64AtOffset() 252 if (!ReadBytes(&cmd, sizeof(cmd), offset)) in WalkHeaderCore()
|
D | macho_id.cc | 146 if (!walker->ReadBytes(buffer, buffer_size, file_offset)) in Update() 258 if (!walker->ReadBytes(&seg, sizeof(seg), offset)) in WalkerCB() 275 if (!walker->ReadBytes(&sec, sizeof(sec), offset)) in WalkerCB() 291 if (!walker->ReadBytes(&seg64, sizeof(seg64), offset)) in WalkerCB() 308 if (!walker->ReadBytes(&sec64, sizeof(sec64), offset)) in WalkerCB() 336 if (!walker->ReadBytes(uuid_cmd, sizeof(struct breakpad_uuid_command), in UUIDWalkerCB() 356 if (!walker->ReadBytes(dylib_cmd, sizeof(struct dylib_command), offset)) in IDWalkerCB()
|
/external/ms-tpm-20-ref/TPMCmd/Simulator/src/ |
D | TcpServer.c | 163 OK = ReadBytes(s, (char*)&Command, 4); in PlatformServer() 514 ReadBytes( in ReadBytes() function 596 if (!ReadBytes(s, (char*)&netVal, 4)) in ReadUINT32() 617 res = ReadBytes(s, (char*)&length, 4); in ReadVarBytes() 627 res = ReadBytes(s, buffer, length); in ReadVarBytes() 673 OK = ReadBytes(s, (char*)&Command, 4); in TpmServer() 696 OK = ReadBytes(s, (char*)&locality, 1); in TpmServer() 731 OK = ReadBytes(s, (char*)&clientVersion, 4); in TpmServer() 744 OK = ReadBytes(s, (char*)&result, 4); in TpmServer()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | linux.cpp | 154 ssize_t ReadBytes; in getRandom() local 160 ReadBytes = in getRandom() 162 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom() 170 ReadBytes = read(FileDesc, Buffer, Length); in getRandom() 172 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 217 Expected<size_t> ReadBytes = sys::fs::readNativeFile( in getMemoryBufferForStream() local 219 if (!ReadBytes) in getMemoryBufferForStream() 220 return errorToErrorCode(ReadBytes.takeError()); in getMemoryBufferForStream() 221 if (*ReadBytes == 0) in getMemoryBufferForStream() 223 Buffer.set_size(Buffer.size() + *ReadBytes); in getMemoryBufferForStream() 466 Expected<size_t> ReadBytes = in getOpenFileImpl() local 468 if (!ReadBytes) in getOpenFileImpl() 469 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl() 470 if (*ReadBytes == 0) { in getOpenFileImpl() 474 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl() [all …]
|
/external/llvm-project/llvm/lib/Support/ |
D | MemoryBuffer.cpp | 231 Expected<size_t> ReadBytes = sys::fs::readNativeFile( in getMemoryBufferForStream() local 233 if (!ReadBytes) in getMemoryBufferForStream() 234 return errorToErrorCode(ReadBytes.takeError()); in getMemoryBufferForStream() 235 if (*ReadBytes == 0) in getMemoryBufferForStream() 237 Buffer.set_size(Buffer.size() + *ReadBytes); in getMemoryBufferForStream() 480 Expected<size_t> ReadBytes = in getOpenFileImpl() local 482 if (!ReadBytes) in getOpenFileImpl() 483 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl() 484 if (*ReadBytes == 0) { in getOpenFileImpl() 488 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl() [all …]
|
/external/pigweed/pw_bytes/size_report/ |
D | byte_builder_size_report.cc | 41 void ReadBytes() { in ReadBytes() function 75 void ReadBytes() { 106 pw::bytes::ReadBytes(); in main()
|
/external/scudo/standalone/ |
D | linux.cpp | 193 ssize_t ReadBytes; in getRandom() local 199 ReadBytes = in getRandom() 201 if (ReadBytes == static_cast<ssize_t>(Length)) in getRandom() 209 ReadBytes = read(FileDesc, Buffer, Length); in getRandom() 211 return (ReadBytes == static_cast<ssize_t>(Length)); in getRandom()
|
/external/google-breakpad/src/processor/ |
D | minidump.cc | 477 if (!minidump_->ReadBytes(context_amd64.get(), in Read() 579 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) { in Read() 613 if (!minidump_->ReadBytes(context_after_flags, in Read() 676 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) { in Read() 710 if (!minidump_->ReadBytes(context_after_flags, in Read() 748 if (!minidump_->ReadBytes(&context_flags, sizeof(context_flags))) { in Read() 799 if (!minidump_->ReadBytes(context_after_flags, in Read() 872 if (!minidump_->ReadBytes(context_after_flags, in Read() 948 if (!minidump_->ReadBytes(context_after_flags, in Read() 1004 if (!minidump_->ReadBytes(context_after_flags, in Read() [all …]
|
/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/pigweed/pw_router/size_report/ |
D | static_router_with_one_route.cc | 76 pw::sys_io::ReadBytes(packet_buffer); in main() 80 pw::sys_io::ReadBytes(packet_buffer); in main()
|
/external/webrtc/rtc_tools/ |
D | video_file_reader.cc | 31 bool ReadBytes(uint8_t* dst, size_t n, FILE* file) { in ReadBytes() function 60 if (!ReadBytes(buffer->MutableDataY(), width_ * height_, file_) || in GetFrame() 61 !ReadBytes(buffer->MutableDataU(), in GetFrame() 63 !ReadBytes(buffer->MutableDataV(), in GetFrame()
|
/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/pigweed/pw_protobuf/public/pw_protobuf/ |
D | decoder.h | 132 Status ReadBytes(std::span<const std::byte>* out) { in ReadBytes() function 276 Status ReadBytes(std::span<const std::byte>* out) { in ReadBytes() function 277 return decoder_.ReadBytes(out); in ReadBytes()
|
/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() 149 byte[] bytes = input.ReadBytes(4); in ReadInt32()
|
/external/libchrome/base/ |
D | big_endian_unittest.cc | 28 EXPECT_TRUE(reader.ReadBytes(buf, sizeof(buf))); in TEST() 66 EXPECT_FALSE(reader.ReadBytes(buf, 2)); in TEST()
|
/external/pigweed/pw_rpc/size_report/ |
D | base.cc | 30 pw::sys_io::ReadBytes(packet_buffer); in main()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.h | 319 void ReadBytes(Byte *data, size_t size); 373 void ReadBytes(Byte *data, size_t size) { _inByteBack->ReadBytes(data, size); } in ReadBytes() function
|
/external/pigweed/pw_stream/public/pw_stream/ |
D | sys_io_stream.h | 36 return pw::sys_io::ReadBytes(dest); in DoRead()
|
/external/pigweed/pw_sys_io/public/pw_sys_io/ |
D | sys_io.h | 99 StatusWithSize ReadBytes(std::span<std::byte> dest);
|
/external/pigweed/pw_protobuf/ |
D | find.cc | 32 if (Status status = decoder.ReadBytes(&submessage); !status.ok()) { in ProcessField()
|
/external/pigweed/pw_sys_io/ |
D | sys_io.cc | 19 StatusWithSize ReadBytes(std::span<std::byte> dest) { in ReadBytes() function
|