Searched refs:buff_ (Results 1 – 6 of 6) sorted by relevance
/base/update/updater/services/ui/driver/ |
D | fbdev_driver.cpp | 33 ReleaseFb(&buff_); in ~FbdevDriver() 95 buff_.width = vinfo_.xres; in Init() 96 buff_.height = vinfo_.yres; in Init() 97 buff_.size = finfo_.line_length * vinfo_.yres; in Init() 98 buff_.vaddr = mmap(nullptr, finfo_.smem_len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Init() 99 if (buff_.vaddr == MAP_FAILED) { in Init() 104 (void)memset_s(buff_.vaddr, finfo_.smem_len, 0, finfo_.smem_len); in Init() 113 if (fd_ < 0 || memcpy_s(buff_.vaddr, buff_.size, buf, buff_.size) != EOK) { in Flip()
|
D | drm_driver.cpp | 25 if (buff_.vaddr != MAP_FAILED) { in Flip() 26 if (memcpy_s(buff_.vaddr, buff_.size, buf, buff_.size) != EOK) { in Flip() 34 surface.width = static_cast<int>(buff_.width); in GetGrSurface() 35 surface.height = static_cast<int>(buff_.height); in GetGrSurface() 280 buff_.width = conn_->modes[modeId].hdisplay; in DrmInit() 281 buff_.height = conn_->modes[modeId].vdisplay; in DrmInit() 282 ModesetCreateFb(&buff_); in DrmInit() 285 …drmModeSetCrtc(fd_, crtc_->crtc_id, buff_.fbId, 0, 0, &conn_->connector_id, 1, &conn_->modes[modeI… in DrmInit() 286 LOG(INFO) << "DrmInit: buff_.width:" << buff_.width << " buff_.height:" << buff_.height; in DrmInit() 335 ModesetDestroyFb(&buff_); in ~DrmDriver()
|
D | fbdev_driver.h | 43 struct FbBufferObject buff_ {}; struct
|
D | drm_driver.h | 64 struct BufferObject buff_ {}; struct
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_stream.cpp | 343 if ((avail_ == 0) && !ringBuf_->Pop(buff_, MAX_FLOW_BUFFER_SIZE, avail_)) { in ReadFromRingBuf() 349 buff = buff_ + bufOffset_; in ReadFromRingBuf()
|
D | pkg_stream.h | 275 uint8_t buff_[MAX_FLOW_BUFFER_SIZE] = {0}; variable
|