HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 1 - 25 of 12304) 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/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...]
  /art/runtime/entrypoints/
math_entrypoints.cc 22 return static_cast<double>(l);
26 return static_cast<float>(l);
34 static const double kMaxLong = static_cast<double>(static_cast<int64_t>(0x7fffffffffffffffULL));
35 static const double kMinLong = static_cast<double>(static_cast<int64_t>(0x8000000000000000ULL));
37 return static_cast<int64_t>(0x7fffffffffffffffULL);
39 return static_cast<int64_t>(0x8000000000000000ULL);
43 return static_cast<int64_t>(d);
48 static const float kMaxLong = static_cast<float>(static_cast<int64_t>(0x7fffffffffffffffULL))
    [all...]
  /external/chromium_org/gpu/command_buffer/common/
gles2_cmd_format_test_autogen.h 19 static_cast<GLenum>(11));
20 EXPECT_EQ(static_cast<uint32>(cmds::ActiveTexture::kCmdId),
23 EXPECT_EQ(static_cast<GLenum>(11), cmd.texture);
32 static_cast<GLuint>(11),
33 static_cast<GLuint>(12));
34 EXPECT_EQ(static_cast<uint32>(cmds::AttachShader::kCmdId),
37 EXPECT_EQ(static_cast<GLuint>(11), cmd.program);
38 EXPECT_EQ(static_cast<GLuint>(12), cmd.shader);
47 static_cast<GLuint>(11),
48 static_cast<GLuint>(12)
    [all...]
  /external/clang/test/SemaCXX/
static-cast.cpp 25 (void)static_cast<float>(i);
27 (void)static_cast<float>(d);
28 (void)static_cast<int>(d);
29 (void)static_cast<char>(i);
30 (void)static_cast<unsigned long>(i);
31 (void)static_cast<int>(En1);
32 (void)static_cast<double>(En1);
33 (void)static_cast<int&>(i);
34 (void)static_cast<const int&>(i);
37 (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}}
  /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/third_party/libjingle/source/talk/base/
byteorder.h 50 static_cast<uint8*>(memory)[offset] = v;
53 return static_cast<const uint8*>(memory)[offset];
57 Set8(memory, 0, static_cast<uint8>(v >> 8));
58 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));
67 Set8(memory, 0, static_cast<uint8>(v >> 56));
68 Set8(memory, 1, static_cast<uint8>(v >> 48))
    [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...]
  /packages/inputmethods/PinyinIME/jni/share/
searchutility.cpp 36 if ((static_cast<const LmaPsbItem*>(p1))->psb >
37 (static_cast<const LmaPsbItem*>(p2))->psb)
39 if ((static_cast<const LmaPsbItem*>(p1))->psb <
40 (static_cast<const LmaPsbItem*>(p2))->psb)
46 const LmaPsbItem *item1 = static_cast<const LmaPsbItem*>(p1);
47 const LmaPsbItem *item2 = static_cast<const LmaPsbItem*>(p2);
64 if ((static_cast<const LmaPsbItem*>(p1))->id <
65 (static_cast<const LmaPsbItem*>(p2))->id)
67 if ((static_cast<const LmaPsbItem*>(p1))->id >
68 (static_cast<const LmaPsbItem*>(p2))->id
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
context_state_impl_autogen.h 171 params[0] = static_cast<GLint>(blend_color_red);
172 params[1] = static_cast<GLint>(blend_color_green);
173 params[2] = static_cast<GLint>(blend_color_blue);
174 params[3] = static_cast<GLint>(blend_color_alpha);
180 params[0] = static_cast<GLint>(blend_equation_rgb);
186 params[0] = static_cast<GLint>(blend_equation_alpha);
192 params[0] = static_cast<GLint>(blend_source_rgb);
198 params[0] = static_cast<GLint>(blend_dest_rgb);
204 params[0] = static_cast<GLint>(blend_source_alpha);
210 params[0] = static_cast<GLint>(blend_dest_alpha)
    [all...]
  /external/chromium_org/third_party/WebKit/public/platform/
WebCompositingReasons.h 41 const uint64_t CompositingReason3DTransform = static_cast<uint64_t>(1) << 0;
42 const uint64_t CompositingReasonVideo = static_cast<uint64_t>(1) << 1;
43 const uint64_t CompositingReasonCanvas = static_cast<uint64_t>(1) << 2;
44 const uint64_t CompositingReasonPlugin = static_cast<uint64_t>(1) << 3;
45 const uint64_t CompositingReasonIFrame = static_cast<uint64_t>(1) << 4;
46 const uint64_t CompositingReasonBackfaceVisibilityHidden = static_cast<uint64_t>(1) << 5;
47 const uint64_t CompositingReasonAnimation = static_cast<uint64_t>(1) << 6;
48 const uint64_t CompositingReasonFilters = static_cast<uint64_t>(1) << 7;
49 const uint64_t CompositingReasonPositionFixed = static_cast<uint64_t>(1) << 8;
50 const uint64_t CompositingReasonPositionSticky = static_cast<uint64_t>(1) << 9
    [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...]
  /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/chromium_org/content/browser/web_contents/
drag_utils_gtk.cc 17 GdkDragAction action = static_cast<GdkDragAction>(0);
19 action = static_cast<GdkDragAction>(action | GDK_ACTION_COPY);
21 action = static_cast<GdkDragAction>(action | GDK_ACTION_LINK);
23 action = static_cast<GdkDragAction>(action | GDK_ACTION_MOVE);
30 op = static_cast<WebDragOperationsMask>(op | WebDragOperationCopy);
32 op = static_cast<WebDragOperationsMask>(op | WebDragOperationLink);
34 op = static_cast<WebDragOperationsMask>(op | WebDragOperationMove);
  /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/openfst/src/include/fst/
icu.h 82 ostr << static_cast<char>(code);
84 ostr << static_cast<char>((code >> 6) | 0xc0);
85 ostr << static_cast<char>((code & 0x3f) | 0x80);
87 ostr << static_cast<char>((code >> 12) | 0xe0);
88 ostr << static_cast<char>(((code >> 6) & 0x3f) | 0x80);
89 ostr << static_cast<char>((code & 0x3f) | 0x80);
91 ostr << static_cast<char>((code >> 18) | 0xf0);
92 ostr << static_cast<char>(((code >> 12) & 0x3f) | 0x80);
93 ostr << static_cast<char>(((code >> 6) & 0x3f) | 0x80);
94 ostr << static_cast<char>((code & 0x3f) | 0x80)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSValue.cpp 90 return m_classType == InitialClass && static_cast<const CSSInitialValue*>(this)->isImplicit();
116 static_cast<const CSSFontFaceSrcValue*>(this)->addSubresourceStyleURLs(urls, styleSheet);
118 static_cast<const CSSReflectValue*>(this)->addSubresourceStyleURLs(urls, styleSheet);
129 return static_cast<const CSSFontFaceSrcValue*>(this)->hasFailedOrCanceledSubresources();
133 return static_cast<const CSSCrossfadeValue*>(this)->hasFailedOrCanceledSubresources();
135 return static_cast<const CSSImageSetValue*>(this)->hasFailedOrCanceledSubresources();
143 return static_cast<const ChildClassType&>(first).equals(static_cast<const ChildClassType&>(second));
150 return static_cast<const TextCloneCSSValue*>(this)->cssText() == other.cssText();
232 return static_cast<const CSSValueList&>(other).equals(*this)
    [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...]
  /external/chromium_org/ui/base/keycodes/
keyboard_code_conversion_win.cc 10 return static_cast<WORD>(keycode);
14 return static_cast<KeyboardCode>(keycode);
  /frameworks/av/media/libmedia/
IAudioPolicyService.cpp 78 data.writeInt32(static_cast <uint32_t>(device));
79 data.writeInt32(static_cast <uint32_t>(state));
82 return static_cast <status_t> (reply.readInt32());
91 data.writeInt32(static_cast <uint32_t>(device));
94 return static_cast <audio_policy_dev_state_t>(reply.readInt32());
103 return static_cast <status_t> (reply.readInt32());
110 data.writeInt32(static_cast <uint32_t>(usage));
111 data.writeInt32(static_cast <uint32_t>(config));
113 return static_cast <status_t> (reply.readInt32());
120 data.writeInt32(static_cast <uint32_t>(usage))
    [all...]

Completed in 1059 milliseconds

1 2 3 4 5 6 7 8 91011>>