/external/clang/test/Index/Inputs/ |
preamble_macro_template.h | 1 #define STATIC_CAST static_cast 5 (void)STATIC_CAST<T*>(0);
|
/frameworks/native/vulkan/nulldrv/ |
null_driver_gen.cpp | 49 {"vkCreateInstance", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkCreateInstance>(CreateInstance))}, 50 {"vkEnumerateInstanceExtensionProperties", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkEnumerateInstanceExtensionProperties>(EnumerateInstanceExtensionProperties))}, 51 {"vkEnumerateInstanceLayerProperties", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkEnumerateInstanceLayerProperties>(EnumerateInstanceLayerProperties))}, 57 {"vkAllocateCommandBuffers", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkAllocateCommandBuffers>(AllocateCommandBuffers))}, 58 {"vkAllocateDescriptorSets", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkAllocateDescriptorSets>(AllocateDescriptorSets))}, 59 {"vkAllocateMemory", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkAllocateMemory>(AllocateMemory))}, 60 {"vkBeginCommandBuffer", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkBeginCommandBuffer>(BeginCommandBuffer))}, 61 {"vkBindBufferMemory", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkBindBufferMemory>(BindBufferMemory))}, 62 {"vkBindImageMemory", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkBindImageMemory>(BindImageMemory))}, 63 {"vkCmdBeginQuery", reinterpret_cast<PFN_vkVoidFunction>(static_cast<PFN_vkCmdBeginQuery>(CmdBeginQuery))} [all...] |
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
p9-0x.cpp | 7 (void)static_cast<bool>(ec); 8 (void)static_cast<bool>(EC::ec1); 9 (void)static_cast<char>(ec); 10 (void)static_cast<char>(EC::ec1); 11 (void)static_cast<int>(ec); 12 (void)static_cast<int>(EC::ec1); 13 (void)static_cast<unsigned long>(ec); 14 (void)static_cast<unsigned long>(EC::ec1); 15 (void)static_cast<float>(ec); 16 (void)static_cast<float>(EC::ec1) [all...] |
p3-0x.cpp | 13 A &&ar0 = static_cast<A&&>(a); 14 A &&ar1 = static_cast<A&&>(b); 15 A &&ar2 = static_cast<A&&>(lvalue<A>()); 16 A &&ar3 = static_cast<A&&>(lvalue<B>()); 17 A &&ar4 = static_cast<A&&>(xvalue<A>()); 18 A &&ar5 = static_cast<A&&>(xvalue<B>()); 19 const A &&ar6 = static_cast<const A&&>(a); 20 const A &&ar7 = static_cast<const A&&>(b); 21 const A &&ar8 = static_cast<const A&&>(lvalue<A>()); 22 const A &&ar9 = static_cast<const A&&>(lvalue<B>()) [all...] |
/external/clang/test/SemaCXX/ |
static-cast.cpp | 27 (void)static_cast<float>(i); 29 (void)static_cast<float>(d); 30 (void)static_cast<int>(d); 31 (void)static_cast<char>(i); 32 (void)static_cast<unsigned long>(i); 33 (void)static_cast<int>(En1); 34 (void)static_cast<double>(En1); 35 (void)static_cast<int&>(i); 36 (void)static_cast<const int&>(i); 39 (void)static_cast<const int*>(ar) [all...] |
static-cast-complete-type.cpp | 9 S<int> s0 = static_cast<S<int> >(0); 10 S<void*> s1 = static_cast<S<void*> >(00); 12 (void)static_cast<T>(10); // expected-error{{'T' is an incomplete type}}
|
/external/libcxx/test/std/diagnostics/syserr/ |
errc.pass.cpp | 18 static_assert(static_cast<int>(std::errc::address_family_not_supported) == EAFNOSUPPORT, ""); 19 static_assert(static_cast<int>(std::errc::address_in_use) == EADDRINUSE, ""); 20 static_assert(static_cast<int>(std::errc::address_not_available) == EADDRNOTAVAIL, ""); 21 static_assert(static_cast<int>(std::errc::already_connected) == EISCONN, ""); 22 static_assert(static_cast<int>(std::errc::argument_list_too_long) == E2BIG, ""); 23 static_assert(static_cast<int>(std::errc::argument_out_of_domain) == EDOM, ""); 24 static_assert(static_cast<int>(std::errc::bad_address) == EFAULT, ""); 25 static_assert(static_cast<int>(std::errc::bad_file_descriptor) == EBADF, ""); 26 static_assert(static_cast<int>(std::errc::bad_message) == EBADMSG, ""); 27 static_assert(static_cast<int>(std::errc::broken_pipe) == EPIPE, "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/ |
errc.pass.cpp | 18 static_assert(static_cast<int>(std::errc::address_family_not_supported) == EAFNOSUPPORT, ""); 19 static_assert(static_cast<int>(std::errc::address_in_use) == EADDRINUSE, ""); 20 static_assert(static_cast<int>(std::errc::address_not_available) == EADDRNOTAVAIL, ""); 21 static_assert(static_cast<int>(std::errc::already_connected) == EISCONN, ""); 22 static_assert(static_cast<int>(std::errc::argument_list_too_long) == E2BIG, ""); 23 static_assert(static_cast<int>(std::errc::argument_out_of_domain) == EDOM, ""); 24 static_assert(static_cast<int>(std::errc::bad_address) == EFAULT, ""); 25 static_assert(static_cast<int>(std::errc::bad_file_descriptor) == EBADF, ""); 26 static_assert(static_cast<int>(std::errc::bad_message) == EBADMSG, ""); 27 static_assert(static_cast<int>(std::errc::broken_pipe) == EPIPE, "") [all...] |
/external/webrtc/webrtc/base/ |
byteorder.h | 31 static_cast<uint8_t*>(memory)[offset] = v; 35 return static_cast<const uint8_t*>(memory)[offset]; 39 Set8(memory, 0, static_cast<uint8_t>(v >> 8)); 40 Set8(memory, 1, static_cast<uint8_t>(v >> 0)); 44 Set8(memory, 0, static_cast<uint8_t>(v >> 24)); 45 Set8(memory, 1, static_cast<uint8_t>(v >> 16)); 46 Set8(memory, 2, static_cast<uint8_t>(v >> 8)); 47 Set8(memory, 3, static_cast<uint8_t>(v >> 0)); 51 Set8(memory, 0, static_cast<uint8_t>(v >> 56)); 52 Set8(memory, 1, static_cast<uint8_t>(v >> 48)) [all...] |
macconversion.cc | 58 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint8)); 59 if (converted) *i = static_cast<int>(sint8); 63 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint16)); 64 if (converted) *i = static_cast<int>(sint16); 68 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint32)); 69 if (converted) *i = static_cast<int>(sint32); 73 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint64)); 74 if (converted) *i = static_cast<int>(sint64); 79 static_cast<void*>(&float32)); 80 if (converted) *i = static_cast<int>(float32) [all...] |
/external/llvm/unittests/Support/ |
EndianStreamTest.cpp | 25 LE.write(static_cast<int32_t>(-1362446643)); 28 EXPECT_EQ(static_cast<uint8_t>(data[0]), 0xCD); 29 EXPECT_EQ(static_cast<uint8_t>(data[1]), 0xB6); 30 EXPECT_EQ(static_cast<uint8_t>(data[2]), 0xCA); 31 EXPECT_EQ(static_cast<uint8_t>(data[3]), 0xAE); 40 BE.write(static_cast<int32_t>(-1362446643)); 43 EXPECT_EQ(static_cast<uint8_t>(data[0]), 0xAE); 44 EXPECT_EQ(static_cast<uint8_t>(data[1]), 0xCA); 45 EXPECT_EQ(static_cast<uint8_t>(data[2]), 0xB6); 46 EXPECT_EQ(static_cast<uint8_t>(data[3]), 0xCD) [all...] |
/ndk/tests/build/copysign/jni/ |
copysign.cpp | 5 return std::copysign(a, static_cast<T>(-1.0));
|
/external/google-breakpad/src/testing/gtest/include/gtest/internal/ |
gtest-param-util-generated.h | 98 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_)}; 117 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 118 static_cast<T>(v3_)}; 139 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 140 static_cast<T>(v3_), static_cast<T>(v4_)}; 162 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_) [all...] |
/external/gtest/include/gtest/internal/ |
gtest-param-util-generated.h | 98 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_)}; 117 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 118 static_cast<T>(v3_)}; 139 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 140 static_cast<T>(v3_), static_cast<T>(v4_)}; 162 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_) [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/ |
gtest-param-util-generated.h | 98 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_)}; 117 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 118 static_cast<T>(v3_)}; 139 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 140 static_cast<T>(v3_), static_cast<T>(v4_)}; 162 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_) [all...] |
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
gtest-param-util-generated.h | 98 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_)}; 117 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 118 static_cast<T>(v3_)}; 139 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_), 140 static_cast<T>(v3_), static_cast<T>(v4_)}; 162 const T array[] = {static_cast<T>(v1_), static_cast<T>(v2_) [all...] |
/frameworks/base/native/android/ |
input.cpp | 42 return static_cast<const InputEvent*>(event)->getType(); 46 return static_cast<const InputEvent*>(event)->getDeviceId(); 50 return static_cast<const InputEvent*>(event)->getSource(); 54 return static_cast<const KeyEvent*>(key_event)->getAction(); 58 return static_cast<const KeyEvent*>(key_event)->getFlags(); 62 return static_cast<const KeyEvent*>(key_event)->getKeyCode(); 66 return static_cast<const KeyEvent*>(key_event)->getScanCode(); 70 return static_cast<const KeyEvent*>(key_event)->getMetaState(); 73 return static_cast<const KeyEvent*>(key_event)->getRepeatCount(); 77 return static_cast<const KeyEvent*>(key_event)->getDownTime() [all...] |
/external/pdfium/xfa/src/fwl/src/lightwidget/ |
edit.cpp | 33 return static_cast<IFWL_Edit*>(m_pIface)->SetText(wsText);
38 return static_cast<IFWL_Edit*>(m_pIface)->GetTextLength();
45 return static_cast<IFWL_Edit*>(m_pIface)->GetText(wsText, nStart, nCount);
50 return static_cast<IFWL_Edit*>(m_pIface)->ClearText();
55 return static_cast<IFWL_Edit*>(m_pIface)->GetCaretPos();
60 return static_cast<IFWL_Edit*>(m_pIface)->SetCaretPos(nIndex, bBefore);
65 static_cast<IFWL_Edit*>(m_pIface)->AddSelRange(nStart, nCount);
67 int32_t sum = static_cast<IFWL_Edit*>(m_pIface)->GetTextLength();
73 return static_cast<IFWL_Edit*>(m_pIface)->SetCaretPos(pos);
78 return static_cast<IFWL_Edit*>(m_pIface)->CountSelRanges(); [all...] |
/cts/apps/CtsVerifier/include/colorchecker/ |
vec3.h | 53 Vec3<float> temp(mRed * static_cast<U>(param.r()), 54 mGreen * static_cast<U>(param.g()), 55 mBlue * static_cast<U>(param.b())); 63 temp.set(static_cast<float>(mRed) / static_cast<float>(param), 64 static_cast<float>(mGreen) / static_cast<float>(param), 65 static_cast<float>(mBlue) / static_cast<float>(param)); 73 temp.set(static_cast<float>(mRed) / static_cast<float>(param.r()) [all...] |
vec2.h | 45 return Vec2<float>(static_cast<float>(mX) / static_cast<float>(param), 46 static_cast<float>(mY) / static_cast<float>(param)); 52 difference = (static_cast<float>(mX) - static_cast<float>(param.x())) * 53 (static_cast<float>(mX) - static_cast<float>(param.x())) + 54 (static_cast<float>(mY) - static_cast<float>(param.y())) [all...] |
/external/libyuv/files/unit_test/ |
unit_test.cc | 79 benchmark_pixels_div256_ = static_cast<int>(( 80 static_cast<double>(Abs(benchmark_width_)) * 81 static_cast<double>(Abs(benchmark_height_)) * 82 static_cast<double>(benchmark_iterations_) + 255.0) / 256.0); 83 benchmark_pixels_div1280_ = static_cast<int>(( 84 static_cast<double>(Abs(benchmark_width_)) * 85 static_cast<double>(Abs(benchmark_height_)) * 86 static_cast<double>(benchmark_iterations_) + 1279.0) / 1280.0); 131 benchmark_pixels_div256_ = static_cast<int>(( 132 static_cast<double>(Abs(benchmark_width_)) [all...] |
/art/test/535-regression-const-val/ |
info.txt | 2 vs FloatConstant due to a static_cast sign extend.
|
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.swap/ |
swap.pass.cpp | 75 assert(static_cast<bool>(opt1) == false); 76 assert(static_cast<bool>(opt2) == false); 78 assert(static_cast<bool>(opt1) == false); 79 assert(static_cast<bool>(opt2) == false); 85 assert(static_cast<bool>(opt1) == true); 87 assert(static_cast<bool>(opt2) == false); 89 assert(static_cast<bool>(opt1) == false); 90 assert(static_cast<bool>(opt2) == true); 97 assert(static_cast<bool>(opt1) == false); 98 assert(static_cast<bool>(opt2) == true) [all...] |
/external/libcxx/test/std/experimental/optional/optional.specalg/ |
swap.pass.cpp | 74 assert(static_cast<bool>(opt1) == false); 75 assert(static_cast<bool>(opt2) == false); 77 assert(static_cast<bool>(opt1) == false); 78 assert(static_cast<bool>(opt2) == false); 84 assert(static_cast<bool>(opt1) == true); 86 assert(static_cast<bool>(opt2) == false); 88 assert(static_cast<bool>(opt1) == false); 89 assert(static_cast<bool>(opt2) == true); 96 assert(static_cast<bool>(opt1) == false); 97 assert(static_cast<bool>(opt2) == true) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.swap/ |
swap.pass.cpp | 75 assert(static_cast<bool>(opt1) == false); 76 assert(static_cast<bool>(opt2) == false); 78 assert(static_cast<bool>(opt1) == false); 79 assert(static_cast<bool>(opt2) == false); 85 assert(static_cast<bool>(opt1) == true); 87 assert(static_cast<bool>(opt2) == false); 89 assert(static_cast<bool>(opt1) == false); 90 assert(static_cast<bool>(opt2) == true); 97 assert(static_cast<bool>(opt1) == false); 98 assert(static_cast<bool>(opt2) == true) [all...] |