HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 1 - 25 of 13262) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Index/Inputs/
preamble_macro_template.h 1 #define STATIC_CAST static_cast
5 (void)STATIC_CAST<T*>(0);
  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_format_test_autogen.h 19 void* next_cmd = cmd.Set(&cmd, static_cast<GLenum>(11));
20 EXPECT_EQ(static_cast<uint32_t>(cmds::ActiveTexture::kCmdId),
23 EXPECT_EQ(static_cast<GLenum>(11), cmd.texture);
30 cmd.Set(&cmd, static_cast<GLuint>(11), static_cast<GLuint>(12));
31 EXPECT_EQ(static_cast<uint32_t>(cmds::AttachShader::kCmdId),
34 EXPECT_EQ(static_cast<GLuint>(11), cmd.program);
35 EXPECT_EQ(static_cast<GLuint>(12), cmd.shader);
43 static_cast<GLuint>(11),
44 static_cast<GLuint>(12)
    [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/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/chromium_org/third_party/libjingle/source/talk/base/
byteorder.h 48 static_cast<uint8*>(memory)[offset] = v;
52 return static_cast<const uint8*>(memory)[offset];
56 Set8(memory, 0, static_cast<uint8>(v >> 8));
57 Set8(memory, 1, static_cast<uint8>(v >> 0));
61 Set8(memory, 0, static_cast<uint8>(v >> 24));
62 Set8(memory, 1, static_cast<uint8>(v >> 16));
63 Set8(memory, 2, static_cast<uint8>(v >> 8));
64 Set8(memory, 3, static_cast<uint8>(v >> 0));
68 Set8(memory, 0, static_cast<uint8>(v >> 56));
69 Set8(memory, 1, static_cast<uint8>(v >> 48))
    [all...]
  /external/chromium_org/third_party/webrtc/base/
byteorder.h 31 static_cast<uint8*>(memory)[offset] = v;
35 return static_cast<const uint8*>(memory)[offset];
39 Set8(memory, 0, static_cast<uint8>(v >> 8));
40 Set8(memory, 1, static_cast<uint8>(v >> 0));
44 Set8(memory, 0, static_cast<uint8>(v >> 24));
45 Set8(memory, 1, static_cast<uint8>(v >> 16));
46 Set8(memory, 2, static_cast<uint8>(v >> 8));
47 Set8(memory, 3, static_cast<uint8>(v >> 0));
51 Set8(memory, 0, static_cast<uint8>(v >> 56));
52 Set8(memory, 1, static_cast<uint8>(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/chromium_org/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...]
  /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...]
sensor.cpp 50 int c = static_cast<SensorManager*>(manager)->getSensorList(&l);
59 return static_cast<SensorManager*>(manager)->getDefaultSensor(type);
65 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList);
79 static_cast<SensorManager*>(manager)->createEventQueue();
85 return static_cast<ASensorEventQueue*>(queue.get());
91 sp<SensorEventQueue> queue = static_cast<SensorEventQueue*>(inQueue);
101 return static_cast<SensorEventQueue*>(queue)->enableSensor(
102 static_cast<Sensor const*>(sensor));
107 return static_cast<SensorEventQueue*>(queue)->disableSensor(
108 static_cast<Sensor const*>(sensor))
    [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/chromium_org/ui/gfx/
favicon_size.cc 14 float aspect_ratio = static_cast<float>(*width) /
15 static_cast<float>(*height);
17 *width = static_cast<int>(aspect_ratio * *height);
20 *height = static_cast<int>(*width / aspect_ratio);
  /external/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...]
  /external/libcxx/test/utilities/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...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/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...]
  /external/chromium_org/gpu/command_buffer/service/
context_state_impl_autogen.h 340 params[0] = static_cast<GLint>(blend_color_red);
341 params[1] = static_cast<GLint>(blend_color_green);
342 params[2] = static_cast<GLint>(blend_color_blue);
343 params[3] = static_cast<GLint>(blend_color_alpha);
349 params[0] = static_cast<GLint>(blend_equation_rgb);
355 params[0] = static_cast<GLint>(blend_equation_alpha);
361 params[0] = static_cast<GLint>(blend_source_rgb);
367 params[0] = static_cast<GLint>(blend_dest_rgb);
373 params[0] = static_cast<GLint>(blend_source_alpha);
379 params[0] = static_cast<GLint>(blend_dest_alpha)
    [all...]
  /ndk/sources/cxx-stl/gabi++/src/
dwarf_helper.cc 63 result |= static_cast<uintptr_t>(byte & 0x7F) << shift;
77 result |= static_cast<uintptr_t>(byte & 0x7F) << shift;
82 result |= static_cast<uintptr_t>(~0) << shift;
84 return static_cast<intptr_t>(result);
89 return ((static_cast<uint16_t>(data[0])) |
90 (static_cast<uint16_t>(data[1]) << 8));
92 return ((static_cast<uint16_t>(data[0]) << 8) |
93 (static_cast<uint16_t>(data[1])));
99 return ((static_cast<uint32_t>(data[0])) |
100 (static_cast<uint32_t>(data[1]) << 8)
    [all...]

Completed in 2308 milliseconds

1 2 3 4 5 6 7 8 91011>>