Searched refs:m_size (Results 1 – 2 of 2) sorted by relevance
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 48 size_t m_size; member in FileMap 57 …FileMap(const string &name, size_t size, Hint hint = FILE_MAP_HINT_NONE) : m_name{name}, m_size{si… in FileMap() 74 madvise(m_ptr, m_size, MADV_RANDOM); 77 madvise(m_ptr, m_size, MADV_SEQUENTIAL); 80 for (int i = 0; i < m_size / pageSize; i++) { 102 int ret1 = msync(m_ptr, m_size, MS_SYNC | MS_INVALIDATE); in dropCache() 103 madvise(m_ptr, m_size, MADV_DONTNEED); in dropCache() 108 munmap(m_ptr, m_size); in ~FileMap()
|
/system/media/camera/tests/ |
D | camera_metadata_tests.cpp | 1695 size_t m_size = get_camera_metadata_size(m); in TEST() local 1696 uint8_t *dst = new uint8_t[m_size]; in TEST() 1698 memcpy(dst, m, m_size); in TEST() 1777 EXPECT_EQ(OK, validate_camera_metadata_structure(m2, &m_size)); in TEST() 1886 size_t m_size = get_camera_metadata_size(m); in TEST() local 1887 size_t dst_size = m_size + offsetRange; in TEST() 1892 memcpy(dst + i, m, m_size); in TEST() 1895 int err = validate_camera_metadata_structure(m_shifted, &m_size); in TEST()
|