Home
last modified time | relevance | path

Searched defs:mem (Results 1 – 21 of 21) sorted by relevance

/system/libhidl/libhidlcache/
Dlibhidlcache_test.cpp54 sp<HidlMemory> mem; in HidlCacheWhiteBoxTest() local
64 mtoken->get([&](const hidl_memory& mem) { sp<IMemory> memory = mapMemory(mem); }); in HidlCacheWhiteBoxTest()
122 EXPECT_OK(ashmemAllocator->allocate(2048, [&m1](bool success, const hidl_memory& mem) { in TEST_F()
127 EXPECT_OK(ashmemAllocator->allocate(4096, [&m2](bool success, const hidl_memory& mem) { in TEST_F()
DHidlCache.h120 sp<Value> mem = cache.promote(); in getCachedLocked() local
DMemoryDealer.cpp294 sp<HidlMemoryDealer> HidlMemoryDealer::getInstance(const hidl_memory& mem) { in getInstance()
308 HidlMemoryDealer::HidlMemoryDealer(sp<IMemory> heap, const hidl_memory& mem) in HidlMemoryDealer()
DHidlMemoryCache.cpp108 [&](const hidl_memory& mem) { memory = new MemoryCacheable(mapMemory(mem), key); }); in fillLocked()
/system/core/libmeminfo/
Dlibmeminfo_benchmark.cpp59 static void get_mem_info(uint64_t mem[], const char* file) { in get_mem_info()
164 uint64_t mem[MEMINFO_COUNT]; in BM_ReadMemInfo_old() local
221 std::vector<uint64_t> mem(MEMINFO_COUNT); in BM_ReadMemInfo_new() local
334 uint64_t mem[MEMINFO_COUNT]; in BM_MemInfoWithZram_old() local
393 std::vector<uint64_t> mem(MEMINFO_COUNT); in BM_MemInfoWithZram_new() local
Dlibmeminfo_test.cpp565 std::vector<uint64_t> mem(MEMINFO_COUNT); in TEST() local
/system/libhidl/transport/memory/1.0/default/
DAshmemMapper.cpp33 Return<sp<IMemory>> AshmemMapper::mapMemory(const hidl_memory& mem) { in mapMemory()
/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp54 EXPECT_OK(allocator->allocate(size, [&](bool success, const hidl_memory& mem) { in expectAllocateSuccess()
73 for (const hidl_memory& mem : mems) { in expectBatchAllocateSuccess() local
/system/extras/tests/pftest/
Dpftest.c47 char *mem = malloc((N_PAGES+1) * 4096); in main() local
/system/chre/platform/shared/include/chre/platform/shared/
Dmemory_debug.h68 void *mem = nullptr; in debugAlloc() local
/system/chre/apps/chqts/src/shared/
Dnano_string.cc35 void memset(void *mem, int val, size_t count) { in memset()
/system/libhidl/base/
DHidlSupport.cpp286 sp<HidlMemory> HidlMemory::getInstance(const hidl_memory& mem) { in getInstance()
292 sp<HidlMemory> HidlMemory::getInstance(hidl_memory&& mem) { in getInstance()
/system/core/libunwindstack/tests/
DMapInfoCreateMemoryTest.cpp305 std::unique_ptr<Memory> mem(map_info->CreateMemory(process_memory_)); in TEST_F() local
352 std::unique_ptr<Memory> mem(map_info->CreateMemory(process_memory_)); in TEST_F() local
/system/chre/external/kiss_fft/
Dkiss_fftr.c27 kiss_fftr_cfg kiss_fftr_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem) in kiss_fftr_alloc()
Dkiss_fft.c339 kiss_fft_cfg kiss_fft_alloc(int nfft,int inverse_fft,void * mem,size_t * lenmem ) in kiss_fft_alloc()
/system/core/libmemunreachable/
DAllocator.cpp216 void* mem = MapAligned(kChunkSize, kChunkSize); in operator new() local
308 void* mem = MapAligned(kPageSize, kPageSize); in operator new() local
/system/nfc/src/nfc/include/
Dce_int.h127 tCE_MEM mem; member
Drw_int.h175 uint8_t mem[T1T_SEGMENT_SIZE]; /* Tag contents of block 0 or from block 0-E */ member
/system/core/libpixelflinger/tests/arch-mips64/assembler/
Dmips64_assembler_test.cpp493 unsigned char *mem = (unsigned char *)&dataMem[test.memOffset]; in dataTransferTest() local
/system/core/libpixelflinger/tests/arch-arm64/assembler/
Darm64_assembler_test.cpp540 unsigned char *mem = (unsigned char *)&dataMem[test.memOffset]; in dataTransferTest() local
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp923 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& mem) { in TEST_F()
1034 sp<HidlMemory> mem; in TEST_F() local
1044 EXPECT_OK(token->get([&](const hidl_memory& mem) { in TEST_F()
1071 mtoken->get([&](const hidl_memory& mem) { in TEST_F()
1086 EXPECT_OK(memoryTest->haveSomeMemory(memory, [&](const hidl_memory &mem) { in TEST_F()