/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/win/ |
WMPrint.cpp | 40 HDC dc = ::CreateCompatibleDC(0); local 41 // FIXME: It would be nice to test that this actually paints the view into dc. 42 ::SendMessage(window, WM_PRINT, reinterpret_cast<WPARAM>(dc), PRF_CLIENT | PRF_CHILDREN); 43 ::DeleteDC(dc);
|
/frameworks/base/libs/rs/driver/ |
rsdMesh.cpp | 43 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 44 if (!dc->gl.shaderCache->setup(rsc)) {
|
rsdFrameBuffer.cpp | 71 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 72 dc->gl.currentFrameBuffer = fbo;
|
rsdProgram.cpp | 58 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 61 dc->gl.shaderCache->setActiveVertex((RsdShader*)pv->mHal.drv); 65 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 74 dc->gl.shaderCache->cleanupVertex(drv->getShaderID()); 89 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 92 dc->gl.shaderCache->setActiveFragment((RsdShader*)pf->mHal.drv); 96 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 105 dc->gl.shaderCache->cleanupFragment(drv->getShaderID());
|
rsdVertexArray.cpp | 84 RsdHal *dc = (RsdHal *)rsc->mHal.drv; local 85 RsdVertexArrayState *state = dc->gl.vertexArrayState; 86 RsdShaderCache *sc = dc->gl.shaderCache;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 27 DatagramChannel dc = DatagramChannel.open(); local 28 dc.connect(ds.getLocalSocketAddress()); 30 dc.read(readOnly); 35 dc.read(new ByteBuffer[] { readOnly }); 40 dc.read(new ByteBuffer[] { readOnly }, 0, 1); 48 DatagramChannel dc = DatagramChannel.open(); local 50 dc.configureBlocking(false); 51 dc.socket().bind(null); 53 assertNull(dc.receive(ByteBuffer.allocate(2048))); 55 dc.close() [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
GlyphPageTreeNodeCairoWin.cpp | 45 HDC dc = GetDC((HWND)0); local 46 SaveDC(dc); 47 SelectObject(dc, fontData->platformData().hfont()); 50 GetTextMetrics(dc, &tm); 53 DWORD result = GetGlyphIndices(dc, buffer, bufferLength, localGlyphBuffer, 0); 66 RestoreDC(dc, -1); 67 ReleaseDC(0, dc);
|
SimpleFontDataCGWin.cpp | 73 HDC dc = GetDC(0); local 74 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); 75 int faceLength = GetTextFace(dc, 0, 0); 77 GetTextFace(dc, faceLength, faceName.data()); 79 SelectObject(dc, oldFont); 80 ReleaseDC(0, dc);
|
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/ |
DrawsGradient.cpp | 74 HDC dc = ::BeginPaint(window(), &paintStruct); local 75 if (!dc) 78 paint(dc); 93 void DrawsGradient::paint(HDC dc) const 117 ::GradientFill(dc, vertices, _countof(vertices), mesh, _countof(mesh), GRADIENT_FILL_TRIANGLE);
|
/external/chromium/chrome/browser/ui/views/ |
theme_helpers.cc | 35 HDC dc = canvas.beginPlatformPaint(); local 37 theme.DrawThemeBackground(dc, 0, 0, &rect, NULL);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
FontPlatformDataChromiumWin.cpp | 134 HDC dc = GetDC(0); local 135 HGDIOBJ oldFont = SelectObject(dc, hfont()); 136 HRESULT hr = ScriptGetFontProperties(dc, scriptCache(), 141 hr = ScriptGetFontProperties(dc, scriptCache(), 149 SelectObject(dc, oldFont); 150 ReleaseDC(0, dc);
|
GlyphPageTreeNodeChromiumWin.cpp | 53 static Glyph initSpaceGlyph(HDC dc, Glyph* spaceGlyph) 59 GetGlyphIndices(dc, &space, 1, spaceGlyph, 0); 74 HDC dc = GetDC((HWND)0); local 75 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont()); 78 if (!GetTextMetrics(dc, &tm)) { 79 SelectObject(dc, oldFont); 80 ReleaseDC(0, dc); 131 GetGlyphIndices(dc, buffer, length, localGlyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); 137 if ((windowsVersion() < WindowsVista) && !(tm.tmPitchAndFamily & TMPF_TRUETYPE) && (GetFontData(dc, cffTableTag, 0, 0, 0) == GDI_ERROR)) 152 glyph = initSpaceGlyph(dc, &spaceGlyph) [all...] |
SimpleFontDataChromiumWin.cpp | 63 HDC dc = GetDC(0); local 64 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); 67 if (!GetTextMetrics(dc, &textMetric)) { 72 if (!GetTextMetrics(dc, &textMetric)) 87 if (GetOutlineTextMetrics(dc, sizeof(outlineTextMetric), &outlineTextMetric) > 0) { 91 DWORD len = GetGlyphOutlineW(dc, 'x', GGO_METRICS, &glyphMetrics, 0, 0, &identityMatrix); 102 SelectObject(dc, oldFont); 103 ReleaseDC(0, dc); 155 HDC dc = GetDC(0); local 156 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()) [all...] |
/external/webkit/Source/WebCore/platform/win/ |
DragImageCairoWin.cpp | 45 HBITMAP allocImage(HDC dc, IntSize size, PlatformContextCairo** targetRef) 50 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); 115 HDC dc = GetDC(0); local 116 HDC dstDC = CreateCompatibleDC(dc); 149 ReleaseDC(0, dc); 156 HDC dc = GetDC(0); local 157 HDC workingDC = CreateCompatibleDC(dc); 186 ReleaseDC(0, dc);
|
DragImageCGWin.cpp | 46 HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef) 51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); 92 HDC dc = GetDC(0); local 93 HDC dstDC = CreateCompatibleDC(dc); 119 ReleaseDC(0, dc); 126 HDC dc = GetDC(0); local 127 HDC workingDC = CreateCompatibleDC(dc); 158 ReleaseDC(0, dc);
|
CursorWin.cpp | 51 HDC dc = GetDC(0); local 52 HDC workingDC = CreateCompatibleDC(dc); 54 OwnPtr<HBITMAP> hCursor(CreateDIBSection(dc, (BITMAPINFO *)&cursorImage, DIB_RGB_COLORS, 0, 0, 0)); 77 HDC andMaskDC = CreateCompatibleDC(dc); 78 HDC xorMaskDC = CreateCompatibleDC(dc); 79 OwnPtr<HBITMAP> hCursor(CreateDIBSection(dc, &cursorImage, DIB_RGB_COLORS, 0, 0, 0)); 85 OwnPtr<HBITMAP> xorMask(CreateCompatibleBitmap(dc, cursor.bmWidth, cursor.bmHeight)); 114 ReleaseDC(0, dc);
|
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/ |
non-kerned-drawing.cpp | 48 wxGCDC* dc = static_cast<wxGCDC*>(graphicsContext->platformContext()); local 53 CGContextRef cgContext = static_cast<CGContextRef>(dc->GetGraphicsContext()->GetNativeContext());
|
scrollbar_render.cpp | 32 #include <wx/dc.h> 56 void wxRenderer_DrawScrollbar(wxWindow* WXUNUSED(window), wxDC& dc, variable 65 dc.SetBrush( *wxWHITE_BRUSH ); 66 dc.SetPen( *wxTRANSPARENT_PEN ); 67 dc.DrawRectangle(rect); 69 dc.SetBrush( *wxTRANSPARENT_BRUSH ); 76 wxGCDCImpl *impl = dynamic_cast<wxGCDCImpl*> (dc.GetImpl()); 80 gc = dc.GetGraphicsContext();
|
/dalvik/dx/src/com/android/dx/ssa/ |
LiteralOpUpgrader.java | 52 LiteralOpUpgrader dc; local 54 dc = new LiteralOpUpgrader(ssaMethod); 56 dc.run();
|
/external/openssl/crypto/evp/ |
names.c | 144 struct doall_cipher *dc = arg; local 146 dc->fn(NULL, nm->name, nm->data, dc->arg); 148 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); 154 struct doall_cipher dc; local 155 dc.fn = fn; 156 dc.arg = arg; 157 OBJ_NAME_do_all(OBJ_NAME_TYPE_CIPHER_METH, do_all_cipher_fn, &dc); 163 struct doall_cipher dc; local 178 struct doall_md *dc = arg; local 188 struct doall_md dc; local 197 struct doall_md dc; local [all...] |
/external/webkit/Source/WebKit/chromium/tests/ |
TransparencyWinTest.cpp | 54 HDC dc = skia::BeginPlatformPaint(canvas); local 61 FillRect(dc, &innerRc,
|
/external/webkit/Tools/WinLauncher/ |
PrintWebUIDelegate.cpp | 86 HDC dc = ::GetDC(0); local 87 rect->right = (::GetDeviceCaps(dc, LOGPIXELSX) * 6.5) - MARGIN; 88 rect->bottom = (::GetDeviceCaps(dc, LOGPIXELSY) * 11) - MARGIN; 89 ::ReleaseDC(0, dc); 102 HDC dc = ::GetDC(0); 105 ::GetTextMetrics(dc, &textMetric); 106 ::ReleaseDC(0, dc); 118 HDC dc = ::GetDC(0); 121 ::GetTextMetrics(dc, &textMetric); 122 ::ReleaseDC(0, dc); [all...] |
/external/chromium/webkit/glue/ |
webcursor_win.cc | 162 HDC dc = GetDC(0); local 163 HDC workingDC = CreateCompatibleDC(dc); 165 dc, &cursor_bitmap_info, DIB_RGB_COLORS, 0, 0, 0); 190 ReleaseDC(0, dc);
|
/external/skia/samplecode/ |
SampleTypeface.cpp | 36 int dc = dither_4444(c); local 37 if (maxa < dc) { 38 SkDebugf("------------ error a=%d da=%d c=%d dc=%d\n", a, da, 39 c, dc);
|
/external/skia/src/core/ |
SkBlitRow_D16.cpp | 68 uint16_t dc = *dst; local 70 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); 71 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 72 unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale);
|