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

1 2 3 4 5 6 7 891011>>

  /external/chromium/base/
atomic_sequence_num.h 20 return static_cast<int>(
rand_util_win.cc 27 return (static_cast<uint64>(first_half) << 32) + second_half;
time.cc 16 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay);
20 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour);
24 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute);
28 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond;
36 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond;
71 return Time(static_cast<int64>((dt *
72 static_cast<double>(kMicrosecondsPerSecond)) +
79 return (static_cast<double>(us_ - kTimeTToMicrosecondsOffset) /
80 static_cast<double>(kMicrosecondsPerSecond));
timer.cc 25 static_cast<int>(timer_task->delay_.InMillisecondsRoundedUp()));
  /external/chromium/chrome/browser/bookmarks/
recently_used_folders_combo_model.cc 49 node_parent_index_ = static_cast<int>(it - nodes_.begin());
55 return static_cast<int>(nodes_.size() + 1);
59 if (index == static_cast<int>(nodes_.size()))
65 if (index < 0 || index >= static_cast<int>(nodes_.size()))
  /external/chromium/chrome/browser/sync/syncable/
syncable_enum_conversions.cc 17 COMPILE_ASSERT(static_cast<int>(enum_min) == \
18 static_cast<int>(expected_min), \
20 COMPILE_ASSERT(static_cast<int>(enum_max) == \
21 static_cast<int>(expected_max), \
  /external/chromium/chrome/browser/tabs/
pinned_tab_service_factory.cc 14 return static_cast<PinnedTabService*>(
  /external/chromium/chrome/browser/ui/cocoa/bookmarks/
bookmark_menu.mm 18 id_ = static_cast<int64>([object longLongValue]);
  /external/chromium/googleurl/src/
url_test_utils.h 49 int length = static_cast<int>(wcslen(src));
51 str.push_back(static_cast<char16>(src[i]));
58 int length = static_cast<int>(src.length());
70 static_cast<int>(src.length()),
  /external/chromium/net/url_request/
url_request_netlog_params.cc 27 dict->SetInteger("priority", static_cast<int>(priority_));
  /external/chromium/third_party/libjingle/source/talk/base/
ratetracker.cc 35 last_units_second_time_(static_cast<uint32>(-1)),
49 if (last_units_second_time_ != static_cast<uint32>(-1)) {
55 static_cast<int>(total_units_ - last_units_second_calc_) *
64 if (last_units_second_time_ == static_cast<uint32>(-1)) {
  /external/chromium/third_party/libjingle/source/talk/session/phone/
videocommon.h 44 (static_cast<uint32>(a)) | (static_cast<uint32>(b) << 8) | \
45 (static_cast<uint32>(c) << 16) | (static_cast<uint32>(d) << 24))
50 name.push_back(static_cast<char>(fourcc & 0xFF));
51 name.push_back(static_cast<char>((fourcc >> 8) & 0xFF));
52 name.push_back(static_cast<char>((fourcc >> 16) & 0xFF));
53 name.push_back(static_cast<char>((fourcc >> 24) & 0xFF));
132 return static_cast<int>(kNumNanosecsPerSec / interval);
  /external/clang/test/CodeGenCXX/
rvalue-references.cpp 16 A &&getA() { return static_cast<A&&>(getB()); }
25 int &&f0() { return static_cast<int&&>(getIntLValue()); }
30 int &&f1() { return static_cast<int&&>(getIntXValue()); }
36 int &&f2() { return static_cast<int&&>(getIntPRValue()); }
  /external/clang/test/SemaCXX/
type-definition-in-specifier.cpp 20 (void)static_cast<struct S4 { int x; } *>(0); // expected-error{{can not be defined}}
  /external/clang/test/SemaObjCXX/
reserved-keyword-methods.mm 23 macro(static_cast) \
  /external/skia/tests/
ReadPixelsTest.cpp 78 a = static_cast<U8CPU>(c[3]);
79 r = static_cast<U8CPU>(c[2]);
80 g = static_cast<U8CPU>(c[1]);
81 b = static_cast<U8CPU>(c[0]);
86 a = static_cast<U8CPU>(c[3]);
87 r = static_cast<U8CPU>(c[0]);
88 g = static_cast<U8CPU>(c[1]);
89 b = static_cast<U8CPU>(c[2]);
142 int32_t aA = static_cast<int32_t>(SkGetPackedA32(a));
143 int32_t aR = static_cast<int32_t>(SkGetPackedR32(a))
    [all...]
  /external/v8/src/
compiler-intrinsics.h 61 _BitScanForward(&result, static_cast<long>(value)); //NOLINT
62 return static_cast<int>(result);
67 _BitScanReverse(&result, static_cast<long>(value)); //NOLINT
68 return 31 - static_cast<int>(result);
  /external/v8/test/cctest/
test-platform-win32.cc 23 int* addr = static_cast<int*>(block_addr);
  /external/webkit/Source/JavaScriptCore/wtf/
MathExtras.h 56 const float piFloat = static_cast<float>(M_PI);
64 const float piOverTwoFloat = static_cast<float>(M_PI_2);
72 const float piOverFourFloat = static_cast<float>(M_PI_4);
126 inline long long llround(double num) { return static_cast<long long>(round(num)); }
127 inline long long llroundf(float num) { return static_cast<long long>(roundf(num)); }
128 inline long lround(double num) { return static_cast<long>(round(num)); }
129 inline long lroundf(float num) { return static_cast<long>(roundf(num)); }
214 return static_cast<int>(std::max(std::min(d, maxIntAsDouble), minIntAsDouble));
220 return static_cast<int>(std::max<double>(std::min(d, maxIntAsDouble), 0));
228 if (x >= static_cast<float>(s_intMax)
    [all...]
  /external/webkit/Source/WebCore/accessibility/
AccessibilityMenuListOption.cpp 63 return !static_cast<HTMLOptionElement*>(m_element.get())->ownElementDisabled();
81 return static_cast<HTMLOptionElement*>(m_element.get())->selected();
89 static_cast<HTMLOptionElement*>(m_element.get())->setSelected(b);
115 return static_cast<HTMLOptionElement*>(m_element.get())->text();
  /external/webkit/Source/WebCore/bindings/cpp/
WebDOMNodeCustom.cpp 37 webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
50 webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
63 webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
76 webDOMRaiseError(static_cast<WebDOMExceptionCode>(ec));
  /external/webkit/Source/WebCore/bindings/js/
DOMWrapperWorld.cpp 34 JSDOMWrapper* wrapper = static_cast<JSDOMWrapper*>(handle.get().asCell());
46 static_cast<WebCoreJSClientData*>(clientData)->rememberWorld(this);
53 static_cast<WebCoreJSClientData*>(clientData)->forgetWorld(this);
74 return static_cast<WebCoreJSClientData*>(clientData)->normalWorld();
  /external/webkit/Source/WebCore/css/
CSSImageValue.cpp 48 static_cast<StyleCachedImage*>(m_image.get())->cachedImage()->removeClient(this);
80 return (m_image && m_image->isCachedImage()) ? static_cast<StyleCachedImage*>(m_image.get()) : 0;
87 return static_cast<StyleCachedImage*>(m_image.get())->cachedImage()->url();
93 static_cast<StyleCachedImage*>(m_image.get())->cachedImage()->removeClient(this);
  /external/webkit/Source/WebCore/loader/
ThreadableLoader.cpp 50 return WorkerThreadableLoader::create(static_cast<WorkerContext*>(context), client, WorkerRunLoop::defaultMode(), request, options);
54 return DocumentThreadableLoader::create(static_cast<Document*>(context), client, request, options);
63 WorkerThreadableLoader::loadResourceSynchronously(static_cast<WorkerContext*>(context), request, client, options);
69 DocumentThreadableLoader::loadResourceSynchronously(static_cast<Document*>(context), request, client, options);
  /external/webkit/Source/WebCore/platform/graphics/haiku/
GradientHaiku.cpp 58 color.red = static_cast<uint8>(stop.red * 255);
59 color.green = static_cast<uint8>(stop.green * 255);
60 color.blue = static_cast<uint8>(stop.blue * 255);
61 color.alpha = static_cast<uint8>(stop.alpha * 255);

Completed in 853 milliseconds

1 2 3 4 5 6 7 891011>>