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

<<21222324252627282930>>

  /external/libcxxabi/test/
catch_ptr.pass.cpp 85 assert(static_cast<const C1*>(a)->id_ == 4);
86 assert(static_cast<const C2*>(a)->id_ == 3);
87 assert(static_cast<const B*>(a)->id_ == 8);
113 assert(static_cast<const B*>(a)->id_ == 8);
158 assert(static_cast<const B*>(c1)->id_ == 8);
  /external/libvpx/libvpx/test/
active_map_refresh_test.cc 25 int r_top = std::min(r + 16, static_cast<int>(current.d_h));
26 int c_top = std::min(c0 + 16, static_cast<int>(current.d_w));
75 static_cast<libvpx_test::Y4mVideoSource *>(video);
84 const int width = static_cast<int>(current->d_w);
85 const int height = static_cast<int>(current->d_h);
  /external/libvpx/libvpx/
webmenc.cc 45 segment->AddVideoTrack(static_cast<int>(cfg->g_w),
46 static_cast<int>(cfg->g_h),
49 static_cast<mkvmuxer::VideoTrack*>(
72 static_cast<uint64_t>(((cfg->g_w * par->numerator * 1.0) /
95 segment->AddFrame(static_cast<uint8_t*>(pkt->data.frame.buf),
  /external/llvm/lib/Support/Unix/
RWMutex.inc 32 delete static_cast<MutexImpl *>(data_);
36 return static_cast<MutexImpl *>(data_)->acquire();
40 return static_cast<MutexImpl *>(data_)->release();
44 return static_cast<MutexImpl *>(data_)->acquire();
48 return static_cast<MutexImpl *>(data_)->release();
  /external/parameter-framework/upstream/parameter/
BitParameter.cpp 56 return static_cast<const CBitParameterBlock *>(getParent())->getSize();
84 if (static_cast<const CBitParameterType *>(getTypeElement())->getBitSize() != 1) {
153 if (!static_cast<const CBitParameterType *>(getTypeElement())
177 static_cast<const CBitParameterType *>(getTypeElement())
191 return static_cast<const CBitParameterType *>(getTypeElement())->merge(uiOriginData, uiNewData);
  /external/piex/src/binary_parse/
range_checked_byte_ptr.cc 148 result.push_back(static_cast<char>(bytes[i]));
210 (static_cast<size_t>(page_end - page_begin) != expected_page_size)) {
218 current_page_len_ = static_cast<size_t>(page_end - page_begin);
311 return static_cast<int16>(-0x8000);
313 return -static_cast<int16>(0x10000u - unsigned_value);
315 return static_cast<int16>(unsigned_value);
329 return (static_cast<uint16>(input[0]) << 8) | static_cast<uint16>(input[1]);
331 return (static_cast<uint16>(input[1]) << 8) | static_cast<uint16>(input[0])
    [all...]
  /external/skia/tests/
LayerRasterizerTest.cpp 89 builder.addLayer(paint, static_cast<SkScalar>(flags), static_cast<SkScalar>(flags));
128 recFirstCopy = static_cast<const SkLayerRasterizer_Rec*>(iterFirstCopy.next());
129 recOneLarger = static_cast<const SkLayerRasterizer_Rec*>(iterOneLarger.next());
130 recDetached = static_cast<const SkLayerRasterizer_Rec*>(iterDetached.next());
MallocPixelRefTest.cpp 13 delete[] static_cast<uint8_t*>(ptr);
17 *(static_cast<int*>(context)) = 1;
66 void* addr = static_cast<void*>(new uint8_t[size]);
79 static_cast<void*>(&x)));
88 void* addr = static_cast<void*>(new uint8_t[size]);
  /external/v8/src/interpreter/
constant-array-builder.cc 61 STATIC_ASSERT(kMaxCapacity == static_cast<size_t>(kMaxUInt16 + 1));
91 factory->NewFixedArray(static_cast<int>(size()), PretenureFlag::TENURED);
93 fixed_array->set(i, *At(static_cast<size_t>(i)));
116 *entry = static_cast<index_t>(index);
149 *entry = static_cast<index_t>(idx8_slice_.Allocate(object));
  /external/vulkan-validation-layers/libs/glm/detail/
func_integer.inl 53 uint64 Value64 = static_cast<uint64>(x) + static_cast<uint64>(y);
54 uint32 Result = static_cast<uint32>(Value64 % (static_cast<uint64>(1) << static_cast<uint64>(32)));
55 Carry = (Value64 % (static_cast<uint64>(1) << static_cast<uint64>(32))) > 1 ? static_cast<uint32>(1) : static_cast<uint32>(0);
112 Borrow = x >= y ? static_cast<uint32>(0) : static_cast<uint32>(1)
    [all...]
  /external/webrtc/webrtc/base/
win32.h 31 #define TokenIntegrityLevel static_cast<TOKEN_INFORMATION_CLASS>(0x19)
50 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len),
53 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws, len16);
62 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len),
65 ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), ns, len8,
  /external/webrtc/webrtc/common_audio/resampler/
resampler_unittest.cc 35 const size_t kDataSize = static_cast<size_t> (kMaxChannels * kMaxRate / 100);
101 size_t in_length = static_cast<size_t>(kRates[i] / 100);
106 EXPECT_EQ(static_cast<size_t>(kRates[j] / 100), out_length);
123 size_t in_length = static_cast<size_t>(kChannels * kRates[i] / 100);
129 EXPECT_EQ(static_cast<size_t>(kChannels * kRates[j] / 100), out_length);
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/
nada_unittest.cc 174 size_t receiving_rate = static_cast<size_t>(original_bitrate);
206 size_t receiving_rate = static_cast<size_t>(original_bitrate);
231 size_t receiving_rate = static_cast<size_t>(original_bitrate);
257 size_t receiving_rate = static_cast<size_t>(kMinBitrateKbps);
290 const size_t kRecentReceivingRate = static_cast<size_t>(kMaxBitrateKbps);
318 static_cast<NadaFeedback*>(nada_receiver_.GetFeedback(0)));
322 static_cast<NadaFeedback*>(nada_receiver_.GetFeedback(100)));
338 uint16_t sequence_number = static_cast<uint16_t>(i);
346 static_cast<NadaFeedback*>(nada_receiver_.GetFeedback(500)));
368 exp_smoothed_delays_ms[i] = static_cast<int64_t>
    [all...]
nada.cc 78 est_queuing_delay_signal_ms_ = static_cast<int64_t>(
79 pow((static_cast<double>(kDelayMaxThresholdMs -
102 static_cast<int64_t>(loss_fraction * kPacketLossPenaltyMs + 0.5f);
108 static_cast<float>(now_ms - last_feedback_ms_);
150 return static_cast<int64_t>(alpha * new_value +
177 const NadaFeedback& fb = static_cast<const NadaFeedback&>(feedback);
191 std::min(min_feedback_delay_ms_, static_cast<int64_t>(delta_s));
249 std::min(kGamma0, static_cast<float>(kMaxRampUpQueuingDelayMs) /
252 bitrate_kbps_ = static_cast<int>((1.0f + gamma) * fb.receiving_rate() + 0.5f);
278 static_cast<int>((kKappa * delta_s
    [all...]
  /external/webrtc/webrtc/modules/video_processing/test/
brightness_detection_test.cc 44 float warningProportion = static_cast<float>(warningCount) / frameNum * 100;
66 frame[yIdx] = static_cast<uint8_t>(yTmp);
82 warningProportion = static_cast<float>(warningCount) / frameNum * 100;
100 y_plane[yIdx] = static_cast<uint8_t>(yTmp);
116 warningProportion = static_cast<float>(warningCount) / frameNum * 100;
  /external/webrtc/webrtc/system_wrappers/source/
rtp_to_ntp.cc 37 *frequency_khz = static_cast<double>(rtp_timestamp1 - rtp_timestamp2) /
38 static_cast<double>(rtcp_ntp_ms1 - rtcp_ntp_ms2);
124 double rtp_timestamp_ntp_ms = (static_cast<double>(rtp_timestamp_unwrapped) -
138 if (static_cast<int32_t>(new_timestamp - old_timestamp) > 0) {
142 } else if (static_cast<int32_t>(old_timestamp - new_timestamp) > 0) {
  /ndk/sources/cxx-stl/gabi++/tests/
catch_ptr.cpp 85 assert(static_cast<const C1*>(a)->id_ == 4);
86 assert(static_cast<const C2*>(a)->id_ == 3);
87 assert(static_cast<const B*>(a)->id_ == 8);
113 assert(static_cast<const B*>(a)->id_ == 8);
158 assert(static_cast<const B*>(c1)->id_ == 8);
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
catch_ptr.pass.cpp 85 assert(static_cast<const C1*>(a)->id_ == 4);
86 assert(static_cast<const C2*>(a)->id_ == 3);
87 assert(static_cast<const B*>(a)->id_ == 8);
113 assert(static_cast<const B*>(a)->id_ == 8);
158 assert(static_cast<const B*>(c1)->id_ == 8);
  /system/security/keystore/
keystore_keymaster_enforcement.h 37 return static_cast<uint32_t>(tp.tv_sec);
42 if (now == static_cast<time_t>(-1)) {
54 uint64_t now_date = static_cast<uint64_t>(now) * 1000 + 999;
60 if (now == static_cast<time_t>(-1)) {
71 uint64_t now_date = static_cast<uint64_t>(now) * 1000;
  /external/clang/test/SemaCXX/
vector.cpp 85 // static_cast
86 (void)static_cast<char16>(ll16);
87 (void)static_cast<char16_e>(ll16);
88 (void)static_cast<longlong16>(ll16);
89 (void)static_cast<longlong16_e>(ll16);
90 (void)static_cast<char16>(ll16e);
91 (void)static_cast<char16_e>(ll16e); // expected-error{{static_cast from 'longlong16_e' (vector of 2 'long long' values) to 'char16_e' (vector of 16 'char' values) is not allowed}}
92 (void)static_cast<longlong16>(ll16e);
93 (void)static_cast<longlong16_e>(ll16e)
    [all...]
  /external/eigen/test/
basicstuff.cpp 70 VERIFY_IS_MUCH_SMALLER_THAN(MatrixType::Zero(rows,cols)(r,c), static_cast<Scalar>(1));
97 VERIFY_IS_APPROX(static_cast<const MatrixType&>(m3).real(), static_cast<const MatrixType&>(m1).real());
98 VERIFY_IS_APPROX(static_cast<const MatrixType&>(m3).real(), m1.real());
156 VERIFY_IS_APPROX(static_cast<const MatrixType&>(cm).real(), rm1);
157 VERIFY_IS_APPROX(static_cast<const MatrixType&>(cm).imag(), rm2);
162 VERIFY_IS_APPROX(static_cast<const MatrixType&>(cm).real(), rm1);
163 VERIFY_IS_APPROX(static_cast<const MatrixType&>(cm).imag(), rm2);
165 VERIFY(static_cast<const MatrixType&>(cm).real().isZero());
166 VERIFY(!static_cast<const MatrixType&>(cm).imag().isZero())
    [all...]
  /external/gemmlowp/test/
correctness_meta_gemm.cc 52 data[i * cols + j] = static_cast<std::uint8_t>(value);
73 (static_cast<std::int32_t>(left[depth * i + k]) + lhs_offset) *
74 (static_cast<std::int32_t>(right[depth * j + k]) + rhs_offset);
85 expected = static_cast<std::int32_t>(static_cast<std::uint8_t>(expected));
86 std::int32_t actual = static_cast<std::int32_t>(result[i * cols + j]);
127 (static_cast<std::int32_t>(left[depth * i + k]) + lhs_offset) *
128 (static_cast<std::int32_t>(right[depth * j + k]) + rhs_offset);
130 float expected_float = static_cast<float>(expected) * result_offset;
165 result[i] = static_cast<T>(0)
    [all...]
  /external/libchrome/sandbox/linux/seccomp-bpf/
sandbox_bpf.cc 111 return static_cast<uint64_t>(static_cast<uintptr_t>(rv));
115 SANDBOX_DIE(static_cast<const char*>(aux));
215 args.nr, static_cast<intptr_t>(args.args[0]),
216 static_cast<intptr_t>(args.args[1]), static_cast<intptr_t>(args.args[2]),
217 static_cast<intptr_t>(args.args[3]), static_cast<intptr_t>(args.args[4]),
218 static_cast<intptr_t>(args.args[5]));
247 const struct sock_fprog prog = {static_cast<unsigned short>(program.size())
    [all...]
  /external/pdfium/xfa/src/fwl/src/basewidget/
fwl_listboximp.cpp 38 return static_cast<CFWL_ListBoxImp*>(GetImpl())->CountSelItems();
41 return static_cast<CFWL_ListBoxImp*>(GetImpl())->GetSelItem(nIndexSel);
44 return static_cast<CFWL_ListBoxImp*>(GetImpl())->GetSelIndex(nIndex);
47 return static_cast<CFWL_ListBoxImp*>(GetImpl())->SetSelItem(hItem, bSelect);
50 return static_cast<CFWL_ListBoxImp*>(GetImpl())->GetItemText(hItem, wsText);
53 return static_cast<CFWL_ListBoxImp*>(GetImpl())->GetScrollPos(fPos, bVert);
56 return static_cast<CFWL_ListBoxImp*>(GetImpl())->Sort(pCom);
208 static_cast<IFWL_ListBoxDP*>(m_pProperties->m_pDataProvider);
227 static_cast<IFWL_ListBoxDP*>(m_pProperties->m_pDataProvider);
250 static_cast<IFWL_ListBoxDP*>(m_pProperties->m_pDataProvider);
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/test/
RTPFile.cc 33 rtpInfo->header.sequenceNumber = (static_cast<uint16_t>(rtpHeader[2]) << 8) |
35 rtpInfo->header.timestamp = (static_cast<uint32_t>(rtpHeader[4]) << 24) |
36 (static_cast<uint32_t>(rtpHeader[5]) << 16) |
37 (static_cast<uint32_t>(rtpHeader[6]) << 8) | rtpHeader[7];
38 rtpInfo->header.ssrc = (static_cast<uint32_t>(rtpHeader[8]) << 24) |
39 (static_cast<uint32_t>(rtpHeader[9]) << 16) |
40 (static_cast<uint32_t>(rtpHeader[10]) << 8) | rtpHeader[11];
176 uint16_t lengthBytes = htons(static_cast<u_short>(12 + payloadSize + 8));
177 uint16_t plen = htons(static_cast<u_short>(12 + payloadSize));
219 if (payloadSize < static_cast<size_t>((lengthBytes - 20)))
    [all...]

Completed in 510 milliseconds

<<21222324252627282930>>