Home
last modified time | relevance | path

Searched defs:ashmem (Results 1 – 6 of 6) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/rust/
Drust_utils_ashmem_test.rs27 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_001() localVariable
41 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_002() localVariable
47 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_002() constant
76 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_003() localVariable
82 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_003() constant
116 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_004() localVariable
121 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_004() constant
150 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), MEMORY_SIZE) }; in test_ashmem_ffi_write_read_005() localVariable
156 …let c_content_ptr: *const ashmem::ffi::c_void = unsafe { ashmem::ffi::AsVoidPtr(c_content.as_ptr()… in test_ashmem_ffi_write_read_005() constant
182 let ashmem = unsafe { ashmem::ffi::CreateAshmemStd(c_name.as_ptr(), -1) }; in test_ashmem_ffi_invalid_001() localVariable
[all …]
/commonlibrary/c_utils/base/test/unittest/common/
Dutils_ashmem_test.cpp67 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
85 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
120 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
154 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
191 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
223 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), -1); variable
242 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
258 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
280 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
304 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); variable
[all …]
/commonlibrary/c_utils/base/test/benchmarktest/ashemem_benchmark_test/
Dashemem_benchmark_test.cpp75 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
98 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
139 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
178 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
220 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
258 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), -1); in BENCHMARK_F() local
281 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
301 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
327 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
355 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(MEMORY_NAME.c_str(), MEMORY_SIZE); in BENCHMARK_F() local
[all …]
/commonlibrary/c_utils/base/src/rust/
Dlib.rs19 pub mod ashmem; module
/commonlibrary/c_utils/base/test/fuzztest/ashmem_fuzzer/
Dashmem_fuzzer.cpp30 sptr<Ashmem> ashmem = Ashmem::CreateAshmem(name.c_str(), memorySize); in AshmemTestFunc() local
/commonlibrary/c_utils/docs/zh-cn/
Dc_utils_guide_rust_ashmem.md16 #### Public Functions