/art/compiler/utils/mips64/ |
assembler_mips64.cc | 96 uint32_t encoding = static_cast<uint32_t>(opcode) << kOpcodeShift | 97 static_cast<uint32_t>(rs) << kRsShift | 98 static_cast<uint32_t>(rt) << kRtShift | 99 static_cast<uint32_t>(rd) << kRdShift | 109 uint32_t encoding = static_cast<uint32_t>(opcode) << kOpcodeShift | 110 static_cast<uint32_t>(rs) << kRsShift | 111 static_cast<uint32_t>(ZERO) << kRtShift | 112 static_cast<uint32_t>(rd) << kRdShift | 122 uint32_t encoding = static_cast<uint32_t>(opcode) << kOpcodeShift | 123 static_cast<uint32_t>(ZERO) << kRsShift [all...] |
/external/libchrome/base/ |
values_unittest.cc | 170 ASSERT_TRUE(narrow_value->GetAsString(static_cast<string16*>(NULL))); 171 ASSERT_TRUE(narrow_value->GetAsString(static_cast<std::string*>(NULL))); 173 static_cast<const StringValue**>(NULL))); 504 static_cast<BinaryValue*>(copy_binary)->GetBuffer()); 506 static_cast<BinaryValue*>(copy_binary)->GetSize()); 508 static_cast<BinaryValue*>(copy_binary)->GetBuffer(), [all...] |
/art/runtime/ |
transaction.cc | 369 static_cast<bool>(field_value.value)); 372 static_cast<bool>(field_value.value)); 378 static_cast<int8_t>(field_value.value)); 381 static_cast<int8_t>(field_value.value)); 387 static_cast<uint16_t>(field_value.value)); 390 static_cast<uint16_t>(field_value.value)); 396 static_cast<int16_t>(field_value.value)); 399 static_cast<int16_t>(field_value.value)); 405 static_cast<uint32_t>(field_value.value)); 408 static_cast<uint32_t>(field_value.value)) [all...] |
/external/google-benchmark/src/ |
sysinfo.cc | 130 cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond()); 200 cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond()); 236 cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond()); 251 cpuinfo_cycles_per_second = static_cast<double>((int64_t)data * (int64_t)(1000 * 1000)); // was mhz 253 cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond()); 268 static_cast<double>(timebase_info.denom) / 269 static_cast<double>(timebase_info.numer); 282 cpuinfo_cycles_per_second = static_cast<double>(EstimateCyclesPerSecond()); 292 return (static_cast<double>(ru.ru_utime.tv_sec) + 293 static_cast<double>(ru.ru_utime.tv_usec) * 1e-6 [all...] |
/external/llvm/include/llvm/ADT/ |
APSInt.h | 179 return APSInt(static_cast<const APInt&>(*this) << Bits, IsUnsigned); 187 ++(static_cast<APInt&>(*this)); 191 --(static_cast<APInt&>(*this)); 195 return APSInt(++static_cast<APInt&>(*this), IsUnsigned); 198 return APSInt(--static_cast<APInt&>(*this), IsUnsigned); 201 return APSInt(-static_cast<const APInt&>(*this), IsUnsigned); 205 static_cast<APInt&>(*this) += RHS; 210 static_cast<APInt&>(*this) -= RHS; 215 static_cast<APInt&>(*this) *= RHS; 220 static_cast<APInt&>(*this) &= RHS [all...] |
/hardware/bsp/intel/peripheral/libupm/src/zfm20/ |
zfm20.cxx | 326 static_cast<uint8_t>((m_password >> 24) & 0xff), 327 static_cast<uint8_t>((m_password >> 16) & 0xff), 328 static_cast<uint8_t>((m_password >> 8) & 0xff), 329 static_cast<uint8_t>(m_password & 0xff) }; 371 static_cast<uint8_t>((pwd >> 24) & 0xff), 372 static_cast<uint8_t>((pwd >> 16) & 0xff), 373 static_cast<uint8_t>((pwd >> 8) & 0xff), 374 static_cast<uint8_t>(pwd & 0xff) }; 401 static_cast<uint8_t>((addr >> 24) & 0xff), 402 static_cast<uint8_t>((addr >> 16) & 0xff) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
char_traits.h | 123 { return static_cast<char_type>(__c); } 127 { return static_cast<int_type>(__c); } 135 { return static_cast<int_type>(_GLIBCXX_STDIO_EOF); } 182 return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, 263 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); } 267 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); } 271 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); } 275 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); } 279 { return static_cast<char_type>(__c); } 285 { return static_cast<int_type>(static_cast<unsigned char>(__c)); [all...] |
forward_list.tcc | 51 _Node* __curr = static_cast<_Node*>(__lst._M_impl._M_head._M_next); 58 __curr = static_cast<_Node*>(__curr->_M_next); 82 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 97 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 101 __curr = static_cast<_Node*>(__curr->_M_next); 302 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 305 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next)) 317 __curr = static_cast<_Node*>(__curr->_M_next); 330 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 331 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
char_traits.h | 123 { return static_cast<char_type>(__c); } 127 { return static_cast<int_type>(__c); } 135 { return static_cast<int_type>(_GLIBCXX_STDIO_EOF); } 182 return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, 263 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); } 267 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); } 271 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); } 275 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); } 279 { return static_cast<char_type>(__c); } 285 { return static_cast<int_type>(static_cast<unsigned char>(__c)); [all...] |
forward_list.tcc | 51 _Node* __curr = static_cast<_Node*>(__lst._M_impl._M_head._M_next); 58 __curr = static_cast<_Node*>(__curr->_M_next); 82 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 97 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 101 __curr = static_cast<_Node*>(__curr->_M_next); 302 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 305 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next)) 317 __curr = static_cast<_Node*>(__curr->_M_next); 330 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 331 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
char_traits.h | 123 { return static_cast<char_type>(__c); } 127 { return static_cast<int_type>(__c); } 135 { return static_cast<int_type>(_GLIBCXX_STDIO_EOF); } 182 return static_cast<_CharT*>(__builtin_memmove(__s1, __s2, 263 { return static_cast<const char_type*>(__builtin_memchr(__s, __a, __n)); } 267 { return static_cast<char_type*>(__builtin_memmove(__s1, __s2, __n)); } 271 { return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); } 275 { return static_cast<char_type*>(__builtin_memset(__s, __a, __n)); } 279 { return static_cast<char_type>(__c); } 285 { return static_cast<int_type>(static_cast<unsigned char>(__c)); [all...] |
forward_list.tcc | 51 _Node* __curr = static_cast<_Node*>(__lst._M_impl._M_head._M_next); 58 __curr = static_cast<_Node*>(__curr->_M_next); 82 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 97 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 101 __curr = static_cast<_Node*>(__curr->_M_next); 302 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 305 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next)) 317 __curr = static_cast<_Node*>(__curr->_M_next); 330 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 331 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next) [all...] |
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
forward_list.tcc | 51 _Node* __curr = static_cast<_Node*>(__lst._M_impl._M_head._M_next); 58 __curr = static_cast<_Node*>(__curr->_M_next); 82 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 97 _Node* __curr = static_cast<_Node*>(__pos->_M_next); 101 __curr = static_cast<_Node*>(__curr->_M_next); 302 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 305 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next)) 317 __curr = static_cast<_Node*>(__curr->_M_next); 330 _Node* __curr = static_cast<_Node*>(&this->_M_impl._M_head); 331 while (_Node* __tmp = static_cast<_Node*>(__curr->_M_next) [all...] |
/external/libchrome/base/containers/ |
hash_tables.h | 92 return static_cast<std::size_t>(value); \ 206 return static_cast<std::size_t>(hash64); 212 std::size_t high_bits = static_cast<std::size_t>( 228 uint32_t value1a = static_cast<uint32_t>(value1 & 0xffffffff); 229 uint32_t value1b = static_cast<uint32_t>((value1 >> 32) & 0xffffffff); 230 uint32_t value2a = static_cast<uint32_t>(value2 & 0xffffffff); 231 uint32_t value2b = static_cast<uint32_t>((value2 >> 32) & 0xffffffff); 233 uint64_t product1 = static_cast<uint64_t>(value1a) * short_random1; 234 uint64_t product2 = static_cast<uint64_t>(value1b) * short_random2; 235 uint64_t product3 = static_cast<uint64_t>(value2a) * short_random3 [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_inlines.h | 30 return static_cast<CondCode>(ccRev[cc & 7] | (cc & ~7)); 35 return static_cast<CondCode>(cc ^ 7); 255 return static_cast<CmpInstruction *>(this); 262 return static_cast<const CmpInstruction *>(this); 269 return static_cast<FlowInstruction *>(this); 276 return static_cast<const FlowInstruction *>(this); 283 return static_cast<TexInstruction *>(this); 290 return static_cast<const TexInstruction *>(this); 308 return static_cast<LValue *>(this); 315 return static_cast<Symbol *>(this) [all...] |
/external/skia/tests/ |
PathOpsCubicReduceOrderTest.cpp | 112 SkDebugf("[%d] pointDegenerates order=%d\n", static_cast<int>(index), order); 121 SkDebugf("[%d] notPointDegenerates order=%d\n", static_cast<int>(index), order); 131 SkDebugf("[%d] lines order=%d\n", static_cast<int>(index), order); 140 SkDebugf("[%d] notLines order=%d\n", static_cast<int>(index), order); 149 SkDebugf("[%d] line mod by epsilon order=%d\n", static_cast<int>(index), order); 158 SkDebugf("[%d] line less by epsilon/2 order=%d\n", static_cast<int>(index), order); 168 SkDebugf("[%d] line neg by epsilon/2 order=%d\n", static_cast<int>(index), order); 178 SkDebugf("[%d] point quad order=%d\n", static_cast<int>(index), order); 188 SkDebugf("[%d] line quad order=%d\n", static_cast<int>(index), order); 198 SkDebugf("[%d] line mod quad order=%d\n", static_cast<int>(index), order) [all...] |
/external/v8/src/base/ |
bits.h | 31 return static_cast<unsigned>(value); 41 return CountPopulation32(static_cast<uint32_t>(value)) + 42 CountPopulation32(static_cast<uint32_t>(value >> 32)); 66 return static_cast<unsigned>(31 - result); 104 return static_cast<unsigned>(result); 194 uint32_t res = static_cast<uint32_t>(lhs) + static_cast<uint32_t>(rhs); 208 uint32_t res = static_cast<uint32_t>(lhs) - static_cast<uint32_t>(rhs); 219 uint64_t res = static_cast<uint64_t>(lhs) + static_cast<uint64_t>(rhs) [all...] |
/external/webrtc/webrtc/base/ |
random_unittest.cc | 25 RTC_CHECK_GE(n, static_cast<T>(0)); 44 static_cast<T>(total_values % static_cast<uint64_t>(bucket_count)); 121 uint32_t interval = static_cast<uint32_t>(high - low + 1); 137 buckets[static_cast<uint32_t>(sample - low) / numbers_per_bucket]++; 143 double mean = static_cast<double>(samples) / bucket_count; 161 uint32_t interval = static_cast<uint32_t>(high - low + 1); 177 buckets[static_cast<uint32_t>(sample - low) / numbers_per_bucket]++; 183 double mean = static_cast<double>(samples) / bucket_count; 235 double mean = static_cast<double>(samples) / bucket_count [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
jpegstream.cpp | 48 Jpeg_Config::Format fmt = static_cast<Jpeg_Config::Format>(format); 60 uint32_t w = static_cast<uint32_t>(width); 61 uint32_t h = static_cast<uint32_t>(height); 62 int32_t q = static_cast<int32_t>(quality); 109 Jpeg_Config::Format fmt = static_cast<Jpeg_Config::Format>(format); 132 env->CallVoidMethod(dimens, setMethod, static_cast<jint>(w), 133 static_cast<jint>(h)); 232 int8_t* in_bytes = static_cast<int8_t*>(in_buf); 233 int32_t in_len = static_cast<int32_t>(inCount); 234 int32_t off = static_cast<int32_t>(offset) [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
diyfp.h | 49 int biased_e = static_cast<int>((u.u64 & kDpExponentMask) >> kDpSignificandSize); 74 uint128 p = static_cast<uint128>(f) * static_cast<uint128>(rhs.f); 75 uint64_t h = static_cast<uint64_t>(p >> 64); 76 uint64_t l = static_cast<uint64_t>(p); 106 while (!(res.f & (static_cast<uint64_t>(1) << 63))) { 140 static_cast<uint64_t>(e + kDpExponentBias); 223 //int k = static_cast<int>(ceil((-61 - e) * 0.30102999566398114)) + 374; 225 int k = static_cast<int>(dk); 229 unsigned index = static_cast<unsigned>((k >> 3) + 1) [all...] |
/external/pdfium/xfa/src/fwl/src/basewidget/ |
fwl_datetimepickerimp.cpp | 71 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())
76 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())
83 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())
89 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())
93 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())->SetEditText(wsText);
98 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())
102 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())->CanUndo();
105 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())->CanRedo();
108 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())->Undo();
111 return static_cast<CFWL_DateTimePickerImp*>(GetImpl())->Redo(); [all...] |
/external/v8/src/mips64/ |
simulator-mips64.cc | 526 PrintF("smi %d", static_cast<int>(value >> 32)); 779 return static_cast<uint32_t>(reinterpret_cast<uintptr_t>(key)) >> 2; [all...] |
/external/clang/tools/libclang/ |
CIndexDiagnostic.cpp | 183 Set = static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); 204 return static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics); 232 CXDiagnosticSetImpl *Diags = static_cast<CXDiagnosticSetImpl*>(D); 246 return static_cast<CXDiagnostic>(lazyCreateDiags(Unit)); 380 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl*>(Diag)) 386 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl*>(Diag)) 392 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) 401 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) 408 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)) 419 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/ |
btOverlappingPairCache.cpp | 147 int hash = static_cast<int>(getHash(static_cast<unsigned int>(proxyId1), static_cast<unsigned int>(proxyId2)) & (m_overlappingPairArray.capacity()-1)); 205 int hashValue = static_cast<int>(getHash(static_cast<unsigned int>(proxyId1),static_cast<unsigned int>(proxyId2)) & (m_overlappingPairArray.capacity()-1)); // New hash value with new mask 224 int hash = static_cast<int>(getHash(static_cast<unsigned int>(proxyId1),static_cast<unsigned int>(proxyId2)) & (m_overlappingPairArray.capacity()-1)); // New hash value with new mask 255 hash = static_cast<int>(getHash(static_cast<unsigned int>(proxyId1),static_cast<unsigned int>(proxyId2)) & (m_overlap (…) [all...] |
/external/pdfium/third_party/base/numerics/ |
safe_math_impl.h | 101 return !!(static_cast<typename UnsignedIntegerForSize<T>::type>(x) >> 121 UnsignedDst ux = static_cast<UnsignedDst>(x); 122 UnsignedDst uy = static_cast<UnsignedDst>(y); 135 return static_cast<T>(uresult); 144 UnsignedDst ux = static_cast<UnsignedDst>(x); 145 UnsignedDst uy = static_cast<UnsignedDst>(y); 158 return static_cast<T>(uresult); 172 static_cast<IntermediateType>(x) * static_cast<IntermediateType>(y); 174 return static_cast<T>(tmp) [all...] |