Home
last modified time | relevance | path

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

/external/libchrome/mojo/core/
Dembedder_unittest.cc359 const size_t kShmSize = 1234; in TEST_F() local
374 auto shared_memory = base::UnsafeSharedMemoryRegion::Create(kShmSize); in TEST_F()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc1220 const int kShmSize = 4096; in TEST() local
1221 void *mapping_start = mmap(NULL, kShmSize + SHMLBA, PROT_READ | PROT_WRITE, in TEST()
1229 ((char *)p)[kShmSize - 1] = *GetPoisoned<U1>(); in TEST()
1231 int res = munmap(mapping_start, kShmSize + SHMLBA); in TEST()
1234 int id = shmget(IPC_PRIVATE, kShmSize, 0644 | IPC_CREAT); in TEST()
1242 EXPECT_NOT_POISONED(((char *)q)[kShmSize - 1]); in TEST()