HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 76 - 100 of 12304) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/third_party/libjingle/source/talk/media/base/
videoframe.cc 90 int32 src_width = static_cast<int>(GetWidth());
91 int32 src_height = static_cast<int>(GetHeight());
150 int32 iheight_offset = static_cast<int32>(
164 static_cast<int>(src_width), static_cast<int>(src_height),
166 static_cast<int>(width), static_cast<int>(height), interpolate);
184 static_cast<int32>(dst_width),
185 static_cast<int32>((dst_width + 1) >> 1),
186 static_cast<int32>((dst_width + 1) >> 1)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
colorspace.cpp 48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v));
49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v));
50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u));
58 uint8* const pInput = static_cast<uint8*>(env->GetDirectBufferAddress(input));
59 Rgba* const pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output));
100 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
101 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output));
115 Rgba* pInput = static_cast<Rgba*>(env->GetDirectBufferAddress(input));
116 Rgba* pOutput = static_cast<Rgba*>(env->GetDirectBufferAddress(output));
139 h = (g > b) ? static_cast<int>(scaler * (g - b) / delta)
    [all...]
stats_scorer.cpp 27 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
33 float val = static_cast<float>(pImg[i]);
47 unsigned char* pImg = static_cast<unsigned char*>(env->GetDirectBufferAddress(imageBuffer));
48 int xStart = static_cast<int>(width * left);
49 int xEnd = static_cast<int>(width * right);
50 int yStart = static_cast<int>(height * top);
51 int yEnd = static_cast<int>(height * bottom);
59 float val = static_cast<float>(*(pImg + disp + x));
  /external/chromium/crypto/
secure_hash_default.cc 25 SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len);
29 SHA256_End(&ctx_, static_cast<unsigned char*>(output), NULL,
30 static_cast<unsigned int>(len));
  /external/chromium_org/cc/animation/
animation_curve.cc 13 return static_cast<const FloatAnimationCurve*>(this);
23 return static_cast<const TransformAnimationCurve*>(this);
32 return static_cast<const FilterAnimationCurve*>(this);
  /external/chromium_org/ui/gfx/
skia_utils_gtk.cc 25 static_cast<guint16>(SkColorGetR(color) * kSkiaToGDKMultiplier),
26 static_cast<guint16>(SkColorGetG(color) * kSkiaToGDKMultiplier),
27 static_cast<guint16>(SkColorGetB(color) * kSkiaToGDKMultiplier)
  /external/clang/test/SemaCXX/
dependent-noexcept-unevaluated.cpp 16 T tmp(static_cast<T&&>(x));
17 x = static_cast<T&&>(y);
18 y = static_cast<T&&>(tmp);
invalid-instantiated-field-decl.cpp 18 MinUs = (static_cast<unsigned int>(sizeof(T))*N + // expected-error {{invalid application of 'sizeof' to an incomplete type 'CallSite'}}
19 static_cast<unsigned int>(sizeof(U)) - 1) /
20 static_cast<unsigned int>(sizeof(U)),
cxx11-inheriting-ctors.cpp 13 noexcept(noexcept(T(X(), static_cast<A &&>(a))))
14 : T(X(), static_cast<A &&>(a)) {}
  /external/llvm/unittests/Support/
SwapByteOrderTest.cpp 28 uint8_t origional_uint8 = static_cast<uint8_t>(value);
32 uint16_t origional_uint16 = static_cast<uint16_t>(value);
36 uint32_t origional_uint32 = static_cast<uint32_t>(value);
40 uint64_t origional_uint64 = static_cast<uint64_t>(value);
53 int8_t origional_int8 = static_cast<int8_t>(value);
57 int16_t origional_int16 = static_cast<int16_t>(value);
61 int32_t origional_int32 = static_cast<int32_t>(value);
65 int64_t origional_int64 = static_cast<int64_t>(value);
72 origional_int8 = static_cast<int8_t>(value);
76 origional_int16 = static_cast<int16_t>(value)
    [all...]
  /external/chromium/base/
fix_wp64.h 23 return reinterpret_cast<void*>(static_cast<LONG_PTR>(InterlockedExchange(
25 static_cast<LONG>(reinterpret_cast<LONG_PTR>(value)))));
35 return ::SetWindowLongA(window, index, static_cast<LONG>(new_long));
42 return ::SetWindowLongW(window, index, static_cast<LONG>(new_long));
63 return ::SetClassLongA(window, index, static_cast<LONG>(new_long));
70 return ::SetClassLongW(window, index, static_cast<LONG>(new_long));
  /external/chromium_org/gpu/command_buffer/tests/
gl_texture_mailbox_unittests.cc 40 EXPECT_EQ(static_cast<GLenum>(GL_FRAMEBUFFER_COMPLETE),
135 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
137 EXPECT_EQ(static_cast<GLenum>(GL_INVALID_OPERATION), glGetError());
140 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
142 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
164 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
166 EXPECT_EQ(static_cast<GLenum>(GL_INVALID_OPERATION), glGetError());
169 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
171 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError());
193 EXPECT_EQ(static_cast<GLenum>(GL_NO_ERROR), glGetError())
    [all...]
  /external/chromium_org/third_party/ots/include/
ots-memory-stream.h 26 std::memcpy(static_cast<char*>(ptr_) + off_, data, length);
33 if (static_cast<size_t>(position) > length_) return false;
56 delete[] static_cast<uint8_t*>(ptr_);
76 delete[] static_cast<uint8_t*>(ptr_);
80 std::memcpy(static_cast<char*>(ptr_) + off_, data, length);
87 if (static_cast<size_t>(position) > length_) return false;
  /external/chromium_org/content/browser/browser_plugin/
browser_plugin_popup_menu_helper_mac.mm 15 embedder_rvh_(static_cast<RenderViewHostImpl*>(embedder_rvh)) {
20 return static_cast<RenderWidgetHostViewMac*>(embedder_rvh_->GetView());
  /external/chromium_org/net/base/
int128.cc 10 static_cast<uint64>(GG_LONGLONG(0xFFFFFFFFFFFFFFFF)),
11 static_cast<uint64>(GG_LONGLONG(0xFFFFFFFFFFFFFFFF))
  /external/chromium_org/ppapi/shared_impl/
platform_file.cc 13 return reinterpret_cast<HANDLE>(static_cast<intptr_t>(handle));
23 return static_cast<int32_t>(reinterpret_cast<intptr_t>(handle));
  /external/chromium_org/third_party/icu/source/i18n/
bms.cpp 19 #define STATIC_CAST(type,value) static_cast<type>(value)
22 #define STATIC_CAST(type,value) (type) (value)
31 return STATIC_CAST(UCD *, CollData::open(coll, *status));
37 CollData *data = STATIC_CAST(CollData *, ucd);
45 CollData *data = STATIC_CAST(CollData *, ucd);
74 BMS *bms = STATIC_CAST(BMS *, uprv_malloc(sizeof(BMS)));
124 return STATIC_CAST(UCD *, bms->bms->getData());
  /external/clang/test/Analysis/
enum.cpp 14 Foo f = static_cast<Foo>(i);
15 int j = static_cast<int>(f);
  /external/sfntly/cpp/src/sfntly/table/
table.cc 85 builder_raw = static_cast<Table::Builder*>(
89 builder_raw = static_cast<Table::Builder*>(
93 builder_raw = static_cast<Table::Builder*>(
96 builder_raw = static_cast<Table::Builder*>(
99 builder_raw = static_cast<Table::Builder*>(
102 builder_raw = static_cast<Table::Builder*>(
105 builder_raw = static_cast<Table::Builder*>(
108 builder_raw = static_cast<Table::Builder*>(
111 builder_raw = static_cast<Table::Builder*>(
114 builder_raw = static_cast<Table::Builder*>
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/pat_trie_/
find_fn_imps.hpp 55 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key))
80 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
109 node_pointer p_next_nd = static_cast<internal_node_pointer>(p_nd)->get_child_node(b_it, e_it, this);
140 if (!synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
149 static_cast<internal_node_pointer>(p_nd)->get_e_ind();
152 static_cast<internal_node_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this);
212 return (synth_e_access_traits::begin(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
215 return static_cast<const_internal_node_pointer>(p_nd)->pref_b_it();
224 return (synth_e_access_traits::end(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
227 return static_cast<const_internal_node_pointer>(p_nd)->pref_e_it()
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/
find_fn_imps.hpp 55 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key))
80 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
109 node_pointer p_next_nd = static_cast<internal_node_pointer>(p_nd)->get_child_node(b_it, e_it, this);
140 if (!synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
149 static_cast<internal_node_pointer>(p_nd)->get_e_ind();
152 static_cast<internal_node_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this);
212 return (synth_e_access_traits::begin(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
215 return static_cast<const_internal_node_pointer>(p_nd)->pref_b_it();
224 return (synth_e_access_traits::end(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
227 return static_cast<const_internal_node_pointer>(p_nd)->pref_e_it()
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/pat_trie_/
find_fn_imps.hpp 55 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key))
80 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
109 node_pointer p_next_nd = static_cast<internal_node_pointer>(p_nd)->get_child_node(b_it, e_it, this);
140 if (!synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
149 static_cast<internal_node_pointer>(p_nd)->get_e_ind();
152 static_cast<internal_node_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this);
212 return (synth_e_access_traits::begin(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
215 return static_cast<const_internal_node_pointer>(p_nd)->pref_b_it();
224 return (synth_e_access_traits::end(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
227 return static_cast<const_internal_node_pointer>(p_nd)->pref_e_it()
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
find_fn_imps.hpp 55 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key))
80 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
109 node_pointer p_next_nd = static_cast<internal_node_pointer>(p_nd)->get_child_node(b_it, e_it, this);
140 if (!synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
149 static_cast<internal_node_pointer>(p_nd)->get_e_ind();
152 static_cast<internal_node_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this);
212 return (synth_e_access_traits::begin(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
215 return static_cast<const_internal_node_pointer>(p_nd)->pref_b_it();
224 return (synth_e_access_traits::end(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
227 return static_cast<const_internal_node_pointer>(p_nd)->pref_e_it()
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
find_fn_imps.hpp 55 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key))
80 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
109 node_pointer p_next_nd = static_cast<internal_node_pointer>(p_nd)->get_child_node(b_it, e_it, this);
140 if (!synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
149 static_cast<internal_node_pointer>(p_nd)->get_e_ind();
152 static_cast<internal_node_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this);
212 return (synth_e_access_traits::begin(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
215 return static_cast<const_internal_node_pointer>(p_nd)->pref_b_it();
224 return (synth_e_access_traits::end(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
227 return static_cast<const_internal_node_pointer>(p_nd)->pref_e_it()
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/pat_trie_/
find_fn_imps.hpp 55 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key))
80 if (synth_e_access_traits::equal_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
109 node_pointer p_next_nd = static_cast<internal_node_pointer>(p_nd)->get_child_node(b_it, e_it, this);
140 if (!synth_e_access_traits::cmp_keys(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value()), r_key))
149 static_cast<internal_node_pointer>(p_nd)->get_e_ind();
152 static_cast<internal_node_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this);
212 return (synth_e_access_traits::begin(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
215 return static_cast<const_internal_node_pointer>(p_nd)->pref_b_it();
224 return (synth_e_access_traits::end(PB_DS_V2F(static_cast<const_leaf_pointer>(p_nd)->value())));
227 return static_cast<const_internal_node_pointer>(p_nd)->pref_e_it()
    [all...]

Completed in 999 milliseconds

1 2 34 5 6 7 8 91011>>