/art/runtime/mirror/ |
array-inl.h | 45 GetLength<static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis)>(); 61 if (UNLIKELY(static_cast<uint32_t>(index) >= 62 static_cast<uint32_t>(GetLength<kVerifyFlags>()))) { 74 size_t data_size = static_cast<size_t>(component_count) << component_size_shift; 89 if (UNLIKELY(length_limit <= static_cast<size_t>(component_count))) { 378 return (T)static_cast<uintptr_t>( 382 return (T)static_cast<uintptr_t>( 389 (kUnchecked ? down_cast<LongArray*>(static_cast<Object*>(this)) : AsLongArray())-> 393 DCHECK_LE(element, static_cast<uint64_t>(0xFFFFFFFFu)); 394 (kUnchecked ? down_cast<IntArray*>(static_cast<Object*>(this)) : AsIntArray() [all...] |
/external/ImageMagick/Magick++/lib/ |
Geometry.cpp | 201 !isdigit(static_cast<int>(geom[0]))) 235 _xOff=static_cast<ssize_t>(x); 241 _yOff=static_cast<ssize_t>(y); 439 : _width(static_cast<size_t>(rectangle_.width)), 440 _height(static_cast<size_t>(rectangle_.height)), 441 _xOff(static_cast<ssize_t>(rectangle_.x)), 442 _yOff(static_cast<ssize_t>(rectangle_.y)), 456 _width=static_cast<size_t>(rectangle_.width), 457 _height=static_cast<size_t>(rectangle_.height), 458 _xOff=static_cast<ssize_t>(rectangle_.x) [all...] |
/external/icu/icu4c/source/i18n/ |
uspoof_wsconf.cpp | 149 input = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); 198 static_cast<UScriptCode>(u_getPropertyValueEnum(UCHAR_SCRIPT, srcScriptName)); 200 static_cast<UScriptCode>(u_getPropertyValueEnum(UCHAR_SCRIPT, targScriptName)); 228 bsset = static_cast<BuilderScriptSet *>(scriptSets->elementAt(setIndex)); 272 BuilderScriptSet *outerSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(outeri)); 273 if (outerSet->index != static_cast<uint32_t>(outeri)) { 280 BuilderScriptSet *innerSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(inneri)); 302 BuilderScriptSet *bSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(i)); 357 ScriptSet *rtScriptSets = static_cast<ScriptSet *> 361 BuilderScriptSet *bSet = static_cast<BuilderScriptSet *>(scriptSets->elementAt(i)) [all...] |
uspoof_conf.cpp | 85 SPUString *s = static_cast<SPUString *>(fVec->elementAt(i)); 110 static_cast<SPUString *>(left.pointer)); 112 static_cast<SPUString *>(right.pointer)); 130 SPUString *hashedString = static_cast<SPUString *>(uhash_get(fHash, src)); 219 fInput = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); 433 static_cast<int32_t *>(fSpoofImpl->fSpoofData->reserveSpace(numKeys*sizeof(int32_t), status)); 457 static_cast<uint16_t *>(fSpoofImpl->fSpoofData->reserveSpace(numKeys*sizeof(uint16_t), status)); 462 uint32_t value = static_cast<uint32_t>(fValueVec->elementAti(i)); 464 values[i] = static_cast<uint16_t>(value); 477 static_cast<UChar *>(fSpoofImpl->fSpoofData->reserveSpace(stringsLength*sizeof(UChar)+2, status)) [all...] |
/external/libchrome/sandbox/linux/seccomp-bpf/ |
trap.cc | 157 static_cast<size_t>(info->si_errno) > trap_array_size_) { 177 bool sigsys_nr_is_bad = sigsys.nr != static_cast<int>(SECCOMP_SYSCALL(ctx)) && 178 sigsys.nr != static_cast<int>(SECCOMP_PARM1(ctx)); 180 bool sigsys_nr_is_bad = sigsys.nr != static_cast<int>(SECCOMP_SYSCALL(ctx)); 232 static_cast<int>(SECCOMP_SYSCALL(ctx)), 235 {static_cast<uint64_t>(SECCOMP_PARM1(ctx)), 236 static_cast<uint64_t>(SECCOMP_PARM2(ctx)), 237 static_cast<uint64_t>(SECCOMP_PARM3(ctx)), 238 static_cast<uint64_t>(SECCOMP_PARM4(ctx)), 239 static_cast<uint64_t>(SECCOMP_PARM5(ctx)) [all...] |
/external/libcxx/src/ |
ios.cpp | 62 if (ev != static_cast<int>(io_errc::stream) 183 size_t req_size = static_cast<size_t>(index)+1; 187 long* iarray = static_cast<long*>(realloc(__iarray_, newcap * sizeof(long))); 207 size_t req_size = static_cast<size_t>(index)+1; 211 void** parray = static_cast<void**>(realloc(__parray_, newcap * sizeof(void *))); 237 event_callback* fns = static_cast<event_callback*>(realloc(__fn_, newcap * sizeof(event_callback))); 241 int* indxs = static_cast<int *>(realloc(__index_, newcap * sizeof(int))); 314 new_callbacks.reset(static_cast<event_callback*>(malloc(newesize))); 321 new_ints.reset(static_cast<int *>(malloc(newisize))); 330 new_longs.reset(static_cast<long*>(malloc(newsize))) [all...] |
/external/libcxxabi/src/ |
cxa_vector.cpp | 26 return static_cast <size_t *> (p)[-1]; 30 static_cast <size_t *> (p)[-1] = element_count; 149 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); 178 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); 215 char *src_ptr = static_cast<char *>(src_array); 216 char *dest_ptr = static_cast<char *>(dest_array); 240 char *ptr = static_cast <char *> ( array_address ); 261 char *ptr = static_cast <char *> (array_address); 286 char *ptr = static_cast <char *> (array_address); 336 char *vec_base = static_cast <char *> (array_address) [all...] |
/external/opencv3/samples/cpp/ |
detect_mser.cpp | 76 String inf = static_cast<ostringstream*>(&(ostringstream() << pAct.minArea))->str(); 77 String sup = static_cast<ostringstream*>(&(ostringstream() << pAct.maxArea))->str(); 80 inf = static_cast<ostringstream*>(&(ostringstream() << pAct.delta))->str(); 82 inf = static_cast<ostringstream*>(&(ostringstream() << pAct.maxVariation))->str(); 84 inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.minDiversity))->str(); 86 inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.pass2Only))->str(); 88 inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.maxEvolution))->str(); 90 inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.areaThreshold))->str(); 92 inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.minMargin))->str(); 94 inf = static_cast<ostringstream*>(&(ostringstream() << (int)pAct.edgeBlurSize))->str() [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_vector_unittest.cc | 56 vec[i] = static_cast<int16_t>(i); 58 EXPECT_EQ(static_cast<int16_t>(i), value); 101 vec1[i] = static_cast<int16_t>(i); 102 vec2[i] = static_cast<int16_t>(i + kLength); 108 EXPECT_EQ(static_cast<int16_t>(i), vec1[i]); 130 vec1[i] = static_cast<int16_t>(i); 131 vec2[i] = static_cast<int16_t>(i + kLength); 137 EXPECT_EQ(static_cast<int16_t>(i), vec2[i]); 148 EXPECT_EQ(static_cast<int16_t>(i + 1), vec[i]); 161 EXPECT_EQ(static_cast<int16_t>(i), vec[i]) [all...] |
delay_manager.cc | 97 static_cast<uint32_t>(timestamp - last_timestamp_) / 98 static_cast<uint16_t>(sequence_number - last_seq_no_); 118 iat_packets -= static_cast<uint16_t>(sequence_number - last_seq_no_ - 1); 121 iat_packets += static_cast<uint16_t>(last_seq_no_ + 1 - sequence_number); 152 (static_cast<int>(sequence_number - last_seq_no_) << 8)); 187 *it = (static_cast<int64_t>(*it) * iat_factor_) >> 15; 243 static_cast<int>((3 * (max_packets_in_buffer_ << 8)) / 4); 277 int target_level = static_cast<int>(index); 278 base_target_level_ = static_cast<int>(index); 324 const int iat_vec_size = static_cast<int>(iat_vector_.size()) [all...] |
/external/webrtc/webrtc/modules/audio_processing/ |
echo_cancellation_impl.cc | 104 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 151 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 307 Handle* my_handle = static_cast<Handle*>(handle(0)); 385 Handle* my_handle = static_cast<Handle*>(handle(0)); 400 Handle* my_handle = static_cast<Handle*>(handle(0)); 420 static_cast<size_t>(1), 460 WebRtcAec_Free(static_cast<Handle*>(handle)); 470 return WebRtcAec_Init(static_cast<Handle*>(handle), 484 WebRtcAec_aec_core(static_cast<Handle*>(handle)), 487 WebRtcAec_aec_core(static_cast<Handle*>(handle)) [all...] |
/frameworks/native/include/ui/ |
TVecHelpers.h | 76 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 84 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 97 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 104 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 157 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 165 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 178 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 185 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 243 BASE<T>& rhs = static_cast<BASE<T>&>(*this); 250 BASE<T>& rhs = static_cast<BASE<T>&>(*this) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
ios.cpp | 56 if (ev != static_cast<int>(io_errc::stream) 169 size_t req_size = static_cast<size_t>(index)+1; 179 long* iarray = static_cast<long*>(realloc(__iarray_, newsize)); 198 size_t req_size = static_cast<size_t>(index)+1; 208 void** parray = static_cast<void**>(realloc(__parray_, newsize)); 239 event_callback* fns = static_cast<event_callback*>(realloc(__fn_, newesize)); 244 int* indxs = static_cast<int *>(realloc(__index_, newisize)); 316 new_callbacks.reset(static_cast<event_callback*>(malloc(newesize))); 323 new_ints.reset(static_cast<int *>(malloc(newisize))); 332 new_longs.reset(static_cast<long*>(malloc(newsize))) [all...] |
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
cxa_vector.cpp | 24 return static_cast <size_t *> (p)[-1]; 28 static_cast <size_t *> (p)[-1] = element_count; 145 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); 174 char * const heap_block = static_cast<char *> ( alloc ( heap_size )); 211 char *src_ptr = static_cast<char *>(src_array); 212 char *dest_ptr = static_cast<char *>(dest_array); 236 char *ptr = static_cast <char *> ( array_address ); 257 char *ptr = static_cast <char *> (array_address); 282 char *ptr = static_cast <char *> (array_address); 332 char *vec_base = static_cast <char *> (array_address) [all...] |
/external/libchrome/base/test/ |
trace_event_analyzer.cc | 38 static_cast<const base::DictionaryValue*>(event_value); 99 arg_numbers[it.key()] = static_cast<double>(int_num); 101 arg_numbers[it.key()] = static_cast<double>(boolean ? 1 : 0); 106 static_cast<int>(it.value().GetType()); 164 return static_cast<int>(arg_double); 224 return Query(static_cast<double>(num)); 228 return Query(static_cast<double>(num)); 236 return Query(static_cast<double>(phase)); 384 *num = static_cast<double>(static_cast<int64_t>(lhs) [all...] |
/external/vulkan-validation-layers/libs/glm/gtx/ |
simd_quat.inl | 238 T s = static_cast<T>(0.5) / sqrt(trace); 241 static_cast<float>(T(0.25) / s), 242 static_cast<float>((m0[1] - m1[0]) * s), 243 static_cast<float>((m2[0] - m0[2]) * s), 244 static_cast<float>((m1[2] - m2[1]) * s)); 256 static_cast<float>((m1[2] - m2[1]) * s), 257 static_cast<float>((m2[0] + m0[2]) * s), 258 static_cast<float>((m0[1] + m1[0]) * s), 259 static_cast<float>(T(0.5) * s)); 270 static_cast<float>((m2[0] - m0[2]) * s) [all...] |
/external/webrtc/webrtc/base/ |
opensslstreamadapter.cc | 152 // static_cast<uint16_t> causes build warnings on windows platform. 154 static_cast<uint16_t>(TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA); 156 static_cast<uint16_t>(TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA); 159 static_cast<uint16_t>(TLS1_CK_ECDHE_RSA_WITH_AES_128_GCM_SHA256); 161 static_cast<uint16_t>(TLS1_CK_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256); 166 static_cast<uint16_t>(TLS1_CK_ECDHE_RSA_CHACHA20_POLY1305_OLD); 168 static_cast<uint16_t>(TLS1_CK_ECDHE_ECDSA_CHACHA20_POLY1305_OLD); 173 static_cast<uint16_t>(TLS1_CK_ECDHE_RSA_WITH_AES_256_CBC_SHA); 175 static_cast<uint16_t>(TLS1_CK_ECDHE_ECDSA_WITH_AES_256_CBC_SHA); 236 StreamInterface* stream = static_cast<StreamInterface*>(b->ptr) [all...] |
/external/webrtc/webrtc/video/ |
video_send_stream.cc | 214 RTC_DCHECK_LE(config_.rtp.max_packet_size, static_cast<size_t>(0xFFFF - 28)); 215 vie_channel_->SetMTU(static_cast<uint16_t>(config_.rtp.max_packet_size + 28)); 345 static_cast<unsigned char>( 359 static_cast<unsigned char>( 378 static_cast<unsigned char>(streams.size()); 380 RTC_DCHECK_LE(streams.size(), static_cast<size_t>(kMaxSimulcastStreams)); 403 sim_stream->width = static_cast<uint16_t>(streams[i].width); 404 sim_stream->height = static_cast<uint16_t>(streams[i].height); 409 sim_stream->numberOfTemporalLayers = static_cast<unsigned char>( 413 static_cast<uint16_t>(streams[i].width)) [all...] |
/frameworks/av/media/libstagefright/foundation/ |
AMessage.cpp | 352 *obj = static_cast<AMessage *>(item->u.refValue); 434 *replyToken = static_cast<AReplyToken *>(tmp.get()); 481 static_cast<AMessage *>(from->u.refValue)->dup(); 578 sp<ABuffer> buffer = static_cast<ABuffer *>(item.u.refValue); 595 static_cast<AMessage *>( 630 msg->mNumItems = static_cast<size_t>(parcel.readInt32()); 646 item->mType = static_cast<Type>(parcel.readInt32()); 664 item->u.sizeValue = static_cast<size_t>(parcel.readInt32()); 730 parcel->writeInt32(static_cast<int32_t>(mWhat)); 731 parcel->writeInt32(static_cast<int32_t>(mNumItems)) [all...] |
/frameworks/native/libs/gui/ |
ISurfaceComposer.cpp | 83 data.writeUint32(static_cast<uint32_t>(state.size())); 88 data.writeUint32(static_cast<uint32_t>(displays.size())); 120 data.writeInt32(static_cast<int32_t>(useIdentityTransform)); 121 data.writeInt32(static_cast<int32_t>(rotation)); 292 result = static_cast<status_t>(reply.readInt32()); 298 outColorModes->replaceAt(static_cast<android_color_mode_t>(reply.readInt32()), i); 309 return static_cast<android_color_mode_t>(result); 314 return static_cast<android_color_mode_t>(result); 319 return static_cast<android_color_mode_t>(result); 321 return static_cast<android_color_mode_t>(reply.readInt32()) [all...] |
/external/opencv3/modules/imgproc/test/ |
test_imgwarp_strict.cpp | 140 size.width = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); 141 size.height = static_cast<int>(std::exp(rng.uniform(1.0f, 7.0f))); 213 scale_x = src.cols / static_cast<double>(dst.cols); 214 scale_y = src.rows / static_cast<double>(dst.rows); 271 double scale_x = static_cast<double>(ssize.width) / dsize.width; 272 double scale_y = static_cast<double>(ssize.height) / dsize.height; 423 scale_x = src.cols / static_cast<double>(dst.cols); 424 scale_y = src.rows / static_cast<double>(dst.rows); 453 double w = std::min(static_cast<double>(x + 1), b) - std::max(static_cast<double>(x), a) [all...] |
/external/v8/test/cctest/ |
test-assembler-mips64.cc | 459 CHECK_EQ(static_cast<int64_t>(0xffffffffc25001d1L), t.high); 460 CHECK_EQ(static_cast<int64_t>(0xffffffffbf800000L), t.low); 590 CHECK_EQ(static_cast<int32_t>(0x11223344), t.r1); 592 CHECK_EQ(static_cast<int32_t>(0x3344), t.r2); 593 CHECK_EQ(static_cast<int32_t>(0xffffbbcc), t.r3); 594 CHECK_EQ(static_cast<int32_t>(0x0000bbcc), t.r4); 595 CHECK_EQ(static_cast<int32_t>(0xffffffcc), t.r5); 596 CHECK_EQ(static_cast<int32_t>(0x3333bbcc), t.r6); 598 CHECK_EQ(static_cast<int32_t>(0x1122), t.r2); 599 CHECK_EQ(static_cast<int32_t>(0xffff99aa), t.r3) [all...] |
/external/libcxx/include/ |
chrono | 338 return _ToDuration(static_cast<typename _ToDuration::rep>(__fd.count())); 349 return _ToDuration(static_cast<typename _ToDuration::rep>( 350 static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den))); 361 return _ToDuration(static_cast<typename _ToDuration::rep>( 362 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); 373 return _ToDuration(static_cast<typename _ToDuration::rep>( 374 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
qm_select.cc | 124 float size = static_cast<float>(width * height); 134 return static_cast<ImageType>(isel); 243 float encoded_size_kbits = 8.0f * static_cast<float>(encoded_size) / 1000.0f; 269 sum_packet_loss_ += static_cast<float>(packet_loss / 255.0); 378 static_cast<float>(low_buffer_cnt_) / static_cast<float>(frame_cnt_); 382 static_cast<float>(sum_rate_MM_) / static_cast<float>(update_rate_cnt_); 383 avg_rate_mismatch_sgn_ = static_cast<float>(sum_rate_MM_sgn_) / 384 static_cast<float>(update_rate_cnt_) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
chrono | 338 return _ToDuration(static_cast<typename _ToDuration::rep>(__fd.count())); 349 return _ToDuration(static_cast<typename _ToDuration::rep>( 350 static_cast<_Ct>(__fd.count()) / static_cast<_Ct>(_Period::den))); 361 return _ToDuration(static_cast<typename _ToDuration::rep>( 362 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num))); 373 return _ToDuration(static_cast<typename _ToDuration::rep>( 374 static_cast<_Ct>(__fd.count()) * static_cast<_Ct>(_Period::num [all...] |