/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
TextBreakIteratorICU.cpp | 70 if (pointer >= source->pExtra && pointer < static_cast<char*>(source->pExtra) + source->extraSize) { 72 pointer = static_cast<char*>(destination->pExtra) + (static_cast<const char*>(pointer) - static_cast<const char*>(source->pExtra)); 75 pointer = reinterpret_cast<char*>(destination) + (static_cast<const char*>(pointer) - reinterpret_cast<const char*>(source)); 99 const void * chunkContents = static_cast<const void*>(destination->chunkContents); 101 destination->chunkContents = static_cast<const UChar*>(chunkContents); 159 text->chunkLength = length <= numeric_limits<int32_t>::max() ? static_cast<int32_t>(length) : 0; 162 StringImpl::copyChars(const_cast<UChar*>(text->chunkContents), static_cast<const LChar*>(text->p) + (text->chunkNativeStart - text->b), static_cast<unsigned>(text->chunkLength)) [all...] |
/external/chromium_org/ui/gfx/ |
color_analysis.cc | 133 uint32_t* in = static_cast<uint32_t*>(bitmap.getPixels()); 425 SkPMColor* current_color = static_cast<uint32_t*>(bitmap.getAddr32(0, y)); 450 (static_cast<double>(rr_sum) / pixel_n - 451 static_cast<double>(r_sum * r_sum) / pixel_n / pixel_n), 452 (static_cast<double>(rg_sum) / pixel_n - 453 static_cast<double>(r_sum * g_sum) / pixel_n / pixel_n), 454 (static_cast<double>(rb_sum) / pixel_n - 455 static_cast<double>(r_sum * b_sum) / pixel_n / pixel_n), 456 (static_cast<double>(rg_sum) / pixel_n - 457 static_cast<double>(r_sum * g_sum) / pixel_n / pixel_n) [all...] |
skbitmap_operations.cc | 117 int a = static_cast<int>((SkColorGetA(first_pixel) * first_alpha) + 119 int r = static_cast<int>((SkColorGetR(first_pixel) * first_alpha) + 121 int g = static_cast<int>((SkColorGetG(first_pixel) * first_alpha) + 123 int b = static_cast<int>((SkColorGetB(first_pixel) * first_alpha) + 207 double img_alpha = static_cast<double>(img_a) / 255.0; 210 double mask_a = static_cast<double>(SkColorGetA(mask_row[x])) / 255.0; 213 static_cast<int>(std::min(255.0, bg_a + img_a) * mask_a), 214 static_cast<int>(((bg_r * img_inv) + (img_r * img_alpha)) * mask_a), 215 static_cast<int>(((bg_g * img_inv) + (img_g * img_alpha)) * mask_a), 216 static_cast<int>(((bg_b * img_inv) + (img_b * img_alpha)) * mask_a)) [all...] |
/external/chromium_org/chrome/browser/component_updater/test/ |
component_updater_service_unittest.cc | 287 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); 288 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()); 312 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); 313 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()); 396 EXPECT_EQ(0, static_cast<TestInstaller*>(com1.installer)->error()); 397 EXPECT_EQ(1, static_cast<TestInstaller*>(com1.installer)->install_count()); 398 EXPECT_EQ(0, static_cast<TestInstaller*>(com2.installer)->error()); 399 EXPECT_EQ(0, static_cast<TestInstaller*>(com2.installer)->install_count()); 437 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->error()); 438 EXPECT_EQ(0, static_cast<TestInstaller*>(com.installer)->install_count()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/ |
TraceEvent.h | 279 "value", static_cast<int>(value)) 283 "value", static_cast<int>(value)) 294 value1_name, static_cast<int>(value1_val), \ 295 value2_name, static_cast<int>(value2_val)) 300 value1_name, static_cast<int>(value1_val), \ 301 value2_name, static_cast<int>(value2_val)) 314 "value", static_cast<int>(value)) 318 "value", static_cast<int>(value)) 333 value1_name, static_cast<int>(value1_val), \ 334 value2_name, static_cast<int>(value2_val) [all...] |
/external/chromium/chrome/browser/autofill/ |
credit_card_field_unittest.cc | 33 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 41 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 64 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 79 ASSERT_EQ(static_cast<CreditCardField*>(NULL), field_.get()); 110 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); 154 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); 212 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); 279 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); 337 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()); 392 ASSERT_NE(static_cast<CreditCardField*>(NULL), field_.get()) [all...] |
/external/chromium/chrome/browser/importer/ |
firefox_importer_unittest.cc | 202 EXPECT_EQ(3, static_cast<int>(bookmarks.size())); 212 EXPECT_EQ(2, static_cast<int>(entry.path.size())); 223 EXPECT_EQ(2, static_cast<int>(entry.path.size())); 235 EXPECT_EQ(2, static_cast<int>(entry.path.size())); 250 EXPECT_EQ(2, static_cast<int>(bookmarks.size())); 257 EXPECT_EQ(2, static_cast<int>(entry.path.size())); 268 EXPECT_EQ(2, static_cast<int>(entry.path.size())); 284 EXPECT_EQ(2, static_cast<int>(bookmarks.size())); 290 EXPECT_EQ(0, static_cast<int>(entry.path.size())); 294 EXPECT_EQ(0, static_cast<int>(entry.path.size())) [all...] |
/external/chromium_org/content/browser/renderer_host/p2p/ |
socket_host_tcp_unittest.cc | 30 MatchMessage(static_cast<uint32>(P2PMsg_OnSocketCreated::ID)))) 91 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID)))) 122 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID)))) 169 MatchMessage(static_cast<uint32>(P2PMsg_OnError::ID)))) 191 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID)))) 216 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID)))) 243 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID)))) 271 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID)))) 315 MatchMessage(static_cast<uint32>(P2PMsg_OnError::ID)))) 332 MatchMessage(static_cast<uint32>(P2PMsg_OnSendComplete::ID))) [all...] |
/external/chromium_org/content/browser/web_contents/ |
render_view_host_manager_unittest.cc | 132 TestRenderViewHost* ntp_rvh = static_cast<TestRenderViewHost*>( 143 static_cast<SiteInstanceImpl*>(ntp_rvh->GetSiteInstance())-> 146 TestRenderViewHost* dest_rvh = static_cast<TestRenderViewHost*>( 189 TestRenderViewHost* ntp_rvh2 = static_cast<TestRenderViewHost*>( 199 TestRenderViewHost* dest_rvh2 = static_cast<TestRenderViewHost*>( 221 static_cast<TestRenderViewHost*>(contents2->GetRenderManagerForTesting()-> 241 TestRenderViewHost* ntp_rvh = static_cast<TestRenderViewHost*>( 255 TestRenderViewHost* dest_rvh = static_cast<TestRenderViewHost*>( 263 static_cast<SiteInstanceImpl*>(ntp_rvh->GetSiteInstance())-> 291 static_cast<MockRenderProcessHost*>(ntp_rvh->GetProcess()) [all...] |
/external/chromium_org/skia/ext/ |
analysis_canvas.cc | 312 return (static_cast<AnalysisDevice*>(getDevice()))->GetColorIfSolid(color); 316 return (static_cast<AnalysisDevice*>(getDevice()))->HasText(); 334 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotSolid(true); 338 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotTransparent(true); 352 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotSolid(true); 356 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotTransparent(true); 380 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotSolid(true); 393 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotTransparent(true); 413 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotSolid(false); 417 (static_cast<AnalysisDevice*>(getDevice()))->SetForceNotTransparent [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
AnimationTranslationUtil.cpp | 73 ScaleTransformOperation* transform = static_cast<ScaleTransformOperation*>(transformOperations.operations()[j].get()); 82 TranslateTransformOperation* transform = static_cast<TranslateTransformOperation*>(transformOperations.operations()[j].get()); 90 RotateTransformOperation* transform = static_cast<RotateTransformOperation*>(transformOperations.operations()[j].get()); 97 SkewTransformOperation* transform = static_cast<SkewTransformOperation*>(transformOperations.operations()[j].get()); 102 MatrixTransformOperation* transform = static_cast<MatrixTransformOperation*>(transformOperations.operations()[j].get()); 108 Matrix3DTransformOperation* transform = static_cast<Matrix3DTransformOperation*>(transformOperations.operations()[j].get()); 114 PerspectiveTransformOperation* transform = static_cast<PerspectiveTransformOperation*>(transformOperations.operations()[j].get()); 214 const Value* originalValue = static_cast<const Value*>(valueList.at(index)); 217 lastOriginalValue = static_cast<const Value*>(valueList.at(reverse ? index + 1 : index - 1)); 244 const CubicBezierTimingFunction* originalBezierTimingFunction = static_cast<const CubicBezierTimingFunction*>(originalTimingFunction) [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
VertexBuffer11.cpp | 73 return static_cast<VertexBuffer11*>(vetexBuffer); 102 input = static_cast<const char*>(storage->getData()) + static_cast<int>(attrib.mOffset); 106 input = static_cast<const char*>(attrib.mPointer); 141 char* bufferData = static_cast<char*>(mappedResource.pData); 276 offsetOutput[j] = static_cast<float>(offsetInput[j]) * divisor; 297 const float divisor = 1.0f / (2 * static_cast<float>(NL::max()) + 1); 298 offsetOutput[j] = (2 * static_cast<float>(offsetInput[j]) + 1) * divisor; 302 offsetOutput[j] = static_cast<float>(offsetInput[j]) / NL::max(); 307 offsetOutput[j] = static_cast<float>(offsetInput[j]) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
cpumonitor_unittest.cc | 130 bool ok = t->SetPriority(static_cast<talk_base::ThreadPriority>(prio)); 205 EXPECT_LE(proc_idle, static_cast<float>(cpus)); 212 EXPECT_LE(sys_idle, static_cast<float>(cpus)); 234 EXPECT_LE(proc_halfbusy, static_cast<float>(cpus)); 241 EXPECT_LE(sys_halfbusy, static_cast<float>(cpus)); 263 EXPECT_LE(proc_busy, static_cast<float>(cpus)); 270 EXPECT_LE(sys_busy, static_cast<float>(cpus)); 293 EXPECT_LE(proc_twobusy, static_cast<float>(cpus)); 300 EXPECT_LE(sys_twobusy, static_cast<float>(cpus)); 329 EXPECT_LE(sys_idle, static_cast<float>(cpus)) [all...] |
/external/chromium_org/v8/src/ |
platform-freebsd.cc | 71 time_t tv = static_cast<time_t>(floor(time/msPerSecond)); 82 return static_cast<double>(t->tm_gmtoff * msPerSecond - 183 return static_cast<unsigned>(strtol(buffer, NULL, 16)); // NOLINT 250 ASSERT(IsAligned(alignment, static_cast<intptr_t>(OS::AllocateAlignment()))); 252 static_cast<intptr_t>(OS::AllocateAlignment())); 261 Address base = static_cast<Address>(reservation); 267 size_t prefix_size = static_cast<size_t>(aligned_base - base); 283 address_ = static_cast<void*>(aligned_base); 437 uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis()); 438 srandom(static_cast<unsigned int>(seed)) [all...] |
/external/chromium_org/v8/test/cctest/ |
test-declarative-accessors.cc | 176 ->NewRawShift(helper->isolate_, static_cast<uint16_t>(index*sizeof(T))) 202 ->NewRawShift(helper->isolate_, static_cast<uint16_t>(index*sizeof(T))); 208 static_cast<uint8_t>(bitmask), 209 static_cast<uint8_t>(compare_value)); 214 static_cast<uint16_t>(bitmask), 215 static_cast<uint16_t>(compare_value)); 220 static_cast<uint32_t>(bitmask), 221 static_cast<uint32_t>(compare_value)); 253 ->NewRawShift(helper.isolate_, static_cast<uint16_t>(index*sizeof(ptr))) 275 static_cast<uint16_t>(second_index*sizeof(int16_t)) [all...] |
/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_layer_impl.cc | 54 layer_->AddChild(static_cast<WebLayerImpl*>(child)->layer()); 58 layer_->InsertChild(static_cast<WebLayerImpl*>(child)->layer(), index); 62 layer_->ReplaceChild(static_cast<WebLayerImpl*>(reference)->layer(), 63 static_cast<WebLayerImpl*>(new_layer)->layer()); 96 maskLayer ? static_cast<WebLayerImpl*>(maskLayer)->layer() : 0); 101 replica_layer ? static_cast<WebLayerImpl*>(replica_layer)->layer() : 0); 163 static_cast<const WebFilterOperationsImpl&>(filters); 169 static_cast<const WebFilterOperationsImpl&>(filters); 195 static_cast<WebAnimationImpl*>(animation)->CloneToAnimation()); 207 static_cast<Animation::TargetProperty>(target_property)) [all...] |
/external/llvm/lib/IR/ |
PassRegistry.cpp | 77 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(pImpl); 89 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 96 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 108 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 125 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 137 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 170 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 185 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 191 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()); 204 PassRegistryImpl *Impl = static_cast<PassRegistryImpl*>(getImpl()) [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
shared_count.hpp | 197 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); 198 new( static_cast< void* >( pi_ ) ) impl_type( p, d, a ); 206 a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); 214 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); 218 new( static_cast< void* >( pi_ ) ) impl_type( p, d, a ); 245 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); 246 new( static_cast< void* >( pi_ ) ) impl_type( p, a ); 254 a2.deallocate( static_cast< impl_type* >( pi_ ), 1 ); 262 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) ); 266 new( static_cast< void* >( pi_ ) ) impl_type( p, a ) [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
content_analysis_unittest.cc | 38 const uint8* row_data = static_cast<const uint8*>( 69 return std::abs(static_cast<float>(candidate.width()) / candidate.height() - 70 static_cast<float>(reference.width()) / reference.height()); 103 int tail_length = static_cast<int>(8.0f * sigma + 0.5f); 115 tail_length = static_cast<int>(8.0f * sigma + 0.5f); 154 int tail_length = static_cast<int>(8.0f * sigma + 0.5f); 335 static_cast<float>(target_size.width()) / target_size.height(), 336 static_cast<float>(adjusted_size.width()) / adjusted_size.height(), 351 static_cast<float>(target_size.width()) / target_size.height(), 352 static_cast<float>(adjusted_size.width()) / adjusted_size.height() [all...] |
/external/protobuf/src/google/protobuf/io/ |
coded_stream.h | [all...] |
/external/chromium/chrome/browser/sessions/ |
tab_restore_service_browsertest.cc | 134 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); 156 tab = static_cast<TabRestoreService::Tab*>(entry); 190 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); 215 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); 229 tab = static_cast<TabRestoreService::Tab*>(entry); 260 static_cast<const TabRestoreService::Tab*>(restored_entry); 299 static_cast<TabRestoreService::Window*>(entry2); 354 static_cast<TabRestoreService::Window*>(entry); 366 TabRestoreService::Tab* tab = static_cast<TabRestoreService::Tab*>(entry); 396 static_cast<TabRestoreService::Window*>(entry) [all...] |
/external/chromium_org/chrome/browser/sessions/ |
tab_restore_service_helper.cc | 151 std::min(static_cast<int>(window->tabs.size() - 1), 194 Tab* tab = static_cast<Tab*>(entry); 228 Tab* tab = static_cast<Tab*>(entry); 236 Window* window = static_cast<Window*>(entry); 251 static_cast<int>(tab_i) == window->selected_tab_index, 377 std::vector<Tab>& tabs = static_cast<Window*>(*i)->tabs; 392 return ValidateTab(static_cast<Tab*>(entry)); 395 return ValidateWindow(static_cast<Window*>(entry)); 410 tab->navigations.resize(static_cast<int>(entry_count)); 515 static_cast<int>(tab->navigations.size()) - 1)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLCollection.cpp | 214 return element->hasLocalName(appletTag) || (element->hasLocalName(objectTag) && static_cast<HTMLObjectElement*>(element)->containsJavaApplet()); 280 if (current->isElementNode() && isMatchingElement(static_cast<const LiveNodeList*>(this), toElement(current))) 283 if (current->isElementNode() && isMatchingElement(static_cast<const HTMLCollection*>(this), toElement(current))) 350 return firstMatchingElement(static_cast<const HTMLTagNodeList*>(this), root); 352 return firstMatchingElement(static_cast<const ClassNodeList*>(this), root); 353 return firstMatchingElement(static_cast<const LiveNodeList*>(this), root); 362 return traverseMatchingElementsForwardToOffset(static_cast<const HTMLTagNodeList*>(this), offset, currentElement, currentOffset, root); 364 return traverseMatchingElementsForwardToOffset(static_cast<const ClassNodeList*>(this), offset, currentElement, currentOffset, root); 365 return traverseMatchingElementsForwardToOffset(static_cast<const LiveNodeList*>(this), offset, currentElement, currentOffset, root); 393 static_cast<const HTMLCollection*>(this)->m_cachedElementsArrayOffset = elementsArrayOffset [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextQuery.cpp | 97 collectTextBoxesInFlowBox(static_cast<InlineFlowBox*>(child)); 188 if (startPosition == static_cast<int>(positionOffset)) 192 if (endPosition == static_cast<int>(positionOffset)) 197 if (alterStartPosition && startPosition > lastPositionOffset && startPosition < static_cast<int>(positionOffset)) { 202 if (alterEndPosition && endPosition > lastPositionOffset && endPosition < static_cast<int>(positionOffset)) { 219 if (alterStartPosition && startPosition > lastPositionOffset && startPosition < static_cast<int>(positionOffset)) { 224 if (alterEndPosition && endPosition > lastPositionOffset && endPosition < static_cast<int>(positionOffset)) { 260 TextLengthData* data = static_cast<TextLengthData*>(queryData); 292 SubStringLengthData* data = static_cast<SubStringLengthData*>(queryData); 327 StartPositionOfCharacterData* data = static_cast<StartPositionOfCharacterData*>(queryData) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/ |
UTF8.cpp | 141 ch = static_cast<unsigned short>(*source++); 183 ch = static_cast<unsigned short>(*source++); 188 UChar32 ch2 = static_cast<unsigned short>(*source); 278 static const UChar32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL, 0x03C82080UL, static_cast<UChar32>(0xFA082080UL), static_cast<UChar32>(0x82082080UL) }; 286 case 6: character += static_cast<unsigned char>(*sequence++); character <<= 6; 287 case 5: character += static_cast<unsigned char>(*sequence++); character <<= 6; 288 case 4: character += static_cast<unsigned char>(*sequence++); character <<= 6; 289 case 3: character += static_cast<unsigned char>(*sequence++); character <<= 6; 290 case 2: character += static_cast<unsigned char>(*sequence++); character <<= 6 [all...] |