Searched defs:handle (Results 201 - 225 of 1326) sorted by relevance

1234567891011>>

/external/chromium_org/content/browser/gpu/
H A Dgpu_surface_tracker.h26 // Note: The ID can exist before the actual native handle for the surface is
82 // Sets the native handle for the given surface.
84 void SetSurfaceHandle(int surface_id, const gfx::GLSurfaceHandle& handle);
92 // Gets the native handle for the given surface.
113 const gfx::GLSurfaceHandle& handle,
119 gfx::GLSurfaceHandle handle; member in struct:content::GpuSurfaceTracker::SurfaceInfo
/external/chromium_org/content/child/
H A Dchild_shared_bitmap_manager.cc23 cc::SharedBitmap* handle) {
25 sender->Send(new ChildProcessHostMsg_DeletedSharedBitmap(handle->id()));
51 base::SharedMemoryHandle handle; local
53 memory_size, id, &handle));
54 memory = make_scoped_ptr(new base::SharedMemory(handle, false));
59 base::SharedMemoryHandle handle_to_send = memory->handle();
77 base::SharedMemoryHandle handle_to_send = mem->handle();
22 ReleaseSharedBitmap(scoped_refptr<ThreadSafeSender> sender, cc::SharedBitmap* handle) argument
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_buffer_factory_io_surface.cc68 gfx::GpuMemoryBufferHandle handle; local
69 handle.type = gfx::IO_SURFACE_BUFFER;
70 handle.global_id = id;
71 handle.io_surface_id = IOSurfaceGetID(io_surface);
72 return handle;
/external/chromium_org/content/common/mojo/
H A Dservice_registry_impl.cc15 ServiceRegistryImpl::ServiceRegistryImpl(mojo::ScopedMessagePipeHandle handle) argument
17 BindRemoteServiceProvider(handle.Pass());
28 mojo::ScopedMessagePipeHandle handle) {
31 mojo::WeakBindToPipe(this, handle.Pass());
58 mojo::ScopedMessagePipeHandle handle) {
61 std::make_pair(service_name.as_string(), handle.release()));
64 client()->ConnectToService(mojo::String::From(service_name), handle.Pass());
27 BindRemoteServiceProvider( mojo::ScopedMessagePipeHandle handle) argument
56 ConnectToRemoteService( const base::StringPiece& service_name, mojo::ScopedMessagePipeHandle handle) argument
/external/chromium_org/content/renderer/device_sensors/
H A Ddevice_light_event_pump.cc58 bool DeviceLightEventPump::InitializeReader(base::SharedMemoryHandle handle) { argument
61 return reader_->Initialize(handle);
/external/chromium_org/content/renderer/pepper/
H A Dhost_array_buffer_var.cc33 base::SharedMemoryHandle handle)
35 base::SharedMemory s(handle, true);
72 // Duplicate the handle here; the SharedMemory destructor closes
73 // its handle on us.
84 shm->handle();
86 shm->handle().fd;
32 HostArrayBufferVar(uint32 size_in_bytes, base::SharedMemoryHandle handle) argument
/external/chromium_org/extensions/renderer/
H A Dscoped_persistent.h13 // A v8::Persistent handle to a V8 value which destroys and clears the
14 // underlying handle on destruction.
20 explicit ScopedPersistent(v8::Handle<T> handle) { reset(handle); } argument
24 void reset(v8::Handle<T> handle) { argument
25 if (!handle.IsEmpty())
26 handle_.Reset(GetIsolate(handle), handle); local
/external/chromium_org/ipc/mojo/
H A Dipc_message_pipe_reader.h17 // A helper class to handle bytestream directly over mojo::MessagePipe
48 explicit MessagePipeReader(mojo::ScopedMessagePipeHandle handle);
51 MojoHandle handle() const { return pipe_.get().value(); } function in class:IPC::internal::MessagePipeReader
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DDataPipeProducerHandleImpl.java27 DataPipeProducerHandleImpl(HandleBase handle) { argument
28 super(handle);
H A DSharedBufferHandleImpl.java26 SharedBufferHandleImpl(HandleBase handle) { argument
27 super(handle);
/external/chromium_org/mojo/bindings/js/
H A Dhandle.h10 #include "gin/handle.h"
24 MojoHandle handle) {
25 return gin::CreateHandle(isolate, new HandleWrapper(handle));
36 HandleWrapper(MojoHandle handle);
56 // We need to specialize the normal gin::Handle converter in order to handle
23 Create(v8::Isolate* isolate, MojoHandle handle) argument
/external/chromium_org/mojo/embedder/
H A Dscoped_platform_handle.h21 explicit ScopedPlatformHandle(PlatformHandle handle) : handle_(handle) {} argument
45 void reset(PlatformHandle handle = PlatformHandle()) {
47 handle_ = handle;
/external/chromium_org/mojo/public/cpp/test_support/lib/
H A Dtest_utils.cc13 bool WriteTextMessage(const MessagePipeHandle& handle, argument
15 MojoResult rv = WriteMessageRaw(handle,
24 bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { argument
30 rv = ReadMessageRaw(handle,
41 rv = Wait(handle, MOJO_HANDLE_SIGNAL_READABLE, MOJO_DEADLINE_INDEFINITE);
52 rv = ReadMessageRaw(handle,
61 bool DiscardMessage(const MessagePipeHandle& handle) { argument
62 MojoResult rv = ReadMessageRaw(handle, NULL, NULL, NULL, NULL,
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DInterfaceWithClient.java55 * @param <I> the type of the interface the manager can handle.
56 * @param <P> the type of the proxy the manager can handle. To be noted, P always extends I.
66 public final void bind(I impl, MessagePipeHandle handle) { argument
67 Router router = new RouterImpl(handle);
68 super.bind(handle.getCore(), impl, router);
70 CI client = (CI) getClientManager().attachProxy(handle.getCore(), router);
76 * Returns a Proxy that will send messages to the given |handle|. This implies that the
77 * other end of the handle must be connected to an implementation of the interface. |client|
80 public P attachProxy(MessagePipeHandle handle, CI client) { argument
81 Router router = new RouterImpl(handle);
[all...]
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/
H A DAsyncWaiter.java33 * Called when the handle is ready.
51 Cancellable asyncWait(Handle handle, HandleSignals signals, long deadline, Callback callback); argument
/external/chromium_org/mojo/services/public/cpp/network/
H A Dweb_socket_read_queue.cc16 WebSocketReadQueue::WebSocketReadQueue(DataPipeConsumerHandle handle) argument
17 : handle_(handle), is_waiting_(false) {
51 DataPipeConsumerHandle handle = handle_;
53 EndReadDataRaw(handle, bytes_read);
H A Dweb_socket_write_queue.cc21 WebSocketWriteQueue::WebSocketWriteQueue(DataPipeProducerHandle handle) argument
22 : handle_(handle), is_waiting_(false) {
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_object.h36 : handle(h), flags(0), path(open_path) {}
38 ScopedKernelHandle handle; member in struct:nacl_io::KernelObject::Descriptor_t
74 // Convert from FD to KernelHandle, and acquire the handle.
81 // Allocate a new fd and assign the handle to it, while
82 // ref counting the handle and associated filesystem.
83 // Assumes |handle| is non-NULL;
84 int AllocateFD(const ScopedKernelHandle& handle,
87 // Assumes |handle| is non-NULL;
89 const ScopedKernelHandle& handle,
/external/chromium_org/ppapi/cpp/private/
H A Dpass_file_handle.h15 // A wrapper class for PP_FileHandle to make sure a file handle is
16 // closed. This object takes the ownership of the file handle when it
22 // This constructor takes the ownership of |handle|.
23 explicit PassFileHandle(PP_FileHandle handle);
24 // Moves the ownership of |handle| to this object.
25 PassFileHandle(PassFileHandle& handle);
28 // Releases |handle_|. The caller must close the file handle returned.
35 PP_FileHandle handle; member in struct:pp::PassFileHandle::PassFileHandleRef
37 : handle(h) {
43 : handle_(ref.handle) {
[all...]
/external/chromium_org/ppapi/nacl_irt/
H A Dmanifest_service.cc64 const IPC::ChannelHandle& handle,
68 channel_ = IPC::ChannelProxy::Create(handle,
63 ManifestService( const IPC::ChannelHandle& handle, scoped_refptr<base::MessageLoopProxy> io_message_loop, base::WaitableEvent* shutdown_event) argument
/external/chromium_org/ppapi/proxy/
H A Dgamepad_resource.cc105 // On failure, the handle will be null and the CHECK below will be tripped.
106 base::SharedMemoryHandle handle = base::SharedMemory::NULLHandle(); local
107 params.TakeSharedMemoryHandleAtIndex(0, &handle);
109 shared_memory_.reset(new base::SharedMemory(handle, true));
H A Dproxy_channel.cc63 base::PlatformFile handle,
68 base::File file_closer(handle);
73 return delegate_->ShareHandleWithRemote(handle, peer_pid_,
62 ShareHandleWithRemote( base::PlatformFile handle, bool should_close_source) argument
H A Dserialized_handle.cc38 SerializedHandle::SerializedHandle(const base::SharedMemoryHandle& handle, argument
41 shm_handle_(handle),
/external/chromium_org/ppapi/tests/
H A Dpp_thread.h42 HANDLE handle; member in struct:PP_Thread
111 thread->handle = reinterpret_cast<HANDLE>(raw_handle);
112 return (thread->handle != NULL);
116 ::WaitForSingleObject(thread.handle, INFINITE);
117 ::CloseHandle(thread.handle);
/external/chromium_org/sandbox/win/src/
H A Dregistry_policy_test.cc26 bool IsKeyOpenForRead(HKEY handle) { argument
30 NTSTATUS status = NtQueryObject(handle, ObjectBasicInformation, &info,
128 // Tests if we need to handle differently the "\\" at the end.

Completed in 364 milliseconds

1234567891011>>