/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
p7-0x-fixits.cpp | 12 // CHECK: fix-it:{{.*}}:26}:"static_cast<char>(" 16 // CHECK: fix-it:{{.*}}:30}:"static_cast<int16_t>(" 30 // FIXME: This should be static_cast<T>. 31 // CHECK: fix-it:{{.*}}"static_cast<char>("
|
/external/clang/test/FixIt/ |
messages.cpp | 12 // CHECK: static_cast<unsigned int>( )
|
/external/clang/test/SemaCXX/ |
warn-cast-align.cpp | 8 a = static_cast<char*>(P); 29 a = static_cast<char*>(P); 35 b = static_cast<short*>(P); 41 c = static_cast<int*>(P);
|
cast-conversion.cpp | 19 static_cast<B>(10); // expected-error {{no matching conversion for static_cast from 'int' to 'B'}} 44 static_cast<float*>(f0<0>()); // expected-error{{ambiguous}} 73 return static_cast<long long>(a); // expected-error {{ambiguous conversion for static_cast from 'AmbiguousCast' to 'long long'}}
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/ |
future_errc.pass.cpp | 24 static_assert(static_cast<int>(std::future_errc::broken_promise) == 0, ""); 25 static_assert(static_cast<int>(std::future_errc::future_already_retrieved) == 1, ""); 26 static_assert(static_cast<int>(std::future_errc::promise_already_satisfied) == 2, ""); 27 static_assert(static_cast<int>(std::future_errc::no_state) == 3, "");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
GLESmacros.h | 10 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \ 15 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \ 25 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \ 30 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \
|
/external/chromium_org/mojo/public/tests/ |
system_core_cpp_unittest.cc | 17 EXPECT_NE(static_cast<MojoTimeTicks>(0), start) 31 Handle h_1(static_cast<MojoHandle>(123)); 32 EXPECT_EQ(static_cast<MojoHandle>(123), h_1.value()); 33 EXPECT_EQ(static_cast<MojoHandle>(123), *h_1.mutable_value()); 35 *h_1.mutable_value() = static_cast<MojoHandle>(456); 36 EXPECT_EQ(static_cast<MojoHandle>(456), h_1.value()); 40 EXPECT_EQ(static_cast<MojoHandle>(456), h_0.value()); 44 h_1.set_value(static_cast<MojoHandle>(789)); 46 EXPECT_EQ(static_cast<MojoHandle>(789), h_0.value()); 48 EXPECT_EQ(static_cast<MojoHandle>(456), h_1.value()) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8AlgorithmCustom.cpp | 54 return wrap(static_cast<AesCbcParams*>(impl), creationContext, isolate); 56 return wrap(static_cast<AesKeyGenParams*>(impl), creationContext, isolate); 58 return wrap(static_cast<HmacParams*>(impl), creationContext, isolate); 60 return wrap(static_cast<HmacKeyParams*>(impl), creationContext, isolate); 62 return wrap(static_cast<RsaSsaParams*>(impl), creationContext, isolate); 64 return wrap(static_cast<RsaKeyGenParams*>(impl), creationContext, isolate); 66 return wrap(static_cast<AesCtrParams*>(impl), creationContext, isolate);
|
/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_animation_impl.cc | 38 static_cast<const WebFloatAnimationCurveImpl*>(&web_curve); 44 static_cast<const WebTransformAnimationCurveImpl*>(&web_curve); 50 static_cast<const WebFilterAnimationCurveImpl*>(&web_curve); 59 static_cast<cc::Animation::TargetProperty>(target_property)); 67 return static_cast<WebAnimationImpl::TargetProperty>( 103 COMPILE_ASSERT(static_cast<int>(webkit_name) == static_cast<int>(cc_name), \
|
/external/chromium_org/v8/src/ |
allocation-site-scopes.cc | 43 static_cast<void*>(*scope_site)); 50 static_cast<void*>(*top()), 51 static_cast<void*>(*current()), 52 static_cast<void*>(*scope_site)); 73 static_cast<void*>(*scope_site), 74 static_cast<void*>(*object)); 77 static_cast<void*>(*top()), 78 static_cast<void*>(*scope_site), 79 static_cast<void*>(*object)); 94 static_cast<void*>(*object)) [all...] |
/art/runtime/mirror/ |
dex_cache_test.cc | 51 static_cast<uint32_t>(dex_cache->GetStrings()->GetLength())); 53 static_cast<uint32_t>(dex_cache->GetResolvedTypes()->GetLength())); 55 static_cast<uint32_t>(dex_cache->GetResolvedMethods()->GetLength())); 57 static_cast<uint32_t>(dex_cache->GetResolvedFields()->GetLength())); 59 static_cast<uint32_t>(dex_cache->GetInitializedStaticStorage()->GetLength()));
|
/external/chromium_org/chrome/browser/renderer_host/pepper/ |
pepper_output_protection_message_filter.cc | 35 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_NONE) == 36 static_cast<int>(chromeos::OUTPUT_TYPE_NONE), member in namespace:chrome::__anon5504 39 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_UNKNOWN) == 40 static_cast<int>(chromeos::OUTPUT_TYPE_UNKNOWN), member in namespace:chrome::__anon5504 43 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_INTERNAL) == 44 static_cast<int>(chromeos::OUTPUT_TYPE_INTERNAL), member in namespace:chrome::__anon5504 47 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_VGA) == 48 static_cast<int>(chromeos::OUTPUT_TYPE_VGA), member in namespace:chrome::__anon5504 51 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_HDMI) == 52 static_cast<int>(chromeos::OUTPUT_TYPE_HDMI) member in namespace:chrome::__anon5504 56 static_cast<int>(chromeos::OUTPUT_TYPE_DVI), member in namespace:chrome::__anon5504 60 static_cast<int>(chromeos::OUTPUT_TYPE_DISPLAYPORT), member in namespace:chrome::__anon5504 64 static_cast<int>(chromeos::OUTPUT_TYPE_NETWORK), member in namespace:chrome::__anon5504 68 static_cast<int>(chromeos::OUTPUT_PROTECTION_METHOD_NONE), member in namespace:chrome::__anon5504 72 static_cast<int>(chromeos::OUTPUT_PROTECTION_METHOD_HDCP), member in namespace:chrome::__anon5504 [all...] |
/external/chromium_org/chrome/browser/signin/ |
about_signin_internals_factory.cc | 29 return static_cast<AboutSigninInternals*>( 43 static_cast<UntimedSigninStatusField>(i)); 51 static_cast<TimedSigninStatusField>(i)) + ".value"; 53 static_cast<TimedSigninStatusField>(i)) + ".time"; 69 service->Initialize(static_cast<Profile*>(profile));
|
/external/chromium_org/gpu/command_buffer/tests/ |
gl_texture_mailbox_unittests.cc | 40 EXPECT_EQ(static_cast<GLenum>(GL_FRAMEBUFFER_COMPLETE), 135 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 137 EXPECT_EQ(static_cast<GLenum>(GL_INVALID_OPERATION), glGetError()); 140 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 142 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 164 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 173 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 184 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 190 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()); 197 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError()) [all...] |
/external/chromium_org/ppapi/cpp/dev/ |
printing_dev.cc | 28 return static_cast<Printing_Dev*>(object)->QuerySupportedPrintOutputFormats(); 37 return static_cast<Printing_Dev*>(object)->PrintBegin(*print_settings); 47 return static_cast<Printing_Dev*>(object)->PrintPages( 55 static_cast<Printing_Dev*>(object)->PrintEnd(); 64 static_cast<Printing_Dev*>(object)->IsPrintScalingDisabled();
|
/external/chromium_org/ui/base/accelerators/ |
platform_accelerator_gtk.cc | 32 return static_cast<GdkModifierType>(modifier); 39 gdk_modifier_(static_cast<GdkModifierType>(0)) { 60 static_cast<const PlatformAcceleratorGtk&>(rhs); 77 return static_cast<const PlatformAcceleratorGtk*>( 87 return static_cast<const PlatformAcceleratorGtk*>(
|
/frameworks/base/native/android/ |
looper.cpp | 37 static_cast<Looper*>(looper)->incStrong((void*)ALooper_acquire); 41 static_cast<Looper*>(looper)->decStrong((void*)ALooper_acquire); 67 static_cast<Looper*>(looper)->wake(); 72 return static_cast<Looper*>(looper)->addFd(fd, ident, events, callback, data); 76 return static_cast<Looper*>(looper)->removeFd(fd);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
geometry_utils.h | 37 return atan2f(static_cast<float>(dy), static_cast<float>(dx)); 52 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2)));
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
basictypes.h | 147 #define UNUSED(x) Unused(static_cast<const void*>(&x)) 148 #define UNUSED2(x, y) Unused(static_cast<const void*>(&x)); \ 149 Unused(static_cast<const void*>(&y)) 150 #define UNUSED3(x, y, z) Unused(static_cast<const void*>(&x)); \ 151 Unused(static_cast<const void*>(&y)); \ 152 Unused(static_cast<const void*>(&z)) 153 #define UNUSED4(x, y, z, a) Unused(static_cast<const void*>(&x)); \ 154 Unused(static_cast<const void*>(&y)); \ 155 Unused(static_cast<const void*>(&z)); \ 156 Unused(static_cast<const void*>(&a) [all...] |
/device/generic/goldfish/camera/ |
Converters.h | 82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5) 83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5) 84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11) 86 #define R16_32(rgb) static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2)) 87 #define G16_32(rgb) static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9)) 88 #define B16_32(rgb) static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14)) 90 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8) 91 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff) 92 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff) 94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r [all...] |