/external/clang/test/SemaTemplate/ |
value-dependent-null-pointer-constant.cpp | 28 (void)static_cast<void*>(static_cast<A*>(t));
|
/external/chromium/third_party/libjingle/source/talk/base/ |
basictypes.h | 108 #define UNUSED(x) Unused(static_cast<const void *>(&x)) 109 #define UNUSED2(x,y) Unused(static_cast<const void *>(&x)); Unused(static_cast<const void *>(&y)) 110 #define UNUSED3(x,y,z) Unused(static_cast<const void *>(&x)); Unused(static_cast<const void *>(&y)); Unused(static_cast<const void *>(&z)) 111 #define UNUSED4(x,y,z,a) Unused(static_cast<const void *>(&x)); Unused(static_cast<const void *>(&y)); Unused(static_cast<const void *>(&z)); Unused(static_cast<const void *>(&a) [all...] |
/external/webkit/Source/WebCore/bindings/gobject/ |
WebKitHTMLElementWrapperFactory.cpp | 174 return wrapHTMLAnchorElement(static_cast<HTMLAnchorElement*>(element.get())); 179 return wrapHTMLAppletElement(static_cast<HTMLAppletElement*>(element.get())); 184 return wrapHTMLAreaElement(static_cast<HTMLAreaElement*>(element.get())); 190 return wrapHTMLAudioElement(static_cast<HTMLAudioElement*>(element.get())); 195 return wrapHTMLVideoElement(static_cast<HTMLVideoElement*>(element.get())); 201 return wrapHTMLBaseElement(static_cast<HTMLBaseElement*>(element.get())); 206 return wrapHTMLBaseFontElement(static_cast<HTMLBaseFontElement*>(element.get())); 211 return wrapHTMLBlockquoteElement(static_cast<HTMLBlockquoteElement*>(element.get())); 216 return wrapHTMLBodyElement(static_cast<HTMLBodyElement*>(element.get())); 221 return wrapHTMLBRElement(static_cast<HTMLBRElement*>(element.get())) [all...] |
/development/tools/emulator/system/camera/ |
EmulatedCamera2.cpp | 280 EmulatedCamera2* ec = static_cast<EmulatedCamera2*>(d); 286 EmulatedCamera2* ec = static_cast<EmulatedCamera2*>(d); 287 *queue_dst_ops = static_cast<camera2_metadata_queue_dst_ops*>( 294 EmulatedCamera2* ec = static_cast<QueueDstOps*>(q)->parent; 300 EmulatedCamera2* ec = static_cast<EmulatedCamera2*>(d); 306 EmulatedCamera2* ec = static_cast<EmulatedCamera2*>(d); 307 *queue_dst_ops = static_cast<camera2_metadata_queue_dst_ops*>( 314 EmulatedCamera2* ec = static_cast<QueueDstOps*>(q)->parent; 320 EmulatedCamera2* ec = static_cast<EmulatedCamera2*>(d); 326 EmulatedCamera2* ec = static_cast<EmulatedCamera2*>(d) [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
table_row_nsimage_cache.mm | 29 DCHECK_LE(start + length, static_cast<int>([icon_images_ count])); 34 static_cast<int>([icon_images_ count])); 38 DCHECK_LE(start, static_cast<int>([icon_images_ count])); 42 if (start == static_cast<int>([icon_images_ count])) { 50 static_cast<int>([icon_images_ count])); 54 DCHECK_LE(start + length, static_cast<int>([icon_images_ count])); 59 static_cast<int>([icon_images_ count])); 64 static_cast<int>([icon_images_ count])); 66 DCHECK_LT(row, static_cast<int>([icon_images_ count])); 67 NSImage* image = static_cast<NSImage*>([icon_images_ pointerAtIndex:row]) [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
ClipboardUtilitiesGtk.cpp | 26 GdkDragAction gdkAction = static_cast<GdkDragAction>(0); 31 gdkAction = static_cast<GdkDragAction>(GDK_ACTION_COPY | gdkAction); 33 gdkAction = static_cast<GdkDragAction>(GDK_ACTION_MOVE | gdkAction); 35 gdkAction = static_cast<GdkDragAction>(GDK_ACTION_LINK | gdkAction); 37 gdkAction = static_cast<GdkDragAction>(GDK_ACTION_PRIVATE | gdkAction); 52 return static_cast<GdkDragAction>(0); 72 return static_cast<DragOperation>(action);
|
/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...] |
/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/android-ndk-r5/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/android-ndk-r6/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/android-ndk-r7/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/bindings/js/ |
JSHTMLOptionsCollectionCustom.cpp | 40 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); 46 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); 53 else if (lengthValue > static_cast<double>(UINT_MAX)) 56 newLength = static_cast<unsigned>(lengthValue); 65 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); 66 HTMLSelectElement* base = static_cast<HTMLSelectElement*>(imp->base()); 72 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); 93 HTMLOptionsCollection* imp = static_cast<HTMLOptionsCollection*>(impl()); 94 JSHTMLSelectElement* base = static_cast<JSHTMLSelectElement*>(asObject(toJS(exec, globalObject(), imp->base())));
|
/external/clang/test/SemaObjCXX/ |
arc-type-conversion.mm | 38 (void)static_cast<int*>(arg); // expected-error {{cannot cast from type 'id' to pointer type 'int *'}} 39 (void)static_cast<id>(arg); 40 (void)static_cast<__autoreleasing id*>(arg); // expected-error{{cannot cast from type 'id' to pointer type '__autoreleasing id *'}} 41 (void)static_cast<id*>(arg); // expected-error {{cannot cast from type 'id' to pointer type '__strong id *'}} 43 (void)static_cast<__autoreleasing id**>(voidp_val); 44 (void)static_cast<void*>(voidp_val); 45 (void)static_cast<void**>(arg); // expected-error {{cannot cast from type 'id' to pointer type 'void **'}} 46 (void)static_cast<__strong id**>(0); 49 (void)static_cast<__autoreleasing id*>(idp); // expected-error{{static_cast from '__strong id *' to '__autoreleasing id *' is not allowed} [all...] |
/external/clang/include/clang/Analysis/Visitors/ |
CFGStmtVisitor.h | 27 static_cast<ImplClass*>(this)->BlockStmt_Visit ## CLASS(static_cast<CLASS*>(S)); 31 static_cast<ImplClass*>(this)->BlockStmt_VisitImplicitControlFlowExpr(\ 52 !static_cast<ImplClass*>(this)->getCFG().isBlkExpr(S)) 79 return static_cast<ImplClass*>(this)->VisitConditionVariableInit(S); 90 return static_cast<ImplClass*>(this)->BlockStmt_VisitLogicalOp(B); 92 return static_cast<ImplClass*>(this)->BlockStmt_VisitComma(B); 99 static_cast<ImplClass*>(this)->BlockStmt_VisitExpr(cast<Expr>(S)); 101 return static_cast<ImplClass*>(this)->BlockStmt_VisitStmt(S); 110 return static_cast<ImplClass*>(this)->BlockStmt_VisitStmt(S) [all...] |
/external/webkit/Source/WebCore/bridge/jni/jsc/ |
JavaArrayJSC.cpp | 59 m_length = env->GetArrayLength(static_cast<jarray>(m_array->m_instance)); 91 env->SetObjectArrayElement(static_cast<jobjectArray>(javaArray()), index, aJValue.l); 97 env->SetBooleanArrayRegion(static_cast<jbooleanArray>(javaArray()), index, 1, &aJValue.z); 103 env->SetByteArrayRegion(static_cast<jbyteArray>(javaArray()), index, 1, &aJValue.b); 109 env->SetCharArrayRegion(static_cast<jcharArray>(javaArray()), index, 1, &aJValue.c); 115 env->SetShortArrayRegion(static_cast<jshortArray>(javaArray()), index, 1, &aJValue.s); 121 env->SetIntArrayRegion(static_cast<jintArray>(javaArray()), index, 1, &aJValue.i); 127 env->SetLongArrayRegion(static_cast<jlongArray>(javaArray()), index, 1, &aJValue.j); 132 env->SetFloatArrayRegion(static_cast<jfloatArray>(javaArray()), index, 1, &aJValue.f); 138 env->SetDoubleArrayRegion(static_cast<jdoubleArray>(javaArray()), index, 1, &aJValue.d) [all...] |
/external/chromium/crypto/ |
secure_hash_default.cc | 25 SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len); 29 SHA256_End(&ctx_, static_cast<unsigned char*>(output), NULL, 30 static_cast<unsigned int>(len));
|
/external/clang/test/SemaCXX/ |
dependent-noexcept-unevaluated.cpp | 16 T tmp(static_cast<T&&>(x)); 17 x = static_cast<T&&>(y); 18 y = static_cast<T&&>(tmp);
|
invalid-instantiated-field-decl.cpp | 18 MinUs = (static_cast<unsigned int>(sizeof(T))*N + // expected-error {{invalid application of 'sizeof' to an incomplete type 'CallSite'}} 19 static_cast<unsigned int>(sizeof(U)) - 1) / 20 static_cast<unsigned int>(sizeof(U)),
|
/external/llvm/unittests/Support/ |
SwapByteOrderTest.cpp | 28 uint8_t origional_uint8 = static_cast<uint8_t>(value); 32 uint16_t origional_uint16 = static_cast<uint16_t>(value); 36 uint32_t origional_uint32 = static_cast<uint32_t>(value); 40 uint64_t origional_uint64 = static_cast<uint64_t>(value); 53 int8_t origional_int8 = static_cast<int8_t>(value); 57 int16_t origional_int16 = static_cast<int16_t>(value); 61 int32_t origional_int32 = static_cast<int32_t>(value); 65 int64_t origional_int64 = static_cast<int64_t>(value); 72 origional_int8 = static_cast<int8_t>(value); 76 origional_int16 = static_cast<int16_t>(value) [all...] |
/frameworks/av/media/libmedia/ |
IStreamSource.cpp | 61 data.writeInt32(static_cast<int32_t>(buffers.size())); 71 data.writeInt32(static_cast<int32_t>(index)); 93 size_t n = static_cast<size_t>(data.readInt32()); 108 onBufferAvailable(static_cast<size_t>(data.readInt32())); 129 data.writeInt32(static_cast<int32_t>(index)); 130 data.writeInt32(static_cast<int32_t>(size)); 139 data.writeInt32(static_cast<int32_t>(cmd)); 140 data.writeInt32(static_cast<int32_t>(synchronous)); 161 size_t index = static_cast<size_t>(data.readInt32()); 162 size_t size = static_cast<size_t>(data.readInt32()) [all...] |
/external/chromium/base/ |
fix_wp64.h | 23 return reinterpret_cast<void*>(static_cast<LONG_PTR>(InterlockedExchange( 25 static_cast<LONG>(reinterpret_cast<LONG_PTR>(value))))); 35 return ::SetWindowLongA(window, index, static_cast<LONG>(new_long)); 42 return ::SetWindowLongW(window, index, static_cast<LONG>(new_long)); 63 return ::SetClassLongA(window, index, static_cast<LONG>(new_long)); 70 return ::SetClassLongW(window, index, static_cast<LONG>(new_long));
|
/external/webkit/Source/WebCore/html/ |
HTMLOptionsCollection.cpp | 60 HTMLSelectElement* select = static_cast<HTMLSelectElement*>(base()); 65 select->add(newOption, static_cast<HTMLOptionElement*>(item(index)), ec); 72 static_cast<HTMLSelectElement*>(base())->remove(index); 77 return static_cast<HTMLSelectElement*>(base())->selectedIndex(); 82 static_cast<HTMLSelectElement*>(base())->setSelectedIndex(index); 87 static_cast<HTMLSelectElement*>(base())->setLength(length, ec);
|
/external/icu4c/i18n/ |
bms.cpp | 19 #define STATIC_CAST(type,value) static_cast<type>(value) 22 #define STATIC_CAST(type,value) (type) (value) 31 return STATIC_CAST(UCD *, CollData::open(coll, *status)); 38 CollData *data = STATIC_CAST(CollData *, ucd); 47 CollData *data = STATIC_CAST(CollData *, ucd); 76 BMS *bms = STATIC_CAST(BMS *, uprv_malloc(sizeof(BMS))); 126 return STATIC_CAST(UCD *, bms->bms->getData());
|