Searched refs:memorySize_ (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_data_statistics.cpp | 28 ImageDataStatistics::ImageDataStatistics(const std::string &title) : title_(title), memorySize_(0) in ImageDataStatistics() 33 ImageDataStatistics::ImageDataStatistics(const char *fmt, ...) : memorySize_(0) in ImageDataStatistics() 60 if ((memorySize_ != 0) && (memorySize_ > MEMORY_THRESHOLD_BYTE)) { in ~ImageDataStatistics() 62 …title_.c_str(), static_cast<unsigned long>(memorySize_), static_cast<unsigned long>(MEMORY_THRESHO… in ~ImageDataStatistics() 76 memorySize_ = size; in SetRequestMemory()
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | ashmem.cpp | 148 Ashmem::Ashmem(int fd, int32_t size) : memoryFd_(fd), memorySize_(size), flag_(0), startAddr_(nullp… in Ashmem() 200 memorySize_ = 0; in CloseAshmem() 211 void *startAddr = ::mmap(nullptr, memorySize_, mapType, MAP_SHARED, memoryFd_, 0); in MapAshmem() 248 ::munmap(startAddr_, memorySize_); in UnmapAshmem() 270 …int ret = memcpy_s(tmpData + offset, memorySize_ - offset, reinterpret_cast<const char *>(data), s… in WriteToAshmem() 298 if ((size < 0) || (size > memorySize_) || (offset < 0) || (offset > memorySize_)) { in CheckValid() 300 __func__, size, memorySize_, offset); in CheckValid() 303 if (offset + size > memorySize_) { in CheckValid() 305 __func__, size, memorySize_, offset); in CheckValid()
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | ashmem.h | 230 mutable int32_t memorySize_; // Size of the Ashmem region. variable 235 int32_t memorySize_; // Size of the Ashmem region.
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_data_statistics.h | 35 uint32_t memorySize_; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | ashmem.h | 199 int32_t memorySize_; // size of ashmem. variable
|