HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 151 - 175 of 5706) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium/third_party/libjingle/source/talk/base/
time.cc 72 ASSERT(static_cast<uint32>(elapsed) < HALF);
87 return (diff >= 0 && static_cast<uint32>(diff) < HALF);
97 return (diff > 0 && static_cast<uint32>(diff) < HALF);
111 return static_cast<long>(later - earlier);
113 return static_cast<long>(later + (LAST - earlier) + 1);
117 return -static_cast<long>(earlier - later);
119 return -static_cast<long>(earlier + (LAST - later) + 1);
  /external/clang/include/clang/Analysis/Visitors/
CFGRecStmtDeclVisitor.h 27 static_cast<ImplClass*>(this)->Visit##CLASS##Decl( \
28 static_cast<CLASS##Decl*>(D)); \
33 { static_cast<ImplClass*>(this)->VisitVarDecl(D); }
42 static_cast<ImplClass*>(this)->VisitDecl(DR->getDecl());
49 static_cast<ImplClass*>(this)->VisitDecl(D);
53 static_cast<ImplClass*>(this)->Visit(I);
95 static_cast<ImplClass*>(this)->VisitRecordDecl(D);
  /external/webkit/Source/WebCore/css/
MediaQueryEvaluator.cpp 176 CSSValueList* valueList = static_cast<CSSValueList*>(value);
181 if (i0->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(i0)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER
182 && i1->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(i1)->primitiveType() == CSSPrimitiveValue::CSS_STRING
183 && i2->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(i2)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER) {
184 String str = static_cast<CSSPrimitiveValue*>(i1)->getStringValue();
186 h = static_cast<CSSPrimitiveValue*>(i0)->getIntValue(CSSPrimitiveValue::CSS_NUMBER);
187 v = static_cast<CSSPrimitiveValue*>(i2)->getIntValue(CSSPrimitiveValue::CSS_NUMBER);
213 && static_cast<CSSPrimitiveValue*>(value)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER) {
214 result = static_cast<CSSPrimitiveValue*>(value)->getFloatValue(CSSPrimitiveValue::CSS_NUMBER);
225 return numberValue(value, number) && compareValue(bitsPerComponent, static_cast<int>(number), op)
    [all...]
  /external/webkit/Source/WebCore/page/win/
FrameCGWin.cpp 64 HBITMAP hbmp = CreateDIBSection(0, &bmp, DIB_RGB_COLORS, static_cast<void**>(&bits), 0, 0);
65 HBITMAP hbmpOld = static_cast<HBITMAP>(SelectObject(hdc, hbmp));
66 CGContextRef context = CGBitmapContextCreate(static_cast<void*>(bits), w, h,
89 IntRect ir(static_cast<int>(fr.x()), static_cast<int>(fr.y()),
90 static_cast<int>(fr.width()), static_cast<int>(fr.height()));
  /external/webkit/Source/WebCore/platform/image-encoders/
JPEGImageEncoder.cpp 59 JPEGDestinationManager* dest = static_cast<JPEGDestinationManager*>(compressData->dest);
67 JPEGDestinationManager* dest = static_cast<JPEGDestinationManager*>(compressData->dest);
76 JPEGDestinationManager* dest = static_cast<JPEGDestinationManager*>(compressData->dest);
82 JPEGCompressErrorMgr* err = static_cast<JPEGCompressErrorMgr*>(compressData->err);
122 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // red
123 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // green
124 *output++ = static_cast<JSAMPLE>(*pixel++ & 0xFF); // blue
  /external/webkit/Source/WebCore/rendering/
RenderTextControlMultiLine.cpp 45 static_cast<HTMLTextAreaElement*>(node())->rendererWillBeDestroyed();
51 HTMLTextAreaElement* textArea = static_cast<HTMLTextAreaElement*>(node());
92 int factor = static_cast<HTMLTextAreaElement*>(node())->cols();
93 return static_cast<int>(ceilf(charWidth * factor)) + scrollbarThickness();
98 setHeight(height() + lineHeight * static_cast<HTMLTextAreaElement*>(node())->rows());
111 setInnerTextValue(static_cast<HTMLTextAreaElement*>(node())->value());
116 static_cast<HTMLTextAreaElement*>(node())->cacheSelection(start, end);
  /external/webkit/Source/WebKit/chromium/src/
WebCache.cpp 50 to.count = static_cast<size_t>(from.count);
51 to.size = static_cast<size_t>(from.size);
52 to.liveSize = static_cast<size_t>(from.liveSize);
53 to.decodedSize = static_cast<size_t>(from.decodedSize);
61 cache->setCapacities(static_cast<unsigned int>(minDeadCapacity),
62 static_cast<unsigned int>(maxDeadCapacity),
63 static_cast<unsigned int>(capacity));
  /external/webkit/Tools/DumpRenderTree/
AccessibilityController.cpp 36 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
42 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
61 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
68 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
75 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
82 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
96 AccessibilityController* controller = static_cast<AccessibilityController*>(JSObjectGetPrivate(thisObject));
  /frameworks/av/media/libeffects/testlibs/
AudioPeakingFilter.cpp 70 uint32_t normFreq = static_cast<uint32_t>(
71 (static_cast<uint64_t>(millihertz) * mFrequencyFactor) >> 10);
96 static_cast<uint32_t>(mGain) << (32 - GAIN_PRECISION_BITS),
107 low = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(-halfBW + (16 << 15))) >> 16);
111 high = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(halfBW + (16 << 15))) >> 16);
  /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/clang/tools/libclang/
CIndexDiagnostic.cpp 150 ASTUnit *AU = static_cast<ASTUnit *>(TU->TUData);
171 Set = static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics);
193 return static_cast<CXDiagnosticSetImpl*>(TU->Diagnostics);
212 CXDiagnosticSetImpl *Diags = static_cast<CXDiagnosticSetImpl*>(D);
222 return static_cast<CXDiagnostic>(lazyCreateDiags(Unit));
356 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl*>(Diag))
362 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl*>(Diag))
368 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag))
377 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag))
384 if (CXDiagnosticImpl *D = static_cast<CXDiagnosticImpl *>(Diag)
    [all...]
  /external/llvm/include/llvm/ADT/
APSInt.h 143 return APSInt(static_cast<const APInt&>(*this) << Bits, IsUnsigned);
151 static_cast<APInt&>(*this)++;
155 static_cast<APInt&>(*this)--;
159 return APSInt(++static_cast<APInt&>(*this), IsUnsigned);
162 return APSInt(--static_cast<APInt&>(*this), IsUnsigned);
165 return APSInt(-static_cast<const APInt&>(*this), IsUnsigned);
169 static_cast<APInt&>(*this) += RHS;
174 static_cast<APInt&>(*this) -= RHS;
179 static_cast<APInt&>(*this) *= RHS;
184 static_cast<APInt&>(*this) &= RHS
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
WebEditorClient.cpp 232 uint32_t editAction = static_cast<uint32_t>(webCommand->command()->editingAction());
259 m_page->sendSync(Messages::WebPageProxy::CanUndoRedo(static_cast<uint32_t>(WebPageProxy::Undo)), Messages::WebPageProxy::CanUndoRedo::Reply(result));
266 m_page->sendSync(Messages::WebPageProxy::CanUndoRedo(static_cast<uint32_t>(WebPageProxy::Redo)), Messages::WebPageProxy::CanUndoRedo::Reply(result));
273 m_page->sendSync(Messages::WebPageProxy::ExecuteUndoRedo(static_cast<uint32_t>(WebPageProxy::Undo)), Messages::WebPageProxy::ExecuteUndoRedo::Reply(result));
279 m_page->sendSync(Messages::WebPageProxy::ExecuteUndoRedo(static_cast<uint32_t>(WebPageProxy::Redo)), Messages::WebPageProxy::ExecuteUndoRedo::Reply(result));
300 WebFrame* webFrame = static_cast<WebFrameLoaderClient*>(element->document()->frame()->loader()->client())->webFrame();
301 m_page->injectedBundleFormClient().textFieldDidBeginEditing(m_page, static_cast<HTMLInputElement*>(element), webFrame);
309 WebFrame* webFrame = static_cast<WebFrameLoaderClient*>(element->document()->frame()->loader()->client())->webFrame();
310 m_page->injectedBundleFormClient().textFieldDidEndEditing(m_page, static_cast<HTMLInputElement*>(element), webFrame);
321 WebFrame* webFrame = static_cast<WebFrameLoaderClient*>(element->document()->frame()->loader()->client())->webFrame()
    [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/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...]
  /external/webkit/Source/WebCore/rendering/mathml/
RenderMathMLRoot.cpp 128 int frontWidth = static_cast<int>(style()->fontSize() * gRadicalWidth);
131 int thresholdHeight = static_cast<int>(gThresholdBaseHeight * style()->fontSize());
134 float shift = (maxHeight - thresholdHeight) / static_cast<float>(thresholdHeight);
137 topStartShift = static_cast<int>(gRadicalBottomPointXPos * frontWidth * shift);
142 int rootPad = static_cast<int>(gRootPadding * style()->fontSize());
218 int thresholdHeight = static_cast<int>(gThresholdBaseHeight * style()->fontSize());
222 float shift = (maxHeight - thresholdHeight) / static_cast<float>(thresholdHeight);
225 int frontWidth = static_cast<int>(style()->fontSize() * gRadicalWidth);
226 topStartShift = static_cast<int>(gRadicalBottomPointXPos * frontWidth * shift);
228 style()->setPaddingBottom(Length(static_cast<int>(gRootBottomPadding * style()->fontSize()), Fixed))
    [all...]
  /external/webkit/Source/WebKit/win/
DOMHTMLClasses.cpp 81 *ppvObject = static_cast<IDOMHTMLCollection*>(this);
128 *ppvObject = static_cast<IDOMHTMLOptionsCollection*>(this);
201 *ppvObject = static_cast<IDOMHTMLDocument*>(this);
253 *result = BString(static_cast<HTMLDocument*>(m_document)->url()).release();
264 HTMLDocument* htmlDoc = static_cast<HTMLDocument*>(m_document);
307 HTMLDocument* htmlDoc = static_cast<HTMLDocument*>(m_document);
381 *ppvObject = static_cast<IDOMHTMLElement*>(this);
398 String idString = static_cast<HTMLElement*>(m_element)->getAttribute(idAttr);
484 WTF::String innerTextString = static_cast<HTMLElement*>(m_element)->innerText();
493 HTMLElement* htmlEle = static_cast<HTMLElement*>(m_element)
    [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...]
  /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);
  /external/chromium/sdch/open-vcdiff/src/
vcdecoder5_test.cc 77 EXPECT_EQ(static_cast<char>(0xBE), output_[0]);
78 EXPECT_EQ(static_cast<char>(0xBE),
80 EXPECT_EQ(static_cast<char>(0xBE),
101 EXPECT_EQ(static_cast<char>(0xBE), output_[0]);
102 EXPECT_EQ(static_cast<char>(0xBE),
104 EXPECT_EQ(static_cast<char>(0xBE),
  /external/webkit/Source/JavaScriptCore/wtf/
RandomNumber.cpp 58 return static_cast<double>(bits) / (static_cast<double>(std::numeric_limits<uint32_t>::max()) + 1.0);
84 return static_cast<double>(bits) / (static_cast<double>(std::numeric_limits<uint32_t>::max()) + 1.0);
98 return static_cast<double>(fullRandom)/static_cast<double>(1LL << 53);
  /external/webkit/Source/WebCore/bindings/js/
JSNodeListCustom.cpp 46 JSNodeList* jsNodeList = static_cast<JSNodeList*>(handle.get().asCell());
51 return markStack.containsOpaqueRoot(root(static_cast<DynamicNodeList*>(jsNodeList->impl())->rootNode()));
56 JSNodeList* jsNodeList = static_cast<JSNodeList*>(handle.get().asCell());
57 DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context);
84 return JSValue::encode(toJS(exec, static_cast<JSNodeList*>(exec->callee())->impl()->item(index)));
100 JSNodeList* thisObj = static_cast<JSNodeList*>(asObject(slotBase));
  /external/webkit/Source/WebCore/platform/mac/
WheelEventMac.mm 68 return static_cast<PlatformWheelEventPhase>(phase);
85 return static_cast<PlatformWheelEventPhase>(phase);
108 m_wheelTicksX = m_deltaX / static_cast<float>(Scrollbar::pixelsPerLineStep());
109 m_wheelTicksY = m_deltaY / static_cast<float>(Scrollbar::pixelsPerLineStep());
114 m_deltaX *= static_cast<float>(Scrollbar::pixelsPerLineStep());
115 m_deltaY *= static_cast<float>(Scrollbar::pixelsPerLineStep());

Completed in 871 milliseconds

1 2 3 4 5 67 8 91011>>