Home
last modified time | relevance | path

Searched refs:shared_mem (Results 1 – 13 of 13) sorted by relevance

/external/valgrind/main/coregrind/m_gdbserver/
Dremote-utils.c119 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/
Dprint_web_view_helper_linux.cc120 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/
Dprint_web_view_helper_linux.cc124 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/
Dblit_unittest.cc149 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/
Dsharedmem_ipc_client.cc41 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()
Dsharedmem_ipc_client.h103 explicit SharedMemIPCClient(void* shared_mem);
Dsharedmem_ipc_server.cc64 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()
Dsharedmem_ipc_server.h52 bool Init(void* shared_mem, uint32 shared_size, uint32 channel_size);
/external/valgrind/main/coregrind/
Dvgdb.c151 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/
Ddata_fetcher_shared_memory_base.cc227 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/
Dconstant-fold-address-space-pointer.ll234 @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/
Dtask_manager.cc450 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/
Dresource_dispatcher_host_unittest.cc995 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()