/external/clang/test/Analysis/ |
enum.cpp | 14 Foo f = static_cast<Foo>(i); 15 int j = static_cast<int>(f);
|
/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/CodeGenCXX/ |
cxx11-special-members.cpp | 18 B b(static_cast<B&&>(x)); 25 x = static_cast<B&&>(y);
|
/external/clang/test/SemaTemplate/ |
value-dependent-null-pointer-constant.cpp | 28 (void)static_cast<void*>(static_cast<A*>(t));
|
/external/deqp/framework/platform/android/ |
tcuAndroidPlatform.hpp | 45 virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*this); } 46 virtual const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platform&>(*this); }
|
/external/deqp/framework/platform/raspi/ |
tcuRaspiPlatform.hpp | 44 virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&> (*this); } 45 virtual const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platform&>(*this); }
|
/external/deqp/framework/platform/win32/ |
tcuWin32Platform.hpp | 51 const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*this); } 54 const eglu::Platform& getEGLPlatform (void) const { return static_cast<const eglu::Platform&>(*this); }
|
/external/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/ |
default_error_condition.pass.cpp | 22 std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_directory)); 24 assert(e_cond.value() == static_cast<int>(std::errc::not_a_directory));
|
/external/libcxx/test/input.output/iostreams.base/ios/iostate.flags/ |
bool.pass.cpp | 22 assert(static_cast<bool>(ios) == !ios.fail()); 24 assert(static_cast<bool>(ios) == !ios.fail());
|
/external/libcxx/test/thread/futures/futures.errors/ |
default_error_condition.pass.cpp | 22 std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_directory)); 24 assert(e_cond.value() == static_cast<int>(std::errc::not_a_directory));
|
/external/webrtc/src/system_wrappers/interface/ |
fix_interlocked_exchange_pointer_win.h | 27 return reinterpret_cast<void*>(static_cast<LONG_PTR>(InterlockedExchange( 29 static_cast<LONG>(reinterpret_cast<LONG_PTR>(value)))));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/ |
default_error_condition.pass.cpp | 22 std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_directory)); 24 assert(e_cond.value() == static_cast<int>(std::errc::not_a_directory));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/iostate.flags/ |
bool.pass.cpp | 22 assert(static_cast<bool>(ios) == !ios.fail()); 24 assert(static_cast<bool>(ios) == !ios.fail());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.errors/ |
default_error_condition.pass.cpp | 22 std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_directory)); 24 assert(e_cond.value() == static_cast<int>(std::errc::not_a_directory));
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
array5.cpp | 22 printf("ctor %p\n", static_cast<void *>(this)); 30 printf("dtor %p\n", static_cast<void *>(this));
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
array5.cpp | 22 printf("ctor %p\n", static_cast<void *>(this)); 30 printf("dtor %p\n", static_cast<void *>(this));
|
/external/chromium_org/third_party/webrtc/test/ |
frame_generator.cc | 31 frame_.CreateEmptyFrame(static_cast<int>(width_), 32 static_cast<int>(height_), 33 static_cast<int>(width_), 34 static_cast<int>((width_ + 1) / 2), 35 static_cast<int>((width_ + 1) / 2)); 61 kI420, static_cast<int>(width_), static_cast<int>(height_)); 77 frame_.CreateEmptyFrame(static_cast<int>(width_), 78 static_cast<int>(height_), 79 static_cast<int>(width_) [all...] |
fake_decoder.cc | 25 frame_.CreateEmptyFrame(static_cast<int>(width), 26 static_cast<int>(height), 27 static_cast<int>(width), 28 static_cast<int>((width + 1) / 2), 29 static_cast<int>((width + 1) / 2));
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
regex_constants.h | 166 return (syntax_option_type)(static_cast<unsigned int>(__a) 167 & static_cast<unsigned int>(__b)); 173 return (syntax_option_type)(static_cast<unsigned int>(__a) 174 | static_cast<unsigned int>(__b)); 180 return (syntax_option_type)(static_cast<unsigned int>(__a) 181 ^ static_cast<unsigned int>(__b)); 186 { return (syntax_option_type)(~static_cast<unsigned int>(__a)); } 345 return (match_flag_type)(static_cast<unsigned int>(__a) 346 & static_cast<unsigned int>(__b)); 352 return (match_flag_type)(static_cast<unsigned int>(__a [all...] |
/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/llvm/include/llvm/ADT/ |
iterator.h | 54 DerivedT tmp = *static_cast<const DerivedT *>(this); 68 DerivedT tmp = *static_cast<const DerivedT *>(this); 74 return static_cast<DerivedT *>(this)->operator+=(1); 77 DerivedT tmp = *static_cast<DerivedT *>(this); 78 ++*static_cast<DerivedT *>(this); 85 return static_cast<DerivedT *>(this)->operator-=(1); 91 DerivedT tmp = *static_cast<DerivedT *>(this); 92 --*static_cast<DerivedT *>(this); 97 return !static_cast<const DerivedT *>(this)->operator==(RHS); 104 return !static_cast<const DerivedT *>(this)->operator<(RHS) & [all...] |
/external/chromium_org/base/files/ |
memory_mapped_file_posix.cc | 33 map_size = static_cast<size_t>(file_len); 51 static_cast<uint64>(aligned_size) > 53 static_cast<uint64>(region.size) > std::numeric_limits<size_t>::max()) { 58 map_start = static_cast<off_t>(aligned_start); 59 map_size = static_cast<size_t>(aligned_size); 60 length_ = static_cast<size_t>(region.size); 63 data_ = static_cast<uint8*>(mmap(NULL,
|
/external/chromium_org/mojo/system/ |
raw_shared_buffer_win.cc | 25 if (static_cast<uint64_t>(num_bytes_) > 26 static_cast<uint64_t>(std::numeric_limits<DWORD>::max())) { 38 static_cast<DWORD>(num_bytes_), NULL))); 64 DCHECK_LE(static_cast<uint64_t>(real_offset), 65 static_cast<uint64_t>(std::numeric_limits<DWORD>::max())); 69 static_cast<DWORD>(real_offset), real_length); 75 void* base = static_cast<char*>(real_base) + offset_rounding;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
atomicops_internals_x86_msvc.cc | 57 static_cast<LONG>(new_value), 58 static_cast<LONG>(old_value)); 59 return static_cast<Atomic32>(result); 66 static_cast<LONG>(new_value)); 67 return static_cast<Atomic32>(result); 74 static_cast<LONG>(increment)) + increment; 102 static_cast<LONGLONG>(increment)) + increment;
|
/external/chromium_org/ui/gfx/geometry/ |
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();
|