HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 301 - 325 of 12288) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
RenderSVGResourceRadialGradient.cpp 45 return static_cast<SVGRadialGradientElement*>(gradientElement)->collectGradientAttributes(m_attributes);
50 return SVGLengthContext::resolvePoint(static_cast<const SVGElement*>(node()), attributes.gradientUnits(), attributes.cx(), attributes.cy());
55 return SVGLengthContext::resolvePoint(static_cast<const SVGElement*>(node()), attributes.gradientUnits(), attributes.fx(), attributes.fy());
60 return SVGLengthContext::resolveLength(static_cast<const SVGElement*>(node()), attributes.gradientUnits(), attributes.r());
65 return SVGLengthContext::resolveLength(static_cast<const SVGElement*>(node()), attributes.gradientUnits(), attributes.fr());
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
frametovalues.cpp 31 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
32 unsigned char* grayPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(grayBuffer));
48 *(grayPtr+idx) = static_cast<unsigned char>(gray);
57 unsigned char* pixelPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
58 unsigned char* rgbPtr = static_cast<unsigned char*>(env->GetDirectBufferAddress(rgbBuffer));
histogram.cpp 34 int bin = clamp(0, static_cast<int>(static_cast<float>(i * numBins) / 255.0f), numBins - 1);
41 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
42 int* pHist = static_cast<int*>(env->GetDirectBufferAddress(histogramBuffer));
48 pMask = static_cast<unsigned char*>(env->GetDirectBufferAddress(maskBuffer));
73 unsigned char* pixelIn = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
74 float* histOut = static_cast<float*>(env->GetDirectBufferAddress(histogramBuffer));
88 int index = static_cast<int>(s * sScaler) * hBins + static_cast<int>(h * hScaler);
97 unsigned char* pixelIn = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/
launch.pass.cpp 25 static_assert(static_cast<int>(std::launch::any) ==
26 (static_cast<int>(std::launch::async) | static_cast<int>(std::launch::deferred)), "");
41 static_assert(static_cast<int>(std::launch::async) == 1, "");
42 static_assert(static_cast<int>(std::launch::deferred) == 2, "");
  /external/chromium/net/disk_cache/
file_win.cc 46 actual_bytes = static_cast<DWORD>(net::ERR_CACHE_READ_FAILURE);
51 data->callback_->OnFileIOComplete(static_cast<int>(actual_bytes));
60 context_.overlapped.Offset = static_cast<DWORD>(offset);
128 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
134 DWORD size = static_cast<DWORD>(buffer_len);
145 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
151 DWORD size = static_cast<DWORD>(buffer_len);
173 DWORD size = static_cast<DWORD>(buffer_len);
213 DWORD size = static_cast<DWORD>(buffer_len);
237 DWORD size = static_cast<DWORD>(length)
    [all...]
  /external/chromium_org/chrome/browser/ui/views/frame/
browser_non_client_frame_view_ash_browsertest.cc 29 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window());
33 static_cast<BrowserNonClientFrameViewAsh*>(
65 static_cast<BrowserView*>(popup->window())->GetWidget();
67 static_cast<BrowserNonClientFrameViewAsh*>(
75 static_cast<BrowserView*>(app->window())->GetWidget();
77 static_cast<BrowserNonClientFrameViewAsh*>(
88 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window());
93 static_cast<BrowserNonClientFrameViewAsh*>(
135 BrowserView* browser_view = static_cast<BrowserView*>(browser()->window());
139 static_cast<BrowserNonClientFrameViewAsh*>
    [all...]
  /external/chromium_org/net/disk_cache/
file_win.cc 49 actual_bytes = static_cast<DWORD>(net::ERR_CACHE_READ_FAILURE);
54 data->callback_->OnFileIOComplete(static_cast<int>(actual_bytes));
63 context_.overlapped.Offset = static_cast<DWORD>(offset);
131 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
137 DWORD size = static_cast<DWORD>(buffer_len);
148 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset),
154 DWORD size = static_cast<DWORD>(buffer_len);
176 DWORD size = static_cast<DWORD>(buffer_len);
216 DWORD size = static_cast<DWORD>(buffer_len);
240 DWORD size = static_cast<DWORD>(length)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGPathSegListSource.cpp 48 pathSegType = static_cast<SVGPathSegType>(m_segment->pathSegType());
56 SVGPathSegType pathSegType = static_cast<SVGPathSegType>(m_segment->pathSegType());
65 SVGPathSegSingleCoordinate* moveTo = static_cast<SVGPathSegSingleCoordinate*>(m_segment.get());
74 SVGPathSegSingleCoordinate* lineTo = static_cast<SVGPathSegSingleCoordinate*>(m_segment.get());
83 SVGPathSegLinetoHorizontal* horizontal = static_cast<SVGPathSegLinetoHorizontal*>(m_segment.get());
92 SVGPathSegLinetoVertical* vertical = static_cast<SVGPathSegLinetoVertical*>(m_segment.get());
101 SVGPathSegCurvetoCubic* cubic = static_cast<SVGPathSegCurvetoCubic*>(m_segment.get());
112 SVGPathSegCurvetoCubicSmooth* cubicSmooth = static_cast<SVGPathSegCurvetoCubicSmooth*>(m_segment.get());
122 SVGPathSegCurvetoQuadratic* quadratic = static_cast<SVGPathSegCurvetoQuadratic*>(m_segment.get());
132 SVGPathSegSingleCoordinate* quadraticSmooth = static_cast<SVGPathSegSingleCoordinate*>(m_segment.get())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
GamepadController.cpp 76 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap))
94 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap))
112 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap))
130 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap))
133 if (buttons < 0 || buttons >= static_cast<int>(WebKit::WebGamepad::buttonsLengthCap))
147 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap))
150 if (button < 0 || button >= static_cast<int>(WebKit::WebGamepad::buttonsLengthCap))
165 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap))
168 if (axes < 0 || axes >= static_cast<int>(WebKit::WebGamepad::axesLengthCap))
182 if (index < 0 || index >= static_cast<int>(WebKit::WebGamepads::itemsLengthCap)
    [all...]
  /external/llvm/lib/Support/Windows/
RWMutex.inc 81 fpInitializeSRWLock(static_cast<PSRWLOCK>(data_));
84 InitializeCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
92 DeleteCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
99 fpAcquireSRWLockShared(static_cast<PSRWLOCK>(data_));
101 EnterCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
108 fpReleaseSRWLockShared(static_cast<PSRWLOCK>(data_));
110 LeaveCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
117 fpAcquireSRWLockExclusive(static_cast<PSRWLOCK>(data_));
119 EnterCriticalSection(static_cast<LPCRITICAL_SECTION>(data_));
126 fpReleaseSRWLockExclusive(static_cast<PSRWLOCK>(data_))
    [all...]
  /external/chromium/base/
atomicops_internals_x86_msvc.h 21 static_cast<LONG>(new_value),
22 static_cast<LONG>(old_value));
23 return static_cast<Atomic32>(result);
30 static_cast<LONG>(new_value));
31 return static_cast<Atomic32>(result);
38 static_cast<LONG>(increment)) + increment;
121 static_cast<LONGLONG>(increment)) + increment;
  /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/chromium_org/ash/desktop_background/
wallpaper_resizer.cc 23 return static_cast<int>(floor(x + 0.5));
64 double horizontal_ratio = static_cast<double>(new_width) /
65 static_cast<double>(orig_width);
66 double vertical_ratio = static_cast<double>(new_height) /
67 static_cast<double>(orig_height);
71 RoundPositive(static_cast<double>(new_width) / vertical_ratio),
75 static_cast<double>(new_height) / horizontal_ratio));
  /external/chromium_org/base/android/
jni_array_unittest.cc 38 ASSERT_EQ(static_cast<jsize>(len), java_array_len);
67 jint j = static_cast<jint>(kInts[i]);
75 ASSERT_EQ(static_cast<jsize>(ints.size()), env->GetArrayLength(jints.obj()));
93 jfloat j = static_cast<jfloat>(kFloats[i]);
101 ASSERT_EQ(static_cast<jsize>(floats.size()),
129 static_cast<size_t>(strlen(text)));
140 EXPECT_EQ(static_cast<size_t>(kMaxItems), vec.size());
  /external/chromium_org/content/browser/speech/endpointer/
endpointer.cc 26 frame_size_ = static_cast<int>(sample_rate / static_cast<float>(kFrameRate));
29 static_cast<int64>(1.7 * Time::kMicrosecondsPerSecond);
31 static_cast<int64>(0.5 * Time::kMicrosecondsPerSecond);
39 ep_config.set_frame_period(1.0f / static_cast<float>(kFrameRate));
40 ep_config.set_frame_duration(1.0f / static_cast<float>(kFrameRate));
52 ep_config.set_sample_rate(static_cast<float>(sample_rate));
  /external/chromium_org/third_party/WebKit/Source/core/animation/
AnimatableNumberTest.cpp 125 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_NUMBER).get()));
126 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_PX).get()));
127 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_CM).get()));
128 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_MM).get()));
129 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_IN).get()));
130 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_PT).get()));
131 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_PC).get()));
132 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_EMS).get()));
133 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_EXS).get()));
134 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_REMS).get()))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
InspectorCSSOMWrappers.cpp 68 collect(static_cast<CSSImportRule*>(cssRule)->styleSheet());
71 collect(static_cast<CSSMediaRule*>(cssRule));
74 collect(static_cast<CSSSupportsRule*>(cssRule));
77 collect(static_cast<CSSRegionRule*>(cssRule));
80 collect(static_cast<CSSHostRule*>(cssRule));
83 m_styleRuleToCSSOMWrapperMap.add(static_cast<CSSStyleRule*>(cssRule)->styleRule(), static_cast<CSSStyleRule*>(cssRule));
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DataTransferItemFileSystem.cpp 54 DataTransferItemPolicyWrapper* itemPolicyWrapper = static_cast<DataTransferItemPolicyWrapper*>(item);
57 return adoptRef(static_cast<Entry*>(0));
63 return adoptRef(static_cast<Entry*>(0));
70 return adoptRef(static_cast<Entry*>(0));
81 return adoptRef(static_cast<Entry*>(0));
84 return static_cast<Entry*>(DirectoryEntry::create(domFileSystem, virtualPath).get());
85 return static_cast<Entry*>(FileEntry::create(domFileSystem, virtualPath).get());
  /external/chromium_org/third_party/WebKit/Source/web/
WebCache.cpp 45 to.count = static_cast<size_t>(from.count);
46 to.size = static_cast<size_t>(from.size);
47 to.liveSize = static_cast<size_t>(from.liveSize);
48 to.decodedSize = static_cast<size_t>(from.decodedSize);
56 cache->setCapacities(static_cast<unsigned int>(minDeadCapacity),
57 static_cast<unsigned int>(maxDeadCapacity),
58 static_cast<unsigned int>(capacity));
  /external/chromium_org/third_party/libjingle/source/talk/base/
timing.cc 71 return (static_cast<double>(time.tv_sec) +
72 static_cast<double>(time.tv_usec) * 1.0e-6);
78 return (static_cast<double>(time.time) +
79 static_cast<double>(time.millitm) * 1.0e-3);
84 return (static_cast<double>(TimeNanos()) / kNumNanosecsPerSec);
100 ts.tv_sec = static_cast<time_t>(sec_int);
101 ts.tv_nsec = static_cast<long>(sec_frac * 1.0e9); // NOLINT
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
atomicops_internals_x86_msvc.cc 57 static_cast<LONG>(new_value),
58 static_cast<LONG>(old_value));
59 return static_cast<Atomic32>(result);
66 static_cast<LONG>(new_value));
67 return static_cast<Atomic32>(result);
74 static_cast<LONG>(increment)) + increment;
102 static_cast<LONGLONG>(increment)) + increment;
  /external/clang/test/CodeGenCXX/
devirtualize-virtual-function-calls-final.cpp 49 return static_cast<B*>(v)->f();
65 static_cast<A*>(d)->f();
88 static_cast<A*>(d)->f();
111 static_cast<A*>(d)->~A();
136 return static_cast<bar*>(z)->f();
151 return static_cast<B*>(c)->foo();
185 return static_cast<RA*>(x)->f();
  /external/eigen/test/
diagonal.cpp 49 VERIFY_IS_APPROX(m2.template diagonal<N1>(), static_cast<Scalar>(2) * m1.diagonal(N1));
51 VERIFY_IS_APPROX(m2.template diagonal<N1>()[0], static_cast<Scalar>(6) * m1.template diagonal<N1>()[0]);
56 VERIFY_IS_APPROX(m2.template diagonal<N2>()[0], static_cast<Scalar>(6) * m1.template diagonal<N2>()[0]);
59 VERIFY_IS_APPROX(m2.diagonal<N1>(), static_cast<Scalar>(2) * m1.diagonal(N1));
61 VERIFY_IS_APPROX(m2.diagonal(N1)[0], static_cast<Scalar>(6) * m1.diagonal(N1)[0]);
64 VERIFY_IS_APPROX(m2.diagonal<N2>(), static_cast<Scalar>(2) * m1.diagonal(N2));
66 VERIFY_IS_APPROX(m2.diagonal(N2)[0], static_cast<Scalar>(6) * m1.diagonal(N2)[0]);
  /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/chromium_org/content/renderer/pepper/
event_conversion.cc 45 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_SHIFTKEY) ==
46 static_cast<int>(WebInputEvent::ShiftKey), member in namespace:content::__anon10443
48 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_CONTROLKEY) ==
49 static_cast<int>(WebInputEvent::ControlKey), member in namespace:content::__anon10443
51 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ALTKEY) ==
52 static_cast<int>(WebInputEvent::AltKey), member in namespace:content::__anon10443
54 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_METAKEY) ==
55 static_cast<int>(WebInputEvent::MetaKey), member in namespace:content::__anon10443
57 COMPILE_ASSERT(static_cast<int>(PP_INPUTEVENT_MODIFIER_ISKEYPAD) ==
58 static_cast<int>(WebInputEvent::IsKeyPad) member in namespace:content::__anon10443
61 static_cast<int>(WebInputEvent::IsAutoRepeat), member in namespace:content::__anon10443
64 static_cast<int>(WebInputEvent::LeftButtonDown), member in namespace:content::__anon10443
67 static_cast<int>(WebInputEvent::MiddleButtonDown), member in namespace:content::__anon10443
70 static_cast<int>(WebInputEvent::RightButtonDown), member in namespace:content::__anon10443
73 static_cast<int>(WebInputEvent::CapsLockOn), member in namespace:content::__anon10443
76 static_cast<int>(WebInputEvent::NumLockOn), member in namespace:content::__anon10443
79 static_cast<int>(WebInputEvent::IsLeft), member in namespace:content::__anon10443
82 static_cast<int>(WebInputEvent::IsRight), member in namespace:content::__anon10443
    [all...]

Completed in 1200 milliseconds

<<11121314151617181920>>