OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:static_cast
(Results
1 - 25
of
2162
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium/sdch/open-vcdiff/src/
compile_assert.h
46
typedef CompileAssert<
static_cast
<bool>(expr)> \
47
msg[
static_cast
<bool>(expr) ? 1 : -1]
67
// - By using the type CompileAssert<(
static_cast
<bool>(expr))>, we ensure that
71
// - The array size is (
static_cast
<bool>(expr) ? 1 : -1), instead of simply
/external/webkit/WebCore/platform/chromium/
SoundChromiumWin.cpp
36
MessageBeep(
static_cast
<UINT>(-1));
/external/webkit/WebCore/platform/win/
SoundWin.cpp
33
void systemBeep() { MessageBeep(
static_cast
<UINT>(-1)); }
/external/webkit/WebCore/bindings/v8/custom/
V8SVGPathSegCustom.cpp
64
return toV8(
static_cast
<SVGPathSegClosePath*>(impl));
66
return toV8(
static_cast
<SVGPathSegMovetoAbs*>(impl));
68
return toV8(
static_cast
<SVGPathSegMovetoRel*>(impl));
70
return toV8(
static_cast
<SVGPathSegLinetoAbs*>(impl));
72
return toV8(
static_cast
<SVGPathSegLinetoRel*>(impl));
74
return toV8(
static_cast
<SVGPathSegCurvetoCubicAbs*>(impl));
76
return toV8(
static_cast
<SVGPathSegCurvetoCubicRel*>(impl));
78
return toV8(
static_cast
<SVGPathSegCurvetoQuadraticAbs*>(impl));
80
return toV8(
static_cast
<SVGPathSegCurvetoQuadraticRel*>(impl));
82
return toV8(
static_cast
<SVGPathSegArcAbs*>(impl))
[
all
...]
V8CSSRuleCustom.cpp
52
return toV8(
static_cast
<CSSStyleRule*>(impl));
54
return toV8(
static_cast
<CSSCharsetRule*>(impl));
56
return toV8(
static_cast
<CSSImportRule*>(impl));
58
return toV8(
static_cast
<CSSMediaRule*>(impl));
60
return toV8(
static_cast
<CSSFontFaceRule*>(impl));
62
return toV8(
static_cast
<CSSPageRule*>(impl));
64
return toV8(
static_cast
<CSSVariablesRule*>(impl));
66
return toV8(
static_cast
<WebKitCSSKeyframeRule*>(impl));
68
return toV8(
static_cast
<WebKitCSSKeyframesRule*>(impl));
V8EventCustom.cpp
74
return toV8(
static_cast
<MouseEvent*>(event)->clipboard());
84
return toV8(
static_cast
<ClipboardEvent*>(event)->clipboard());
95
return toV8(
static_cast
<KeyboardEvent*>(impl));
97
return toV8(
static_cast
<TextEvent*>(impl));
99
return toV8(
static_cast
<MouseEvent*>(impl));
101
return toV8(
static_cast
<WheelEvent*>(impl));
104
return toV8(
static_cast
<SVGZoomEvent*>(impl));
107
return toV8(
static_cast
<CompositionEvent*>(impl));
110
return toV8(
static_cast
<TouchEvent*>(impl));
112
return toV8(
static_cast
<UIEvent*>(impl))
[
all
...]
V8CSSValueCustom.cpp
47
return toV8(
static_cast
<WebKitCSSTransformValue*>(impl));
49
return toV8(
static_cast
<CSSValueList*>(impl));
51
return toV8(
static_cast
<CSSPrimitiveValue*>(impl));
54
return toV8(
static_cast
<SVGPaint*>(impl));
56
return toV8(
static_cast
<SVGColor*>(impl));
V8WebGLArrayCustom.cpp
51
return toV8(
static_cast
<WebGLByteArray*>(impl));
53
return toV8(
static_cast
<WebGLFloatArray*>(impl));
55
return toV8(
static_cast
<WebGLIntArray*>(impl));
57
return toV8(
static_cast
<WebGLShortArray*>(impl));
59
return toV8(
static_cast
<WebGLUnsignedByteArray*>(impl));
61
return toV8(
static_cast
<WebGLUnsignedIntArray*>(impl));
63
return toV8(
static_cast
<WebGLUnsignedShortArray*>(impl));
/packages/inputmethods/PinyinIME/jni/share/
searchutility.cpp
36
if ((
static_cast
<const LmaPsbItem*>(p1))->psb >
37
(
static_cast
<const LmaPsbItem*>(p2))->psb)
39
if ((
static_cast
<const LmaPsbItem*>(p1))->psb <
40
(
static_cast
<const LmaPsbItem*>(p2))->psb)
46
const LmaPsbItem *item1 =
static_cast
<const LmaPsbItem*>(p1);
47
const LmaPsbItem *item2 =
static_cast
<const LmaPsbItem*>(p2);
64
if ((
static_cast
<const LmaPsbItem*>(p1))->id <
65
(
static_cast
<const LmaPsbItem*>(p2))->id)
67
if ((
static_cast
<const LmaPsbItem*>(p1))->id >
68
(
static_cast
<const LmaPsbItem*>(p2))->id
[
all
...]
/external/webkit/WebCore/page/
Screen.cpp
60
return
static_cast
<unsigned>(screenRect(m_frame->view()).height());
67
return
static_cast
<unsigned>(screenRect(m_frame->view()).width());
74
return
static_cast
<unsigned>(screenDepth(m_frame->view()));
81
return
static_cast
<unsigned>(screenDepth(m_frame->view()));
88
return
static_cast
<unsigned>(screenAvailableRect(m_frame->view()).x());
95
return
static_cast
<unsigned>(screenAvailableRect(m_frame->view()).y());
102
return
static_cast
<unsigned>(screenAvailableRect(m_frame->view()).height());
109
return
static_cast
<unsigned>(screenAvailableRect(m_frame->view()).width());
/external/webkit/WebCore/platform/graphics/haiku/
IntPointHaiku.cpp
37
: m_x(
static_cast
<int>(point.x))
38
, m_y(
static_cast
<int>(point.y))
/external/webkit/WebCore/platform/graphics/wince/
WinceGraphicsExtras.h
32
return
static_cast
<int>(d + 0.5);
34
int i =
static_cast
<int>(d);
/external/webkit/JavaScriptCore/wtf/
NotFound.h
31
const size_t notFound =
static_cast
<size_t>(-1);
/external/chromium/base/
sha2.cc
17
static_cast
<unsigned int>(str.length()));
18
SHA256_End(&ctx,
static_cast
<unsigned char*>(output), NULL,
19
static_cast
<unsigned int>(len));
/external/webkit/WebCore/bindings/js/
JSWebGLArrayCustom.cpp
53
return getDOMObjectWrapper<JSWebGLFloatArray>(exec, globalObject,
static_cast
<WebGLFloatArray*>(object));
55
return getDOMObjectWrapper<JSWebGLUnsignedByteArray>(exec, globalObject,
static_cast
<WebGLUnsignedByteArray*>(object));
57
return getDOMObjectWrapper<JSWebGLByteArray>(exec, globalObject,
static_cast
<WebGLByteArray*>(object));
59
return getDOMObjectWrapper<JSWebGLIntArray>(exec, globalObject,
static_cast
<WebGLIntArray*>(object));
61
return getDOMObjectWrapper<JSWebGLUnsignedIntArray>(exec, globalObject,
static_cast
<WebGLUnsignedIntArray*>(object));
63
return getDOMObjectWrapper<JSWebGLShortArray>(exec, globalObject,
static_cast
<WebGLShortArray*>(object));
65
return getDOMObjectWrapper<JSWebGLUnsignedShortArray>(exec, globalObject,
static_cast
<WebGLUnsignedShortArray*>(object));
/external/webkit/WebCore/svg/
SVGPathSegList.cpp
68
SVGPathSegMovetoAbs* moveTo =
static_cast
<SVGPathSegMovetoAbs*>(segment);
74
SVGPathSegLinetoAbs* lineTo =
static_cast
<SVGPathSegLinetoAbs*>(segment);
80
SVGPathSegCurvetoCubicAbs* curveTo =
static_cast
<SVGPathSegCurvetoCubicAbs*>(segment);
117
SVGPathSegMovetoAbs* moveTo =
static_cast
<SVGPathSegMovetoAbs*>(segment);
123
SVGPathSegLinetoAbs* lineTo =
static_cast
<SVGPathSegLinetoAbs*>(segment);
129
SVGPathSegCurvetoCubicAbs* curveTo =
static_cast
<SVGPathSegCurvetoCubicAbs*>(segment);
153
class::create(blendFunc(
static_cast
<class*>(from)->attr1(),
static_cast
<class*>(to)->attr1(), progress))
156
class::create(blendFunc(
static_cast
<class*>(from)->attr1(),
static_cast
<class*>(to)->attr1(), progress),
[
all
...]
/external/webkit/WebCore/platform/gtk/
WheelEventGtk.cpp
62
m_position = IntPoint(
static_cast
<int>(event->x),
static_cast
<int>(event->y));
63
m_globalPosition = IntPoint(
static_cast
<int>(event->x_root),
static_cast
<int>(event->y_root));
72
m_deltaX *=
static_cast
<float>(Scrollbar::pixelsPerLineStep());
73
m_deltaY *=
static_cast
<float>(Scrollbar::pixelsPerLineStep());
/external/webkit/WebCore/dom/
NodeFilter.cpp
35
return m_condition ? m_condition->acceptNode(state, node) :
static_cast
<short>(FILTER_ACCEPT);
/external/webkit/WebCore/platform/graphics/cg/
IntRectCG.cpp
42
int l =
static_cast
<int>(floorf(rect.origin.x));
43
int t =
static_cast
<int>(floorf(rect.origin.y));
44
int r =
static_cast
<int>(ceilf(CGRectGetMaxX(rect)));
45
int b =
static_cast
<int>(ceilf(CGRectGetMaxY(rect)));
/external/webkit/WebCore/platform/graphics/mac/
IntPointMac.mm
33
IntPoint::IntPoint(const NSPoint& p) : m_x(
static_cast
<int>(p.x)), m_y(
static_cast
<int>(p.y))
IntSizeMac.mm
33
IntSize::IntSize(const NSSize& s) : m_width(
static_cast
<int>(s.width)), m_height(
static_cast
<int>(s.height))
/external/webkit/WebCore/platform/mac/
SystemTimeMac.cpp
36
return
static_cast
<float>(CGEventSourceSecondsSinceLastEventType(kCGEventSourceStateCombinedSessionState, kCGAnyInputEventType));
/frameworks/base/native/android/
input.cpp
40
return
static_cast
<const InputEvent*>(event)->getType();
44
return
static_cast
<const InputEvent*>(event)->getDeviceId();
48
return
static_cast
<const InputEvent*>(event)->getSource();
52
return
static_cast
<const KeyEvent*>(key_event)->getAction();
56
return
static_cast
<const KeyEvent*>(key_event)->getFlags();
60
return
static_cast
<const KeyEvent*>(key_event)->getKeyCode();
64
return
static_cast
<const KeyEvent*>(key_event)->getScanCode();
68
return
static_cast
<const KeyEvent*>(key_event)->getMetaState();
71
return
static_cast
<const KeyEvent*>(key_event)->getRepeatCount();
75
return
static_cast
<const KeyEvent*>(key_event)->getDownTime()
[
all
...]
/external/astl/include/
char_traits.h
70
{ return
static_cast
<const char*>(std::memchr(str, c, n)); }
73
{ return
static_cast
<char*>(std::memmove(lhs, rhs, n)); }
76
{ return
static_cast
<char*>(std::memcpy(lhs, rhs, n)); }
80
{ return
static_cast
<char*>(std::memset(lhs, c, n)); }
82
static char to_char(const int_type& c) { return
static_cast
<char>(c); }
85
{ return
static_cast
<int_type>(
static_cast
<unsigned char>(c)); }
90
static int_type eof() { return
static_cast
<int_type>(EOF); }
/external/chromium/net/disk_cache/
hash.h
19
return SuperFastHash(key,
static_cast
<int>(length));
25
return SuperFastHash(key.data(),
static_cast
<int>(key.size()));
Completed in 996 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>