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_pdf_win.cc
110
base::SharedMemory
shared_buf
;
local
112
if (!
shared_buf
.CreateAndMapAnonymous(buf_size)) {
118
if (!metafile.GetData(
shared_buf
.memory(), buf_size)) {
120
shared_buf
.Unmap();
123
shared_buf
.GiveToProcess(base::GetCurrentProcessHandle(),
125
shared_buf
.Unmap();
222
base::SharedMemory
shared_buf
;
local
224
if (!
shared_buf
.CreateAndMapAnonymous(buf_size)) {
230
if (!metafile->GetData(
shared_buf
.memory(), buf_size)) {
232
shared_buf
.Unmap()
[
all
...]
/external/chromium_org/content/child/
child_thread.cc
420
scoped_ptr<base::SharedMemory>
shared_buf
;
local
422
shared_buf
.reset(new base::SharedMemory);
423
if (!
shared_buf
->CreateAndMapAnonymous(buf_size)) {
434
shared_buf
.reset(new base::SharedMemory(shared_mem_handle, false));
435
if (!
shared_buf
->Map(buf_size)) {
448
return
shared_buf
.release();
/external/chromium_org/content/common/
child_process_host_impl.cc
206
base::SharedMemory
shared_buf
;
local
207
if (!
shared_buf
.CreateAnonymous(buffer_size)) {
212
shared_buf
.GiveToProcess(child_process_handle, shared_memory_handle);
/external/chromium_org/ui/base/clipboard/
clipboard_unittest.cc
343
base::SharedMemory
shared_buf
;
local
344
ASSERT_TRUE(
shared_buf
.CreateAndMapAnonymous(bitmap_data_size));
345
memcpy(
shared_buf
.memory(), bitmap_data, bitmap_data_size);
347
uint32* pixel_buffer = static_cast<uint32*>(
shared_buf
.memory());
359
shared_buf
.ShareToProcess(current_process, &handle_to_share);
360
ASSERT_TRUE(
shared_buf
.Unmap());
Completed in 84 milliseconds