Searched refs:shmem (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/containers/sysvipc/ |
D | shm_comm.c | 63 char *shmem; in chld1_shm() local 71 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) { in chld1_shm() 77 *shmem = 'A'; in chld1_shm() 82 if (*shmem != 'A') in chld1_shm() 88 shmdt(shmem); in chld1_shm() 96 char *shmem; in chld2_shm() local 104 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) { in chld2_shm() 113 *shmem = 'B'; in chld2_shm() 117 shmdt(shmem); in chld2_shm()
|
/external/libchrome/base/memory/ |
D | shared_memory_unittest.cc | 408 SharedMemory shmem; in TEST() local 409 ASSERT_TRUE(shmem.CreateAndMapAnonymous(contents.size())); in TEST() 410 memcpy(shmem.memory(), contents.data(), contents.size()); in TEST() 411 EXPECT_TRUE(shmem.Unmap()); in TEST() 414 ASSERT_TRUE(shmem.ShareToProcess(GetCurrentProcessHandle(), &shared_handle)); in TEST() 426 ASSERT_TRUE(shmem.ShareToProcess(GetCurrentProcessHandle(), &shared_handle)); in TEST()
|
/external/libchrome/base/process/ |
D | process_metrics_unittest.cc | 184 EXPECT_EQ(meminfo.shmem, 140204); in TEST_F() 375 EXPECT_GT(info.shmem, 0); in TEST() 376 EXPECT_LT(info.shmem, info.total); in TEST()
|
D | process_metrics_linux.cc | 555 shmem = 0; in SystemMemoryInfoKB() 587 res->SetInteger("shmem", shmem); in ToValue() 656 target = &meminfo->shmem; in ParseProcMeminfo()
|
D | process_metrics.h | 304 int shmem; member
|
/external/e2fsprogs/lib/ext2fs/tdb/patches/ |
D | replace-includes | 12 -#include "system/shmem.h"
|