Searched refs:shmkey (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/surface/ |
D | transport_dib_gtk.cc | 46 const int shmkey = shmget(IPC_PRIVATE, size, 0600); in Create() local 47 if (shmkey == -1) { in Create() 52 VLOG(1) << "Created SysV shared memory region " << shmkey; in Create() 55 void* address = shmat(shmkey, NULL /* desired address */, 0 /* flags */); in Create() 59 shmctl(shmkey, IPC_RMID, 0); in Create() 65 dib->key_.shmkey = shmkey; in Create() 80 TransportDIB* TransportDIB::CreateWithHandle(Handle shmkey) { in CreateWithHandle() argument 82 dib->key_.shmkey = shmkey; in CreateWithHandle() 93 return id.shmkey != -1; in is_valid_id() 111 if (shmctl(key_.shmkey, IPC_STAT, &shmst) == -1) in Map() [all …]
|
D | transport_dib.h | 88 Id() : shmkey(-1) { in Id() 92 return shmkey < other.shmkey; 96 return shmkey == other.shmkey; 99 int shmkey; member
|
/external/chromium_org/content/public/common/ |
D | common_param_traits.h | 201 WriteParam(m, p.shmkey); 204 return ReadParam(m, iter, &r->shmkey); 208 LogParam(p.shmkey, l);
|
/external/chromium_org/ui/base/x/ |
D | x11_util.cc | 304 int shmkey = shmget(IPC_PRIVATE, 1, 0600); in DoQuerySharedMemorySupport() local 305 if (shmkey == -1) { in DoQuerySharedMemorySupport() 309 VLOG(1) << "Got shared memory segment " << shmkey; in DoQuerySharedMemorySupport() 312 void* address = shmat(shmkey, NULL, 0); in DoQuerySharedMemorySupport() 314 shmctl(shmkey, IPC_RMID, NULL); in DoQuerySharedMemorySupport() 318 shminfo.shmid = shmkey; in DoQuerySharedMemorySupport() 323 VLOG(1) << "X got shared memory segment " << shmkey; in DoQuerySharedMemorySupport() 325 LOG(WARNING) << "X failed to attach to shared memory segment " << shmkey; in DoQuerySharedMemorySupport() 330 LOG(WARNING) << "X failed to attach to shared memory segment " << shmkey; in DoQuerySharedMemorySupport() 334 VLOG(1) << "X attached to shared memory segment " << shmkey; in DoQuerySharedMemorySupport()
|
/external/chromium_org/content/public/test/ |
D | mock_render_process_host.cc | 152 return TransportDIB::Map(dib_id.shmkey); in MapTransportDIB()
|
/external/chromium_org/content/browser/renderer_host/ |
D | render_process_host_impl.cc | 1236 return TransportDIB::Map(dib_id.shmkey); in MapTransportDIB()
|