/external/valgrind/main/coregrind/m_gdbserver/ |
D | remote-utils.c | 119 static char *shared_mem = NULL; variable 317 if (shared_mem != NULL) in remote_open() 318 free (shared_mem); in remote_open() 319 shared_mem = malloc (len); in remote_open() 325 VG_(sprintf) (shared_mem, "%s-shared-mem-vgdb-%d-by-%s-on-%s", name, in remote_open() 330 VG_(umsg)("embedded gdbserver: shared mem %s\n", shared_mem); in remote_open() 369 VG_(unlink)(shared_mem); in remote_open() 376 o = VG_(open) (shared_mem, VKI_O_CREAT|VKI_O_RDWR, 0600); in remote_open() 378 sr_perror(o, "cannot create shared_mem file %s\n", shared_mem); in remote_open() 387 (int) sizeof(VgdbShared), shared_mem); in remote_open() [all …]
|
/external/chromium_org/chrome/renderer/printing/ |
D | print_web_view_helper_linux.cc | 120 scoped_ptr<base::SharedMemory> shared_mem( in PrintPagesNative() local 123 if (!shared_mem.get()) { in PrintPagesNative() 128 if (!shared_mem->Map(buf_size)) { in PrintPagesNative() 132 metafile.GetData(shared_mem->memory(), buf_size); in PrintPagesNative() 134 shared_mem->GiveToProcess(base::GetCurrentProcessHandle(), in PrintPagesNative()
|
/external/chromium_org/android_webview/renderer/ |
D | print_web_view_helper_linux.cc | 124 scoped_ptr<base::SharedMemory> shared_mem( in PrintPagesNative() local 127 if (!shared_mem.get()) { in PrintPagesNative() 132 if (!shared_mem->Map(buf_size)) { in PrintPagesNative() 136 metafile.GetData(shared_mem->memory(), buf_size); in PrintPagesNative() 138 shared_mem->GiveToProcess(base::GetCurrentProcessHandle(), in PrintPagesNative()
|
/external/chromium_org/ui/gfx/ |
D | blit_unittest.cc | 149 base::SharedMemory shared_mem; in TEST() local 150 ASSERT_TRUE(shared_mem.CreateAnonymous(kCanvasWidth * kCanvasHeight)); in TEST() 151 base::SharedMemoryHandle section = shared_mem.handle(); in TEST() 156 shared_mem.Close(); in TEST()
|
/external/chromium_org/sandbox/win/src/ |
D | sharedmem_ipc_client.cc | 41 SharedMemIPCClient::SharedMemIPCClient(void* shared_mem) in SharedMemIPCClient() argument 42 : control_(reinterpret_cast<IPCControl*>(shared_mem)) { in SharedMemIPCClient() 43 first_base_ = reinterpret_cast<char*>(shared_mem) + in SharedMemIPCClient()
|
D | sharedmem_ipc_client.h | 103 explicit SharedMemIPCClient(void* shared_mem);
|
D | sharedmem_ipc_server.cc | 64 bool SharedMemIPCServer::Init(void* shared_mem, uint32 shared_size, in Init() argument 87 client_control_ = reinterpret_cast<IPCControl*>(shared_mem); in Init() 114 service_context->shared_base = reinterpret_cast<char*>(shared_mem); in Init()
|
D | sharedmem_ipc_server.h | 52 bool Init(void* shared_mem, uint32 shared_size, uint32 channel_size);
|
/external/valgrind/main/coregrind/ |
D | vgdb.c | 151 void map_vgdbshared (char* shared_mem) in map_vgdbshared() argument 155 shared_mem_fd = open(shared_mem, O_RDWR); in map_vgdbshared() 159 XERROR (errno, "error opening %s shared memory file\n", shared_mem); in map_vgdbshared() 173 shared_mem, in map_vgdbshared() 180 shared_mem, in map_vgdbshared() 198 XERROR (errno, "error mmap shared memory file %s\n", shared_mem); in map_vgdbshared() 422 static char *shared_mem; variable 528 shared_mem = vmalloc (len); in prepare_fifos_and_shared_mem() 534 sprintf(shared_mem, "%s-shared-mem-vgdb-%d-by-%s-on-%s", vgdb_prefix, in prepare_fifos_and_shared_mem() 537 from_gdb_to_pid, to_gdb_from_pid, shared_mem); in prepare_fifos_and_shared_mem() [all …]
|
/external/chromium_org/content/browser/device_sensors/ |
D | data_fetcher_shared_memory_base.cc | 227 base::SharedMemory* shared_mem = new_shared_mem.release(); in GetSharedMemory() local 228 shared_memory_map_[consumer_type] = shared_mem; in GetSharedMemory() 229 return shared_mem; in GetSharedMemory()
|
/external/llvm/test/Transforms/InstCombine/ |
D | constant-fold-address-space-pointer.ll | 234 @shared_mem = external addrspace(3) global [0 x i8] 238 …t* addrspacecast (float addrspace(3)* bitcast ([0 x i8] addrspace(3)* @shared_mem to float addrspa… 239 …%p = getelementptr inbounds float* addrspacecast ([0 x i8] addrspace(3)* @shared_mem to float*), i…
|
/external/chromium_org/chrome/browser/task_manager/ |
D | task_manager.cc | 450 size_t shared_mem; in GetResourceSharedMemory() local 451 if (!GetSharedMemory(index, &shared_mem)) in GetResourceSharedMemory() 453 return GetMemCellText(shared_mem); in GetResourceSharedMemory()
|
/external/chromium_org/content/browser/loader/ |
D | resource_dispatcher_host_unittest.cc | 995 base::SharedMemory shared_mem(shm_handle, true); // read only in CheckSuccessfulRequestWithErrorCode() local 996 shared_mem.Map(data_length); in CheckSuccessfulRequestWithErrorCode() 997 const char* data = static_cast<char*>(shared_mem.memory()) + data_offset; in CheckSuccessfulRequestWithErrorCode()
|