/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
__tree | 652 {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); 660 {__ptr_ = static_cast<__node_pointer>(__tree_prev(static_cast<__node_base_pointer>(__ptr_))); 738 {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_))); 746 {__ptr_ = static_cast<__node_pointer>(__tree_prev(static_cast<__node_base_pointer>(__ptr_))); 825 return static_cast<__node_pointer> 833 return static_cast<__node_const_pointer [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/ |
FontDescription.h | 109 FontItalic italic() const { return static_cast<FontItalic>(m_italic); } 111 FontSmallCaps smallCaps() const { return static_cast<FontSmallCaps>(m_smallCaps); } 113 FontWeight weight() const { return static_cast<FontWeight>(m_weight); } 116 GenericFamilyType genericFamily() const { return static_cast<GenericFamilyType>(m_genericFamily); } 120 Kerning kerning() const { return static_cast<Kerning>(m_kerning); } 121 LigaturesState commonLigaturesState() const { return static_cast<LigaturesState>(m_commonLigaturesState); } 122 LigaturesState discretionaryLigaturesState() const { return static_cast<LigaturesState>(m_discretionaryLigaturesState); } 123 LigaturesState historicalLigaturesState() const { return static_cast<LigaturesState>(m_historicalLigaturesState); } 125 FontSmoothingMode fontSmoothing() const { return static_cast<FontSmoothingMode>(m_fontSmoothing); } 126 TextRenderingMode textRenderingMode() const { return static_cast<TextRenderingMode>(m_textRendering); [all...] |
/external/skia/tests/ |
PathOpsCubicToQuadsTest.cpp | 25 SkDebugf("%s [%d] cubic to quadratics failed count=%d\n", name, static_cast<int>(index), 42 SkDebugf("%s [%d] cubic to quadratics failed count=%d\n", name, static_cast<int>(index), 60 SkDebugf("[%d] unmatched start\n", static_cast<int>(index)); 66 SkDebugf("[%d] unmatched end\n", static_cast<int>(index)); 83 SkDebugf("[%d][%d] unmatched start\n", static_cast<int>(index), idx2); 89 SkDebugf("[%d][%d] unmatched end\n", static_cast<int>(index), idx2); 177 {static_cast<float>(cubic[0].fX), static_cast<float>(cubic[0].fY)}, 178 {static_cast<float>(cubic[1].fX), static_cast<float>(cubic[1].fY)} [all...] |
/external/webrtc/src/modules/audio_processing/ |
gain_control_impl.cc | 85 Handle* my_handle = static_cast<Handle*>(handle(i)); 89 static_cast<WebRtc_Word16>(audio->samples_per_split_channel())); 111 Handle* my_handle = static_cast<Handle*>(handle(i)); 116 static_cast<WebRtc_Word16>(audio->samples_per_split_channel())); 125 Handle* my_handle = static_cast<Handle*>(handle(i)); 132 static_cast<WebRtc_Word16>(audio->samples_per_split_channel()), 163 Handle* my_handle = static_cast<Handle*>(handle(i)); 171 static_cast<WebRtc_Word16>(audio->samples_per_split_channel()), 356 return WebRtcAgc_Free(static_cast<Handle*>(handle)); 360 return WebRtcAgc_Init(static_cast<Handle*>(handle) [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 30 if (*static_cast<const double*>(p1) < *static_cast<const double*>(p2)) 32 if (*static_cast<const double*>(p1) > *static_cast<const double*>(p2)) 195 lma_freq_idx_ = static_cast<CODEBOOK_TYPE*> 197 freq_codes_ = static_cast<LmaScoreType*> 221 double factor = static_cast<double>(kSysDictTotalFreq) / ( 223 sys_score_compensation_ = static_cast<float>( 230 return static_cast<float>(freq_codes_[lma_freq_idx_[lma_id]]) + 235 float score = static_cast<float> [all...] |
/external/chromium_org/chrome/renderer/ |
mock_printer.cc | 26 params->content_size.SetSize(static_cast<int>((8.5 * dpi)), 27 static_cast<int>((11.0 * dpi))); 31 params->content_size.SetSize(static_cast<int>((8.0 * dpi)), 32 static_cast<int>((10.5 * dpi))); 33 params->margin_left = static_cast<int>(0.25 * dpi); 34 params->margin_top = static_cast<int>(0.25 * dpi); 36 params->content_size.SetSize(static_cast<int>((7.9 * dpi)), 37 static_cast<int>((10.4 * dpi))); 38 params->margin_left = static_cast<int>(0.30 * dpi); 39 params->margin_top = static_cast<int>(0.30 * dpi) [all...] |
/external/llvm/include/llvm/ADT/ |
APSInt.h | 156 return APSInt(static_cast<const APInt&>(*this) << Bits, IsUnsigned); 164 ++(static_cast<APInt&>(*this)); 168 --(static_cast<APInt&>(*this)); 172 return APSInt(++static_cast<APInt&>(*this), IsUnsigned); 175 return APSInt(--static_cast<APInt&>(*this), IsUnsigned); 178 return APSInt(-static_cast<const APInt&>(*this), IsUnsigned); 182 static_cast<APInt&>(*this) += RHS; 187 static_cast<APInt&>(*this) -= RHS; 192 static_cast<APInt&>(*this) *= RHS; 197 static_cast<APInt&>(*this) &= RHS [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis.cc | 130 (*histogram)[static_cast<int>(scaled_value)] += 1; 260 static_cast<int>(input_bitmap->rowBytes()), 265 static_cast<int>(intermediate.rowBytes()), 269 static_cast<int>(intermediate.rowBytes()), 274 static_cast<int>(input_bitmap->rowBytes()), 281 static_cast<int>(input_bitmap->rowBytes()), 286 static_cast<int>(intermediate.rowBytes()), 290 static_cast<int>(input_bitmap->rowBytes()), 295 static_cast<int>(intermediate2.rowBytes()), 303 static_cast<int>(input_bitmap->rowBytes()) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
MathExtras.h | 52 const float piFloat = static_cast<float>(M_PI); 60 const float piOverTwoFloat = static_cast<float>(M_PI_2); 68 const float piOverFourFloat = static_cast<float>(M_PI_4); 130 inline long long llround(double num) { return static_cast<long long>(round(num)); } 131 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); } 132 inline long lround(double num) { return static_cast<long>(round(num)); } 133 inline long lroundf(float num) { return static_cast<long>(roundf(num)); } 214 intgr = static_cast<int64_t>(rounded); 221 return static_cast<long int>(intgr); 252 if (value >= static_cast<double>(max) [all...] |
/external/chromium/googleurl/src/ |
url_canon_stdstring.h | 63 cur_len_ = static_cast<int>(str_->size()); // Append to existing data. 66 buffer_len_ = static_cast<int>(str_->size()); 99 url_parse::Component(0, static_cast<int>(s.length()))); 103 url_parse::Component(0, static_cast<int>(s.length()))); 107 url_parse::Component(0, static_cast<int>(s.length()))); 111 url_parse::Component(0, static_cast<int>(s.length()))); 115 url_parse::Component(0, static_cast<int>(s.length()))); 119 url_parse::Component(0, static_cast<int>(s.length()))); 123 url_parse::Component(0, static_cast<int>(s.length()))); 127 url_parse::Component(0, static_cast<int>(s.length()))) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/tests/ |
CString.cpp | 37 ASSERT_EQ(string.data(), static_cast<const char*>(0)); 38 ASSERT_EQ(string.length(), static_cast<size_t>(0)); 40 CString stringFromCharPointer(static_cast<const char*>(0)); 42 ASSERT_EQ(stringFromCharPointer.data(), static_cast<const char*>(0)); 43 ASSERT_EQ(stringFromCharPointer.length(), static_cast<size_t>(0)); 45 CString stringFromCharAndLength(static_cast<const char*>(0), 0); 47 ASSERT_EQ(stringFromCharAndLength.data(), static_cast<const char*>(0)); 48 ASSERT_EQ(stringFromCharAndLength.length(), static_cast<size_t>(0)); 56 ASSERT_EQ(string.length(), static_cast<size_t>(0)); 61 ASSERT_EQ(stringWithLength.length(), static_cast<size_t>(0)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
rtputils.cc | 44 *value = *(static_cast<const uint8*>(data) + offset); 52 *value = static_cast<int>( 53 talk_base::GetBE16(static_cast<const uint8*>(data) + offset)); 61 *value = talk_base::GetBE32(static_cast<const uint8*>(data) + offset); 77 talk_base::SetBE16(static_cast<uint8*>(data) + offset, value); 85 talk_base::SetBE32(static_cast<uint8*>(data) + offset, value); 130 const uint8* header = static_cast<const uint8*>(data); 150 const uint8 first = static_cast<const uint8*>(data)[0]; 151 *version = static_cast<int>((first >> 6) & 0x3); 179 *value = talk_base::GetBE32(static_cast<const uint8*>(data) + 4) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkPictureStateTree.cpp | 19 SkMatrix* identity = static_cast<SkMatrix*>(fAlloc.allocThrow(sizeof(SkMatrix))); 21 fRoot = static_cast<Node*>(fAlloc.allocThrow(sizeof(Node))); 29 *static_cast<Draw*>(fStateStack.push_back()) = fCurrentState; 36 Draw* draw = static_cast<Draw*>(fAlloc.allocThrow(sizeof(Draw))); 43 *static_cast<Draw*>(fStateStack.push_back()) = fCurrentState; 48 *static_cast<Draw*>(fStateStack.push_back()) = fCurrentState; 67 fCurrentState = *static_cast<Draw*>(fStateStack.back()); 72 SkMatrix* m = static_cast<SkMatrix*>(fAlloc.allocThrow(sizeof(SkMatrix))); 87 Node* n = static_cast<Node*>(fAlloc.allocThrow(sizeof(Node))); 122 Draw* draw = static_cast<Draw*>((*fDraws)[fPlaybackIndex]) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-circular-queue.cc | 74 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 91 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 164 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 176 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 188 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)) [all...] |
/external/skia/src/core/ |
SkPictureStateTree.cpp | 19 SkMatrix* identity = static_cast<SkMatrix*>(fAlloc.allocThrow(sizeof(SkMatrix))); 21 fRoot = static_cast<Node*>(fAlloc.allocThrow(sizeof(Node))); 29 *static_cast<Draw*>(fStateStack.push_back()) = fCurrentState; 36 Draw* draw = static_cast<Draw*>(fAlloc.allocThrow(sizeof(Draw))); 43 *static_cast<Draw*>(fStateStack.push_back()) = fCurrentState; 48 *static_cast<Draw*>(fStateStack.push_back()) = fCurrentState; 67 fCurrentState = *static_cast<Draw*>(fStateStack.back()); 72 SkMatrix* m = static_cast<SkMatrix*>(fAlloc.allocThrow(sizeof(SkMatrix))); 87 Node* n = static_cast<Node*>(fAlloc.allocThrow(sizeof(Node))); 122 Draw* draw = static_cast<Draw*>((*fDraws)[fPlaybackIndex]) [all...] |
/external/v8/test/cctest/ |
test-circular-queue.cc | 51 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 68 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 143 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 155 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)); 167 CHECK_EQ(static_cast<int64_t>(i), static_cast<int64_t>(*rec)) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
autocorrection_threshold_utils.cpp | 35 return static_cast<int>(EditDistance::getEditDistance(&daemaruLevenshtein)); 92 const float weight = 1.0f - static_cast<float>(distance) / static_cast<float>(afterLength); 96 return (static_cast<float>(score) / SUGGEST_INTERFACE_OUTPUT_SCALE) * weight; 99 const float maxScore = score >= S_INT_MAX ? static_cast<float>(S_INT_MAX) 100 : static_cast<float>(MAX_INITIAL_SCORE) 101 * powf(static_cast<float>(TYPED_LETTER_MULTIPLIER), 102 static_cast<float>(min(beforeLength, afterLength - spaceCount))) 103 * static_cast<float>(FULL_WORD_MULTIPLIER); 105 return (static_cast<float>(score) / maxScore) * weight [all...] |
/external/chromium_org/base/containers/ |
hash_tables.h | 78 return static_cast<std::size_t>(value); \ 136 return static_cast<std::size_t>(hash64); 142 std::size_t high_bits = static_cast<std::size_t>( 158 uint32 value1a = static_cast<uint32>(value1 & 0xffffffff); 159 uint32 value1b = static_cast<uint32>((value1 >> 32) & 0xffffffff); 160 uint32 value2a = static_cast<uint32>(value2 & 0xffffffff); 161 uint32 value2b = static_cast<uint32>((value2 >> 32) & 0xffffffff); 163 uint64 product1 = static_cast<uint64>(value1a) * short_random1; 164 uint64 product2 = static_cast<uint64>(value1b) * short_random2; 165 uint64 product3 = static_cast<uint64>(value2a) * short_random3 [all...] |
/frameworks/base/core/jni/ |
android_media_AudioSystem.cpp | 138 int status = check_AudioSystem_Command(AudioSystem::setDeviceConnectionState(static_cast <audio_devices_t>(device), 139 static_cast <audio_policy_dev_state_t>(state), 149 int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(device), 164 return check_AudioSystem_Command(AudioSystem::setForceUse(static_cast <audio_policy_force_use_t>(usage), 165 static_cast <audio_policy_forced_cfg_t>(config))); 171 return static_cast <int>(AudioSystem::getForceUse(static_cast <audio_policy_force_use_t>(usage))); 177 return check_AudioSystem_Command(AudioSystem::initStreamVolume(static_cast <audio_stream_type_t>(stream), 190 AudioSystem::setStreamVolumeIndex(static_cast <audio_stream_type_t>(stream) [all...] |
/external/chromium_org/third_party/angle_dx11/src/libEGL/ |
libEGL.cpp | 124 egl::Display *display = static_cast<egl::Display*>(dpy); 153 egl::Display *display = static_cast<egl::Display*>(dpy); 171 egl::Display *display = static_cast<egl::Display*>(dpy); 206 egl::Display *display = static_cast<egl::Display*>(dpy); 241 egl::Display *display = static_cast<egl::Display*>(dpy); 277 egl::Display *display = static_cast<egl::Display*>(dpy); 304 egl::Display *display = static_cast<egl::Display*>(dpy); 333 egl::Display *display = static_cast<egl::Display*>(dpy); 355 egl::Display *display = static_cast<egl::Display*>(dpy); 378 egl::Display *display = static_cast<egl::Display*>(dpy) [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
prefix_set.cc | 53 uint32 checksum = static_cast<uint32>(sorted_prefixes[0]); 54 checksum ^= static_cast<uint32>(deltas_.size()); 65 const uint16 delta16 = static_cast<uint16>(delta); 69 if (delta != static_cast<unsigned>(delta16) || run_length >= kMaxRun) { 70 checksum ^= static_cast<uint32>(sorted_prefixes[i]); 71 checksum ^= static_cast<uint32>(deltas_.size()); 75 checksum ^= static_cast<uint32>(delta16); 78 DCHECK_EQ(static_cast<unsigned>(deltas_.back()), delta); 162 if (size_64 < static_cast<int64>(sizeof(FileHeader) + sizeof(MD5Digest))) 186 if (static_cast<int64>(expected_bytes) != size_64 [all...] |
/external/chromium_org/net/base/ |
upload_file_element_reader_unittest.cc | 30 static_cast<int>(bytes_.size()), 62 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 70 EXPECT_EQ(static_cast<int>(buf.size()), read_callback2.WaitForResult()); 82 EXPECT_EQ(static_cast<int>(buf.size()), read_callback.WaitForResult()); 99 EXPECT_EQ(static_cast<int>(bytes_.size()), read_callback.WaitForResult()); 114 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 130 EXPECT_EQ(static_cast<int>(buf.size()), read_callback2.WaitForResult()); 163 EXPECT_EQ(static_cast<int>(buf2.size()), read_callback2.WaitForResult()); 193 EXPECT_EQ(static_cast<int>(kLength), read_callback.WaitForResult()); 245 static_cast<int>(bytes_.size()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLTokenizer.cpp | 336 m_token->beginEndTag(static_cast<LChar>(toLowerCase(cc))); 340 m_token->beginEndTag(static_cast<LChar>(cc)); 392 m_temporaryBuffer.append(static_cast<LChar>(cc)); 393 addToPossibleEndTag(static_cast<LChar>(toLowerCase(cc))); 396 m_temporaryBuffer.append(static_cast<LChar>(cc)); 397 addToPossibleEndTag(static_cast<LChar>(cc)); 409 m_temporaryBuffer.append(static_cast<LChar>(cc)); 410 addToPossibleEndTag(static_cast<LChar>(toLowerCase(cc))); 413 m_temporaryBuffer.append(static_cast<LChar>(cc)); 414 addToPossibleEndTag(static_cast<LChar>(cc)) [all...] |
/cts/apps/CtsVerifier/lib/colorchecker/ |
exposurecompensationtest.cpp | 57 int exposureRed = static_cast<int>(( 58 log(static_cast<float>(mReferenceColors[j].r())) 61 int exposureGreen = static_cast<int>(( 62 log(static_cast<float>(mReferenceColors[j].g())) 65 int exposureBlue = static_cast<int>(( 66 log(static_cast<float>(mReferenceColors[j].b()))
|
/external/chromium/chrome/browser/ui/views/ |
tab_icon_view.cc | 113 float float_src_w = static_cast<float>(src_w); 114 float float_src_h = static_cast<float>(src_h); 124 float scale = std::min(static_cast<float>(width()) / scalable_w, 125 static_cast<float>(height()) / scalable_h); 126 int dest_w = static_cast<int>(float_src_w * scale); 127 int dest_h = static_cast<int>(float_src_h * scale);
|