Home
last modified time | relevance | path

Searched refs:ashSize (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dash_memory_utils.cpp31 sptr<Ashmem> AshMemoryUtils::GetAshmem(const std::string& ashName, const uint32_t ashSize) in GetAshmem() argument
33 if (ashSize <= 0) { in GetAshmem()
37 auto ashmem = Ashmem::CreateAshmem(ashName.c_str(), ashSize); in GetAshmem()
/ohos5.0/base/hiviewdfx/hiview/base/utility/include/
H A Dash_memory_utils.h27 static bool WriteBulkData(const std::vector<T>& src, sptr<Ashmem> ashmem, size_t ashSize, in WriteBulkData() argument
37 if (offset + dataSize > ashSize) { in WriteBulkData()
68 static sptr<Ashmem> GetAshmem(const std::string& ashName, const uint32_t ashSize);