/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/pat_trie_/ |
find_fn_imps.hpp | 55 if (synth_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_pointer>(p_nd)->value()), r_key)) 80 if (synth_access_traits::equal_keys(PB_DS_V2F(static_cast<leaf_const_pointer>(p_nd)->value()), r_key)) 109 node_pointer p_next_nd = static_cast<inode_pointer>(p_nd)->get_child_node(b_it, e_it, this); 140 if (!synth_access_traits::cmp_keys(PB_DS_V2F(static_cast<leaf_const_pointer>(p_nd)->value()), r_key)) 149 static_cast<inode_pointer>(p_nd)->get_e_ind(); 152 static_cast<inode_pointer>(p_nd)->get_lower_bound_child_node( b_it, e_it, checked_ind, this); 212 return (synth_access_traits::begin(PB_DS_V2F(static_cast<leaf_const_pointer>(p_nd)->value()))); 215 return static_cast<inode_const_pointer>(p_nd)->pref_b_it(); 224 return (synth_access_traits::end(PB_DS_V2F(static_cast<leaf_const_pointer>(p_nd)->value()))); 227 return static_cast<inode_const_pointer>(p_nd)->pref_e_it() [all...] |
/bionic/tests/ |
uchar_test.cpp | 52 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(NULL, "\xc2", 1, &ps)); 53 EXPECT_EQ(static_cast<size_t>(-1), c32rtomb(out, 0x00a2, &ps)); 59 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(NULL, "\xc2", 1, &ps)); 64 EXPECT_EQ(static_cast<size_t>(-2), mbrtoc32(NULL, "\xf0\xa4", 1, &ps)); 142 EXPECT_EQ(static_cast<size_t>(-1), c16rtomb(bytes, 0xdfcd, NULL)); 145 EXPECT_EQ(static_cast<size_t>(-1), c16rtomb(bytes, 0xdbea, NULL)); 188 ASSERT_EQ(static_cast<char16_t>(0x00a2), out); 191 ASSERT_EQ(static_cast<char16_t>(0x20ac), out); 201 ASSERT_EQ(static_cast<size_t>(-3), 203 ASSERT_EQ(static_cast<char16_t>(0xdbea), out) [all...] |
/frameworks/av/media/libmedia/ |
IAudioPolicyService.cpp | 99 data.writeInt32(static_cast <uint32_t>(device)); 100 data.writeInt32(static_cast <uint32_t>(state)); 104 return static_cast <status_t> (reply.readInt32()); 113 data.writeInt32(static_cast <uint32_t>(device)); 116 return static_cast <audio_policy_dev_state_t>(reply.readInt32()); 125 return static_cast <status_t> (reply.readInt32()); 132 data.writeInt32(static_cast <uint32_t>(usage)); 133 data.writeInt32(static_cast <uint32_t>(config)); 135 return static_cast <status_t> (reply.readInt32()); 142 data.writeInt32(static_cast <uint32_t>(usage)) [all...] |
/art/runtime/base/ |
casts.h | 31 // Use implicit_cast as a safe version of static_cast or const_cast 41 // implicit_cast is the same as for static_cast etc.: 56 // type Foo to type SubclassOfFoo), static_cast<> isn't safe, because 61 // if it's not). In normal mode, we do the efficient static_cast<> 76 return static_cast<To>(f); 89 // A version of static_cast that DCHECKs that the value can be precisely represented 95 (static_cast<intmax_t>(std::numeric_limits<Dest>::min()) <= 96 static_cast<intmax_t>(std::numeric_limits<Source>::min()) || 97 source >= static_cast<Source>(std::numeric_limits<Dest>::min())) && 99 (static_cast<uintmax_t>(std::numeric_limits<Dest>::max()) > [all...] |
/external/opencv3/modules/imgproc/perf/ |
perf_warp.cpp | 111 int shift = static_cast<int>(src.cols*0.04); 113 Vec2f(static_cast<float>(size.width-1), 0), 114 Vec2f(static_cast<float>(size.width-1), static_cast<float>(size.height-1)), 115 Vec2f(0, static_cast<float>(size.height-1))); 116 Mat dstVertices = (Mat_<Vec2f>(1, 4) << Vec2f(0, static_cast<float>(shift)), 117 Vec2f(static_cast<float>(size.width-shift/2), 0), 118 Vec2f(static_cast<float>(size.width-shift), static_cast<float>(size.height-shift)), 119 Vec2f(static_cast<float>(shift/2), static_cast<float>(size.height-1))) [all...] |
/external/webrtc/webrtc/modules/video_processing/ |
content_analysis.cc | 177 static_cast<uint32_t>(abs((int16_t)(currPixel - prevPixel))); 178 pixelSum += static_cast<uint32_t>(currPixel); 179 pixelSqSum += static_cast<uint64_t>(currPixel * currPixel); 191 static_cast<float>(tempDiffSum) / static_cast<float>(num_pixels); 193 static_cast<float>(pixelSum) / static_cast<float>(num_pixels); 195 static_cast<float>(pixelSqSum) / static_cast<float>(num_pixels); 242 spatialErrSum += static_cast<uint32_t>(abs(static_cast<int16_t> [all...] |
/frameworks/compile/mclinker/lib/Support/ |
LEB128.cpp | 38 *pBuf++ = static_cast<ByteType>(pValue); 41 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 42 *pBuf++ = static_cast<ByteType>((pValue >> 7) & 0x7f); 45 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 46 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); 47 *pBuf++ = static_cast<ByteType>((pValue >> 14) & 0x7f); 50 *pBuf++ = static_cast<ByteType>((pValue & 0x7f) | 0x80); 51 *pBuf++ = static_cast<ByteType>(((pValue >> 7) & 0x7f) | 0x80); 52 *pBuf++ = static_cast<ByteType>(((pValue >> 14) & 0x7f) | 0x80); 53 *pBuf++ = static_cast<ByteType>((pValue >> 21) & 0x7f) [all...] |
/external/webrtc/talk/media/base/ |
videoframe.cc | 107 int32_t src_width = static_cast<int>(GetWidth()); 108 int32_t src_height = static_cast<int>(GetHeight()); 140 stride_rgb, static_cast<int>(GetWidth()), 141 static_cast<int>(GetHeight()), to_fourcc)) { 187 static_cast<int32_t>((GetHeight() - src_height) >> 2); 198 static_cast<int>(src_width), static_cast<int>(src_height), 200 static_cast<int>(width), static_cast<int>(height), interpolate); 221 VideoFrame* dest = CreateEmptyFrame(static_cast<int>(dst_width) [all...] |
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/ |
p7-0x-fixits.cpp | 12 // CHECK: fix-it:{{.*}}:26}:"static_cast<char>(" 16 // CHECK: fix-it:{{.*}}:30}:"static_cast<int16_t>(" 30 // FIXME: This should be static_cast<T>. 31 // CHECK: fix-it:{{.*}}"static_cast<char>("
|
/external/clang/test/FixIt/ |
messages.cpp | 12 // CHECK: static_cast<unsigned int>( )
|
/external/clang/test/SemaCXX/ |
warn-cast-align.cpp | 8 a = static_cast<char*>(P); 29 a = static_cast<char*>(P); 35 b = static_cast<short*>(P); 41 c = static_cast<int*>(P);
|
/external/clang/test/SemaObjCXX/ |
contextual-convert-to-id.mm | 29 (void)static_cast<A*>(a); 30 (void)static_cast<A*>(b); // expected-error{{cannot convert 'RetainPtr<B>' to 'A *' without a conversion operator}} 31 (void)static_cast<A*>(c); 51 (void)static_cast<A*>(a);
|
/external/deqp/framework/platform/android/ |
tcuAndroidNativeActivity.cpp | 31 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStart(); 36 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onResume(); 41 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onSaveInstanceState(outSize); 46 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onPause(); 51 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStop(); 56 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onDestroy(); 61 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onWindowFocusChanged(hasFocus); 66 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowCreated(window); 71 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowResized(window); 76 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowRedrawNeeded(window) [all...] |
/external/libchrome/base/ |
guid_posix.cc | 37 static_cast<unsigned int>(bytes[0] >> 32), 38 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff), 39 static_cast<unsigned int>(bytes[0] & 0x0000ffff), 40 static_cast<unsigned int>(bytes[1] >> 48),
|
/external/libcxx/test/std/thread/futures/futures.overview/ |
future_errc.pass.cpp | 26 static_assert(static_cast<int>(std::future_errc::future_already_retrieved) == 1, ""); 27 static_assert(static_cast<int>(std::future_errc::promise_already_satisfied) == 2, ""); 28 static_assert(static_cast<int>(std::future_errc::no_state) == 3, ""); 29 static_assert(static_cast<int>(std::future_errc::broken_promise) == 4, "");
|
/external/libweave/third_party/chromium/base/ |
guid_posix.cc | 37 static_cast<unsigned int>(bytes[0] >> 32), 38 static_cast<unsigned int>((bytes[0] >> 16) & 0x0000ffff), 39 static_cast<unsigned int>(bytes[0] & 0x0000ffff), 40 static_cast<unsigned int>(bytes[1] >> 48),
|
/external/pdfium/xfa/src/fwl/src/lightwidget/ |
caret.cpp | 31 return static_cast<IFWL_Caret*>(m_pIface)->ShowCaret(bFlag);
34 return static_cast<IFWL_Caret*>(m_pIface)->GetFrequency(elapse);
37 return static_cast<IFWL_Caret*>(m_pIface)->SetFrequency(elapse);
40 return static_cast<IFWL_Caret*>(m_pIface)->SetColor(crFill);
|
/external/skia/tests/ |
Time.cpp | 23 static_cast<unsigned>(dateTime.fYear), 24 static_cast<unsigned>(kMinimumSaneYear)); 29 static_cast<unsigned>(dateTime.fYear), 30 static_cast<unsigned>(kMaximumSaneYear));
|
/external/v8/src/snapshot/ |
snapshot-source-sink.cc | 30 Put(static_cast<int>(integer & 0xff), "IntPart1"); 31 if (bytes > 1) Put(static_cast<int>((integer >> 8) & 0xff), "IntPart2"); 32 if (bytes > 2) Put(static_cast<int>((integer >> 16) & 0xff), "IntPart3"); 33 if (bytes > 3) Put(static_cast<int>((integer >> 24) & 0xff), "IntPart4");
|
/external/v8/test/unittests/wasm/ |
encoder-unittest.cc | 27 f->EmitCode(&code[0], static_cast<uint32_t>(code.size()), local_indices, 1); 67 byte code[] = {kExprGetLocal, static_cast<uint8_t>(param_float32)}; 70 code[1] = static_cast<uint8_t>(param_int32); 72 code[1] = static_cast<uint8_t>(local_int32); 74 code[1] = static_cast<uint8_t>(local_int32_2); 76 code[1] = static_cast<uint8_t>(local_int64); 78 code[1] = static_cast<uint8_t>(local_float32); 80 code[1] = static_cast<uint8_t>(local_float64); 90 CHECK_EQ(i, static_cast<size_t>(*(buffer + 2 * i + f->HeaderSize() + 1))); 113 CHECK_EQ(kExprGetLocal, static_cast<size_t>(*(body + 2 * i))) [all...] |
/external/webrtc/webrtc/common_audio/ |
real_fourier.cc | 34 return WebRtcSpl_GetSizeInBits(static_cast<uint32_t>(length - 1)); 39 return static_cast<size_t>(1 << order); 47 return fft_real_scoper(static_cast<float*>( 52 return fft_cplx_scoper(static_cast<complex<float>*>(
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
Stream.cpp | 28 mPolicySubsystem(static_cast<const PolicySubsystem *>( 32 mId = static_cast<audio_stream_type_t>(context.getItemAsInteger(MappingKeyIdentifier)); 44 static_cast<routing_strategy>(params.strategy)); 47 static_cast<audio_stream_type_t>(params.volumeProfile));
|
/frameworks/native/opengl/tools/glgen/stubs/egl/ |
eglGetDisplay.cpp | 17 if (static_cast<uintptr_t>(display_id) !=
|
/libcore/luni/src/test/native/ |
libcore_util_NativeAllocationRegistryTest.cpp | 33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(&finalize)); 44 *ptr = static_cast<uint64_t>(size); 45 return static_cast<jlong>(reinterpret_cast<uintptr_t>(ptr)); 50 return static_cast<jlong>(gNumNativeBytesAllocated);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/ |
future_errc.pass.cpp | 24 static_assert(static_cast<int>(std::future_errc::future_already_retrieved) == 1, ""); 25 static_assert(static_cast<int>(std::future_errc::promise_already_satisfied) == 2, ""); 26 static_assert(static_cast<int>(std::future_errc::no_state) == 3, ""); 27 static_assert(static_cast<int>(std::future_errc::broken_promise) == 4, "");
|