/external/chromium_org/third_party/WebKit/Source/core/platform/ |
Length.h | 84 m_floatValue = static_cast<float>(v); 117 m_floatValue = static_cast<float>(m_floatValue * v); 119 m_intValue = static_cast<int>(m_intValue * v); 146 LengthType type() const { return static_cast<LengthType>(m_type); } 287 return m_isFloat ? static_cast<int>(m_floatValue) : m_intValue;
|
Decimal.cpp | 142 static uint32_t highUInt32(uint64_t x) { return static_cast<uint32_t>(x >> 32); } 143 static uint32_t lowUInt32(uint64_t x) { return static_cast<uint32_t>(x & ((static_cast<uint64_t>(1) << 32) - 1)); } 145 static uint64_t makeUInt64(uint32_t low, uint32_t high) { return low | (static_cast<uint64_t>(high) << 32); } 172 remainder = static_cast<uint32_t>(work % divisor); 173 quotient[i] = static_cast<uint32_t>(work / divisor); 269 m_exponent = static_cast<int16_t>(exponent); 281 : m_data(i32 < 0 ? Negative : Positive, 0, i32 < 0 ? static_cast<uint64_t>(-static_cast<int64_t>(i32)) : static_cast<uint64_t>(i32) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
Shape.cpp | 115 const BasicShapeRectangle* rectangle = static_cast<const BasicShapeRectangle*>(basicShape); 132 const BasicShapeCircle* circle = static_cast<const BasicShapeCircle*>(basicShape); 143 const BasicShapeEllipse* ellipse = static_cast<const BasicShapeEllipse*>(basicShape); 156 const BasicShapePolygon* polygon = static_cast<const BasicShapePolygon*>(basicShape); 172 const BasicShapeInsetRectangle* rectangle = static_cast<const BasicShapeInsetRectangle*>(basicShape);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontElement.cpp | 76 return static_cast<SVGMissingGlyphElement*>(child); 127 SVGGlyphElement* glyph = static_cast<SVGGlyphElement*>(child); 139 SVGHKernElement* hkern = static_cast<SVGHKernElement*>(child); 142 SVGVKernElement* vkern = static_cast<SVGVKernElement*>(child); 145 firstMissingGlyphElement = static_cast<SVGMissingGlyphElement*>(child);
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
CppVariant.cpp | 192 static_cast<uint32_t>(strlen(newValue))}; 201 static_cast<uint32_t>(newValue.size())}; 231 return static_cast<int32_t>(value.doubleValue); 239 return static_cast<double>(value.intValue); 270 length = static_cast<int>(NPVARIANT_TO_DOUBLE(lengthValue));
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
ThreadSpecific.h | 145 Data* data = static_cast<Data*>(pthread_getspecific(m_key)); 203 Data* data = static_cast<Data*>(TlsGetValue(tlsKeys()[m_index])); 223 Data* data = static_cast<Data*>(ptr); 254 T* ptr = static_cast<T*>(get()); 258 ptr = static_cast<T*>(fastZeroedMalloc(sizeof(T)));
|
/external/chromium_org/ui/app_list/views/ |
page_switcher.cc | 114 return static_cast<PageSwitcherButton*>(buttons->child_at(index)); 157 static_cast<PageSwitcherButton*>(buttons_->child_at(page)); 164 static_cast<PageSwitcherButton*>(buttons_->child_at(i)); 215 static_cast<PageSwitcherButton*>(buttons_->child_at(i)); 223 if (sender == static_cast<views::Button*>(buttons_->child_at(i))) {
|
/external/chromium_org/ui/views/controls/menu/ |
menu_model_adapter_unittest.cc | 38 return static_cast<int>(items_.size()); 251 static_cast<views::MenuDelegate*>(&delegate)->ExecuteCommand(id); 262 MenuModelBase* submodel = static_cast<MenuModelBase*>( 298 static_cast<views::MenuDelegate*>(&delegate)->ExecuteCommand(id); 306 static_cast<views::MenuDelegate*>(&delegate)->SelectionChanged(menu);
|
/external/clang/include/clang/AST/ |
StmtVisitor.h | 37 return static_cast<ImplClass*>(this)->Visit ## NAME(static_cast<PTR(CLASS)>(S)) 195 return static_cast<ImplClass*>(this)->Visit##CLASS(static_cast<PTR(CLASS)>(S)) 206 case OMPC_ ## Name : return Visit ## Class(static_cast<PTR(Class)>(S));
|
/external/icu4c/i18n/ |
identifier_info.cpp | 182 ScriptSet *next = static_cast<ScriptSet *>(nextHashEl->key.pointer); 194 ScriptSet *other = static_cast<ScriptSet *>(otherHashEl->key.pointer); 284 ScriptSet *alternatives = static_cast<ScriptSet *>(hashEl->key.pointer); 302 ScriptSet *ss = static_cast<ScriptSet *>(el->key.pointer); 311 ScriptSet *ss = static_cast<ScriptSet *>(sorted.elementAt(i));
|
/external/llvm/include/llvm/Support/ |
Allocator.h | 39 T *Allocate() { return static_cast<T*>(malloc(sizeof(T))); } 43 return static_cast<T*>(malloc(sizeof(T)*Num)); 156 return static_cast<T*>(Allocate(sizeof(T),AlignOf<T>::Alignment)); 163 return static_cast<T*>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment)); 172 return static_cast<T*>(Allocate(Num * EltSize, Alignment));
|
/external/v8/test/cctest/ |
test-alloc.cc | 46 int available_before = static_cast<int>(new_space->Available()); 165 static_cast<PropertyAttributes>(0)); 227 blocks.Add(Block(base, static_cast<int>(allocated))); 228 current_allocated += static_cast<int>(allocated); 229 total_allocated += static_cast<int>(allocated);
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
ELFSymbol.hxx | 38 *static_cast<ELFSectionStrTabTy const *>(section); 163 static_cast<ELFSectionBitsTy const &>(*sec); 228 static_cast<ELFSectionProgBitsTy const &>(*sec); 258 static_cast<ELFSectionBitsTy const &>(*sec); 287 static_cast<ELFSectionBitsTy const &>(*sec);
|
/external/eigen/unsupported/test/mpreal/ |
mpreal.h | [all...] |
/external/chromium_org/net/cert/ |
cert_verify_proc_unittest.cc | 177 ASSERT_NE(static_cast<X509Certificate*>(NULL), paypal_null_cert); 263 ASSERT_NE(static_cast<X509Certificate*>(NULL), server_cert); 267 ASSERT_NE(static_cast<X509Certificate*>(NULL), intermediate_cert); 347 ASSERT_NE(static_cast<X509Certificate*>(NULL), root_cert); 360 ASSERT_NE(static_cast<X509Certificate*>(NULL), ee_cert); 365 ASSERT_NE(static_cast<X509Certificate*>(NULL), intermediate); 413 ASSERT_NE(static_cast<X509Certificate*>(NULL), server_cert.get()); 417 ASSERT_NE(static_cast<X509Certificate*>(NULL), extra_cert.get()); 421 ASSERT_NE(static_cast<X509Certificate*>(NULL), root_cert.get()); 458 ASSERT_NE(static_cast<X509Certificate*>(NULL), server_cert) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
pseudotcp.cc | 164 *static_cast<uint32*>(buf) = talk_base::HostToNetwork32(val); 168 *static_cast<uint16*>(buf) = talk_base::HostToNetwork16(val); 172 return talk_base::NetworkToHost32(*static_cast<const uint32*>(buf)); 176 return talk_base::NetworkToHost16(*static_cast<const uint16*>(buf)); 324 << ") (dup_acks: " << static_cast<unsigned>(m_dup_acks) 431 return static_cast<uint32>(m_snd_una + buffered_bytes - m_snd_nxt); 466 m_rcv_wnd = static_cast<uint32>(available_space); 473 return static_cast<int>(read); 513 if (len > static_cast<uint32>(available_space)) { 515 len = static_cast<uint32>(available_space) [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
channelmanager.cc | 641 CreationParams* p = static_cast<CreationParams*>(data); 647 VoiceChannel* p = static_cast<talk_base::TypedMessageData<VoiceChannel*>*> 653 CreationParams* p = static_cast<CreationParams*>(data); 659 VideoChannel* p = static_cast<talk_base::TypedMessageData<VideoChannel*>*> 666 static_cast<talk_base::TypedMessageData<Soundclip*>*>(data); 672 static_cast<talk_base::TypedMessageData<Soundclip*>*>(data); 677 AudioOptions* p = static_cast<AudioOptions*>(data); 683 VolumeLevel* p = static_cast<VolumeLevel*>(data); 688 LocalMonitor* p = static_cast<LocalMonitor*>(data); 693 VideoOptions* p = static_cast<VideoOptions*>(data) [all...] |
/external/chromium_org/components/nacl/loader/ |
nacl_ipc_adapter.cc | 68 return static_cast<DescThunker*>(handle)->adapter.get(); 73 delete static_cast<DescThunker*>(handle); 78 return static_cast<ssize_t>(ToAdapter(handle)->Send(msg)); 83 return static_cast<ssize_t>(ToAdapter(handle)->BlockingReceive(msg)); 190 char* dest_buffer = static_cast<char*>(msg->iov[0].base); 202 nacl_abi_size_t desc_count = static_cast<nacl_abi_size_t>(descs_.size()); 215 return static_cast<int>(bytes_to_write); 268 const char* input_data = static_cast<char*>(msg->iov[0].base); 314 return success ? static_cast<int>(input_data_len) : -1; 321 return static_cast<int>(input_data_len) [all...] |
/external/chromium_org/net/http/ |
mock_http_cache.cc | 82 return static_cast<int32>(data_[index].size()); 94 if (offset < 0 || offset > static_cast<int>(data_[index].size())) 96 if (static_cast<size_t>(offset) == data_[index].size()) 99 int num = std::min(buf_len, static_cast<int>(data_[index].size()) - offset); 121 if (offset < 0 || offset > static_cast<int>(data_[index].size())) 149 int real_offset = static_cast<int>(offset); 153 int num = std::min(static_cast<int>(data_[1].size()) - real_offset, 188 int real_offset = static_cast<int>(offset); 190 if (static_cast<int>(data_[1].size()) < real_offset + buf_len) 214 int real_offset = static_cast<int>(offset) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
MediaQueryEvaluator.cpp | 177 CSSAspectRatioValue* aspectRatio = static_cast<CSSAspectRatioValue*>(value); 178 return compareValue(width * static_cast<int>(aspectRatio->denominatorValue()), height * static_cast<int>(aspectRatio->numeratorValue()), op); 199 return numberValue(value, number) && compareValue(bitsPerComponent, static_cast<int>(number), op); 212 return numberValue(value, number) && compareValue(0, static_cast<int>(number), op); 220 return numberValue(value, number) && compareValue(0, static_cast<int>(number), op); 265 return compareAspectRatioValue(value, static_cast<int>(sg.width()), static_cast<int>(sg.height()), op); 336 return compareValue(static_cast<int>(number), 0, op); 371 return computeLength(value, !frame->document()->inQuirksMode(), style, length) && compareValue(static_cast<int>(height), length, op) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
DateTimeEditElement.cpp | 138 || !stepRange().minimum().remainder(static_cast<int>(msPerSecond)).isZero() 139 || !stepRange().step().remainder(static_cast<int>(msPerSecond)).isZero(); 359 const Decimal decimalMsPerDay(static_cast<int>(msPerDay)); 360 Decimal hourPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerDay) / static_cast<int>(msPerHour)).floor(); 369 const Decimal decimalMsPerSecond(static_cast<int>(msPerSecond)); 378 const Decimal decimalMsPerHour(static_cast<int>(msPerHour)); 379 Decimal minutePartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerHour) / static_cast<int>(msPerMinute)).floor(); 388 const Decimal decimalMsPerMinute(static_cast<int>(msPerMinute)); 389 Decimal secondPartOfMinimum = (stepRange().minimum().abs().remainder(decimalMsPerMinute) / static_cast<int>(msPerSecond)).floor(); 418 const Decimal msPerFieldUnitDecimal(static_cast<int>(msPerFieldUnit)) [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
Renderer11.cpp | 126 return static_cast<rx::Renderer11*>(renderer); 729 mDeviceContext->OMSetDepthStencilState(dxDepthStencilState, static_cast<UINT>(stencilRef)); 792 dxViewport.Width = std::min((int)dxViewport.Width, viewportBounds.end - static_cast<int>(dxViewport.TopLeftX)); 793 dxViewport.Height = std::min((int)dxViewport.Height, viewportBounds.end - static_cast<int>(dxViewport.TopLeftY)); [all...] |
/external/chromium_org/ui/base/ime/win/ |
tsf_text_store.cc | 56 return static_cast<ULONG>(count); 61 *result = static_cast<ITextStoreACP*>(this); 63 *result = static_cast<ITfContextOwnerCompositionSink*>(this); 65 *result = static_cast<ITfTextEditSink*>(this); 251 acp_end = std::min(acp_end, acp_start + static_cast<LONG>(text_buffer_size)); 283 if (!((static_cast<LONG>(committed_size_) <= acp_start) && 285 (acp_end <= static_cast<LONG>(string_buffer_.size())))) { 437 if (!((static_cast<LONG>(committed_size_) <= acp_test_start) && 439 (acp_test_end <= static_cast<LONG>(string_buffer_.size())))) { 627 if (!((static_cast<LONG>(committed_size_) <= start_pos) & [all...] |
/external/llvm/lib/Target/Mips/ |
MipsSEFrameLowering.cpp | 119 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo()); 121 *static_cast<const MipsRegisterInfo*>(MF.getTarget().getRegisterInfo()); 139 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo()); 141 *static_cast<const MipsRegisterInfo*>(MF.getTarget().getRegisterInfo()); 162 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo()); 164 *static_cast<const MipsRegisterInfo*>(MF.getTarget().getRegisterInfo()); 191 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo()); 193 *static_cast<const MipsRegisterInfo*>(MF.getTarget().getRegisterInfo()); 230 *static_cast<const MipsSEInstrInfo*>(MF.getTarget().getInstrInfo()); 232 *static_cast<const MipsRegisterInfo*>(MF.getTarget().getRegisterInfo()) [all...] |
/external/v8/src/ |
conversions-inl.h | 97 return d.Sign() * static_cast<int32_t>(d.Significand() >> -exponent); 100 return d.Sign() * static_cast<int32_t>(d.Significand() << exponent); 155 digit = static_cast<char>(*current) - '0'; 157 digit = static_cast<char>(*current) - 'a' + 10; 159 digit = static_cast<char>(*current) - 'A' + 10; 170 int overflow = static_cast<int>(number >> 53); 181 int dropped_bits = static_cast<int>(number) & dropped_bits_mask; 220 ASSERT(static_cast<int64_t>(static_cast<double>(number)) == number); 227 return static_cast<double>(number) [all...] |