/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, "");
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/resize_policy/ |
hash_load_check_resize_trigger_imp.hpp | 155 static_cast<unsigned long>(new_size) << " " << 156 static_cast<unsigned long>(m_load_min) << " " << 157 static_cast<unsigned long>(m_load_max) << " " << 158 static_cast<unsigned long>(m_next_shrink_size) << " " << 159 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl; 181 static_cast<unsigned long>(new_size) << " " << 182 static_cast<unsigned long>(m_load_min) << " " << 183 static_cast<unsigned long>(m_load_max) << " " << 184 static_cast<unsigned long>(m_next_shrink_size) << " " << 185 static_cast<unsigned long>(m_next_grow_size) << " " << std::endl [all...] |
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
GLESmacros.h | 10 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \ 15 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \ 25 GLEScmContext *ctx = static_cast<GLEScmContext *>(s_eglIface->getGLESContext()); \ 30 GLESv2Context *ctx = static_cast<GLESv2Context *>(s_eglIface->getGLESContext()); \
|
/external/chromium_org/base/files/ |
memory_mapped_file_posix.cc | 33 map_size = static_cast<size_t>(file_len); 51 static_cast<uint64>(aligned_size) > 53 static_cast<uint64>(region.size) > std::numeric_limits<size_t>::max()) { 58 map_start = static_cast<off_t>(aligned_start); 59 map_size = static_cast<size_t>(aligned_size); 60 length_ = static_cast<size_t>(region.size); 63 data_ = static_cast<uint8*>(mmap(NULL,
|
/external/chromium_org/mojo/public/cpp/system/tests/ |
core_unittest.cc | 21 EXPECT_NE(static_cast<MojoTimeTicks>(0), start) 35 Handle h1(static_cast<MojoHandle>(123)); 36 EXPECT_EQ(static_cast<MojoHandle>(123), h1.value()); 37 EXPECT_EQ(static_cast<MojoHandle>(123), *h1.mutable_value()); 39 *h1.mutable_value() = static_cast<MojoHandle>(456); 40 EXPECT_EQ(static_cast<MojoHandle>(456), h1.value()); 44 EXPECT_EQ(static_cast<MojoHandle>(456), h0.value()); 48 h1.set_value(static_cast<MojoHandle>(789)); 50 EXPECT_EQ(static_cast<MojoHandle>(789), h0.value()); 52 EXPECT_EQ(static_cast<MojoHandle>(456), h1.value()) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
noise_suppression_impl.cc | 68 Handle* my_handle = static_cast<Handle*>(handle(i)); 70 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)), 76 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)), 118 Handle* my_handle = static_cast<Handle*>(handle(i)); 146 WebRtcNs_Free(static_cast<Handle*>(handle)); 148 WebRtcNsx_Free(static_cast<Handle*>(handle)); 154 return WebRtcNs_Init(static_cast<Handle*>(handle), 157 return WebRtcNsx_Init(static_cast<Handle*>(handle), 164 return WebRtcNs_set_policy(static_cast<Handle*>(handle), 167 return WebRtcNsx_set_policy(static_cast<Handle*>(handle) [all...] |
/external/chromium_org/chrome/browser/renderer_host/pepper/ |
pepper_output_protection_message_filter.cc | 33 COMPILE_ASSERT(static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_NONE) == 34 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_NONE), member in namespace:chrome::__anon9116 37 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_UNKNOWN) == 38 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_UNKNOWN), member in namespace:chrome::__anon9116 41 static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_INTERNAL) == 42 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_INTERNAL), member in namespace:chrome::__anon9116 44 COMPILE_ASSERT(static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_VGA) == 45 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_VGA), member in namespace:chrome::__anon9116 47 COMPILE_ASSERT(static_cast<int>(PP_OUTPUT_PROTECTION_LINK_TYPE_PRIVATE_HDMI) == 48 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_HDMI) member in namespace:chrome::__anon9116 51 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_DVI), member in namespace:chrome::__anon9116 55 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_DISPLAYPORT), member in namespace:chrome::__anon9116 59 static_cast<int>(ui::DISPLAY_CONNECTION_TYPE_NETWORK), member in namespace:chrome::__anon9116 62 static_cast<int>(ui::CONTENT_PROTECTION_METHOD_NONE), member in namespace:chrome::__anon9116 65 static_cast<int>(ui::CONTENT_PROTECTION_METHOD_HDCP), member in namespace:chrome::__anon9116 [all...] |
/external/chromium_org/mojo/services/public/cpp/input_events/lib/ |
input_events_type_converters.cc | 22 static_cast<const ui::LocatedEvent*>(&input); 30 static_cast<const ui::TouchEvent*>(&input); 35 const ui::KeyEvent* key_event = static_cast<const ui::KeyEvent*>(&input); 53 static_cast<ui::EventType>(input->action), 54 static_cast<ui::KeyboardCode>(
|
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/ |
view.cc | 43 static_cast<ViewManagerClientImpl*>(manager)->AddView(view); 49 static_cast<ViewManagerClientImpl*>(manager_)->DestroyView(id_); 63 static_cast<ViewManagerClientImpl*>(manager_)->SetViewContents(id_, 75 : id_(static_cast<ViewManagerClientImpl*>(manager)->CreateView()), 89 static_cast<ViewManagerClientImpl*>(manager_)->RemoveView(id_);
|
/external/chromium_org/ppapi/cpp/dev/ |
printing_dev.cc | 28 return static_cast<Printing_Dev*>(object)->QuerySupportedPrintOutputFormats(); 37 return static_cast<Printing_Dev*>(object)->PrintBegin(*print_settings); 47 return static_cast<Printing_Dev*>(object)->PrintPages( 55 static_cast<Printing_Dev*>(object)->PrintEnd(); 64 static_cast<Printing_Dev*>(object)->IsPrintScalingDisabled();
|
/external/clang/test/SemaCXX/ |
cast-conversion.cpp | 19 static_cast<B>(10); // expected-error {{no matching conversion for static_cast from 'int' to 'B'}} 44 static_cast<float*>(f0<0>()); // expected-error{{ambiguous}} 73 return static_cast<long long>(a); // expected-error {{ambiguous conversion for static_cast from 'AmbiguousCast' to 'long long'}}
|
/frameworks/rs/ |
rsScript.cpp | 166 Script *s = static_cast<Script *>(vs); 167 Allocation *a = static_cast<Allocation *>(va); 194 Script *s = static_cast<Script *>(vs); 203 static_cast<const Allocation *>(vain), static_cast<Allocation *>(vaout), 213 Script *s = static_cast<Script *>(vs); 226 static_cast<Allocation *>(vaout), params, paramLen, sc); 231 Script *s = static_cast<Script *>(vs); 237 Script *s = static_cast<Script *>(vs); 242 Script *s = static_cast<Script *>(vs) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
geometry_utils.h | 37 return atan2f(static_cast<float>(dy), static_cast<float>(dx)); 52 return static_cast<int>(hypotf(static_cast<float>(x1 - x2), static_cast<float>(y1 - y2)));
|
/external/chromium_org/mojo/public/c/system/tests/ |
core_unittest.cc | 18 EXPECT_NE(static_cast<MojoTimeTicks>(0), start) 47 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 53 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 61 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 98 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 105 buffer_size = static_cast<uint32_t>(sizeof(kHello)); 116 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 120 EXPECT_EQ(static_cast<uint32_t>(sizeof(kHello)), buffer_size); 161 buffer_size = static_cast<uint32_t>(sizeof(buffer)); 174 buffer_size = static_cast<uint32_t>(strlen(kHello)) [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
basictypes.h | 147 #define UNUSED(x) Unused(static_cast<const void*>(&x)) 148 #define UNUSED2(x, y) Unused(static_cast<const void*>(&x)); \ 149 Unused(static_cast<const void*>(&y)) 150 #define UNUSED3(x, y, z) Unused(static_cast<const void*>(&x)); \ 151 Unused(static_cast<const void*>(&y)); \ 152 Unused(static_cast<const void*>(&z)) 153 #define UNUSED4(x, y, z, a) Unused(static_cast<const void*>(&x)); \ 154 Unused(static_cast<const void*>(&y)); \ 155 Unused(static_cast<const void*>(&z)); \ 156 Unused(static_cast<const void*>(&a) [all...] |
/external/chromium_org/gpu/command_buffer/common/ |
gles2_cmd_format_autogen.h | 21 return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT 32 static_cast<ValueType*>(cmd)->Init(_texture); 53 return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT 65 static_cast<ValueType*>(cmd)->Init(_program, _shader); 89 return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT 105 static_cast<ValueType*>(cmd)->Init(_program, _index, _name_bucket_id); 133 return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT 145 static_cast<ValueType*>(cmd)->Init(_target, _buffer); 169 return static_cast<uint32_t>(sizeof(ValueType)); // NOLINT 181 static_cast<ValueType*>(cmd)->Init(_target, _framebuffer) [all...] |
/art/compiler/utils/arm/ |
assembler_thumb2.cc | 168 static_cast<uint32_t>(rd) << 8 | 169 static_cast<uint32_t>(rn) << 16 | 170 static_cast<uint32_t>(rm); 184 static_cast<uint32_t>(rd) << 8 | 185 static_cast<uint32_t>(ra) << 12 | 186 static_cast<uint32_t>(rn) << 16 | 187 static_cast<uint32_t>(rm); 200 static_cast<uint32_t>(rd) << 8 | 201 static_cast<uint32_t>(ra) << 12 | 202 static_cast<uint32_t>(rn) << 16 [all...] |
/device/generic/goldfish/camera/ |
Converters.h | 82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5) 83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5) 84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11) 86 #define R16_32(rgb) static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2)) 87 #define G16_32(rgb) static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9)) 88 #define B16_32(rgb) static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14)) 90 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8) 91 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff) 92 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff) 94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/ |
TestLoadGenerator.cc | 30 TestLoadGenerator *_genObj = static_cast<TestLoadGenerator *>(obj); 128 return(generatePayload( static_cast<uint32_t>( TickTime::MillisecondTimestamp() * _rtpSampleRate / 1000 ))); 176 generatePayload( static_cast<uint32_t>(nextSendTime * _rtpSampleRate / 1000) ); 181 nextSendTime = static_cast<int64_t>(nextSendTime + periodMs); 183 int32_t waitTime = static_cast<int32_t>(nextSendTime - TickTime::MillisecondTimestamp()); 189 _eventPtr->Wait(static_cast<int32_t>(waitTime)); 276 _payloadAllocLen = static_cast<int32_t>((_payloadSizeBytes * (1 + _spreadFactor) * 3) / 2 + .5); // 50% extra to avoid frequent re-alloc 282 generatePayload( static_cast<uint32_t>(nextSendTime * _rtpSampleRate / 1000) ); 289 nextSendTime = static_cast<int64_t>(nextSendTime + periodMs + 0.5); 291 int32_t waitTime = static_cast<int32_t>(nextSendTime - TickTime::MillisecondTimestamp()) [all...] |
/external/llvm/include/llvm/ADT/ |
iterator.h | 54 DerivedT tmp = *static_cast<const DerivedT *>(this); 68 DerivedT tmp = *static_cast<const DerivedT *>(this); 74 return static_cast<DerivedT *>(this)->operator+=(1); 77 DerivedT tmp = *static_cast<DerivedT *>(this); 78 ++*static_cast<DerivedT *>(this); 85 return static_cast<DerivedT *>(this)->operator-=(1); 91 DerivedT tmp = *static_cast<DerivedT *>(this); 92 --*static_cast<DerivedT *>(this); 97 return !static_cast<const DerivedT *>(this)->operator==(RHS); 104 return !static_cast<const DerivedT *>(this)->operator<(RHS) & [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FELighting.cpp | 65 const static unsigned char cOpaqueAlpha = static_cast<unsigned char>(0xff); 74 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 75 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 77 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 78 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 85 int left = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); 86 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)); 87 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset)); 89 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset)); 90 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset)) [all...] |
/bionic/tests/ |
wchar_test.cpp | 86 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(bytes, 0xffffffff, NULL)); 96 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); 97 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); 103 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xc2", 1, &ps)); 108 EXPECT_EQ(static_cast<size_t>(-2), mbrtowc(NULL, "\xf0\xa4", 1, &ps)); 115 const wchar_t bad_chars[] = { L'h', L'i', static_cast<wchar_t>(0xffffffff), 0 }; 135 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(NULL, bad_chars, 0)); 138 EXPECT_EQ(static_cast<size_t>(-1), wcstombs(NULL, bad_chars, 256)); 145 EXPECT_EQ(static_cast<size_t>(-1), wcsrtombs(NULL, &src, 0, NULL)); 150 EXPECT_EQ(static_cast<size_t>(-1), wcsrtombs(NULL, &src, 256, NULL)) [all...] |