Searched defs:handle (Results 1 - 6 of 6) sorted by relevance

/sdk/emulator/opengl/tests/ut_renderer/
H A DRenderer.h32 unsigned int handle; member in class:Renderer::ClientHandle
33 ClientHandle(unsigned int _pid, unsigned int _handle) : pid(_pid), handle(_handle) {}
36 bool val = (pid == p.pid) ? handle < p.handle : pid < p.pid;
42 int createSurface(RenderingThread *thread, const ClientHandle & handle);
43 int destroySurface(RenderingThread *thread, const ClientHandle &handle);
H A DRenderer.cpp57 int Renderer::createSurface(RenderingThread *thread, const ClientHandle & handle) argument
61 assert(m_surfaces.find(handle) == m_surfaces.end());
62 if (handle.handle == 0) {
71 m_surfaces.insert(SurfaceMap::value_type(handle, surface));
76 int Renderer::destroySurface(RenderingThread *thread, const ClientHandle &handle) argument
80 SurfaceMap::iterator i = m_surfaces.find(handle);
86 m_surfaces.erase(handle);
91 int Renderer::createContext(RenderingThread *thread, const ClientHandle &handle, ClientHandle shareCtx, int version) argument
95 assert(m_ctxs.find(handle)
116 destroyContext(RenderingThread *thread, const ClientHandle &handle) argument
[all...]
H A DRenderingThread.cpp213 int RenderingThread::s_createContext(uint32_t pid, uint32_t handle, uint32_t shareCtx, int version) argument
215 return Renderer::instance()->createContext(m_tls, Renderer::ClientHandle(pid, handle),
222 int RenderingThread::s_createSurface(uint32_t pid, uint32_t handle) argument
224 return Renderer::instance()->createSurface(m_tls, Renderer::ClientHandle(pid, handle));
227 int RenderingThread::s_destroySurface(uint32_t pid, uint32_t handle) argument
229 return Renderer::instance()->destroySurface(m_tls, Renderer::ClientHandle(pid, handle));
232 int RenderingThread::s_destroyContext(uint32_t pid, uint32_t handle) argument
234 return Renderer::instance()->destroyContext(m_tls, Renderer::ClientHandle(pid, handle));
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
H A DPropertySettingNodeHandler.java39 public void handle(@NonNull INode node) { method in class:PropertySettingNodeHandler
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DResizeGesture.java45 /** The selection handle we're dragging to perform this resize */
59 * @param item The selected item the handle corresponds to
60 * @param handle The handle being dragged to perform the resize
62 public ResizeGesture(LayoutCanvas canvas, SelectionItem item, SelectionHandle handle) { argument
64 mHandle = handle;
223 private static SegmentType getHorizontalEdgeType(SelectionHandle handle) { argument
224 switch (handle.getPosition()) {
236 default: assert false : handle.getPosition();
241 private static SegmentType getVerticalEdgeType(SelectionHandle handle) { argument
[all...]
/sdk/find_lock/
H A Dfind_lock.cpp278 static char isFileHandleType(HANDLE handle) { argument
282 int status = sNtQueryObjectFunc(handle, 2, NULL, 0, &size);
286 status = sNtQueryObjectFunc(handle, 2, buf, size, NULL);
315 HANDLE handle; member in struct:__anon50
329 DWORD status = sNtQueryInformationFileFunc(info->handle, iob, buf, sizeof(buf), 9);
338 // We can't handle wide Unicode. What we do is convert it into
361 static bool getFileName(HANDLE handle, CString *outStr) { argument
363 info.handle = handle;
387 if (WaitForSingleObject(th /*handle*/, 20
628 HANDLE handle = (HANDLE) sysh.wValue; local
[all...]

Completed in 150 milliseconds