OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:shmem
(Results
1 - 3
of
3
) sorted by null
/external/ltp/testcases/kernel/containers/sysvipc/
shm_comm.c
63
char *
shmem
;
local
71
if ((
shmem
= shmat(id, NULL, 0)) == (char *) -1) {
77
*
shmem
= 'A';
82
if (*
shmem
!= 'A')
88
shmdt(
shmem
);
96
char *
shmem
;
local
104
if ((
shmem
= shmat(id, NULL, 0)) == (char *) -1) {
113
*
shmem
= 'B';
117
shmdt(
shmem
);
/external/libchrome/base/process/
process_metrics.h
264
// Linux/Android/Chrome OS.
Shmem
/slab/gem_objects/gem_size are Chrome OS only.
304
int
shmem
;
member in struct:base::SystemMemoryInfoKB
/external/libchrome/base/memory/
shared_memory_unittest.cc
241
// On POSIX we have a problem when 2 threads try to create the
shmem
245
// intentionally don't clean up its
shmem
before running with
408
SharedMemory
shmem
;
local
409
ASSERT_TRUE(
shmem
.CreateAndMapAnonymous(contents.size()));
410
memcpy(
shmem
.memory(), contents.data(), contents.size());
411
EXPECT_TRUE(
shmem
.Unmap());
414
ASSERT_TRUE(
shmem
.ShareToProcess(GetCurrentProcessHandle(), &shared_handle));
426
ASSERT_TRUE(
shmem
.ShareToProcess(GetCurrentProcessHandle(), &shared_handle));
621
// On POSIX it is especially important we test
shmem
across processes,
Completed in 3403 milliseconds