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

1234567891011>>

/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.cc40 bool TempFile::SetExistingFd(PP_FileHandle handle) { argument
41 // Check if we got a bad handle or if Open has already been called.
42 if (handle == PP_kInvalidFileHandle || read_wrapper_.get() != NULL)
44 existing_handle_ = handle;
65 HANDLE handle = file_handle; local
69 int32_t posix_desc = _open_osfhandle(reinterpret_cast<intptr_t>(handle),
75 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/printing/backend/
H A Dwin_helper.h28 static bool CloseHandle(HANDLE handle) { argument
29 return ::ClosePrinter(handle) != FALSE;
32 static bool IsHandleValid(HANDLE handle) { argument
33 return handle != NULL;
49 // ::OpenPrinter may return error but assign some value into handle.
59 // Hide Receive to avoid assigning handle when ::OpenPrinter returned error.
/external/chromium_org/remoting/host/setup/
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_interception.cc23 HANDLE handle = orig_CreateEvent(security_attributes, manual_reset, local
26 if (NULL != handle)
27 return handle;
56 return answer.handle;
69 HANDLE handle = orig_OpenEvent(desired_access, inherit_handle, name); local
71 if (NULL != handle)
72 return handle;
100 return answer.handle;
H A Dsync_policy.cc69 HANDLE *handle) {
81 client_info.process, handle, 0, FALSE,
93 HANDLE *handle) {
105 client_info.process, handle, 0, inherit_handle,
64 CreateEventAction(EvalResult eval_result, const ClientInfo& client_info, const std::wstring &event_name, uint32 manual_reset, uint32 initial_state, HANDLE *handle) argument
88 OpenEventAction(EvalResult eval_result, const ClientInfo& client_info, const std::wstring &event_name, uint32 desired_access, uint32 inherit_handle, HANDLE *handle) argument
H A Dwindow.cc14 // Gets the security attributes of a window object referenced by |handle|. The
17 bool GetSecurityAttributes(HANDLE handle, SECURITY_ATTRIBUTES* attributes) { argument
22 DWORD result = ::GetSecurityInfo(handle, SE_WINDOW_OBJECT,
103 std::wstring GetWindowObjectName(HANDLE handle) { argument
106 ::GetUserObjectInformation(handle, UOI_NAME, NULL, 0, &size);
117 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/third_party/WebKit/Source/bindings/v8/
H A DScopedPersistent.h45 explicit ScopedPersistent(v8::Handle<T> handle) argument
46 : m_handle(v8::Isolate::GetCurrent(), handle)
68 void set(v8::Isolate* isolate, v8::Handle<T> handle) argument
70 m_handle.Reset(isolate, handle);
88 // FIXME: This function does an unsafe handle access. Remove it.
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DPrerenderer.cpp93 RefPtr<PrerenderHandle> handle = m_activeHandles[0].release(); local
95 handle->abandon();
98 RefPtr<PrerenderHandle> handle = m_suspendedHandles[0].release(); local
100 handle->abandon();
108 RefPtr<PrerenderHandle> handle = m_activeHandles[0].release(); local
110 handle->suspend();
111 m_suspendedHandles.append(handle);
119 RefPtr<PrerenderHandle> handle = m_suspendedHandles[0].release(); local
121 handle->resume();
122 m_activeHandles.append(handle);
[all...]
/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...]
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dglapi_gentable.c107 _glapi_create_table_from_handle(void *handle, const char *symbol_prefix) { argument
121 *procp = dlsym(handle, symboln);
128 *procp = dlsym(handle, symboln);
135 *procp = dlsym(handle, symboln);
142 *procp = dlsym(handle, symboln);
149 *procp = dlsym(handle, symboln);
156 *procp = dlsym(handle, symboln);
163 *procp = dlsym(handle, symboln);
170 *procp = dlsym(handle, symboln);
177 *procp = dlsym(handle, symbol
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_resource_texture.h63 * Creation key for the host surface handle.
74 * This handle is owned by this texture. Views should hold on to a reference
75 * to this texture and never destroy this handle directly.
77 struct svga_winsys_surface *handle; member in struct:svga_texture
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/
H A Dnative_buffer.h52 unsigned handle; /**< the handle of the GEM object */ member in struct:native_buffer::__anon12508::__anon12509
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_bo.h56 uint32_t handle; member in struct:radeon_bo
/external/chromium_org/third_party/npapi/npspy/extern/nspr/
H A Dprcountr.h54 ** convention. A "handle" is returned when the counter is
56 ** handle. An API is provided to get an existing counter's handle
58 ** Similarly, a counter's name can be retrieved given its handle.
109 ** Opaque counter handle type.
124 ** handle.
138 #define PR_INIT_COUNTER_HANDLE(handle,value)\
139 (handle) = (PRCounterHandle)(value)
141 #define PR_INIT_COUNTER_HANDLE(handle,value)
151 ** PRCounterHandle to receive the handle returne
212 PRCounterHandle handle variable
309 PRCounterHandle handle variable
338 PRCounterHandle handle variable
431 PRCounterHandle handle variable
505 PRCounterHandle handle variable
[all...]
/external/chromium_org/third_party/skia/src/gpu/gl/mac/
H A DGrGLCreateNativeInterface_mac.cpp30 void* handle() { function in class:GLLoader
39 return dlsym(gLoader.handle(), name);
/external/chromium_org/ui/gfx/
H A Dgpu_memory_buffer.h28 handle(base::SharedMemory::NULLHandle())
36 base::SharedMemoryHandle handle; member in struct:gfx::GpuMemoryBufferHandle
77 // Returns a platform specific handle for this buffer.
/external/chromium_org/ui/surface/
H A Dtransport_dib_posix.cc44 TransportDIB* TransportDIB::Map(Handle handle) { argument
45 scoped_ptr<TransportDIB> dib(CreateWithHandle(handle));
52 TransportDIB* TransportDIB::CreateWithHandle(Handle handle) { argument
53 return new TransportDIB(handle);
79 if (!is_valid_handle(handle()))
90 if ((fstat(shared_memory_.handle().fd, &st) != 0) ||
106 return handle();
112 TransportDIB::Handle TransportDIB::handle() const { function in class:TransportDIB
113 return shared_memory_.handle();

Completed in 701 milliseconds

1234567891011>>