Home
last modified time | relevance | path

Searched refs:ReadFully (Results 1 – 9 of 9) sorted by relevance

/base/hiviewdfx/faultloggerd/frameworks/unwinder/
Ddfx_memory.cpp39 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()
Ddfx_elf.cpp110 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/
Dmemory_test.cpp55 bool ret = memory->ReadFully(0, &tmp, sizeof(tmp));
/base/hiviewdfx/faultloggerd/frameworks/unwinder/include/
Ddfx_memory.h41 bool ReadFully(uint64_t addr, void* dst, size_t size);
/base/update/updater/utils/include/
Dutils.h59 bool ReadFully(int fd, void* data, size_t size);
/base/update/updater/services/applypatch/
Dstore.cpp166 if (!ReadFully(fd, buffer.data(), fileStat.st_size)) { in LoadDataFromStore()
Dblock_set.cpp162 if (!Utils::ReadFully(fd, buffer.data() + pos, size)) { in ReadDataFromBlock()
/base/update/updater/services/updater_binary/
Dupdate_image_block.cpp416 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/
Dutils.cpp309 bool ReadFully(int fd, void *data, size_t size) in ReadFully() function