/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
p9-0x.cpp | 6 (void)static_cast<bool>(ec); 7 (void)static_cast<bool>(EC::ec1); 8 (void)static_cast<char>(ec); 9 (void)static_cast<char>(EC::ec1); 10 (void)static_cast<int>(ec); 11 (void)static_cast<int>(EC::ec1); 12 (void)static_cast<unsigned long>(ec); 13 (void)static_cast<unsigned long>(EC::ec1); 14 (void)static_cast<float>(ec); 15 (void)static_cast<float>(EC::ec1) [all...] |
/external/clang/test/SemaCXX/ |
static-cast.cpp | 25 (void)static_cast<float>(i); 27 (void)static_cast<float>(d); 28 (void)static_cast<int>(d); 29 (void)static_cast<char>(i); 30 (void)static_cast<unsigned long>(i); 31 (void)static_cast<int>(En1); 32 (void)static_cast<double>(En1); 33 (void)static_cast<int&>(i); 34 (void)static_cast<const int&>(i); 37 (void)static_cast<const int*>(ar) [all...] |
static-cast-complete-type.cpp | 9 S<int> s0 = static_cast<S<int> >(0); 10 S<void*> s1 = static_cast<S<void*> >(00); 12 (void)static_cast<T>(10); // expected-error{{'T' is an incomplete type}}
|
access-member-pointer.cpp | 7 (void)static_cast<void(A::*)()>(&B::foo); 10 (void)static_cast<void(A::*)()>(&B::foo); // expected-error {{cannot cast 'B' to its private base class 'A'}}
|
/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/chromium/chrome/common/ |
guid_posix.cc | 21 static_cast<unsigned int>(bytes[0] >> 32), 22 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff), 23 static_cast<unsigned int>(bytes[0] & 0x0000ffff), 24 static_cast<unsigned int>(bytes[1] >> 48),
|
/external/chromium/third_party/libjingle/source/talk/base/ |
basicdefs.h | 35 #define ARRAY_SIZE(x) (static_cast<int>((sizeof(x)/sizeof(x[0]))))
|
byteorder.h | 50 static_cast<uint8*>(memory)[offset] = v; 53 return static_cast<const uint8*>(memory)[offset]; 57 Set8(memory, 0, static_cast<uint8>(v >> 8)); 58 Set8(memory, 1, static_cast<uint8>(v >> 0)); 61 Set8(memory, 0, static_cast<uint8>(v >> 24)); 62 Set8(memory, 1, static_cast<uint8>(v >> 16)); 63 Set8(memory, 2, static_cast<uint8>(v >> 8)); 64 Set8(memory, 3, static_cast<uint8>(v >> 0)); 67 Set8(memory, 0, static_cast<uint8>(v >> 56)); 68 Set8(memory, 1, static_cast<uint8>(v >> 48)) [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
SoundChromiumWin.cpp | 36 MessageBeep(static_cast<UINT>(-1));
|
/external/webkit/Source/WebCore/platform/win/ |
SoundWin.cpp | 33 void systemBeep() { MessageBeep(static_cast<UINT>(-1)); }
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8SVGPathSegCustom.cpp | 66 return toV8(static_cast<SVGPathSegClosePath*>(impl)); 68 return toV8(static_cast<SVGPathSegMovetoAbs*>(impl)); 70 return toV8(static_cast<SVGPathSegMovetoRel*>(impl)); 72 return toV8(static_cast<SVGPathSegLinetoAbs*>(impl)); 74 return toV8(static_cast<SVGPathSegLinetoRel*>(impl)); 76 return toV8(static_cast<SVGPathSegCurvetoCubicAbs*>(impl)); 78 return toV8(static_cast<SVGPathSegCurvetoCubicRel*>(impl)); 80 return toV8(static_cast<SVGPathSegCurvetoQuadraticAbs*>(impl)); 82 return toV8(static_cast<SVGPathSegCurvetoQuadraticRel*>(impl)); 84 return toV8(static_cast<SVGPathSegArcAbs*>(impl)) [all...] |
V8CSSRuleCustom.cpp | 51 return toV8(static_cast<CSSStyleRule*>(impl)); 53 return toV8(static_cast<CSSCharsetRule*>(impl)); 55 return toV8(static_cast<CSSImportRule*>(impl)); 57 return toV8(static_cast<CSSMediaRule*>(impl)); 59 return toV8(static_cast<CSSFontFaceRule*>(impl)); 61 return toV8(static_cast<CSSPageRule*>(impl)); 63 return toV8(static_cast<WebKitCSSKeyframeRule*>(impl)); 65 return toV8(static_cast<WebKitCSSKeyframesRule*>(impl));
|
/cts/apps/CtsVerifier/include/colorchecker/ |
vec3.h | 53 Vec3<float> temp(mRed * static_cast<U>(param.r()), 54 mGreen * static_cast<U>(param.g()), 55 mBlue * static_cast<U>(param.b())); 63 temp.set(static_cast<float>(mRed) / static_cast<float>(param), 64 static_cast<float>(mGreen) / static_cast<float>(param), 65 static_cast<float>(mBlue) / static_cast<float>(param)); 73 temp.set(static_cast<float>(mRed) / static_cast<float>(param.r()) [all...] |
/external/webkit/Source/WebCore/platform/graphics/filters/ |
LightSource.cpp | 40 return static_cast<DistantLightSource*>(this)->setAzimuth(azimuth); 47 return static_cast<DistantLightSource*>(this)->setElevation(elevation); 54 return static_cast<SpotLightSource*>(this)->setX(x); 56 return static_cast<PointLightSource*>(this)->setX(x); 63 return static_cast<SpotLightSource*>(this)->setY(y); 65 return static_cast<PointLightSource*>(this)->setY(y); 72 return static_cast<SpotLightSource*>(this)->setZ(z); 74 return static_cast<PointLightSource*>(this)->setZ(z); 81 return static_cast<SpotLightSource*>(this)->setPointsAtX(pointsAtX); 88 return static_cast<SpotLightSource*>(this)->setPointsAtY(pointsAtY) [all...] |
/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...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/include/tr1/ |
special_function_util.h | 64 { return static_cast<_Tp>(3.1415926535897932384626433832795029L); } 67 { return static_cast<_Tp>(1.5707963267948966192313216916397514L); } 70 { return static_cast<_Tp>(1.0471975511965977461542144610931676L); } 73 { return static_cast<_Tp>(0.7853981633974483096156608458198757L); } 76 { return static_cast<_Tp>(0.3183098861837906715377675267450287L); } 79 { return static_cast<_Tp>(1.1283791670955125738961589031215452L); } 82 { return static_cast<_Tp>(1.4142135623730950488016887242096981L); } 85 { return static_cast<_Tp>(1.7320508075688772935274463415058723L); } 88 { return static_cast<_Tp>(1.2533141373155002512078826424055226L); } 91 { return static_cast<_Tp>(0.7071067811865475244008443621048490L); [all...] |
/external/webkit/Source/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<int>(screenAvailableRect(m_frame->view()).x()); 95 return static_cast<int>(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/Source/WebCore/platform/graphics/haiku/ |
IntPointHaiku.cpp | 37 : m_x(static_cast<int>(point.x)) 38 , m_y(static_cast<int>(point.y))
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
WinCEGraphicsExtras.h | 32 return static_cast<int>(d + 0.5); 34 int i = static_cast<int>(d);
|