HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 326 - 350 of 7695) sorted by null

<<11121314151617181920>>

  /frameworks/compile/libbcc/include/bcinfo/Wrap/
BCHeaderField.h 57 WriteFixedSubfield(static_cast<FixedSubfield>(ID_), buf);
58 WriteFixedSubfield(static_cast<FixedSubfield>(len_),
72 ID_ = static_cast<Tag>(field);
74 len_ = static_cast<size_t>(field);
82 ID_, static_cast<int>(len_), static_cast<int>(GetTotalSize()));
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
probability_entry.h 101 uint64_t encodedEntry = static_cast<uint8_t>(mFlags);
104 | static_cast<uint32_t>(mHistoricalInfo.getTimestamp());
106 | static_cast<uint8_t>(mHistoricalInfo.getLevel());
108 | static_cast<uint16_t>(mHistoricalInfo.getCount());
111 | static_cast<uint8_t>(mProbability);
153 return static_cast<int>(
  /system/bt/btif/src/
btif_avrcp_audio_track.cpp 68 BtifAvrcpAudioTrack *trackHolder = static_cast<BtifAvrcpAudioTrack*>(handle);
81 BtifAvrcpAudioTrack *trackHolder = static_cast<BtifAvrcpAudioTrack*>(handle);
94 BtifAvrcpAudioTrack *trackHolder = static_cast<BtifAvrcpAudioTrack*>(handle);
115 BtifAvrcpAudioTrack *trackHolder = static_cast<BtifAvrcpAudioTrack*>(handle);
129 BtifAvrcpAudioTrack *trackHolder = static_cast<BtifAvrcpAudioTrack*>(handle);
138 BtifAvrcpAudioTrack *trackHolder = static_cast<BtifAvrcpAudioTrack*>(handle);
  /system/core/debuggerd/arm64/
machine.cpp 48 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.pc), "code around pc:");
51 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.sp), "code around sp:");
94 static_cast<uint64_t>(f.vregs[i] >> 64),
95 static_cast<uint64_t>(f.vregs[i]),
97 static_cast<uint64_t>(f.vregs[i+1] >> 64),
98 static_cast<uint64_t>(f.vregs[i+1]));
  /toolchain/binutils/binutils-2.25/gold/
int_encoding.cc 42 uint64_t result = static_cast<uint64_t>(byte & 0x7f);
56 result |= (static_cast<uint64_t>(byte & 0x7f)) << shift;
75 int64_t result = static_cast<uint64_t>(byte & 0x7f);
89 result |= (static_cast<uint64_t>(byte & 0x7f) << shift);
94 if ((shift < 8 * static_cast<int>(sizeof(result))) && (byte & 0x40))
95 result |= -((static_cast<int64_t>(1)) << shift);
  /bionic/tests/
wchar_test.cpp 88 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(bytes, 0xffffffff, NULL));
98 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps));
99 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps));
105 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps));
110 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xf0\xa4", 1, &ps));
117 const wchar_t bad_chars[] = { L'h', L'i', static_cast<wchar_t>(0xffffffff), 0 };
137 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(NULL, bad_chars, 0));
140 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(NULL, bad_chars, 256));
147 EXPECT_EQ(static_cast<size_t>(-1), wcsrtombs(NULL, &src, 0, NULL));
152 EXPECT_EQ(static_cast<size_t>(-1), wcsrtombs(NULL, &src, 256, NULL))
    [all...]
  /art/runtime/base/
histogram-inl.h 34 CHECK_GE(value, static_cast<Value>(0));
93 const size_t bucket_idx = static_cast<size_t>((val - min_) / bucket_width_);
140 return static_cast<double>(sum_) / static_cast<double>(sample_size_);
149 static_cast<double>(sum_squared) /
150 static_cast<double>(sample_size_ * sample_size_);
152 static_cast<double>(sum_of_squares_) / static_cast<double>(sample_size_);
221 out_data->perc_.push_back(static_cast<double>(accumulated) / static_cast<double>(sample_size_))
    [all...]
bit_field.h 43 return (static_cast<uintptr_t>(value) & ~((kUintPtrTOne << size) - 1)) == 0;
71 return static_cast<uintptr_t>(value) << position;
76 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1));
84 return (static_cast<uintptr_t>(value) << position) |
  /art/runtime/
jvalue.h 35 j = ((static_cast<int64_t>(new_b) << 56) >> 56); // Sign-extend to 64 bits.
49 j = ((static_cast<int64_t>(new_i) << 32) >> 32); // Sign-extend to 64 bits.
60 j = ((static_cast<int64_t>(new_s) << 48) >> 48); // Sign-extend to 64 bits.
  /external/eigen/test/eigen2/
eigen2_miscmatrices.cpp 25 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1));
27 VERIFY_IS_APPROX(m1(r,c), static_cast<Scalar>(1));
33 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1));
  /external/eigen/test/
miscmatrices.cpp 24 VERIFY_IS_APPROX(MatrixType::Ones(rows,cols)(r,c), static_cast<Scalar>(1));
26 VERIFY_IS_APPROX(m1(r,c), static_cast<Scalar>(1));
32 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1));
  /external/libchrome/crypto/
secure_hash_default.cc 32 SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len);
36 SHA256_End(&ctx_, static_cast<unsigned char*>(output), NULL,
37 static_cast<unsigned int>(len));
  /external/libcxx/test/std/experimental/any/any.nonmembers/any.cast/
not_copy_constructible.fail.cpp 40 any_cast<no_copy>(static_cast<any&>(a));
41 any_cast<no_copy>(static_cast<any const&>(a));
42 any_cast<no_copy>(static_cast<any &&>(a));
  /external/llvm/bindings/go/llvm/
SupportBindings.cpp 22 *ErrMsg = static_cast<char *>(malloc(ErrMsgStr.size() + 1));
23 memcpy(static_cast<void *>(*ErrMsg),
24 static_cast<const void *>(ErrMsgStr.c_str()), ErrMsgStr.size() + 1);
  /external/opencv3/modules/features2d/src/kaze/
utils.h 15 return static_cast<float>(CV_PI)-atanf(-y / x);
19 return static_cast<float>(CV_PI)+atanf(y / x);
23 return static_cast<float>(2.0 * CV_PI) - atanf(-y / x);
  /external/pdfium/xfa/src/fwl/src/lightwidget/
listbox.cpp 80 return static_cast<IFWL_ListBox*>(m_pIface)->CountSelItems();
85 return static_cast<IFWL_ListBox*>(m_pIface)->GetSelItem(nIndexSel);
90 return static_cast<IFWL_ListBox*>(m_pIface)->GetSelIndex(nIndex);
95 return static_cast<IFWL_ListBox*>(m_pIface)->SetSelItem(hItem, bSelect);
100 return static_cast<IFWL_ListBox*>(m_pIface)->GetItemText(hItem, wsText);
105 return static_cast<IFWL_ListBox*>(m_pIface)->GetScrollPos(fPos, bVert);
114 static_cast<CFWL_ListItem*>(m_ListBoxDP.m_arrItem[i]);
123 static_cast<CFWL_ListItem*>(m_ListBoxDP.m_arrItem[nIndex])->m_dwStates |=
128 return static_cast<IFWL_ListBox*>(m_pIface)->Sort(pCom);
172 static_cast<IFWL_ListBox*>(m_pIface)->GetScrollPos(fx);
    [all...]
  /external/v8/src/
zone-allocator.h 40 return static_cast<pointer>(zone_->NewArray<value_type>(
41 static_cast<int>(n)));
49 new(static_cast<void*>(p)) T(val);
  /external/webrtc/webrtc/base/
bandwidthsmoother.cc 43 if (accumulator_.count() < static_cast<size_t>(
50 const int mean_bandwidth = static_cast<int>(accumulator_.ComputeMean());
65 const int increase_threshold = static_cast<int>(increase_threshold_d);
  /frameworks/ml/bordeaux/learning/multiclass_pa/native/
multiclass_pa.cpp 32 return static_cast<float>(rand()) / RAND_MAX;
60 picked = static_cast<int>(RandFloat() * num_classes_);
61 // picked = static_cast<int>(random_.RandFloat() * num_classes_);
67 return static_cast<int>(RandFloat() * num_examples);
74 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
83 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
93 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
102 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
129 for (int i = 0; i < static_cast<int>(inputs.size()); ++i) {
162 for (int i = 0; i < static_cast<int>(inputs.size()); ++i)
    [all...]
  /packages/apps/Gallery2/jni_jpegstream/src/
inputstream_wrapper.cpp 33 bytesRead = static_cast<int32_t>(mEnv->CallIntMethod(mStream, sReadID,
50 bytesSkipped = static_cast<int64_t>(mEnv->CallLongMethod(mStream, sSkipID,
51 static_cast<jlong>(count)));
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_vector.h 53 return static_cast<int>(mDicNodes.size());
70 ASSERT(id < static_cast<int>(mDicNodes.size()));
75 ASSERT(1 <= static_cast<int>(mDicNodes.size()));
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info.cpp 62 GeometryUtils::SQUARE_FLOAT(static_cast<float>(mostCommonKeyHeight) /
63 static_cast<float>(mostCommonKeyWidth))),
131 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric));
132 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric));
133 const float touchX = static_cast<float>(x);
134 const float touchY = static_cast<float>(y);
136 / GeometryUtils::SQUARE_FLOAT(static_cast<float>(getMostCommonKeyWidth()));
163 const float sweetSpotCenterY = static_cast<float>(mSweetSpotCenterYs[i]);
165 mSweetSpotCenterYsG[i] = static_cast<int>(mCenterYsG[i] + gapY * verticalScale);
200 int centerX = (hasTouchPositionCorrectionData()) ? static_cast<int>(mSweetSpotCenterXs[keyId]
    [all...]
  /external/libcxx/include/
__bit_reference 52 {return static_cast<bool>(*__seg_ & __mask_);}
54 {return !static_cast<bool>(*this);}
68 {return operator=(static_cast<bool>(__x));}
72 {return __bit_iterator<_Cp, false>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
145 {return static_cast<bool>(*__seg_ & __mask_);}
148 {return __bit_iterator<_Cp, true>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
170 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_);
175 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(__b)));
184 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(*__first.__seg_)));
191 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(__b)))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
__bit_reference 52 {return static_cast<bool>(*__seg_ & __mask_);}
54 {return !static_cast<bool>(*this);}
68 {return operator=(static_cast<bool>(__x));}
72 {return __bit_iterator<_Cp, false>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
145 {return static_cast<bool>(*__seg_ & __mask_);}
148 {return __bit_iterator<_Cp, true>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
170 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_);
175 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(__b)));
184 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(*__first.__seg_)));
191 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(__b)))
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/
__bit_reference 52 {return static_cast<bool>(*__seg_ & __mask_);}
54 {return !static_cast<bool>(*this);}
68 {return operator=(static_cast<bool>(__x));}
72 {return __bit_iterator<_Cp, false>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
145 {return static_cast<bool>(*__seg_ & __mask_);}
148 {return __bit_iterator<_Cp, true>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
170 __storage_type __clz_f = static_cast<__storage_type>(__bits_per_word - __first.__ctz_);
175 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(__b)));
184 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(*__first.__seg_)));
191 return _It(__first.__seg_, static_cast<unsigned>(_VSTD::__ctz(__b)))
    [all...]

Completed in 1032 milliseconds

<<11121314151617181920>>