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

1 2 3 4 5 6 7 8 91011>>

  /external/opencv3/samples/winrt/ImageManipulations/MediaExtensions/Common/
AsyncCB.h 51 *ppv = static_cast<IUnknown*>(static_cast<IMFAsyncCallback*>(this));
55 *ppv = static_cast<IMFAsyncCallback*>(this);
  /external/skia/tests/
RefCntTest.cpp 15 SkRefCnt* ref = static_cast<SkRefCnt*>(data);
39 SkWeakRefCnt* ref = static_cast<SkWeakRefCnt*>(data);
48 SkWeakRefCnt* ref = static_cast<SkWeakRefCnt*>(data);
  /external/v8/test/cctest/compiler/
test-run-properties.cc 48 volatile U value_a = static_cast<U>(kValues[i]);
49 volatile U value_b = static_cast<U>(kValues[j]);
51 static_cast<double>(value_a) + static_cast<double>(value_b);
52 T.CheckCall(T.Val(expected), T.Val(static_cast<double>(i)),
53 T.Val(static_cast<double>(j)));
116 volatile U value_a = static_cast<U>(kValues[i]);
117 volatile U value_b = static_cast<U>(kValues[j]);
119 static_cast<double>(value_a) + static_cast<double>(value_b)
    [all...]
  /external/webrtc/webrtc/modules/video_coding/utility/
moving_average.h 35 : sum_(static_cast<T>(0)) {}
54 *avg = sum_ / static_cast<T>(num_samples);
60 sum_ = static_cast<T>(0);
  /external/webrtc/webrtc/voice_engine/
network_predictor.cc 25 static_cast<uint8_t>(value + 0.5);
32 static_cast<float>(now_ms - last_loss_rate_update_time_ms_),
33 static_cast<float>(loss_rate));
  /external/webrtc/webrtc/voice_engine/test/auto_test/fakes/
fake_media_process.h 26 audio_10ms[i] = static_cast<int16_t>(audio_10ms[i] *
30 audio_10ms[2 * i] = static_cast<int16_t> (
33 audio_10ms[2 * i + 1] = static_cast<int16_t> (
  /frameworks/av/media/libmedia/
IStreamSource.cpp 68 data.writeInt64(static_cast<int64_t>(buffers.size()));
78 data.writeInt64(static_cast<int64_t>(index));
108 size_t n = static_cast<size_t>(data.readInt64());
127 onBufferAvailable(static_cast<size_t>(data.readInt64()));
155 data.writeInt64(static_cast<int64_t>(index));
156 data.writeInt64(static_cast<int64_t>(size));
165 data.writeInt32(static_cast<int32_t>(cmd));
166 data.writeInt32(static_cast<int32_t>(synchronous));
187 size_t index = static_cast<size_t>(data.readInt64());
188 size_t size = static_cast<size_t>(data.readInt64())
    [all...]
  /frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
Usage.cpp 33 mPolicySubsystem(static_cast<const PolicySubsystem *>(
37 mId = static_cast<audio_usage_t>(context.getItemAsInteger(MappingKeyIdentifier));
48 static_cast<routing_strategy>(applicableStrategy));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.overview/
future_status.pass.cpp 23 static_assert(static_cast<int>(std::future_status::ready) == 0, "");
24 static_assert(static_cast<int>(std::future_status::timeout) == 1, "");
25 static_assert(static_cast<int>(std::future_status::deferred) == 2, "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.obs/
op_bool.pass.cpp 24 assert(static_cast<bool>(lk0) == false);
26 assert(static_cast<bool>(lk1) == true);
28 assert(static_cast<bool>(lk1) == false);
  /system/core/include/utils/
Flattenable.h 63 *static_cast<T*>(buffer) = value;
70 value = *static_cast<T const*>(buffer);
110 return static_cast<T const*>(this)->T::getFlattenedSize();
114 return static_cast<T const*>(this)->T::getFdCount();
119 return static_cast<T const*>(this)->T::flatten(buffer, size, fds, count);
124 return static_cast<T*>(this)->T::unflatten(buffer, size, fds, count);
152 return static_cast<T const*>(this)->T::isFixedSize();
156 return static_cast<T const*>(this)->T::getFlattenedSize();
160 return static_cast<T const*>(this)->T::flatten(buffer, size);
164 return static_cast<T*>(this)->T::unflatten(buffer, size)
    [all...]
  /external/webrtc/webrtc/modules/video_coding/
session_info_unittest.cc 156 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_,
165 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_,
189 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_,
197 static_cast<size_t>(session_.InsertPacket(
205 static_cast<size_t>(session_.InsertPacket(packet_, frame_buffer_,
221 static_cast<size_t>(session_.InsertPacket(
234 static_cast<size_t>(session_.InsertPacket(
242 static_cast<size_t>(session_.InsertPacket(
252 static_cast<size_t>(session_.InsertPacket(
260 static_cast<size_t>(session_.InsertPacket
    [all...]
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
bwe_unittest.cc 53 sequence_numbers.push_back(static_cast<uint16_t>(i + 1));
59 linked_set_.Insert(static_cast<uint16_t>(i), 0, 0, 0);
73 linked_set_.Insert(static_cast<uint16_t>(i), 0, 0, 0);
78 static_cast<uint16_t>(kFirstSeqNumber));
80 static_cast<uint16_t>(kLastSeqNumber));
122 EXPECT_NEAR(loss_account_.LossRatio(), static_cast<float>(kLost) / kTotal,
142 EXPECT_EQ(bwe_receiver_.RecentKbps(), static_cast<size_t>(0));
159 static_cast<float>(kReceivingRateKbps) / 100.0f);
178 static_cast<float>(kReceivingRateKbps) / 100.0f);
196 uint16_t sequence_number = static_cast<uint16_t>(i)
    [all...]
  /external/pdfium/xfa/src/fwl/src/core/
fwl_gridimp.cpp 25 return static_cast<CFWL_GridImp*>(GetImpl())->InsertColRow(bColumn, nIndex);
28 return static_cast<CFWL_GridImp*>(GetImpl())->CountColRows(bColumn);
31 return static_cast<CFWL_GridImp*>(GetImpl())->GetColRow(bColumn, nIndex);
34 return static_cast<CFWL_GridImp*>(GetImpl())->GetIndex(hColRow);
37 return static_cast<CFWL_GridImp*>(GetImpl())->GetSize(hColRow, eUnit);
42 return static_cast<CFWL_GridImp*>(GetImpl())->SetSize(hColRow, fSize, eUnit);
45 return static_cast<CFWL_GridImp*>(GetImpl())->GetMinSize(hColRow, eUnit);
50 return static_cast<CFWL_GridImp*>(GetImpl())
54 return static_cast<CFWL_GridImp*>(GetImpl())->GetMaxSize(hColRow, eUnit);
59 return static_cast<CFWL_GridImp*>(GetImpl())
    [all...]
  /art/runtime/
stack_map.cc 52 return stream << "Kind<" << static_cast<uint32_t>(kind) << ">";
95 << " (native_pc_bit_offset=" << static_cast<uint32_t>(kNativePcBitOffset)
96 << ", dex_pc_bit_offset=" << static_cast<uint32_t>(dex_pc_bit_offset_)
97 << ", dex_register_map_bit_offset=" << static_cast<uint32_t>(dex_register_map_bit_offset_)
98 << ", inline_info_bit_offset=" << static_cast<uint32_t>(inline_info_bit_offset_)
99 << ", register_mask_bit_offset=" << static_cast<uint32_t>(register_mask_bit_offset_)
100 << ", stack_mask_bit_offset=" << static_cast<uint32_t>(stack_mask_bit_offset_)
107 << " (method_index_bit_offset=" << static_cast<uint32_t>(kMethodIndexBitOffset)
108 << ", dex_pc_bit_offset=" << static_cast<uint32_t>(dex_pc_bit_offset_)
109 << ", invoke_type_bit_offset=" << static_cast<uint32_t>(invoke_type_bit_offset_
    [all...]
  /external/libcxx/include/support/win32/
support.h 101 return __builtin_popcount(static_cast<int>(x));
121 return static_cast<int>((x * h01) >> 56);
133 return static_cast<int>(where);
137 if (_BitScanForward(&where, static_cast<unsigned long>(mask)))
138 return static_cast<int>(where);
140 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32)))
141 return static_cast<int>(where + 32); // Create a bit offset from the LSB.
154 return static_cast<int>(where);
163 return __builtin_ctzl(static_cast<unsigned long>(mask));
175 return static_cast<int>(63 - where)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
support.h 98 return __builtin_popcount(static_cast<int>(x));
118 return static_cast<int>((x * h01) >> 56);
130 return static_cast<int>(where);
134 if (_BitScanForward(&where, static_cast<unsigned long>(mask)))
135 return static_cast<int>(where);
137 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32)))
138 return static_cast<int>(where + 32); // Create a bit offset from the LSB.
151 return static_cast<int>(where);
160 return __builtin_ctzl(static_cast<unsigned long>(mask));
172 return static_cast<int>(63 - where)
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
dtoa.h 63 uint32_t p1 = static_cast<uint32_t>(Mp.f >> -one.e);
83 buffer[(*len)++] = static_cast<char>('0' + static_cast<char>(d));
85 uint64_t tmp = (static_cast<uint64_t>(p1) << -one.e) + p2;
88 GrisuRound(buffer, *len, delta, tmp, static_cast<uint64_t>(kPow10[kappa]) << -one.e, wp_w.f);
97 char d = static_cast<char>(p2 >> -one.e);
99 buffer[(*len)++] = static_cast<char>('0' + d);
104 GrisuRound(buffer, *len, delta, p2, one.f, wp_w.f * kPow10[-static_cast<int>(kappa)]);
131 *buffer++ = static_cast<char>('0' + static_cast<char>(K / 100))
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
support.h 98 return __builtin_popcount(static_cast<int>(x));
118 return static_cast<int>((x * h01) >> 56);
130 return static_cast<int>(where);
134 if (_BitScanForward(&where, static_cast<unsigned long>(mask)))
135 return static_cast<int>(where);
137 if (_BitScanForward(&where, static_cast<unsigned long>(mask >> 32)))
138 return static_cast<int>(where + 32); // Create a bit offset from the LSB.
151 return static_cast<int>(where);
160 return __builtin_ctzl(static_cast<unsigned long>(mask));
172 return static_cast<int>(63 - where)
    [all...]
  /art/compiler/utils/arm/
managed_register_arm.cc 79 os << "Core: " << static_cast<int>(AsCoreRegister());
81 os << "Pair: " << static_cast<int>(AsRegisterPairLow()) << ", "
82 << static_cast<int>(AsRegisterPairHigh());
84 os << "SRegister: " << static_cast<int>(AsSRegister());
86 os << "DRegister: " << static_cast<int>(AsDRegister());
  /art/runtime/arch/mips/
context_mips.h 48 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters));
53 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters));
58 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfCoreRegisters));
66 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfFRegisters));
71 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfFRegisters));
  /art/runtime/arch/mips64/
context_mips64.h 48 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfGpuRegisters));
53 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfGpuRegisters));
58 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfGpuRegisters));
66 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfFpuRegisters));
71 CHECK_LT(reg, static_cast<uint32_t>(kNumberOfFpuRegisters));
  /art/runtime/arch/x86/
context_x86.h 52 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters));
57 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters));
62 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters));
70 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters));
75 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters));
  /art/runtime/arch/x86_64/
context_x86_64.h 52 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters));
57 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters));
62 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfCpuRegisters));
70 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters));
75 DCHECK_LT(reg, static_cast<uint32_t>(kNumberOfFloatRegisters));
  /external/libcxx/test/std/experimental/optional/optional.object/optional.object.assign/
assign_value.pass.cpp 42 assert(static_cast<bool>(opt) == true);
49 assert(static_cast<bool>(opt) == true);
56 assert(static_cast<bool>(opt) == true);
62 assert(static_cast<bool>(opt) == true);
68 assert(static_cast<bool>(opt) == true);

Completed in 749 milliseconds

1 2 3 4 5 6 7 8 91011>>