Home
last modified time | relevance | path

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

1234567

/external/openssl/crypto/evp/
Dnames.c144 struct doall_cipher *dc = arg; in do_all_cipher_fn() local
146 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
148 dc->fn((const EVP_CIPHER *)nm->data, nm->name, NULL, dc->arg); in do_all_cipher_fn()
154 struct doall_cipher dc; in EVP_CIPHER_do_all() local
155 dc.fn = fn; in EVP_CIPHER_do_all()
156 dc.arg = arg; in EVP_CIPHER_do_all()
157 OBJ_NAME_do_all(OBJ_NAME_TYPE_CIPHER_METH, do_all_cipher_fn, &dc); in EVP_CIPHER_do_all()
163 struct doall_cipher dc; in EVP_CIPHER_do_all_sorted() local
164 dc.fn = fn; in EVP_CIPHER_do_all_sorted()
165 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
495 d_dump (struct demangle_component *dc, int indent) in d_dump() argument
499 if (dc == NULL) in d_dump()
509 switch (dc->type) in d_dump()
512 printf ("name '%.*s'\n", dc->u.s_name.len, dc->u.s_name.s); in d_dump()
515 printf ("template parameter %ld\n", dc->u.s_number.number); in d_dump()
518 printf ("constructor %d\n", (int) dc->u.s_ctor.kind); in d_dump()
519 d_dump (dc->u.s_ctor.name, indent + 2); in d_dump()
522 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/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/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/libvpx/vp8/decoder/arm/armv6/
Didct_blk_v6.c17 unsigned char *dst, int stride, char *eobs, short *dc) in vp8_dequant_dc_idct_add_y_block_v6() argument
24 vp8_dequant_dc_idct_add_v6 (q, dq, pre, dst, 16, stride, dc[0]); in vp8_dequant_dc_idct_add_y_block_v6()
26 vp8_dc_only_idct_add_v6 (dc[0], pre, dst, 16, stride); in vp8_dequant_dc_idct_add_y_block_v6()
29 vp8_dequant_dc_idct_add_v6 (q+16, dq, pre+4, dst+4, 16, stride, dc[1]); in vp8_dequant_dc_idct_add_y_block_v6()
31 vp8_dc_only_idct_add_v6 (dc[1], pre+4, dst+4, 16, stride); in vp8_dequant_dc_idct_add_y_block_v6()
34 vp8_dequant_dc_idct_add_v6 (q+32, dq, pre+8, dst+8, 16, stride, dc[2]); in vp8_dequant_dc_idct_add_y_block_v6()
36 vp8_dc_only_idct_add_v6 (dc[2], pre+8, dst+8, 16, stride); in vp8_dequant_dc_idct_add_y_block_v6()
39 vp8_dequant_dc_idct_add_v6 (q+48, dq, pre+12, dst+12, 16, stride, dc[3]); in vp8_dequant_dc_idct_add_y_block_v6()
41 vp8_dc_only_idct_add_v6 (dc[3], pre+12, dst+12, 16, stride); in vp8_dequant_dc_idct_add_y_block_v6()
44 dc += 4; in vp8_dequant_dc_idct_add_y_block_v6()
/external/libvpx/vp8/decoder/x86/
Didct_blk_mmx.c17 unsigned char *dst, int stride, char *eobs, short *dc) in vp8_dequant_dc_idct_add_y_block_mmx() argument
24 vp8_dequant_dc_idct_add_mmx (q, dq, pre, dst, 16, stride, dc[0]); in vp8_dequant_dc_idct_add_y_block_mmx()
26 vp8_dc_only_idct_add_mmx (dc[0], pre, dst, 16, stride); in vp8_dequant_dc_idct_add_y_block_mmx()
29 vp8_dequant_dc_idct_add_mmx (q+16, dq, pre+4, dst+4, 16, stride, dc[1]); in vp8_dequant_dc_idct_add_y_block_mmx()
31 vp8_dc_only_idct_add_mmx (dc[1], pre+4, dst+4, 16, stride); in vp8_dequant_dc_idct_add_y_block_mmx()
34 vp8_dequant_dc_idct_add_mmx (q+32, dq, pre+8, dst+8, 16, stride, dc[2]); in vp8_dequant_dc_idct_add_y_block_mmx()
36 vp8_dc_only_idct_add_mmx (dc[2], pre+8, dst+8, 16, stride); in vp8_dequant_dc_idct_add_y_block_mmx()
39 vp8_dequant_dc_idct_add_mmx (q+48, dq, pre+12, dst+12, 16, stride, dc[3]); in vp8_dequant_dc_idct_add_y_block_mmx()
41 vp8_dc_only_idct_add_mmx (dc[3], pre+12, dst+12, 16, stride); in vp8_dequant_dc_idct_add_y_block_mmx()
44 dc += 4; in vp8_dequant_dc_idct_add_y_block_mmx()
Didct_blk_sse2.c17 unsigned char *dst, int dst_stride, short *dc);
20 unsigned char *dst, int dst_stride, short *dc);
31 unsigned char *dst, int stride, char *eobs, short *dc) in vp8_dequant_dc_idct_add_y_block_sse2() argument
38 idct_dequant_dc_full_2x_sse2 (q, dq, pre, dst, stride, dc); in vp8_dequant_dc_idct_add_y_block_sse2()
40 idct_dequant_dc_0_2x_sse2 (q, dq, pre, dst, stride, dc); in vp8_dequant_dc_idct_add_y_block_sse2()
43 idct_dequant_dc_full_2x_sse2 (q+32, dq, pre+8, dst+8, stride, dc+2); in vp8_dequant_dc_idct_add_y_block_sse2()
45 idct_dequant_dc_0_2x_sse2 (q+32, dq, pre+8, dst+8, stride, dc+2); in vp8_dequant_dc_idct_add_y_block_sse2()
48 dc += 4; in vp8_dequant_dc_idct_add_y_block_sse2()
/external/libvpx/vp8/decoder/arm/neon/
Didct_blk_neon.c20 int stride, short *dc);
22 (short *dc, unsigned char *pre, unsigned char *dst, int stride);
32 unsigned char *dst, int stride, char *eobs, short *dc) in vp8_dequant_dc_idct_add_y_block_neon() argument
39 idct_dequant_dc_full_2x_neon (q, dq, pre, dst, stride, dc); in vp8_dequant_dc_idct_add_y_block_neon()
41 idct_dequant_dc_0_2x_neon(dc, pre, dst, stride); in vp8_dequant_dc_idct_add_y_block_neon()
44 idct_dequant_dc_full_2x_neon (q+32, dq, pre+8, dst+8, stride, dc+2); in vp8_dequant_dc_idct_add_y_block_neon()
46 idct_dequant_dc_0_2x_neon(dc+2, pre+8, dst+8, stride); in vp8_dequant_dc_idct_add_y_block_neon()
49 dc += 4; in vp8_dequant_dc_idct_add_y_block_neon()
/external/valgrind/main/memcheck/tests/amd64/
Dfxsave-amd64.stdout.exp12 176 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
15 224 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
18 272 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
19 288 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
22 336 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
23 352 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
26 400 10 fe dc ba ee ff 00 11 aa bb cc dd ab cd ef 01
/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/bluetooth/bluez/attrib/
Dgatt.c60 static void discover_char_free(struct discover_char *dc) in discover_char_free() argument
62 g_slist_foreach(dc->characteristics, (GFunc) g_free, NULL); in discover_char_free()
63 g_slist_free(dc->characteristics); in discover_char_free()
64 g_attrib_unref(dc->attrib); in discover_char_free()
65 g_free(dc->uuid); in discover_char_free()
66 g_free(dc); in discover_char_free()
250 struct discover_char *dc = user_data; in char_discovered_cb() local
289 if (dc->uuid && bt_uuid_cmp(dc->uuid, &uuid)) in char_discovered_cb()
296 dc->characteristics = g_slist_append(dc->characteristics, in char_discovered_cb()
304 buf = g_attrib_get_buffer(dc->attrib, &buflen); in char_discovered_cb()
[all …]
/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/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 …]

1234567