OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:shared_buf
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/chrome/renderer/printing/
print_web_view_helper_win.cc
223
base::SharedMemory
shared_buf
;
local
230
if (!
shared_buf
.CreateAndMapAnonymous(buf_size)) {
236
if (!metafile->GetData(
shared_buf
.memory(), buf_size)) {
238
shared_buf
.Unmap();
241
shared_buf
.GiveToProcess(base::GetCurrentProcessHandle(), shared_mem_handle);
242
shared_buf
.Unmap();
/external/chromium_org/content/child/
child_thread.cc
326
scoped_ptr<base::SharedMemory>
shared_buf
;
local
328
shared_buf
.reset(new base::SharedMemory);
329
if (!
shared_buf
->CreateAndMapAnonymous(buf_size)) {
340
shared_buf
.reset(new base::SharedMemory(shared_mem_handle, false));
341
if (!
shared_buf
->Map(buf_size)) {
354
return
shared_buf
.release();
/external/chromium_org/content/common/
child_process_host_impl.cc
203
base::SharedMemory
shared_buf
;
local
204
if (!
shared_buf
.CreateAnonymous(buffer_size)) {
209
shared_buf
.GiveToProcess(child_process_handle, shared_memory_handle);
/external/chromium_org/ui/base/clipboard/
clipboard_unittest.cc
338
base::SharedMemory
shared_buf
;
local
339
ASSERT_TRUE(
shared_buf
.CreateAndMapAnonymous(bitmap_data_size));
340
memcpy(
shared_buf
.memory(), bitmap_data, bitmap_data_size);
342
uint32* pixel_buffer = static_cast<uint32*>(
shared_buf
.memory());
354
shared_buf
.ShareToProcess(current_process, &handle_to_share);
355
ASSERT_TRUE(
shared_buf
.Unmap());
Completed in 638 milliseconds