HomeSort by relevance Sort by last modified time
    Searched full:static_cast (Results 26 - 50 of 7695) sorted by null

12 3 4 5 6 7 8 91011>>

  /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/pdfium/xfa/src/fwl/src/lightwidget/
datetimepicker.cpp 43 return static_cast<IFWL_DateTimePicker*>(m_pIface)->CountSelRanges();
46 return static_cast<IFWL_DateTimePicker*>(m_pIface)
50 return static_cast<IFWL_DateTimePicker*>(m_pIface)->GetEditText(wsText);
53 return static_cast<IFWL_DateTimePicker*>(m_pIface)->SetEditText(wsText);
58 return static_cast<IFWL_DateTimePicker*>(m_pIface)
64 return static_cast<IFWL_DateTimePicker*>(m_pIface)
91 return static_cast<IFWL_DateTimePicker*>(m_pIface)->CanUndo();
94 return static_cast<IFWL_DateTimePicker*>(m_pIface)->CanRedo();
97 return static_cast<IFWL_DateTimePicker*>(m_pIface)->Undo();
100 return static_cast<IFWL_DateTimePicker*>(m_pIface)->Redo();
    [all...]
scrollbar.cpp 33 return static_cast<IFWL_ScrollBar*>(m_pIface)->IsVertical();
38 return static_cast<IFWL_ScrollBar*>(m_pIface)->GetRange(fMin, fMax);
43 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetRange(fMin, fMax);
48 return static_cast<IFWL_ScrollBar*>(m_pIface)->GetPageSize();
53 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetPageSize(fPageSize);
58 return static_cast<IFWL_ScrollBar*>(m_pIface)->GetStepSize();
63 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetStepSize(fStepSize);
68 return static_cast<IFWL_ScrollBar*>(m_pIface)->GetPos();
73 return static_cast<IFWL_ScrollBar*>(m_pIface)->SetPos(fPos);
78 return static_cast<IFWL_ScrollBar*>(m_pIface)->GetTrackPos();
    [all...]
  /external/parameter-framework/asio-1.10.6/include/asio/ip/
resolver_query_base.hpp 44 return static_cast<flags>(
45 static_cast<unsigned int>(x) & static_cast<unsigned int>(y));
50 return static_cast<flags>(
51 static_cast<unsigned int>(x) | static_cast<unsigned int>(y));
56 return static_cast<flags>(
57 static_cast<unsigned int>(x) ^ static_cast<unsigned int>(y));
62 return static_cast<flags>(~static_cast<unsigned int>(x))
    [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/clang/test/Modules/Inputs/
cxx-irgen-right.h 10 B b2(static_cast<B&&>(b));
11 D d2(static_cast<D&&>(d));
  /external/clang/test/SemaCXX/
addr-of-overloaded-function-casting.cpp 24 { bool b = static_cast<void (&)(char)>(f); } // expected-error{{does not match}}
25 { bool b = static_cast<void (*)(char)>(f); } // expected-error{{address of overloaded function}}
27 { bool b = static_cast<void (&)(int)>(f); } //ok
28 { bool b = static_cast<void (*)(int)>(f); } //ok
35 { bool b = static_cast<void (*)(char)>(g); } // expected-error{{not allowed}}
46 { bool b = static_cast<void (&)(char)>(t); } //ok
47 { bool b = static_cast<void (*)(char)>(t); } //ok
49 { bool b = static_cast<void (&)(int)>(t); } //ok
50 { bool b = static_cast<void (*)(int)>(t); } //ok
57 { bool b = static_cast<int (*)(char)>(t); } // expected-error{{cannot be static_cast}
    [all...]
address-space-conversion.cpp 54 (void)static_cast<A_ptr>(bp);
55 (void)static_cast<A_ptr_1>(bp1);
56 (void)static_cast<A_ptr_2>(bp2);
59 (void)static_cast<B_ptr>(ap);
60 (void)static_cast<B_ptr_1>(ap1);
61 (void)static_cast<B_ptr_2>(ap2);
64 (void)static_cast<void_ptr>(ap);
65 (void)static_cast<void_ptr_1>(ap1);
66 (void)static_cast<void_ptr_2>(ap2);
67 (void)static_cast<A_ptr>(vp)
    [all...]
access-member-pointer.cpp 7 (void)static_cast<void(A::*)()>(&B::foo);
10 (void)static_cast<void(A::*)()>(&B::foo); // expected-error {{cannot cast 'B' to its private base class 'A'}}
  /external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
copy.pass.cpp 45 static_assert(static_cast<bool>(opt2) == false, "");
46 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
52 static_assert(static_cast<bool>(opt2) == true, "");
54 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
61 static_assert(static_cast<bool>(opt2) == false, "");
62 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
68 static_assert(static_cast<bool>(opt2) == true, "")
    [all...]
  /external/pdfium/xfa/src/fxfa/src/app/
xfa_ffdochandler.cpp 17 return static_cast<CXFA_FFDoc*>(hDoc)->GetDocProvider();
20 return static_cast<CXFA_FFDoc*>(hDoc)->GetDocType();
23 return static_cast<CXFA_FFDoc*>(hDoc)->StartLoad();
26 return static_cast<CXFA_FFDoc*>(hDoc)->DoLoad(pPause);
29 static_cast<CXFA_FFDoc*>(hDoc)->StopLoad();
34 return static_cast<CXFA_FFDoc*>(hDoc)->CreateDocView(dwView);
45 return static_cast<CXFA_FFDoc*>(hDoc)->GetPackageData(wsPackage);
51 return static_cast<CXFA_FFDoc*>(hDoc)
55 return static_cast<CXFA_FFDoc*>(hDoc)->CloseDoc();
61 return static_cast<CXFA_FFDoc*>(hDoc)->ImportData(pStream, bXDP);
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.assign/
copy.pass.cpp 45 static_assert(static_cast<bool>(opt2) == false, "");
46 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
52 static_assert(static_cast<bool>(opt2) == true, "");
54 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
61 static_assert(static_cast<bool>(opt2) == false, "");
62 assert(static_cast<bool>(opt) == static_cast<bool>(opt2));
68 static_assert(static_cast<bool>(opt2) == true, "")
    [all...]
  /external/v8/src/
allocation-site-scopes.cc 20 static_cast<void*>(*scope_site));
27 static_cast<void*>(*top()),
28 static_cast<void*>(*current()),
29 static_cast<void*>(*scope_site));
50 static_cast<void*>(*scope_site),
51 static_cast<void*>(*object));
54 static_cast<void*>(*top()),
55 static_cast<void*>(*scope_site),
56 static_cast<void*>(*object));
71 static_cast<void*>(*object))
    [all...]
  /external/v8/test/unittests/base/
flags-unittest.cc 33 EXPECT_EQ(kFlag1None, static_cast<int>(a));
35 EXPECT_EQ(kFlag1First, static_cast<int>(a));
37 EXPECT_EQ(kFlag1All, static_cast<int>(a));
39 EXPECT_EQ(kFlag1Second, static_cast<int>(a));
41 EXPECT_EQ(kFlag1None, static_cast<int>(a));
43 EXPECT_EQ(kFlag1All, static_cast<int>(a));
45 EXPECT_EQ(kFlag1All, static_cast<int>(a));
46 EXPECT_EQ(~static_cast<int>(a), static_cast<int>(b));
78 EXPECT_EQ(foo::kAllOptions, static_cast<int>(options))
    [all...]
  /system/core/debuggerd/arm/
machine.cpp 44 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_pc), "code around pc:");
47 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.ARM_lr), "code around lr:");
59 static_cast<uint32_t>(r.ARM_r0), static_cast<uint32_t>(r.ARM_r1),
60 static_cast<uint32_t>(r.ARM_r2), static_cast<uint32_t>(r.ARM_r3));
62 static_cast<uint32_t>(r.ARM_r4), static_cast<uint32_t>(r.ARM_r5),
63 static_cast<uint32_t>(r.ARM_r6), static_cast<uint32_t>(r.ARM_r7))
    [all...]
  /external/vulkan-validation-layers/libs/glm/detail/
type_vec4.inl 124 x(static_cast<T>(x)),
125 y(static_cast<T>(y)),
126 z(static_cast<T>(z)),
127 w(static_cast<T>(w))
136 x(static_cast<T>(v.x)),
137 y(static_cast<T>(v.y)),
138 z(static_cast<T>(v.z)),
139 w(static_cast<T>(v.w))
153 x(static_cast<T>(v.x)),
154 y(static_cast<T>(v.y))
    [all...]
  /external/webrtc/webrtc/video/
screenshare_loopback.cc 26 return static_cast<size_t>(FLAGS_width);
31 return static_cast<size_t>(FLAGS_height);
36 return static_cast<int>(FLAGS_fps);
41 return static_cast<int>(FLAGS_min_bitrate);
46 return static_cast<int>(FLAGS_start_bitrate);
51 return static_cast<int>(FLAGS_target_bitrate);
56 return static_cast<int>(FLAGS_max_bitrate);
61 return static_cast<int>(FLAGS_num_temporal_layers);
67 return static_cast<std::string>(FLAGS_codec);
74 return static_cast<int>(FLAGS_selected_tl)
    [all...]
video_loopback.cc 26 return static_cast<size_t>(FLAGS_width);
31 return static_cast<size_t>(FLAGS_height);
36 return static_cast<int>(FLAGS_fps);
41 return static_cast<int>(FLAGS_min_bitrate);
46 return static_cast<int>(FLAGS_start_bitrate);
51 return static_cast<int>(FLAGS_target_bitrate);
56 return static_cast<int>(FLAGS_max_bitrate);
63 return static_cast<int>(FLAGS_num_temporal_layers);
69 return static_cast<std::string>(FLAGS_codec);
76 return static_cast<int>(FLAGS_selected_tl)
    [all...]
  /frameworks/base/native/android/
sensor.cpp 59 int c = static_cast<SensorManager*>(manager)->getSensorList(&l);
68 return static_cast<SensorManager*>(manager)->getDefaultSensor(type);
74 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList);
88 static_cast<SensorManager*>(manager)->createEventQueue();
94 return static_cast<ASensorEventQueue*>(queue.get());
100 sp<SensorEventQueue> queue = static_cast<SensorEventQueue*>(inQueue);
111 return static_cast<SensorEventQueue*>(queue)->enableSensor(
112 static_cast<Sensor const*>(sensor)->getHandle(), samplingPeriodUs,
118 return static_cast<SensorEventQueue*>(queue)->enableSensor(
119 static_cast<Sensor const*>(sensor))
    [all...]
  /bionic/libc/arch-mips64/bionic/
stat.cpp 57 st->st_dev = static_cast<dev_t>(s->st_dev);
58 st->st_ino = static_cast<ino_t>(s->st_ino);
59 st->st_mode = static_cast<mode_t>(s->st_mode);
60 st->st_nlink = static_cast<nlink_t>(s->st_nlink);
61 st->st_uid = static_cast<uid_t>(s->st_uid);
62 st->st_gid = static_cast<gid_t>(s->st_gid);
63 st->st_rdev = static_cast<dev_t>(s->st_rdev);
64 st->st_size = static_cast<off_t>(s->st_size);
65 st->st_blksize = static_cast<int>(s->st_blksize);
66 st->st_blocks = static_cast<long>(s->st_blocks)
    [all...]
  /art/runtime/
experimental_flags.h 33 constexpr ExperimentalFlags(decltype(kNone) t) : value_(static_cast<uint32_t>(t)) {}
36 return static_cast<decltype(kNone)>(value_);
44 return static_cast<decltype(kNone)>(value_ | static_cast<uint32_t>(b));
47 return static_cast<decltype(kNone)>(value_ | b.value_);
51 return static_cast<decltype(kNone)>(value_ & b.value_);
54 return static_cast<decltype(kNone)>(value_ & static_cast<uint32_t>(b));
  /external/clang/test/CXX/class/class.bit/
p2.cpp 19 B b3(static_cast<B&&>(b2));
21 b = static_cast<B&&>(b);
  /external/clang/test/SemaTemplate/
value-dependent-null-pointer-constant.cpp 28 (void)static_cast<void*>(static_cast<A*>(t));
  /external/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
BasicTimer.h 36 m_total = static_cast<float>(
37 static_cast<double>(m_currentTime.QuadPart - m_startTime.QuadPart) /
38 static_cast<double>(m_frequency.QuadPart)
48 m_delta = static_cast<float>(
49 static_cast<double>(m_currentTime.QuadPart - m_lastTime.QuadPart) /
50 static_cast<double>(m_frequency.QuadPart)
  /external/opencv3/samples/wp8/OcvRotatingCube/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/
BasicTimer.h 36 m_total = static_cast<float>(
37 static_cast<double>(m_currentTime.QuadPart - m_startTime.QuadPart) /
38 static_cast<double>(m_frequency.QuadPart)
48 m_delta = static_cast<float>(
49 static_cast<double>(m_currentTime.QuadPart - m_lastTime.QuadPart) /
50 static_cast<double>(m_frequency.QuadPart)

Completed in 4342 milliseconds

12 3 4 5 6 7 8 91011>>