/external/webkit/Source/WebCore/platform/graphics/win/ |
QTPixelBuffer.cpp | 218 CVPixelBufferRetain(static_cast<CVPixelBufferRef>(refcon)); 223 CVPixelBufferRelease(static_cast<CVPixelBufferRef>(refcon)); 228 CVPixelBufferRelease(static_cast<CVPixelBufferRef>(refcon)); 233 CVPixelBufferUnlockBaseAddress(static_cast<CVPixelBufferRef>(refcon), 0); 238 CVPixelBufferLockBaseAddress(static_cast<CVPixelBufferRef>(refcon), 0); 239 return CVPixelBufferGetBaseAddress(static_cast<CVPixelBufferRef>(refcon)); 244 char* data = (char*)CVPixelBufferGetBaseAddress(static_cast<CVPixelBufferRef>(refcon)); 245 size_t size = CVPixelBufferGetDataSize(static_cast<CVPixelBufferRef>(refcon)); 255 CVPixelBufferRelease(static_cast<CVPixelBufferRef>(refcon));
|
/external/webkit/Source/WebCore/rendering/style/ |
FillLayer.h | 71 EFillAttachment attachment() const { return static_cast<EFillAttachment>(m_attachment); } 72 EFillBox clip() const { return static_cast<EFillBox>(m_clip); } 73 EFillBox origin() const { return static_cast<EFillBox>(m_origin); } 74 EFillRepeat repeatX() const { return static_cast<EFillRepeat>(m_repeatX); } 75 EFillRepeat repeatY() const { return static_cast<EFillRepeat>(m_repeatY); } 76 CompositeOperator composite() const { return static_cast<CompositeOperator>(m_composite); } 78 EFillSizeType sizeType() const { return static_cast<EFillSizeType>(m_sizeType); } 79 FillSize size() const { return FillSize(static_cast<EFillSizeType>(m_sizeType), m_sizeLength); } 147 EFillLayerType type() const { return static_cast<EFillLayerType>(m_type); }
|
/external/webkit/Source/WebCore/wml/ |
WMLSetvarElement.cpp | 67 if (static_cast<WMLElement*>(parent)->isWMLTaskElement()) 68 static_cast<WMLTaskElement*>(parent)->registerVariableSetter(this); 75 if (static_cast<WMLElement*>(parent)->isWMLTaskElement()) 76 static_cast<WMLTaskElement*>(parent)->deregisterVariableSetter(this);
|
/external/webkit/Source/WebKit/android/jni/ |
DeviceMotionAndOrientationManager.cpp | 62 static_cast<DeviceMotionClientImpl*>(m_motionClient.get())->onMotionChange(motion); 68 static_cast<DeviceOrientationClientMock*>(orientationClient())->setOrientation(orientation); 74 static_cast<DeviceOrientationClientImpl*>(m_orientationClient.get())->onOrientationChange(orientation); 81 static_cast<DeviceMotionClientImpl*>(m_motionClient.get())->suspend(); 83 static_cast<DeviceOrientationClientImpl*>(m_orientationClient.get())->suspend(); 91 static_cast<DeviceMotionClientImpl*>(m_motionClient.get())->resume(); 93 static_cast<DeviceOrientationClientImpl*>(m_orientationClient.get())->resume(); 102 : static_cast<DeviceMotionClient*>(new DeviceMotionClientImpl(m_webViewCore))); 111 : static_cast<DeviceOrientationClient*>(new DeviceOrientationClientImpl(m_webViewCore)));
|
/external/webkit/Source/WebKit2/Shared/ |
WebPopupItem.cpp | 68 encoder->encode(CoreIPC::In(static_cast<uint32_t>(m_type), m_text, static_cast<uint64_t>(m_textDirection), m_hasTextDirectionOverride, m_toolTip, m_accessibilityText, m_isEnabled, m_isLabel)); 84 item = WebPopupItem(static_cast<Type>(type), text, static_cast<TextDirection>(textDirection), hasTextDirectionOverride, toolTip, accessibilityText, isEnabled, isLabel);
|
/external/webrtc/src/modules/audio_processing/ |
echo_control_mobile_impl.cc | 94 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 98 static_cast<WebRtc_Word16>(audio->samples_per_split_channel())); 137 Handle* my_handle = static_cast<Handle*>(handle(handle_index)); 143 static_cast<WebRtc_Word16>(audio->samples_per_split_channel()), 230 Handle* my_handle = static_cast<Handle*>(handle(0)); 272 return WebRtcAecm_Free(static_cast<Handle*>(handle)); 277 Handle* my_handle = static_cast<Handle*>(handle); 297 return WebRtcAecm_set_config(static_cast<Handle*>(handle), config); 307 return MapError(WebRtcAecm_get_error_code(static_cast<Handle*>(handle)));
|
/external/webrtc/src/system_wrappers/source/ |
sort.cc | 50 TYPE xT = static_cast<TYPE>(*static_cast<const TYPE*>(X)); \ 51 TYPE yT = static_cast<TYPE>(*static_cast<const TYPE*>(Y)); \ 59 TYPE xT = static_cast<TYPE>(*static_cast<TYPE*> \ 60 (static_cast<const SortKey*>(SORT_KEY_X)->key)); \ 61 TYPE yT = static_cast<TYPE>(*static_cast<TYPE*> \ 62 (static_cast<const SortKey*>(SORT_KEY_Y)->key)); [all...] |
/frameworks/av/media/common_time/ |
utils.cpp | 41 p->writeInt32(static_cast<int32_t>(ntohs(s->sin_port))); 54 p->writeInt32(static_cast<int32_t>(ntohs(s->sin6_port))); 70 s->sin_port = htons(static_cast<uint16_t>(p->readInt32())); 82 s->sin6_port = htons(static_cast<uint16_t>(p->readInt32()));
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_util.cpp | 146 result = MakeStringValue(ToCppString(env, static_cast<jstring>(object)).c_str()); 148 jint* elems = env->GetIntArrayElements(static_cast<jintArray>(object), NULL); 149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); 151 env->ReleaseIntArrayElements(static_cast<jintArray>(object), elems, JNI_ABORT); 153 jfloat* elems = env->GetFloatArrayElements(static_cast<jfloatArray>(object), NULL); 154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); 156 env->ReleaseFloatArrayElements(static_cast<jfloatArray>(object), elems, JNI_ABORT); 176 env->SetIntArrayRegion(static_cast<jintArray>(result), 182 env->SetFloatArrayRegion(static_cast<jfloatArray>(result),
|
/frameworks/base/services/common_time/ |
common_time_server_packets.cpp | 33 (static_cast<uint32_t>('c') << 24) | 34 (static_cast<uint32_t>('c') << 16) | 35 (static_cast<uint32_t>('l') << 8) | 36 static_cast<uint32_t>('k'); 63 #define kDeviceIDMask ((static_cast<uint64_t>(1) << kDevicePriorityShift) - 1) 67 (static_cast<uint64_t>(prio) << kDevicePriorityShift); 75 return static_cast<uint8_t>(packed >> kDevicePriorityShift); 81 int16_t pktType = static_cast<int16_t>(packetType); 99 packetType = static_cast<TimeServicePacketType>(tmp);
|
/gdk/samples/PhotoEditor/jni/ |
tint.cpp | 50 const int kRedRatio = static_cast<int>(0.8f * (1 << kShiftBits) * 0.21f); 51 const int kGreenRatio = static_cast<int>(0.8f * (1 << kShiftBits) * 0.71f); 52 const int kBlueRatio = static_cast<int>(0.8f * (1 << kShiftBits) * 0.07f); 53 const int kTintRatio = static_cast<int>(0.2f * (1 << kShiftBits));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
ctype_inline.h | 42 { return _M_table[static_cast<unsigned char>(__c)] & __m; } 49 *__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; 58 && !(_M_table[static_cast<unsigned char>(*__low)] & __m)) 68 && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/i686-linux/bits/ |
ctype_inline.h | 44 { return _M_table[static_cast<unsigned char>(__c)] & __m; } 51 *__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; 60 && !(_M_table[static_cast<unsigned char>(*__low)] & __m)) 70 && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/x86_64-linux/bits/ |
ctype_inline.h | 44 { return _M_table[static_cast<unsigned char>(__c)] & __m; } 51 *__vec++ = _M_table[static_cast<unsigned char>(*__low++)]; 60 && !(_M_table[static_cast<unsigned char>(*__low)] & __m)) 70 && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
|
/frameworks/rs/ |
rsAllocation.cpp | 457 uint16_t *oPtr = static_cast<uint16_t *>(out.getElement(0, y)); 458 const uint16_t *i1 = static_cast<uint16_t *>(in.getElement(0, y*2)); 459 const uint16_t *i2 = static_cast<uint16_t *>(in.getElement(0, y*2+1)); 475 uint32_t *oPtr = static_cast<uint32_t *>(out.getElement(0, y)); 476 const uint32_t *i1 = static_cast<uint32_t *>(in.getElement(0, y*2)); 477 const uint32_t *i2 = static_cast<uint32_t *>(in.getElement(0, y*2+1)); 493 uint8_t *oPtr = static_cast<uint8_t *>(out.getElement(0, y)); 494 const uint8_t *i1 = static_cast<uint8_t *>(in.getElement(0, y*2)); 495 const uint8_t *i2 = static_cast<uint8_t *>(in.getElement(0, y*2+1)); 521 Allocation *a = static_cast<Allocation *>(va) [all...] |
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/ |
InjectedBundlePage.cpp | 69 return static_cast<int>(propertyValueDouble(context, object, propertyName)); 288 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didStartProvisionalLoadForFrame(frame); 293 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didReceiveServerRedirectForProvisionalLoadForFrame(frame); 298 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didFailProvisionalLoadWithErrorForFrame(frame, error); 303 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didCommitLoadForFrame(frame); 308 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didFinishLoadForFrame(frame); 313 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didFinishDocumentLoadForFrame(frame); 318 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didFailLoadWithErrorForFrame(frame, error); 323 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didReceiveTitleForFrame(title, frame); 328 static_cast<InjectedBundlePage*>(const_cast<void*>(clientInfo))->didClearWindowForFrame(frame, world) [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/CPP/ |
WebDOMTestObj.cpp | 97 return static_cast<const WTF::String&>(impl()->readOnlyStringAttr()); 193 return static_cast<const WTF::String&>(impl()->stringAttr()); 257 return static_cast<const WTF::String&>(impl()->getAttribute(WebCore::HTMLNames::reflectedstringattrAttr)); 321 return static_cast<const WTF::String&>(impl()->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr)); 337 return static_cast<const WTF::String&>(impl()->getNonEmptyURLAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr)); 353 return static_cast<const WTF::String&>(impl()->getAttribute(WebCore::HTMLNames::customContentStringAttrAttr)); 401 return static_cast<const WTF::String&>(impl()->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr)); 417 return static_cast<const WTF::String&>(impl()->getNonEmptyURLAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr)); 435 webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec)); 446 webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec)) [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/V8/ |
V8TestObj.cpp | 135 return v8::Number::New(static_cast<double>(imp->longLongAttr())); 151 return v8::Number::New(static_cast<double>(imp->unsignedLongLongAttr())); [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Color.cpp | 64 return max(0, min(static_cast<int>(lroundf(255.0f * f)), 255)); 104 int greyValue = static_cast<int>(lightness * scaleFactor); 105 return makeRGBA(greyValue, greyValue, greyValue, static_cast<int>(alpha * scaleFactor)); 111 return makeRGBA(static_cast<int>(calcHue(temp1, temp2, hue + 1.0 / 3.0) * scaleFactor), 112 static_cast<int>(calcHue(temp1, temp2, hue) * scaleFactor), 113 static_cast<int>(calcHue(temp1, temp2, hue - 1.0 / 3.0) * scaleFactor), 114 static_cast<int>(alpha * scaleFactor)); 120 int r = static_cast<int>(nextafter(256, 0) * (colors * (1 - c))); 121 int g = static_cast<int>(nextafter(256, 0) * (colors * (1 - m))); 122 int b = static_cast<int>(nextafter(256, 0) * (colors * (1 - y))) [all...] |
/external/chromium/sdch/open-vcdiff/src/ |
encodetable.cc | 164 static_cast<unsigned char>(size), 168 static_cast<unsigned char>(compound_opcode); 180 static_cast<unsigned char>(compound_opcode); 190 static_cast<unsigned char>(size), 193 instructions_and_sizes_.push_back(static_cast<char>(opcode)); 194 last_opcode_index_ = static_cast<int>(instructions_and_sizes_.size() - 1); 205 instructions_and_sizes_.push_back(static_cast<char>(opcode)); 206 last_opcode_index_ = static_cast<int>(instructions_and_sizes_.size() - 1); 230 static_cast<VCDAddress>(dictionary_size_ + target_length_), 236 addresses_for_copy_->push_back(static_cast<unsigned char>(encoded_addr)) [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
AutoFillPopupMenuClient.cpp | 73 ASSERT(index >= 0 && static_cast<size_t>(index) < m_names.size()); 83 ASSERT(index >= 0 && static_cast<size_t>(index) < m_labels.size()); 93 ASSERT(index >= 0 && static_cast<size_t>(index) < m_icons.size()); 104 ASSERT(static_cast<unsigned>(index) < m_names.size()); 121 return !m_uniqueIDs[index] && (m_separatorIndex == -1 || listIndex < static_cast<unsigned>(m_separatorIndex)); 130 if (m_separatorIndex != -1 && listIndex > static_cast<unsigned>(m_separatorIndex)) 148 if (m_separatorIndex != -1 && listIndex > static_cast<unsigned>(m_separatorIndex)) 228 return (m_separatorIndex != -1 && static_cast<unsigned>(m_separatorIndex) == listIndex); 237 ASSERT(index >= 0 && static_cast<size_t>(index) < m_uniqueIDs.size()); 275 ASSERT(separatorIndex < static_cast<int>(names.size())) [all...] |
/external/chromium/chrome/browser/history/ |
visit_database_unittest.cc | 90 EXPECT_EQ(static_cast<size_t>(2), matches.size()); 119 EXPECT_EQ(static_cast<size_t>(3), matches.size()); 132 EXPECT_EQ(static_cast<size_t>(2), matches.size()); 162 static_cast<PageTransition::Type>(PageTransition::LINK | 172 static_cast<PageTransition::Type>(PageTransition::TYPED | 182 static_cast<PageTransition::Type>(PageTransition::LINK | 191 static_cast<PageTransition::Type>(PageTransition::SERVER_REDIRECT | 200 static_cast<PageTransition::Type>(PageTransition::AUTO_SUBFRAME | 211 ASSERT_EQ(static_cast<size_t>(2), results.size()); 219 ASSERT_EQ(static_cast<size_t>(1), results.size()) [all...] |
/external/v8/src/ |
date.h | 48 static_cast<int64_t>(kMaxInt) * 1000; 52 static_cast<int64_t>(864000000) * 10000000; 79 return static_cast<int>(time_ms / kMsPerDay); 86 return static_cast<int>(time_ms - days * kMsPerDay); 116 return OS::LocalTimezone(static_cast<double>(time_ms)); 122 return static_cast<int>((time_ms - local_ms) / kMsPerMin); 148 int time_within_day_ms = static_cast<int>(time_ms - days * kMsPerDay); 152 return static_cast<int64_t>(new_days) * kMsPerDay + time_within_day_ms; 184 double time_ms = static_cast<double>(time_sec * 1000); 185 return static_cast<int>(OS::DaylightSavingsOffset(time_ms)) [all...] |
/external/webkit/Source/JavaScriptCore/parser/ |
ASTBuilder.h | 505 static_cast<CommaNode*>(list)->append(init); 644 ResolveNode* resolve = static_cast<ResolveNode*>(expr); 655 ResolveNode* resolve = static_cast<ResolveNode*>(expr); 659 BracketAccessorNode* bracket = static_cast<BracketAccessorNode*>(expr); 663 DotAccessorNode* dot = static_cast<DotAccessorNode*>(expr); 670 NumberNode* numberNode = static_cast<NumberNode*>(n); 681 return createNumber(~toInt32(static_cast<NumberNode*>(expr)->value())); 691 return createNumber(static_cast<NumberNode*>(expr1)->value() * static_cast<NumberNode*>(expr2)->value()); 693 if (expr1->isNumber() && static_cast<NumberNode*>(expr1)->value() == 1 [all...] |
/external/chromium/chrome/browser/autofill/ |
address_field_unittest.cc | 33 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); 41 ASSERT_EQ(static_cast<AddressField*>(NULL), field_.get()); 56 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 77 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 98 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 120 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 149 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 189 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 225 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()); 249 ASSERT_NE(static_cast<AddressField*>(NULL), field_.get()) [all...] |