Searched refs:kShmSize (Results 1 – 2 of 2) sorted by relevance
359 const size_t kShmSize = 1234; in TEST_F() local374 auto shared_memory = base::UnsafeSharedMemoryRegion::Create(kShmSize); in TEST_F()
1220 const int kShmSize = 4096; in TEST() local1221 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()