/art/runtime/entrypoints/ |
math_entrypoints.cc | 22 return static_cast<double>(l); 26 return static_cast<float>(l); 34 static const double kMaxLong = static_cast<double>(static_cast<int64_t>(0x7fffffffffffffffULL)); 35 static const double kMinLong = static_cast<double>(static_cast<int64_t>(0x8000000000000000ULL)); 37 return static_cast<int64_t>(0x7fffffffffffffffULL); 39 return static_cast<int64_t>(0x8000000000000000ULL); 43 return static_cast<int64_t>(d); 48 static const float kMaxLong = static_cast<float>(static_cast<int64_t>(0x7fffffffffffffffULL)) [all...] |
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
p9-0x.cpp | 7 (void)static_cast<bool>(ec); 8 (void)static_cast<bool>(EC::ec1); 9 (void)static_cast<char>(ec); 10 (void)static_cast<char>(EC::ec1); 11 (void)static_cast<int>(ec); 12 (void)static_cast<int>(EC::ec1); 13 (void)static_cast<unsigned long>(ec); 14 (void)static_cast<unsigned long>(EC::ec1); 15 (void)static_cast<float>(ec); 16 (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}}
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebCompositingReasons.h | 41 const uint64_t CompositingReason3DTransform = static_cast<uint64_t>(1) << 0; 42 const uint64_t CompositingReasonVideo = static_cast<uint64_t>(1) << 1; 43 const uint64_t CompositingReasonCanvas = static_cast<uint64_t>(1) << 2; 44 const uint64_t CompositingReasonPlugin = static_cast<uint64_t>(1) << 3; 45 const uint64_t CompositingReasonIFrame = static_cast<uint64_t>(1) << 4; 46 const uint64_t CompositingReasonBackfaceVisibilityHidden = static_cast<uint64_t>(1) << 5; 47 const uint64_t CompositingReasonAnimation = static_cast<uint64_t>(1) << 6; 48 const uint64_t CompositingReasonFilters = static_cast<uint64_t>(1) << 7; 49 const uint64_t CompositingReasonPositionFixed = static_cast<uint64_t>(1) << 8; 50 const uint64_t CompositingReasonPositionSticky = static_cast<uint64_t>(1) << 9 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/ |
errc.pass.cpp | 18 static_assert(static_cast<int>(std::errc::address_family_not_supported) == EAFNOSUPPORT, ""); 19 static_assert(static_cast<int>(std::errc::address_in_use) == EADDRINUSE, ""); 20 static_assert(static_cast<int>(std::errc::address_not_available) == EADDRNOTAVAIL, ""); 21 static_assert(static_cast<int>(std::errc::already_connected) == EISCONN, ""); 22 static_assert(static_cast<int>(std::errc::argument_list_too_long) == E2BIG, ""); 23 static_assert(static_cast<int>(std::errc::argument_out_of_domain) == EDOM, ""); 24 static_assert(static_cast<int>(std::errc::bad_address) == EFAULT, ""); 25 static_assert(static_cast<int>(std::errc::bad_file_descriptor) == EBADF, ""); 26 static_assert(static_cast<int>(std::errc::bad_message) == EBADMSG, ""); 27 static_assert(static_cast<int>(std::errc::broken_pipe) == EPIPE, "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/ |
future_status.pass.cpp | 23 static_assert(static_cast<int>(std::future_status::ready) == 0, ""); 24 static_assert(static_cast<int>(std::future_status::timeout) == 1, ""); 25 static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
|
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, "");
|
/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_org/gpu/command_buffer/common/ |
gles2_cmd_format_test_autogen.h | 19 static_cast<GLenum>(11)); 20 EXPECT_EQ(static_cast<uint32>(cmds::ActiveTexture::kCmdId), 23 EXPECT_EQ(static_cast<GLenum>(11), cmd.texture); 32 static_cast<GLuint>(11), 33 static_cast<GLuint>(12)); 34 EXPECT_EQ(static_cast<uint32>(cmds::AttachShader::kCmdId), 37 EXPECT_EQ(static_cast<GLuint>(11), cmd.program); 38 EXPECT_EQ(static_cast<GLuint>(12), cmd.shader); 47 static_cast<GLuint>(11), 48 static_cast<GLuint>(12) [all...] |
/ndk/sources/cxx-stl/gabi++/src/ |
dwarf_helper.cc | 63 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; 77 result |= static_cast<uintptr_t>(byte & 0x7F) << shift; 82 result |= static_cast<uintptr_t>(~0) << shift; 84 return static_cast<intptr_t>(result); 89 return ((static_cast<uint16_t>(data[0])) | 90 (static_cast<uint16_t>(data[1]) << 8)); 92 return ((static_cast<uint16_t>(data[0]) << 8) | 93 (static_cast<uint16_t>(data[1]))); 99 return ((static_cast<uint32_t>(data[0])) | 100 (static_cast<uint32_t>(data[1]) << 8) [all...] |
/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/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/libjingle/source/talk/base/ |
basicdefs.h | 35 #define ARRAY_SIZE(x) (static_cast<int>(sizeof(x) / sizeof(x[0])))
|
byteorder.h | 48 static_cast<uint8*>(memory)[offset] = v; 52 return static_cast<const uint8*>(memory)[offset]; 56 Set8(memory, 0, static_cast<uint8>(v >> 8)); 57 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)); 68 Set8(memory, 0, static_cast<uint8>(v >> 56)); 69 Set8(memory, 1, static_cast<uint8>(v >> 48)) [all...] |
/external/chromium_org/ui/gfx/ |
favicon_size.cc | 14 float aspect_ratio = static_cast<float>(*width) / 15 static_cast<float>(*height); 17 *width = static_cast<int>(aspect_ratio * *height); 20 *height = static_cast<int>(*width / aspect_ratio);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
none.hpp | 23 none_t const none = (static_cast<none_t>(0)) ;
|
/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/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8AudioNodeCustom.cpp | 73 return wrap(static_cast<AudioDestinationNode*>(impl), creationContext, isolate); 75 return wrap(static_cast<OscillatorNode*>(impl), creationContext, isolate); 77 return wrap(static_cast<AudioBufferSourceNode*>(impl), creationContext, isolate); 79 return wrap(static_cast<MediaElementAudioSourceNode*>(impl), creationContext, isolate); 81 return wrap(static_cast<MediaStreamAudioDestinationNode*>(impl), creationContext, isolate); 83 return wrap(static_cast<MediaStreamAudioSourceNode*>(impl), creationContext, isolate); 85 return wrap(static_cast<ScriptProcessorNode*>(impl), creationContext, isolate); 87 return wrap(static_cast<BiquadFilterNode*>(impl), creationContext, isolate); 89 return wrap(static_cast<PannerNode*>(impl), creationContext, isolate); 91 return wrap(static_cast<ConvolverNode*>(impl), creationContext, isolate) [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...] |