/frameworks/rs/ |
rsApiMesh.cpp | 24 Mesh *sm = static_cast<Mesh *>(mv); 29 Mesh *sm = static_cast<Mesh *>(mv); 34 Mesh *sm = static_cast<Mesh *>(mv); 44 Mesh *sm = static_cast<Mesh *>(mv);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.obs/ |
op_bool.pass.cpp | 29 assert(static_cast<bool>(lk0) == false); 31 assert(static_cast<bool>(lk1) == true); 33 assert(static_cast<bool>(lk1) == false); 34 static_assert(noexcept(static_cast<bool>(lk0)), "explicit operator bool() must be noexcept");
|
/ndk/tests/build/test-gnustl-chrono/jni/ |
main.cpp | 19 static_cast<long long>(duration_cast<nanoseconds>(end - start).count()));
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/tools/ |
real_cast.hpp | 20 return static_cast<To>(t);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
spec7.cpp | 30 static_cast<B&>(d).Run();
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
spec7.cpp | 30 static_cast<B&>(d).Run();
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
dynamic_language_model_probability_utils.h | 33 const int minCount = ASSUMED_MIN_COUNTS[static_cast<int>(ngramType)]; 34 return static_cast<float>(count) / static_cast<float>(std::max(contextCount, minCount)); 39 ngramProbability + ENCODED_BACKOFF_WEIGHTS[static_cast<int>(ngramType)];
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
profiler.h | 37 static_cast<float>(getTimeInMicroSec() - mStartTime) / 1000.f; 50 mTimes[id] += static_cast<float>(getTimeInMicroSec() - mStartTimes[id]) / 1000.0f; 68 return static_cast<int64_t>(time.tv_sec) * 1000000 69 + static_cast<int64_t>(time.tv_nsec) / 1000;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/pat_trie_/ |
erase_fn_imps.hpp | 61 erase_leaf(static_cast<leaf_pointer>(p_nd)); 83 inode_ptr p_internal = static_cast<inode_ptr>(p_parent); 95 p_nd = static_cast<inode_pointer>(p_parent); 109 p_nd = static_cast<inode_pointer>(p_nd->m_p_parent); 149 static_cast<inode_pointer>(p_nd)->begin(); 150 it != static_cast<inode_pointer>(p_nd)->end(); 156 s_inode_allocator.deallocate(static_cast<inode_pointer>(p_nd), 1); 161 static_cast<leaf_pointer>(p_nd)->~leaf(); 162 s_leaf_allocator.deallocate(static_cast<leaf_pointer>(p_nd), 1); 178 erase_leaf(static_cast<leaf_pointer>(it.m_p_nd)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/pat_trie_/ |
erase_fn_imps.hpp | 61 erase_leaf(static_cast<leaf_pointer>(p_nd)); 83 inode_ptr p_internal = static_cast<inode_ptr>(p_parent); 95 p_nd = static_cast<inode_pointer>(p_parent); 109 p_nd = static_cast<inode_pointer>(p_nd->m_p_parent); 149 static_cast<inode_pointer>(p_nd)->begin(); 150 it != static_cast<inode_pointer>(p_nd)->end(); 156 s_inode_allocator.deallocate(static_cast<inode_pointer>(p_nd), 1); 161 static_cast<leaf_pointer>(p_nd)->~leaf(); 162 s_leaf_allocator.deallocate(static_cast<leaf_pointer>(p_nd), 1); 178 erase_leaf(static_cast<leaf_pointer>(it.m_p_nd)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/pat_trie_/ |
erase_fn_imps.hpp | 61 erase_leaf(static_cast<leaf_pointer>(p_nd)); 83 inode_ptr p_internal = static_cast<inode_ptr>(p_parent); 95 p_nd = static_cast<inode_pointer>(p_parent); 109 p_nd = static_cast<inode_pointer>(p_nd->m_p_parent); 149 static_cast<inode_pointer>(p_nd)->begin(); 150 it != static_cast<inode_pointer>(p_nd)->end(); 156 s_inode_allocator.deallocate(static_cast<inode_pointer>(p_nd), 1); 161 static_cast<leaf_pointer>(p_nd)->~leaf(); 162 s_leaf_allocator.deallocate(static_cast<leaf_pointer>(p_nd), 1); 178 erase_leaf(static_cast<leaf_pointer>(it.m_p_nd)) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/ |
aligned_buffer.h | 53 return static_cast<void*>(&_M_storage); 59 return static_cast<const void*>(&_M_storage); 64 { return static_cast<_Tp*>(_M_addr()); } 68 { return static_cast<const _Tp*>(_M_addr()); }
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/pat_trie_/ |
erase_fn_imps.hpp | 61 erase_leaf(static_cast<leaf_pointer>(p_nd)); 83 inode_ptr p_internal = static_cast<inode_ptr>(p_parent); 95 p_nd = static_cast<inode_pointer>(p_parent); 109 p_nd = static_cast<inode_pointer>(p_nd->m_p_parent); 149 static_cast<inode_pointer>(p_nd)->begin(); 150 it != static_cast<inode_pointer>(p_nd)->end(); 156 s_inode_allocator.deallocate(static_cast<inode_pointer>(p_nd), 1); 161 static_cast<leaf_pointer>(p_nd)->~leaf(); 162 s_leaf_allocator.deallocate(static_cast<leaf_pointer>(p_nd), 1); 178 erase_leaf(static_cast<leaf_pointer>(it.m_p_nd)) [all...] |
/system/update_engine/payload_consumer/ |
extent_writer.cc | 42 CHECK_NE(bytes_remaining_next_extent, static_cast<uint64_t>(0)); 44 static_cast<size_t>(min(static_cast<uint64_t>(count - bytes_written), 53 static_cast<off64_t>(-1));
|
/art/runtime/arch/arm/ |
registers_arm.cc | 32 os << "Register[" << static_cast<int>(rhs) << "]"; 39 os << "s" << static_cast<int>(rhs); 41 os << "SRegister[" << static_cast<int>(rhs) << "]";
|
/art/runtime/arch/mips/ |
registers_mips.cc | 34 os << "Register[" << static_cast<int>(rhs) << "]"; 41 os << "f" << static_cast<int>(rhs); 43 os << "FRegister[" << static_cast<int>(rhs) << "]";
|
/art/runtime/arch/mips64/ |
registers_mips64.cc | 35 os << "GpuRegister[" << static_cast<int>(rhs) << "]"; 42 os << "f" << static_cast<int>(rhs); 44 os << "FpuRegister[" << static_cast<int>(rhs) << "]";
|
/art/runtime/arch/x86_64/ |
registers_x86_64.cc | 32 os << "Register[" << static_cast<int>(rhs) << "]"; 39 os << "xmm" << static_cast<int>(rhs); 41 os << "Register[" << static_cast<int>(rhs) << "]";
|
/bionic/tests/libs/ |
dlsym_from_this_functions.cpp | 25 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol")); 35 int* result = static_cast<int*>(dlsym(RTLD_DEFAULT, "test_dlsym_symbol2")); 45 int* result = static_cast<int*>(dlsym(RTLD_NEXT, "test_dlsym_symbol"));
|
/external/clang/test/CodeGenCXX/ |
reference-cast.cpp | 13 return static_cast<const int&>(17); 25 return static_cast<const short&>(17); 37 return static_cast<const short&>(17.5); 49 return static_cast<const float&>(17); 61 return static_cast<const float&>(17.0); 77 return static_cast<const bool&>(get_int()); 96 return static_cast<const bool&>(get_float()); 121 return static_cast<const bool&>(get_pointer_to_member_data()); 139 return static_cast<const bool&>(get_pointer_to_member_function()); 163 return static_cast<const _Complex float&>(get_complex_double()) [all...] |
/external/eigen/unsupported/test/ |
matrix_exponential.cpp | 35 angle = static_cast<T>(pow(10, i / 5. - 2)); 40 VERIFY(C.isApprox(B, static_cast<T>(tol))); 44 VERIFY(C.isApprox(B, static_cast<T>(tol))); 57 angle = static_cast<T>((i-10) / 2.0); 65 VERIFY(C.isApprox(B, static_cast<T>(tol))); 69 VERIFY(C.isApprox(B, static_cast<T>(tol))); 81 A(i+1,i) = static_cast<T>(i+1); 85 B(i,j) = static_cast<T>(binom(i,j)); 89 VERIFY(C.isApprox(B, static_cast<T>(tol))); 93 VERIFY(C.isApprox(B, static_cast<T>(tol))) [all...] |
/external/google-benchmark/src/ |
sleep.cc | 31 SleepForMilliseconds(static_cast<int>(kNumMillisPerSecond * seconds)); 43 SleepForMicroseconds(static_cast<int>(milliseconds) * kNumMicrosPerMilli); 47 SleepForMicroseconds(static_cast<int>(seconds * kNumMicrosPerSecond));
|
/external/libcxx/test/std/thread/futures/futures.overview/ |
future_status.pass.cpp | 25 static_assert(static_cast<int>(std::future_status::ready) == 0, ""); 26 static_assert(static_cast<int>(std::future_status::timeout) == 1, ""); 27 static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/ |
op_bool.pass.cpp | 26 assert(static_cast<bool>(lk0) == false); 28 assert(static_cast<bool>(lk1) == true); 30 assert(static_cast<bool>(lk1) == false);
|
/external/llvm/unittests/Support/ |
SwapByteOrderTest.cpp | 28 uint8_t original_uint8 = static_cast<uint8_t>(value); 32 uint16_t original_uint16 = static_cast<uint16_t>(value); 36 uint32_t original_uint32 = static_cast<uint32_t>(value); 40 uint64_t original_uint64 = static_cast<uint64_t>(value); 53 int8_t original_int8 = static_cast<int8_t>(value); 57 int16_t original_int16 = static_cast<int16_t>(value); 61 int32_t original_int32 = static_cast<int32_t>(value); 65 int64_t original_int64 = static_cast<int64_t>(value); 72 original_int8 = static_cast<int8_t>(value); 76 original_int16 = static_cast<int16_t>(value) [all...] |