/test/vts/utils/python/archive/ |
archive_parser.py | 64 def ReadBytes(self, n): 90 sig = self.ReadBytes(len(self.GLOBAL_SIG)) 104 name = self.ReadBytes(self.FILE_ID_LENGTH).strip() 105 self.ReadBytes(self.FILE_TIMESTAMP_LENGTH) 106 self.ReadBytes(self.OWNER_ID_LENGTH) 107 self.ReadBytes(self.GROUP_ID_LENGTH) 108 self.ReadBytes(self.FILE_MODE_LENGTH) 109 size = self.ReadBytes(self.CONTENT_SIZE_LENGTH) 112 if self.ReadBytes(len(self.END_TAG)) != self.END_TAG: 115 content = self.ReadBytes(content_size [all...] |
/system/core/libunwindstack/ |
DwarfMemory.cpp | 29 bool DwarfMemory::ReadBytes(void* dst, size_t num_bytes) { 40 if (!ReadBytes(&signed_value, sizeof(SignedType))) { 52 if (!ReadBytes(&byte, 1)) { 67 if (!ReadBytes(&byte, 1)) { 163 return ReadBytes(value, sizeof(AddressType)); 172 if (!ReadBytes(value, sizeof(AddressType))) { 190 if (!ReadBytes(&value8, 1)) { 202 if (!ReadBytes(&value16, 2)) { 214 if (!ReadBytes(&value32, 4)) { 225 if (!ReadBytes(value, sizeof(uint64_t))) [all...] |
DwarfSection.cpp | 281 if (!memory_.ReadBytes(&length32, sizeof(length32))) { 292 if (!memory_.ReadBytes(&length64, sizeof(length64))) { 302 if (!memory_.ReadBytes(&cie_id, sizeof(cie_id))) { 318 if (!memory_.ReadBytes(&cie_id, sizeof(cie_id))) { 330 if (!memory_.ReadBytes(&cie->version, sizeof(cie->version))) { 345 if (!memory_.ReadBytes(&aug_value, 1)) { 358 if (!memory_.ReadBytes(&cie->segment_size, 1)) { 382 if (!memory_.ReadBytes(&return_address_register, 1)) { 410 if (!memory_.ReadBytes(&cie->lsda_encoding, 1)) { 418 if (!memory_.ReadBytes(&encoding, 1)) [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/ |
I2CLib.h | 29 @param ReadBytes Number of bytes to be read
40 IN UINTN ReadBytes,
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLib/ |
I2CLib.c | 55 IN UINTN ReadBytes,
|
/external/google-breakpad/src/common/mac/ |
macho_walker.cc | 103 bool MachoWalker::ReadBytes(void *buffer, size_t size, off_t offset) { 136 if (!ReadBytes(&magic, sizeof(magic), 0)) 155 if (!ReadBytes(&header, sizeof(header), 0)) 173 if (!ReadBytes(&fat, sizeof(fat), offset)) 184 if (!ReadBytes(&arch, sizeof(arch), offset)) 206 if (!ReadBytes(&header, sizeof(header), offset)) 232 if (!ReadBytes(&header, sizeof(header), offset)) 254 if (!ReadBytes(&cmd, sizeof(cmd), offset))
|
macho_id.cc | 148 if (!walker->ReadBytes(buffer, buffer_size, file_offset)) 260 if (!walker->ReadBytes(&seg, sizeof(seg), offset)) 277 if (!walker->ReadBytes(&sec, sizeof(sec), offset)) 293 if (!walker->ReadBytes(&seg64, sizeof(seg64), offset)) 310 if (!walker->ReadBytes(&sec64, sizeof(sec64), offset)) 338 if (!walker->ReadBytes(uuid_cmd, sizeof(struct breakpad_uuid_command), 358 if (!walker->ReadBytes(dylib_cmd, sizeof(struct dylib_command), offset))
|
macho_walker.h | 70 bool ReadBytes(void *buffer, size_t size, off_t offset);
|
/external/tpm2/ |
TcpServer.c | 15 BOOL ReadBytes(SOCKET s, char* buffer, int NumBytes); 100 ok = ReadBytes(s, (char*) &Command, 4); 314 // ReadBytes() 319 ReadBytes( 409 res = ReadBytes(s, (char*) &length, 4); 419 res = ReadBytes(s, buffer, length); 466 ok = ReadBytes(s, (char*) &Command, 4); 489 ok = ReadBytes(s, (char*) &locality, 1); 524 ok = ReadBytes(s, (char*)&clientVersion, 4); 537 ok = ReadBytes(s, (char*)&result, 4) [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Protocol/ |
I2cMasterMcg.h | 352 UINT32 ReadBytes;
362 /// for write only operations. The ReadBuffer must be at least ReadBytes
459 @retval EFI_BAD_BUFFER_SIZE The WriteBytes or ReadBytes buffer size is too large.
|
/external/webrtc/webrtc/base/ |
bytebuffer.cc | 72 return ReadBytes(reinterpret_cast<char*>(val), 1); 79 if (!ReadBytes(reinterpret_cast<char*>(&v), 2)) { 96 if (!ReadBytes(read_into, 3)) { 108 if (!ReadBytes(reinterpret_cast<char*>(&v), 4)) { 120 if (!ReadBytes(reinterpret_cast<char*>(&v), 8)) { 140 bool ByteBuffer::ReadBytes(char* val, size_t len) {
|
bytebuffer.h | 55 bool ReadBytes(char* val, size_t len);
|
/external/sfntly/cpp/src/test/ |
font_parsing_test.cc | 67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); 93 wfd1->ReadBytes(0, &(b1[0]), 0, TTF_LENGTH[i]); 94 wfd2->ReadBytes(0, &(b2[0]), 0, TTF_LENGTH[i]);
|
/external/lzma/CPP/7zip/Common/ |
InBuffer.h | 78 size_t ReadBytes(Byte *buf, size_t size);
|
InBuffer.cpp | 98 size_t CInBufferBase::ReadBytes(Byte *buf, size_t size)
|
/system/core/libunwindstack/include/unwindstack/ |
DwarfMemory.h | 32 bool ReadBytes(void* dst, size_t num_bytes);
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
MemoryBuffer.cpp | 362 ssize_t ReadBytes; 366 ReadBytes = read(0, Buffer.end(), ChunkSize); 367 if (ReadBytes == -1) { 371 Buffer.set_size(Buffer.size() + ReadBytes); 372 } while (ReadBytes != 0);
|
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Library/ |
I2CLib.h | 146 IN UINTN ReadBytes,
164 IN UINTN ReadBytes,
|
/device/google/cuttlefish_common/common/vsoc/lib/ |
circqueue_test.cpp | 52 intptr_t ReadBytes(CircQueueRegionView* region, int bytes) { 146 EXPECT_EQ(num_bytes, ReadBytes(&this->region_, num_bytes)); 154 std::thread reading_thread(ReadBytes, &this->region_, num_bytes); 176 std::thread reading_thread(ReadBytes, &this->region_, num_bytes);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/ |
I2CLibPei.c | 430 IN UINTN ReadBytes,
451 ReceiveDataEnd = &ReadBuffer [ReadBytes];
452 if(ReadBytes) {
593 @param ReadBytes Number of bytes to be read
604 IN UINTN ReadBytes,
612 Status = ByteReadI2CBasic(I2cControllerIndex, SlaveAddress, ReadBytes, ReadBuffer, TRUE, TRUE);
|
/external/llvm/lib/Support/ |
MemoryBuffer.cpp | 239 ssize_t ReadBytes; 243 ReadBytes = read(FD, Buffer.end(), ChunkSize); 244 if (ReadBytes == -1) { 248 Buffer.set_size(Buffer.size() + ReadBytes); 249 } while (ReadBytes != 0);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
MemoryBuffer.cpp | 239 ssize_t ReadBytes; 243 ReadBytes = read(FD, Buffer.end(), ChunkSize); 244 if (ReadBytes == -1) { 248 Buffer.set_size(Buffer.size() + ReadBytes); 249 } while (ReadBytes != 0);
|
/system/core/libunwindstack/tests/ |
DwarfMemoryTest.cpp | 62 TEST_F(DwarfMemoryTest, ReadBytes) { 66 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 68 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 70 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 72 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); 77 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1));
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zIn.h | 307 void ReadBytes(Byte *data, size_t size);
361 void ReadBytes(Byte *data, size_t size) { _inByteBack->ReadBytes(data, size); }
|
/external/google-breakpad/src/processor/ |
minidump_dump.cc | 71 if (!minidump->ReadBytes(&contents[0], length)) { 73 BPLOG(ERROR) << "minidump.ReadBytes failed";
|