Searched refs:ReadFully (Results 1 – 9 of 9) sorted by relevance
/base/hiviewdfx/faultloggerd/frameworks/unwinder/ |
D | dfx_memory.cpp | 39 bool DfxMemory::ReadFully(uint64_t addr, void* dst, size_t size) in ReadFully() function in OHOS::HiviewDFX::DfxMemory 62 return ReadFully(addr, (void*)(dst->data()), dst->size()); in ReadString() 71 return ReadFully(addr, dst, sizeof(uint32_t)); in Read32() 76 return ReadFully(addr, dst, sizeof(uint64_t)); in Read64()
|
D | dfx_elf.cpp | 110 if (!memory_->ReadFully(0, &ehdr, sizeof(ehdr))) { in ReadElfHeaders() 122 if (!memory_->ReadFully(offset, &phdr, sizeof(phdr))) { in ReadProgramHeaders() 159 if (memory_->ReadFully(shOffset, &shdr, sizeof(shdr))) { in ReadSectionHeaders() 169 if (!memory_->ReadFully(offset, &shdr, sizeof(shdr))) { in ReadSectionHeaders() 180 if (!memory_->ReadFully(strOffset, &strShdr, sizeof(strShdr))) { in ReadSectionHeaders() 189 if (!memory_->ReadFully(shdr.sh_offset + j * shdr.sh_entsize, &sym, sizeof(sym))) { in ReadSectionHeaders() 312 if (!memory_->ReadFully(buildIdOffset_ + offset, &nhdr, sizeof(nhdr))) { in GetBuildID() 323 if (!memory_->ReadFully(buildIdOffset_ + offset, &(name[0]), nhdr.n_namesz)) { in GetBuildID() 338 if (memory_->ReadFully(buildIdOffset_ + offset, &buildId[0], nhdr.n_descsz)) { in GetBuildID() 378 if (!memory_->ReadFully(EI_CLASS, &eiClass, sizeof(eiClass))) { in ReadElfInfo() [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/unwinder/ |
D | memory_test.cpp | 55 bool ret = memory->ReadFully(0, &tmp, sizeof(tmp));
|
/base/hiviewdfx/faultloggerd/frameworks/unwinder/include/ |
D | dfx_memory.h | 41 bool ReadFully(uint64_t addr, void* dst, size_t size);
|
/base/update/updater/utils/include/ |
D | utils.h | 59 bool ReadFully(int fd, void* data, size_t size);
|
/base/update/updater/services/applypatch/ |
D | store.cpp | 166 if (!ReadFully(fd, buffer.data(), fileStat.st_size)) { in LoadDataFromStore()
|
D | block_set.cpp | 162 if (!Utils::ReadFully(fd, buffer.data() + pos, size)) { in ReadDataFromBlock()
|
/base/update/updater/services/updater_binary/ |
D | update_image_block.cpp | 416 if (!Utils::ReadFully(fd, block_buff.data() + pos, size)) { in ExecReadBlockInfo() 494 if (!Utils::ReadFully(fd, block_buff.data(), H_BLOCK_SIZE)) { in ExecReadShaInfo()
|
/base/update/updater/utils/ |
D | utils.cpp | 309 bool ReadFully(int fd, void *data, size_t size) in ReadFully() function
|