Home
last modified time | relevance | path

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

/sof-3.4.0/src/include/sof/audio/module_adapter/iadk/utilities/
Darray.h158 size_t alloc_size(void) const { return size()*sizeof(T); } in alloc_size() function
221 memcpy_s(data() + dst_offset, alloc_size() - dst_offset * sizeof(T),
237 memcpy_s(data() + dst_offset, alloc_size() - dst_offset * sizeof(T),
238 src.data(), src.alloc_size());
249 memcpy_s(dst, dstSize * sizeof(T), data(), alloc_size()); in copyTo()
259 memcpy_s(dst.data(), dst.alloc_size(), data(), alloc_size()); in copyTo()
272 memcpy_s(dst.data(), dst.alloc_size(), data() + src_offset, copy_size * sizeof(T));
284 if (alloc_size() < sizeof(TC)) { in dataAs()
294 if (alloc_size() < sizeof(TC)*size) { in dataAsArray()
308 if (alloc_size() < sizeof(TC)) { in dataAs()
[all …]
/sof-3.4.0/test/cmocka/src/lib/alloc/
Dalloc.c28 size_t alloc_size; member
238 mem = rballoc(0, tc->alloc_caps, tc->alloc_size); in alloc()
241 tc->alloc_size); in alloc()
292 tc->alloc_size); in test_lib_alloc_zero()
298 for (j = 0; j < tc->alloc_size; ++j) in test_lib_alloc_zero()