Home
last modified time | relevance | path

Searched refs:dc (Results 1 – 25 of 202) sorted by relevance

123456789

/external/openssl/crypto/evp/
Dnames.c149 struct doall_cipher *dc = arg; in do_all_cipher_fn() local
151 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
153 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
159 struct doall_cipher dc; in EVP_CIPHER_do_all() local
160 dc.fn = fn; in EVP_CIPHER_do_all()
161 dc.arg = arg; in EVP_CIPHER_do_all()
162 OBJ_NAME_do_all(OBJ_NAME_TYPE_CIPHER_METH, do_all_cipher_fn, &dc); in EVP_CIPHER_do_all()
168 struct doall_cipher dc; in EVP_CIPHER_do_all_sorted() local
169 dc.fn = fn; in EVP_CIPHER_do_all_sorted()
170 dc.arg = arg; in EVP_CIPHER_do_all_sorted()
[all …]
/external/webkit/Tools/WinLauncher/
DPrintWebUIDelegate.cpp86 HDC dc = ::GetDC(0); in webViewPrintingMarginRect() local
87 rect->right = (::GetDeviceCaps(dc, LOGPIXELSX) * 6.5) - MARGIN; in webViewPrintingMarginRect()
88 rect->bottom = (::GetDeviceCaps(dc, LOGPIXELSY) * 11) - MARGIN; in webViewPrintingMarginRect()
89 ::ReleaseDC(0, dc); in webViewPrintingMarginRect()
102 HDC dc = ::GetDC(0); in webViewHeaderHeight() local
105 ::GetTextMetrics(dc, &textMetric); in webViewHeaderHeight()
106 ::ReleaseDC(0, dc); in webViewHeaderHeight()
118 HDC dc = ::GetDC(0); in webViewFooterHeight() local
121 ::GetTextMetrics(dc, &textMetric); in webViewFooterHeight()
122 ::ReleaseDC(0, dc); in webViewFooterHeight()
[all …]
/external/valgrind/main/coregrind/m_demangle/
Dcp-demangle.c251 #define d_left(dc) ((dc)->u.s_binary.left) argument
252 #define d_right(dc) ((dc)->u.s_binary.right) argument
507 d_dump (struct demangle_component *dc, int indent) in d_dump() argument
511 if (dc == NULL) in d_dump()
521 switch (dc->type) in d_dump()
524 printf ("name '%.*s'\n", dc->u.s_name.len, dc->u.s_name.s); in d_dump()
527 printf ("template parameter %ld\n", dc->u.s_number.number); in d_dump()
530 printf ("constructor %d\n", (int) dc->u.s_ctor.kind); in d_dump()
531 d_dump (dc->u.s_ctor.name, indent + 2); in d_dump()
534 printf ("destructor %d\n", (int) dc->u.s_dtor.kind); in d_dump()
[all …]
/external/webkit/Source/WebCore/platform/graphics/chromium/
DSimpleFontDataChromiumWin.cpp63 HDC dc = GetDC(0); in platformInit() local
64 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in platformInit()
67 if (!GetTextMetrics(dc, &textMetric)) { in platformInit()
72 if (!GetTextMetrics(dc, &textMetric)) in platformInit()
87 if (GetOutlineTextMetrics(dc, sizeof(outlineTextMetric), &outlineTextMetric) > 0) { in platformInit()
91 DWORD len = GetGlyphOutlineW(dc, 'x', GGO_METRICS, &glyphMetrics, 0, 0, &identityMatrix); in platformInit()
102 SelectObject(dc, oldFont); in platformInit()
103 ReleaseDC(0, dc); in platformInit()
155 HDC dc = GetDC(0); in determinePitch() local
156 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); in determinePitch()
[all …]
DGlyphPageTreeNodeChromiumWin.cpp53 static Glyph initSpaceGlyph(HDC dc, Glyph* spaceGlyph) in initSpaceGlyph() argument
59 GetGlyphIndices(dc, &space, 1, spaceGlyph, 0); in initSpaceGlyph()
74 HDC dc = GetDC((HWND)0); in fillBMPGlyphs() local
75 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont()); in fillBMPGlyphs()
78 if (!GetTextMetrics(dc, &tm)) { in fillBMPGlyphs()
79 SelectObject(dc, oldFont); in fillBMPGlyphs()
80 ReleaseDC(0, dc); in fillBMPGlyphs()
131 GetGlyphIndices(dc, buffer, length, localGlyphBuffer, GGI_MARK_NONEXISTING_GLYPHS); in fillBMPGlyphs()
137 … < WindowsVista) && !(tm.tmPitchAndFamily & TMPF_TRUETYPE) && (GetFontData(dc, cffTableTag, 0, 0, … in fillBMPGlyphs()
152 glyph = initSpaceGlyph(dc, &spaceGlyph); in fillBMPGlyphs()
[all …]
DFontUtilsChromiumWin.cpp53 HDC dc = GetDC(0); in isFontPresent() local
54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont)); in isFontPresent()
56 GetTextFace(dc, LF_FACESIZE, actualFontName); in isFontPresent()
58 SelectObject(dc, oldFont); in isFontPresent()
60 ReleaseDC(0, dc); in isFontPresent()
244 HDC dc = GetDC(0); in getAscent() local
245 HGDIOBJ oldFont = SelectObject(dc, hfont); in getAscent()
247 BOOL gotMetrics = GetTextMetrics(dc, &tm); in getAscent()
248 SelectObject(dc, oldFont); in getAscent()
249 ReleaseDC(0, dc); in getAscent()
[all …]
/external/gcc-demangle/
Dcp-demangle.c236 #define d_left(dc) ((dc)->u.s_binary.left) argument
237 #define d_right(dc) ((dc)->u.s_binary.right) argument
491 d_dump (struct demangle_component *dc, int indent) in d_dump() argument
495 if (dc == NULL) in d_dump()
505 switch (dc->type) in d_dump()
508 printf ("name '%.*s'\n", dc->u.s_name.len, dc->u.s_name.s); in d_dump()
511 printf ("template parameter %ld\n", dc->u.s_number.number); in d_dump()
514 printf ("constructor %d\n", (int) dc->u.s_ctor.kind); in d_dump()
515 d_dump (dc->u.s_ctor.name, indent + 2); in d_dump()
518 printf ("destructor %d\n", (int) dc->u.s_dtor.kind); in d_dump()
[all …]
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
Dfontprops.cpp50 HDC dc = GetDC(0); in wxFontProperties() local
52 ::SelectObject(dc, hFont); in wxFontProperties()
58 GetTextMetrics(dc, &tm); in wxFontProperties()
65 RestoreDC(dc, -1); in wxFontProperties()
66 ReleaseDC(0, dc); in wxFontProperties()
86 HDC dc = GetDC(0); in wxFontContainsCharacters() local
92 langFontLink->GetFontCodePages(dc, (HFONT)font, &fontCodePages); in wxFontContainsCharacters()
104 ReleaseDC(0, dc); in wxFontContainsCharacters()
112 HDC dc = GetDC(0); in GetTextExtent() local
114 ::SelectObject(dc, hFont); in GetTextExtent()
[all …]
Dscrollbar_render.cpp78 GraphicsHDC(wxDC* dc) in GraphicsHDC() argument
82 wxGCDC* gcdc = wxDynamicCast(dc, wxGCDC); in GraphicsHDC()
89 m_hdc = GetHdcOf(*dc); in GraphicsHDC()
122 void wxRenderer_DrawScrollbar(wxWindow* window, wxDC& dc, in wxRenderer_DrawScrollbar() argument
144 wxGCDC* gcdc = wxDynamicCast(&dc, wxGCDC); in wxRenderer_DrawScrollbar()
159 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &r, 0); in wxRenderer_DrawScrollbar()
169 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
176 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
196 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
211 engine->DrawThemeBackground(hTheme, GraphicsHDC(&dc), part, xpState, &buttonRect, 0); in wxRenderer_DrawScrollbar()
/external/skia/tests/
DColorTest.cpp15 #define GetPackedR16As32(packed) (SkGetPackedR16(dc) << (8 - SK_R16_BITS))
16 #define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS))
17 #define GetPackedB16As32(packed) (SkGetPackedB16(dc) << (8 - SK_B16_BITS))
19 static inline bool S32A_D565_Blend_0(SkPMColor sc, uint16_t dc, U8CPU alpha) { in S32A_D565_Blend_0() argument
21 unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); in S32A_D565_Blend_0()
22 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); in S32A_D565_Blend_0()
33 static inline bool S32A_D565_Blend_01(SkPMColor sc, uint16_t dc, U8CPU alpha) { in S32A_D565_Blend_01() argument
35 … unsigned dr = SkMulS16(SkGetPackedR32(sc), alpha) + SkMulS16(SkGetPackedR16(dc) << 3, dst_scale); in S32A_D565_Blend_01()
36 … unsigned dg = SkMulS16(SkGetPackedG32(sc), alpha) + SkMulS16(SkGetPackedG16(dc) << 2, dst_scale); in S32A_D565_Blend_01()
47 static inline bool S32A_D565_Blend_02(SkPMColor sc, uint16_t dc, U8CPU alpha) { in S32A_D565_Blend_02() argument
[all …]
/external/valgrind/main/memcheck/tests/amd64/
Dfxsave-amd64.stdout.exp18 176 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
21 224 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
24 272 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
25 288 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
28 336 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
29 352 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
32 400 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
86 176 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
89 224 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
92 272 01 ef cd ab dd cc bb aa 11 00 ff ee ba dc fe 10
[all …]
/external/sonivox/jet_tools/JetCreator/
DJetSegGraph.py209 dc = wx.BufferedPaintDC(self, self._Buffer)
211 dc = wx.AutoBufferedPaintDC(self)
212 dc.Background = wx.Brush(wx.WHITE)
213 self.DoDrawing(dc)
215 def DoDrawing(self, dc=None): argument
217 if dc is None:
219 dc = wx.BufferedDC(wx.ClientDC(self), self._Buffer)
221 dc = wx.AutoBufferedPaintDC(self)
222 dc.Background = wx.Brush(wx.WHITE)
224 dc.Clear()
[all …]
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
Dscrollbar_render.cpp76 GdkWindow* wxGetGdkWindowForDC(wxWindow* win, wxDC& dc) in wxGetGdkWindowForDC() argument
80 if ( dc.IsKindOf( CLASSINFO(wxGCDC) ) ) in wxGetGdkWindowForDC()
84 wxGTKDCImpl *impl = wxDynamicCast(dc.GetImpl(), wxGTKDCImpl); in wxGetGdkWindowForDC()
98 if ( dc.IsKindOf( CLASSINFO(wxGCDC) ) ) in wxGetGdkWindowForDC()
102 gdk_window = dc.GetGDKWindow(); in wxGetGdkWindowForDC()
110 void wxRenderer_DrawScrollbar(wxWindow* window, wxDC& dc, const wxRect& rect, wxOrientation orient, in wxRenderer_DrawScrollbar() argument
115 dc.SetBrush(wxBrush(scrollbar_colour)); in wxRenderer_DrawScrollbar()
116 dc.SetPen(wxPen(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNSHADOW))); in wxRenderer_DrawScrollbar()
117 dc.DrawRectangle(rect.x, rect.y, rect.width, rect.height); in wxRenderer_DrawScrollbar()
124 wxGCDC* gcdc = wxDynamicCast(&dc, wxGCDC); in wxRenderer_DrawScrollbar()
[all …]
/external/webkit/Source/WebCore/platform/graphics/wince/
DGraphicsContextWinCE.cpp184 GraphicsContextPlatformPrivate(HDC dc) in GraphicsContextPlatformPrivate() argument
185 : m_dc(dc) in GraphicsContextPlatformPrivate()
290 SharedBitmap::DCHolder dc(bmp.get()); in getTransparentLayerBitmap() local
291 if (dc.get()) { in getTransparentLayerBitmap()
292 …BitBlt(dc.get(), 0, 0, origRect.width(), origRect.height(), m_dc, origRect.x(), origRect.y(), SRCC… in getTransparentLayerBitmap()
588 void GraphicsContext::platformInit(PlatformGraphicsContext* dc) in platformInit() argument
590 m_data = new GraphicsContextPlatformPrivate(dc); in platformInit()
636 HDC dc = transparentDC.hdc(); in drawRect() local
637 if (!dc) in drawRect()
645 oldBrush = SelectObject(dc, brush.get()); in drawRect()
[all …]
/external/webkit/Source/WebCore/platform/graphics/win/
DSimpleFontDataWin.cpp160 HDC dc = GetDC(0); in containsCharacters() local
166 langFontLink->GetFontCodePages(dc, m_platformData.hfont(), &fontCodePages); in containsCharacters()
178 ReleaseDC(0, dc); in containsCharacters()
191 HDC dc = GetDC(0); in determinePitch() local
192 SaveDC(dc); in determinePitch()
193 SelectObject(dc, m_platformData.hfont()); in determinePitch()
198 GetTextMetrics(dc, &tm); in determinePitch()
201 RestoreDC(dc, -1); in determinePitch()
202 ReleaseDC(0, dc); in determinePitch()
246 HDC dc = GetDC(0); in scriptFontProperties() local
[all …]
DGlyphPageTreeNodeCairoWin.cpp45 HDC dc = GetDC((HWND)0); in fill() local
46 SaveDC(dc); in fill()
47 SelectObject(dc, fontData->platformData().hfont()); in fill()
50 GetTextMetrics(dc, &tm); in fill()
53 DWORD result = GetGlyphIndices(dc, buffer, bufferLength, localGlyphBuffer, 0); in fill()
66 RestoreDC(dc, -1); in fill()
67 ReleaseDC(0, dc); in fill()
/external/qemu/distrib/sdl-1.2.15/
DMakefile.dc16 src/audio/dc/SDL_dcaudio.c \
17 src/audio/dc/aica.c \
24 src/cdrom/dc/SDL_syscdrom.c \
34 src/joystick/dc/SDL_sysjoystick.c \
46 src/thread/dc/SDL_syscond.c \
47 src/thread/dc/SDL_sysmutex.c \
48 src/thread/dc/SDL_syssem.c \
49 src/thread/dc/SDL_systhread.c \
51 src/timer/dc/SDL_systimer.c \
53 src/video/dc/SDL_dcevents.c \
[all …]
/external/clang/test/SemaCXX/
Dcomplex-overload.cpp4 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_1() argument
9 char *cp4 = foo(dc); in test_foo_1()
14 void test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_2() argument
18 int *lp = foo(dc); in test_foo_2()
23 void test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_3() argument
27 long *lp = foo(dc); in test_foo_3()
/external/webkit/Source/WebCore/platform/wx/
DRenderThemeWx.cpp266 wxDC* dc = static_cast<wxDC*>(i.context->platformContext()); in paintButton() local
279 wxGCDC* gcdc = static_cast<wxGCDC*>(dc); in paintButton()
297 wxRendererNative::Get().DrawPushButton(window, *dc, rect, flags); in paintButton()
302 wxRendererNative::Get().DrawRadioBitmap(window, *dc, rect, flags); in paintButton()
304 wxRendererNative::Get().DrawRadioButton(window, *dc, rect, flags); in paintButton()
306 wxRenderer_DrawRadioButton(window, *dc, rect, flags); in paintButton()
312 wxRendererNative::Get().DrawCheckBox(window, *dc, rect, flags); in paintButton()
325 wxDC* dc = static_cast<wxDC*>(i.context->platformContext()); in paintTextField() local
327 wxRendererNative::Get().DrawTextCtrl(window, *dc, r, 0); in paintTextField()
329 wxRenderer_DrawTextCtrl(window, *dc, r, 0); in paintTextField()
[all …]
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
Dscrollbar_render.cpp56 void wxRenderer_DrawScrollbar(wxWindow* WXUNUSED(window), wxDC& dc, in wxRenderer_DrawScrollbar() argument
65 dc.SetBrush( *wxWHITE_BRUSH ); in wxRenderer_DrawScrollbar()
66 dc.SetPen( *wxTRANSPARENT_PEN ); in wxRenderer_DrawScrollbar()
67 dc.DrawRectangle(rect); in wxRenderer_DrawScrollbar()
69 dc.SetBrush( *wxTRANSPARENT_BRUSH ); in wxRenderer_DrawScrollbar()
76 wxGCDCImpl *impl = dynamic_cast<wxGCDCImpl*> (dc.GetImpl()); in wxRenderer_DrawScrollbar()
80 gc = dc.GetGraphicsContext(); in wxRenderer_DrawScrollbar()
/external/clang/test/Sema/
Doverloadable-complex.c4 void test_foo_1(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_1() argument
9 char *cp4 = foo(dc); in test_foo_1()
14 void test_foo_2(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_2() argument
18 int *lp = foo(dc); in test_foo_2()
23 void test_foo_3(float fv, double dv, float _Complex fc, double _Complex dc) { in test_foo_3() argument
27 long *lp = foo(dc); in test_foo_3()
/external/webkit/Source/WebCore/platform/win/
DDragImageCairoWin.cpp45 HBITMAP allocImage(HDC dc, IntSize size, PlatformContextCairo** targetRef) in allocImage() argument
50 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); in allocImage()
115 HDC dc = GetDC(0); in scaleDragImage() local
116 HDC dstDC = CreateCompatibleDC(dc); in scaleDragImage()
149 ReleaseDC(0, dc); in scaleDragImage()
156 HDC dc = GetDC(0); in createDragImageFromImage() local
157 HDC workingDC = CreateCompatibleDC(dc); in createDragImageFromImage()
186 ReleaseDC(0, dc); in createDragImageFromImage()
DDragImageCGWin.cpp46 HBITMAP allocImage(HDC dc, IntSize size, CGContextRef *targetRef) in allocImage() argument
51 HBITMAP hbmp = CreateDIBSection(dc, &bmpInfo, DIB_RGB_COLORS, &bits, 0, 0); in allocImage()
92 HDC dc = GetDC(0); in scaleDragImage() local
93 HDC dstDC = CreateCompatibleDC(dc); in scaleDragImage()
119 ReleaseDC(0, dc); in scaleDragImage()
126 HDC dc = GetDC(0); in createDragImageFromImage() local
127 HDC workingDC = CreateCompatibleDC(dc); in createDragImageFromImage()
158 ReleaseDC(0, dc); in createDragImageFromImage()
/external/quake/quake/src/QW/scitech/include/
Dmgraph.h956 bool MGLAPI MGL_isDisplayDC(MGLDC *dc);
957 bool MGLAPI MGL_isWindowedDC(MGLDC *dc);
958 bool MGLAPI MGL_isMemoryDC(MGLDC *dc);
968 m_int MGLAPI MGL_getDriver(MGLDC *dc);
969 m_int MGLAPI MGL_getMode(MGLDC *dc);
970 m_int MGLAPI MGL_surfaceAccessType(MGLDC *dc);
971 m_int MGLAPI MGL_zbufferAccessType(MGLDC *dc);
972 long MGLAPI MGL_getHardwareFlags(MGLDC *dc);
973 void MGLAPI MGL_defaultAttributes(MGLDC *dc);
974 void MGLAPI MGL_makeSubDC(MGLDC *dc,m_int left,m_int top,m_int right,m_int bottom);
[all …]
/external/quake/quake/src/WinQuake/scitech/INCLUDE/
DMGRAPH.H956 bool MGLAPI MGL_isDisplayDC(MGLDC *dc);
957 bool MGLAPI MGL_isWindowedDC(MGLDC *dc);
958 bool MGLAPI MGL_isMemoryDC(MGLDC *dc);
968 m_int MGLAPI MGL_getDriver(MGLDC *dc);
969 m_int MGLAPI MGL_getMode(MGLDC *dc);
970 m_int MGLAPI MGL_surfaceAccessType(MGLDC *dc);
971 m_int MGLAPI MGL_zbufferAccessType(MGLDC *dc);
972 long MGLAPI MGL_getHardwareFlags(MGLDC *dc);
973 void MGLAPI MGL_defaultAttributes(MGLDC *dc);
974 void MGLAPI MGL_makeSubDC(MGLDC *dc,m_int left,m_int top,m_int right,m_int bottom);
[all …]

123456789