OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:static_cast
(Results
126 - 150
of
5706
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/chromium/chrome/browser/tab_contents/
web_drag_utils_win.cc
30
ops =
static_cast
<WebDragOperationsMask>(ops | WebDragOperationCopy);
32
ops =
static_cast
<WebDragOperationsMask>(ops | WebDragOperationLink);
34
ops =
static_cast
<WebDragOperationsMask>(ops | WebDragOperationMove |
/external/chromium/chrome/browser/ui/views/infobars/
infobar_container_view.cc
34
InfoBarView* child =
static_cast
<InfoBarView*>(GetChildViewAt(i));
48
AddChildView(
static_cast
<InfoBarView*>(infobar));
52
RemoveChildView(
static_cast
<InfoBarView*>(infobar));
/external/chromium/chrome/browser/ui/window_snapshot/
window_snapshot_mac.mm
32
const unsigned char* buf =
static_cast
<const unsigned char*>([data bytes]);
40
return gfx::Rect(
static_cast
<int>([rep pixelsWide]),
41
static_cast
<int>([rep pixelsHigh]));
/external/chromium/webkit/glue/
web_io_operators.cc
21
return out <<
static_cast
<string16>(s);
26
return out <<
static_cast
<gfx::Point>(p);
30
return out <<
static_cast
<gfx::Rect>(p);
webvideoframe_impl.cc
17
static_cast
<WebVideoFrameImpl*>(web_video_frame);
52
return
static_cast
<WebVideoFrame::SurfaceType>(video_frame_->type());
58
return
static_cast
<WebVideoFrame::Format>(video_frame_->format());
82
return
static_cast
<int>(video_frame_->stride(plane));
88
return
static_cast
<const void*>(video_frame_->data(plane));
/external/clang/test/CodeGenCXX/
reference-cast.cpp
13
return
static_cast
<const int&>(17);
25
return
static_cast
<const short&>(17);
37
return
static_cast
<const short&>(17.5);
49
return
static_cast
<const float&>(17);
61
return
static_cast
<const float&>(17.0);
77
return
static_cast
<const bool&>(get_int());
96
return
static_cast
<const bool&>(get_float());
121
return
static_cast
<const bool&>(get_pointer_to_member_data());
139
return
static_cast
<const bool&>(get_pointer_to_member_function());
163
return
static_cast
<const _Complex float&>(get_complex_double())
[
all
...]
/external/clang/test/SemaCXX/
cast-conversion.cpp
19
static_cast
<B>(10); // expected-error {{no matching conversion for
static_cast
from 'int' to 'B'}} \\
45
static_cast
<float*>(f0<0>()); // expected-error{{ambiguous}}
/external/skia/bench/
BenchSysTimer_windows.cpp
45
return
static_cast
<double>((end_cpu - this->fStartCpu)) / 10000.0L;
60
return
static_cast
<double>(ticks_elapsed.QuadPart)
61
/
static_cast
<double>(frequency.QuadPart)
/frameworks/base/core/jni/
android_media_AudioSystem.cpp
134
int status = check_AudioSystem_Command(AudioSystem::setDeviceConnectionState(
static_cast
<audio_devices_t>(device),
135
static_cast
<audio_policy_dev_state_t>(state),
145
int state =
static_cast
<int>(AudioSystem::getDeviceConnectionState(
static_cast
<audio_devices_t>(device),
160
return check_AudioSystem_Command(AudioSystem::setForceUse(
static_cast
<audio_policy_force_use_t>(usage),
161
static_cast
<audio_policy_forced_cfg_t>(config)));
167
return
static_cast
<int>(AudioSystem::getForceUse(
static_cast
<audio_policy_force_use_t>(usage)));
173
return check_AudioSystem_Command(AudioSystem::initStreamVolume(
static_cast
<audio_stream_type_t>(stream),
186
AudioSystem::setStreamVolumeIndex(
static_cast
<audio_stream_type_t>(stream)
[
all
...]
/external/webkit/Source/WebCore/bindings/js/
JSNodeCustom.cpp
116
if (CSSMutableStyleDeclaration* style =
static_cast
<StyledElement*>(node)->inlineStyleDecl()) {
121
if (
static_cast
<Element*>(node)->hasTagName(canvasTag)) {
122
if (CanvasRenderingContext* context =
static_cast
<HTMLCanvasElement*>(node)->renderingContext()) {
128
} else if (
static_cast
<Element*>(node)->hasTagName(linkTag)) {
129
if (StyleSheet* sheet =
static_cast
<HTMLLinkElement*>(node)->sheet()) {
133
} else if (
static_cast
<Element*>(node)->hasTagName(styleTag)) {
134
if (StyleSheet* sheet =
static_cast
<HTMLStyleElement*>(node)->sheet()) {
140
if (StyleSheet* sheet =
static_cast
<ProcessingInstruction*>(node)->sheet()) {
157
if (node->hasTagName(imgTag) && !
static_cast
<HTMLImageElement*>(node)->haveFiredLoadEvent())
159
if (node->hasTagName(scriptTag) && !
static_cast
<HTMLScriptElement*>(node)->haveFiredLoadEvent()
[
all
...]
JSCanvasRenderingContext2DCustom.cpp
60
return CanvasStyle::createFromGradient(
static_cast
<JSCanvasGradient*>(object)->impl());
62
return CanvasStyle::createFromPattern(
static_cast
<JSCanvasPattern*>(object)->impl());
68
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
74
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
84
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
90
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
100
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
137
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
175
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl());
189
CanvasRenderingContext2D* context =
static_cast
<CanvasRenderingContext2D*>(impl())
[
all
...]
JSHTMLInputElementCustom.cpp
38
HTMLInputElement* input =
static_cast
<HTMLInputElement*>(impl());
47
HTMLInputElement* input =
static_cast
<HTMLInputElement*>(impl());
56
HTMLInputElement* input =
static_cast
<HTMLInputElement*>(impl());
65
HTMLInputElement* input =
static_cast
<HTMLInputElement*>(impl());
74
HTMLInputElement* input =
static_cast
<HTMLInputElement*>(impl());
/external/webkit/Source/WebCore/bridge/qt/
qt_pixmapruntime.cpp
57
return jsNumber(
static_cast
<const QtPixmapInstance*>(instance)->width());
67
return jsNumber(
static_cast
<const QtPixmapInstance*>(instance)->height());
100
HTMLImageElement* imageElement =
static_cast
<HTMLImageElement*>(
static_cast
<JSHTMLImageElement*>(objectArg)->impl());
102
JSDOMGlobalObject* global =
static_cast
<JSDOMGlobalObject*>(instance->rootObject()->globalObject());
190
QtPixmapRuntimeMethod* method =
static_cast
<QtPixmapRuntimeMethod*>(methods[0]);
230
(data.type() ==
static_cast
<QVariant::Type>(qMetaTypeId<QImage>()) && !(data.value<QImage>()).isNull())
231
|| (data.type() ==
static_cast
<QVariant::Type>(qMetaTypeId<QPixmap>()) && !data.value<QPixmap>().isNull()));
254
if (data.type() ==
static_cast
<QVariant::Type>(qMetaTypeId<QPixmap>()))
256
if (data.type() ==
static_cast
<QVariant::Type>(qMetaTypeId<QImage>())
[
all
...]
/external/webkit/Source/WebKit2/Shared/
UserMessageCoders.h
74
ImmutableArray* array =
static_cast
<ImmutableArray*>(m_root);
75
encoder->encode(
static_cast
<uint64_t>(array->size()));
81
ImmutableDictionary* dictionary =
static_cast
<ImmutableDictionary*>(m_root);
83
encoder->encode(
static_cast
<uint64_t>(map.size()));
94
WebString* string =
static_cast
<WebString*>(m_root);
99
WebSerializedScriptValue* scriptValue =
static_cast
<WebSerializedScriptValue*>(m_root);
104
WebDouble* doubleObject =
static_cast
<WebDouble*>(m_root);
109
WebUInt64* uint64Object =
static_cast
<WebUInt64*>(m_root);
114
WebBoolean* booleanObject =
static_cast
<WebBoolean*>(m_root);
119
WebURL* urlObject =
static_cast
<WebURL*>(m_root)
[
all
...]
/external/skia/include/core/
SkFloatingPoint.h
23
return
static_cast
<float>(pow(
static_cast
<double>(base),
24
static_cast
<double>(exp)));
55
#define sk_float_acos(x)
static_cast
<float>(acos(x))
56
#define sk_float_asin(x)
static_cast
<float>(asin(x))
/external/webkit/Source/WebCore/bindings/v8/custom/
V8CSSValueCustom.cpp
50
return toV8(
static_cast
<WebKitCSSTransformValue*>(impl));
52
return toV8(
static_cast
<CSSValueList*>(impl));
54
return toV8(
static_cast
<CSSPrimitiveValue*>(impl));
57
return toV8(
static_cast
<SVGPaint*>(impl));
59
return toV8(
static_cast
<SVGColor*>(impl));
/external/webkit/Source/WebCore/platform/network/soup/
ResourceRequest.h
40
, m_soupFlags(
static_cast
<SoupMessageFlags>(0))
46
, m_soupFlags(
static_cast
<SoupMessageFlags>(0))
52
, m_soupFlags(
static_cast
<SoupMessageFlags>(0))
59
, m_soupFlags(
static_cast
<SoupMessageFlags>(0))
65
, m_soupFlags(
static_cast
<SoupMessageFlags>(0))
/external/webkit/Source/WebCore/rendering/
RenderFrame.cpp
41
HTMLFrameElement* element =
static_cast
<HTMLFrameElement*>(node());
47
HTMLFrameElement* element =
static_cast
<HTMLFrameElement*>(node());
51
FrameView* view =
static_cast
<FrameView*>(widget());
65
FrameView* view =
static_cast
<FrameView*>(widget());
77
HTMLFrameElementBase* element =
static_cast
<HTMLFrameElementBase*>(node());
/external/webkit/Source/WebCore/rendering/svg/
RenderSVGTextPath.cpp
46
SVGTextPathElement* textPathElement =
static_cast
<SVGTextPathElement*>(node());
52
SVGPathElement* pathElement =
static_cast
<SVGPathElement*>(targetElement);
67
return
static_cast
<SVGTextPathElement*>(node())->startOffset().valueAsPercentage();
72
return
static_cast
<SVGTextPathElement*>(node())->spacing() == SVG_TEXTPATH_SPACINGTYPE_EXACT;
77
return
static_cast
<SVGTextPathElement*>(node())->method() == SVG_TEXTPATH_METHODTYPE_STRETCH;
/external/webkit/Source/WebKit2/Platform/CoreIPC/
MessageSender.h
38
return send(message,
static_cast
<T*>(this)->destinationID());
46
return
static_cast
<T*>(this)->sendMessage(MessageID(U::messageID), argumentEncoder.release());
51
Connection* connection =
static_cast
<T*>(this)->connection();
59
return sendSync(message, reply,
static_cast
<T*>(this)->destinationID(), timeout);
64
Connection* connection =
static_cast
<T*>(this)->connection();
/external/chromium/net/disk_cache/
file_win.cc
46
actual_bytes =
static_cast
<DWORD>(net::ERR_CACHE_READ_FAILURE);
51
data->callback_->OnFileIOComplete(
static_cast
<int>(actual_bytes));
60
context_.overlapped.Offset =
static_cast
<DWORD>(offset);
128
DWORD ret = SetFilePointer(sync_platform_file_,
static_cast
<LONG>(offset),
134
DWORD size =
static_cast
<DWORD>(buffer_len);
145
DWORD ret = SetFilePointer(sync_platform_file_,
static_cast
<LONG>(offset),
151
DWORD size =
static_cast
<DWORD>(buffer_len);
173
DWORD size =
static_cast
<DWORD>(buffer_len);
213
DWORD size =
static_cast
<DWORD>(buffer_len);
237
DWORD size =
static_cast
<DWORD>(length)
[
all
...]
/external/llvm/lib/Support/Windows/
RWMutex.inc
81
fpInitializeSRWLock(
static_cast
<PSRWLOCK>(data_));
84
InitializeCriticalSection(
static_cast
<LPCRITICAL_SECTION>(data_));
92
DeleteCriticalSection(
static_cast
<LPCRITICAL_SECTION>(data_));
99
fpAcquireSRWLockShared(
static_cast
<PSRWLOCK>(data_));
101
EnterCriticalSection(
static_cast
<LPCRITICAL_SECTION>(data_));
108
fpReleaseSRWLockShared(
static_cast
<PSRWLOCK>(data_));
110
LeaveCriticalSection(
static_cast
<LPCRITICAL_SECTION>(data_));
117
fpAcquireSRWLockExclusive(
static_cast
<PSRWLOCK>(data_));
119
EnterCriticalSection(
static_cast
<LPCRITICAL_SECTION>(data_));
126
fpReleaseSRWLockExclusive(
static_cast
<PSRWLOCK>(data_))
[
all
...]
/external/webkit/Source/WebCore/platform/
Length.h
65
m_floatValue =
static_cast
<float>(v);
74
m_floatValue =
static_cast
<float>(m_floatValue * v);
76
m_intValue =
static_cast
<int>(m_intValue * v);
91
LengthType type() const { return
static_cast
<LengthType>(m_type); }
139
return
static_cast
<int>(round(maxValue * percent() / 100.0f));
141
return
static_cast
<int>(
static_cast
<float>(maxValue * percent() / 100.0f));
154
return
static_cast
<float>(maxValue * percent() / 100.0f);
156
return
static_cast
<float>(maxValue);
158
return
static_cast
<float>(undefinedLength)
[
all
...]
/external/webkit/Source/WebCore/svg/
SVGPathSegListSource.cpp
49
pathSegType =
static_cast
<SVGPathSegType>(m_segment->pathSegType());
57
SVGPathSegType pathSegType =
static_cast
<SVGPathSegType>(m_segment->pathSegType());
66
SVGPathSegSingleCoordinate* moveTo =
static_cast
<SVGPathSegSingleCoordinate*>(m_segment.get());
75
SVGPathSegSingleCoordinate* lineTo =
static_cast
<SVGPathSegSingleCoordinate*>(m_segment.get());
84
SVGPathSegLinetoHorizontal* horizontal =
static_cast
<SVGPathSegLinetoHorizontal*>(m_segment.get());
93
SVGPathSegLinetoVertical* vertical =
static_cast
<SVGPathSegLinetoVertical*>(m_segment.get());
102
SVGPathSegCurvetoCubic* cubic =
static_cast
<SVGPathSegCurvetoCubic*>(m_segment.get());
113
SVGPathSegCurvetoCubicSmooth* cubicSmooth =
static_cast
<SVGPathSegCurvetoCubicSmooth*>(m_segment.get());
123
SVGPathSegCurvetoQuadratic* quadratic =
static_cast
<SVGPathSegCurvetoQuadratic*>(m_segment.get());
133
SVGPathSegSingleCoordinate* quadraticSmooth =
static_cast
<SVGPathSegSingleCoordinate*>(m_segment.get())
[
all
...]
/external/chromium/base/
atomicops_internals_x86_msvc.h
21
static_cast
<LONG>(new_value),
22
static_cast
<LONG>(old_value));
23
return
static_cast
<Atomic32>(result);
30
static_cast
<LONG>(new_value));
31
return
static_cast
<Atomic32>(result);
38
static_cast
<LONG>(increment)) + increment;
121
static_cast
<LONGLONG>(increment)) + increment;
Completed in 916 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>