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

1234567891011>>

/external/chromium_org/chrome_frame/turndown_prompt/
H A Dturndown_prompt_content.cc52 HGLOBAL handle = NULL; local
61 handle = ::LoadResource(_AtlBaseModule.GetResourceInstance(), resource);
63 if (handle == NULL) {
68 dlgtemplate = reinterpret_cast<DLGTEMPLATE*>(::LockResource(handle));
/external/chromium_org/content/browser/device_orientation/
H A Ddevice_inertial_sensor_service.cc84 ConsumerType consumer_type, base::ProcessHandle handle) {
86 return data_fetcher_->GetSharedMemoryHandleForProcess(consumer_type, handle);
83 GetSharedMemoryHandleForProcess( ConsumerType consumer_type, base::ProcessHandle handle) argument
/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/common/gpu/client/
H A Dgpu_memory_buffer_impl_io_surface.cc45 gfx::GpuMemoryBufferHandle handle) {
46 io_surface_.reset(io_surface_support_->IOSurfaceLookup(handle.io_surface_id));
73 gfx::GpuMemoryBufferHandle handle; local
74 handle.type = gfx::IO_SURFACE_BUFFER;
75 handle.io_surface_id = io_surface_support_->IOSurfaceGetID(io_surface_);
76 return handle;
44 Initialize( gfx::GpuMemoryBufferHandle handle) argument
/external/chromium_org/content/renderer/media/webrtc/
H A Dwebrtc_video_sink_adapter.cc54 NativeHandleImpl* handle = local
56 video_frame = static_cast<media::VideoFrame*>(handle->GetHandle());
/external/chromium_org/content/renderer/pepper/
H A Dhost_array_buffer_var.cc36 base::SharedMemoryHandle handle)
38 base::SharedMemory s(handle, true);
77 // Duplicate the handle here; the SharedMemory destructor closes
78 // its handle on us.
89 shm->handle();
91 shm->handle().fd;
35 HostArrayBufferVar(uint32 size_in_bytes, base::SharedMemoryHandle handle) argument
/external/chromium_org/gpu/command_buffer/service/
H A Dsafe_shared_memory_pool.cc24 original_handle_ = memory->handle();
30 // Release the handle. The pool will delete the SharedMemory
63 MemoryMap::iterator it = memory_.find(shared_memory->handle());
71 memory_[shared_memory->handle()] = tracker;
92 ReleaseSafeSharedMemory(const base::SharedMemoryHandle& handle) { argument
99 MemoryMap::iterator it = memory_.find(handle);
117 // Duplicate the handle.
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfake_resource_manager.cc33 PP_Resource handle = next_handle_++; local
37 resource_map_.insert(ResourceMap::value_type(handle, resource_tracker));
40 return handle;
43 void FakeResourceManager::AddRef(PP_Resource handle) { argument
45 ResourceMap::iterator iter = resource_map_.find(handle);
47 << handle;
52 << "(" << handle
59 void FakeResourceManager::Release(PP_Resource handle) { argument
61 ResourceMap::iterator iter = resource_map_.find(handle);
63 << handle;
87 Get(PP_Resource handle) argument
[all...]
/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/native_client/src/trusted/plugin/
H A Dtemporary_file.cc57 HANDLE handle = file_handle; local
61 int32_t posix_desc = _open_osfhandle(reinterpret_cast<intptr_t>(handle),
67 CloseHandle(handle);
/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.cc62 base::PlatformFile handle,
68 base::ClosePlatformFile(handle);
70 close(handle);
76 return delegate_->ShareHandleWithRemote(handle, peer_pid_,
61 ShareHandleWithRemote( base::PlatformFile handle, bool should_close_source) argument
H A Dserialized_handle.cc34 SerializedHandle::SerializedHandle(const base::SharedMemoryHandle& handle, argument
37 shm_handle_(handle),
/external/chromium_org/remoting/host/native_messaging/
H A Dnative_messaging_channel.cc20 base::PlatformFile DuplicatePlatformFile(base::PlatformFile handle) { argument
24 handle,
30 PLOG(ERROR) << "Failed to duplicate handle " << handle;
35 result = dup(handle);
36 base::ClosePlatformFile(handle);
H A Dnative_messaging_writer.cc53 NativeMessagingWriter::NativeMessagingWriter(base::PlatformFile handle) argument
54 : write_stream_(handle, base::PLATFORM_FILE_WRITE, NULL),
/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.
H A Dsync_dispatcher.cc54 HANDLE handle = NULL; local
57 &handle);
60 ipc->return_info.handle = handle;
74 HANDLE handle = NULL; local
76 desired_access, &handle);
79 ipc->return_info.handle = handle;
H A Dwindow.cc16 // Gets the security attributes of a window object referenced by |handle|. The
19 bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES* attributes) { argument
24 DWORD result = ::GetSecurityInfo(handle, SE_WINDOW_OBJECT,
116 base::string16 GetWindowObjectName(HANDLE handle) { argument
119 ::GetUserObjectInformation(handle, UOI_NAME, NULL, 0, &size);
130 if (!::GetUserObjectInformation(handle, UOI_NAME, name_buffer.get(), size,
/external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
H A DSyncContentResolverDelegate.java20 void removeStatusChangeListener(Object handle); argument
H A DSystemSyncContentResolverDelegate.java20 public void removeStatusChangeListener(Object handle) { argument
21 ContentResolver.removeStatusChangeListener(handle);
/external/chromium_org/sync/notifier/
H A Dmock_ack_handler.cc15 AckHandleMatcher(const AckHandle& handle);
21 AckHandleMatcher::AckHandleMatcher(const AckHandle& handle) argument
22 : handle_(handle) {}
64 const AckHandle& handle) {
65 AckHandleMatcher matcher(handle);
78 const AckHandle& handle) {
62 Acknowledge( const invalidation::ObjectId& id, const AckHandle& handle) argument
76 Drop( const invalidation::ObjectId& id, const AckHandle& handle) argument
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DScopedPersistent.h45 ScopedPersistent(v8::Isolate* isolate, v8::Handle<T> handle) argument
46 : m_handle(isolate, handle)
68 void set(v8::Isolate* isolate, v8::Handle<T> handle) argument
70 m_handle.Reset(isolate, handle);
85 // FIXME: This function does an unsafe handle access. Remove it.
/external/chromium_org/third_party/WebKit/Source/platform/
H A DEventTracer.cpp73 void EventTracer::updateTraceEventDuration(const unsigned char* categoryEnabledFlag, const char* name, TraceEvent::TraceEventHandle handle) argument
75 blink::Platform::current()->updateTraceEventDuration(categoryEnabledFlag, name, handle);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dlatebindingsymboltable.cc57 static bool LoadSymbol(DllHandle handle, argument
61 *symbol = dlsym(handle, symbol_name);
/external/chromium_org/third_party/libxml/src/
H A Dxmlmodule.c24 void *handle; member in struct:_xmlModule
28 static int xmlModulePlatformClose(void *handle);
29 static int xmlModulePlatformSymbol(void *handle, const char *name, void **result);
66 * Returns a handle for the module or NULL in case of error
81 module->handle = xmlModulePlatformOpen(name);
83 if (module->handle == NULL) {
117 rc = xmlModulePlatformSymbol(module->handle, name, symbol);
133 * @module: the module handle
153 rc = xmlModulePlatformClose(module->handle);
169 * @module: the module handle
223 xmlModulePlatformClose(void *handle) argument
235 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
267 xmlModulePlatformClose(void *handle) argument
279 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
312 xmlModulePlatformClose(void *handle) argument
327 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
358 xmlModulePlatformClose(void *handle) argument
377 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
402 void *handle; local
420 xmlModulePlatformClose(void *handle) argument
432 xmlModulePlatformSymbol(void *handle, const char *name, void **symbol) argument
[all...]

Completed in 643 milliseconds

1234567891011>>