/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8SVGPathSegCustom.cpp | 64 return wrap(static_cast<SVGPathSegClosePath*>(impl), creationContext, isolate); 66 return wrap(static_cast<SVGPathSegMovetoAbs*>(impl), creationContext, isolate); 68 return wrap(static_cast<SVGPathSegMovetoRel*>(impl), creationContext, isolate); 70 return wrap(static_cast<SVGPathSegLinetoAbs*>(impl), creationContext, isolate); 72 return wrap(static_cast<SVGPathSegLinetoRel*>(impl), creationContext, isolate); 74 return wrap(static_cast<SVGPathSegCurvetoCubicAbs*>(impl), creationContext, isolate); 76 return wrap(static_cast<SVGPathSegCurvetoCubicRel*>(impl), creationContext, isolate); 78 return wrap(static_cast<SVGPathSegCurvetoQuadraticAbs*>(impl), creationContext, isolate); 80 return wrap(static_cast<SVGPathSegCurvetoQuadraticRel*>(impl), creationContext, isolate); 82 return wrap(static_cast<SVGPathSegArcAbs*>(impl), creationContext, isolate) [all...] |
/external/clang/test/SemaCXX/ |
warn-reinterpret-base-class.cpp | 118 // expected-warning@+2 {{'reinterpret_cast' to class 'DVA *' from its virtual base 'A *' behaves differently from 'static_cast'}} 119 // expected-note@+1 {{use 'static_cast' to adjust the pointer correctly while downcasting}} 121 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:10-[[@LINE-1]]:26}:"static_cast" 123 // expected-warning@+2 {{'reinterpret_cast' to class 'DDVA *' from its virtual base 'A *' behaves differently from 'static_cast'}} 124 // expected-note@+1 {{use 'static_cast' to adjust the pointer correctly while downcasting}} 126 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:10-[[@LINE-1]]:26}:"static_cast" 128 // expected-warning@+2 {{'reinterpret_cast' to class 'DMA *' from its virtual base 'A *' behaves differently from 'static_cast'}} 129 // expected-note@+1 {{use 'static_cast' to adjust the pointer correctly while downcasting}} 131 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:10-[[@LINE-1]]:26}:"static_cast" 151 // expected-warning@+2 {{'reinterpret_cast' to class 'DVA &' from its virtual base 'A' behaves differently from 'static_cast'}} [all...] |
addr-of-overloaded-function-casting.cpp | 24 { bool b = static_cast<void (&)(char)>(f); } // expected-error{{does not match}} 25 { bool b = static_cast<void (*)(char)>(f); } // expected-error{{address of overloaded function}} 27 { bool b = static_cast<void (&)(int)>(f); } //ok 28 { bool b = static_cast<void (*)(int)>(f); } //ok 35 { bool b = static_cast<void (*)(char)>(g); } // expected-error{{not allowed}} 46 { bool b = static_cast<void (&)(char)>(t); } //ok 47 { bool b = static_cast<void (*)(char)>(t); } //ok 49 { bool b = static_cast<void (&)(int)>(t); } //ok 50 { bool b = static_cast<void (*)(int)>(t); } //ok 57 { bool b = static_cast<int (*)(char)>(t); } // expected-error{{cannot be static_cast} [all...] |
address-space-conversion.cpp | 54 (void)static_cast<A_ptr>(bp); 55 (void)static_cast<A_ptr_1>(bp1); 56 (void)static_cast<A_ptr_2>(bp2); 59 (void)static_cast<B_ptr>(ap); 60 (void)static_cast<B_ptr_1>(ap1); 61 (void)static_cast<B_ptr_2>(ap2); 64 (void)static_cast<void_ptr>(ap); 65 (void)static_cast<void_ptr_1>(ap1); 66 (void)static_cast<void_ptr_2>(ap2); 67 (void)static_cast<A_ptr>(vp) [all...] |
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_org/base/i18n/ |
break_iterator.cc | 27 ubrk_close(static_cast<UBreakIterator*>(iter_)); 49 string_.data(), static_cast<int32_t>(string_.size()), 56 ubrk_first(static_cast<UBreakIterator*>(iter_)); 68 pos = ubrk_next(static_cast<UBreakIterator*>(iter_)); 73 pos_ = static_cast<size_t>(pos); 77 pos = ubrk_next(static_cast<UBreakIterator*>(iter_)); 80 pos_ = static_cast<size_t>(pos); 81 status = ubrk_getRuleStatus(static_cast<UBreakIterator*>(iter_)); 95 int32_t status = ubrk_getRuleStatus(static_cast<UBreakIterator*>(iter_)); 103 UBreakIterator* iter = static_cast<UBreakIterator*>(iter_) [all...] |
string_compare.cc | 21 static_cast<const UChar*>(lhs.c_str()), static_cast<int>(lhs.length()), 22 static_cast<const UChar*>(rhs.c_str()), static_cast<int>(rhs.length()),
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
StyleRule.cpp | 62 delete static_cast<StyleRule*>(this); 65 delete static_cast<StyleRulePage*>(this); 68 delete static_cast<StyleRuleFontFace*>(this); 71 delete static_cast<StyleRuleMedia*>(this); 74 delete static_cast<StyleRuleSupports*>(this); 77 delete static_cast<StyleRuleRegion*>(this); 80 delete static_cast<StyleRuleImport*>(this); 83 delete static_cast<StyleRuleKeyframes*>(this); 86 delete static_cast<StyleRuleHost*>(this); 89 delete static_cast<StyleRuleViewport*>(this) [all...] |
/frameworks/base/native/android/ |
sensor.cpp | 50 int c = static_cast<SensorManager*>(manager)->getSensorList(&l); 59 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); 66 static_cast<SensorManager*>(manager)->createEventQueue(); 72 return static_cast<ASensorEventQueue*>(queue.get()); 78 sp<SensorEventQueue> queue = static_cast<SensorEventQueue*>(inQueue); 88 return static_cast<SensorEventQueue*>(queue)->enableSensor( 89 static_cast<Sensor const*>(sensor)); 94 return static_cast<SensorEventQueue*>(queue)->disableSensor( 95 static_cast<Sensor const*>(sensor)); 101 return static_cast<SensorEventQueue*>(queue)->setEventRate [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
macconversion.cc | 75 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint8)); 76 if (converted) *i = static_cast<int>(sint8); 80 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint16)); 81 if (converted) *i = static_cast<int>(sint16); 85 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint32)); 86 if (converted) *i = static_cast<int>(sint32); 90 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint64)); 91 if (converted) *i = static_cast<int>(sint64); 96 static_cast<void*>(&float32)); 97 if (converted) *i = static_cast<int>(float32) [all...] |
common.h | 43 #define UNUSED(x) Unused(static_cast<const void *>(&x)) 44 #define UNUSED2(x,y) Unused(static_cast<const void *>(&x)); Unused(static_cast<const void *>(&y)) 45 #define UNUSED3(x,y,z) Unused(static_cast<const void *>(&x)); Unused(static_cast<const void *>(&y)); Unused(static_cast<const void *>(&z)) 46 #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/chromium_org/third_party/libjingle/source/talk/base/ |
macconversion.cc | 75 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint8)); 76 if (converted) *i = static_cast<int>(sint8); 80 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint16)); 81 if (converted) *i = static_cast<int>(sint16); 85 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint32)); 86 if (converted) *i = static_cast<int>(sint32); 90 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint64)); 91 if (converted) *i = static_cast<int>(sint64); 96 static_cast<void*>(&float32)); 97 if (converted) *i = static_cast<int>(float32) [all...] |
/external/chromium_org/ui/gfx/ |
vector2d_f.cc | 32 return static_cast<double>(x_) * x_ + static_cast<double>(y_) * y_; 36 return static_cast<float>(std::sqrt(LengthSquared())); 45 return static_cast<double>(lhs.x()) * rhs.y() - 46 static_cast<double>(lhs.y()) * rhs.x(); 50 return static_cast<double>(lhs.x()) * rhs.x() + 51 static_cast<double>(lhs.y()) * rhs.y();
|
vector2d.cc | 28 return static_cast<int64>(x_) * x_ + static_cast<int64>(y_) * y_; 32 return static_cast<float>(std::sqrt(static_cast<double>(LengthSquared())));
|
/external/chromium/base/i18n/ |
break_iterator.cc | 26 ubrk_close(static_cast<UBreakIterator*>(iter_)); 45 string_->data(), static_cast<int32_t>(string_->size()), 52 ubrk_first(static_cast<UBreakIterator*>(iter_)); 63 pos = ubrk_next(static_cast<UBreakIterator*>(iter_)); 68 pos_ = static_cast<size_t>(pos); 72 pos = ubrk_next(static_cast<UBreakIterator*>(iter_)); 76 pos_ = static_cast<size_t>(pos); 77 status = ubrk_getRuleStatus(static_cast<UBreakIterator*>(iter_)); 92 ubrk_getRuleStatus(static_cast<UBreakIterator*>(iter_)) !=
|
/external/clang/tools/libclang/ |
CXCompilationDatabase.cpp | 35 delete static_cast<CompilationDatabase *>(CDb); 51 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) { 63 if (CompilationDatabase *db = static_cast<CompilationDatabase *>(CDb)) { 75 delete static_cast<AllocatedCXCompileCommands *>(Cmds); 85 static_cast<AllocatedCXCompileCommands *>(Cmds); 97 static_cast<AllocatedCXCompileCommands *>(Cmds); 111 CompileCommand *cmd = static_cast<CompileCommand *>(CCmd); 121 return static_cast<CompileCommand *>(CCmd)->CommandLine.size(); 130 CompileCommand *Cmd = static_cast<CompileCommand *>(CCmd);
|
/external/chromium_org/content/common/ |
socket_stream_handle_data.cc | 22 static_cast<WebSocketStreamHandleImpl*>(handle); 32 static_cast<WebSocketStreamHandleImpl*>(handle); 33 return static_cast<SocketStreamHandleData*>(impl->GetUserData(handle));
|
/external/chromium_org/ui/surface/ |
transport_dib.cc | 11 static const size_t kMaxSize = static_cast<size_t>(INT_MAX); 14 if (w <= 0 || h <= 0 || static_cast<size_t>(w) > (kMaxSize / one_stride) || 15 static_cast<size_t>(h) > (kMaxSize / stride)) {
|
/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_org/base/ |
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_org/third_party/WebKit/Source/core/svg/ |
SVGMatrix.h | 47 return static_cast<SVGMatrix>(copy); 54 return static_cast<SVGMatrix>(copy); 61 return static_cast<SVGMatrix>(copy); 68 return static_cast<SVGMatrix>(copy); 75 return static_cast<SVGMatrix>(copy); 82 return static_cast<SVGMatrix>(copy); 89 return static_cast<SVGMatrix>(copy); 96 return static_cast<SVGMatrix>(copy); 102 copy *= static_cast<const AffineTransform&>(other); 103 return static_cast<SVGMatrix>(copy) [all...] |
/external/clang/test/CXX/class/class.bit/ |
p2.cpp | 19 B b3(static_cast<B&&>(b2)); 21 b = static_cast<B&&>(b);
|
/external/clang/test/SemaTemplate/ |
value-dependent-null-pointer-constant.cpp | 28 (void)static_cast<void*>(static_cast<A*>(t));
|
/external/chromium_org/device/usb/ |
usb_ids.cc | 16 const UsbVendor* vendor_a = static_cast<const UsbVendor*>(a); 17 const UsbVendor* vendor_b = static_cast<const UsbVendor*>(b); 22 const UsbProduct* product_a = static_cast<const UsbProduct*>(a); 23 const UsbProduct* product_b = static_cast<const UsbProduct*>(b); 35 return static_cast<const UsbVendor*>(result); 55 return static_cast<const UsbProduct*>(result)->name;
|
/external/chromium_org/ui/base/events/ |
event_handler.cc | 25 OnKeyEvent(static_cast<KeyEvent*>(event)); 27 OnMouseEvent(static_cast<MouseEvent*>(event)); 29 OnScrollEvent(static_cast<ScrollEvent*>(event)); 31 OnTouchEvent(static_cast<TouchEvent*>(event)); 33 OnGestureEvent(static_cast<GestureEvent*>(event)); 35 OnCancelMode(static_cast<CancelModeEvent*>(event));
|