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

<<11121314151617181920>>

  /external/protobuf/src/google/protobuf/stubs/
atomicops_internals_x86_msvc.cc 57 static_cast<LONG>(new_value),
58 static_cast<LONG>(old_value));
59 return static_cast<Atomic32>(result);
66 static_cast<LONG>(new_value));
67 return static_cast<Atomic32>(result);
74 static_cast<LONG>(increment)) + increment;
102 static_cast<LONGLONG>(increment)) + increment;
  /external/v8/src/
atomic-utils.h 24 return static_cast<T>(base::Barrier_AtomicIncrement(
25 &value_, static_cast<base::AtomicWord>(increment)));
28 V8_INLINE T Value() { return static_cast<T>(base::Acquire_Load(&value_)); }
31 base::Release_Store(&value_, static_cast<base::AtomicWord>(new_value));
76 return static_cast<base::AtomicWord>(value);
79 return static_cast<S>(value);
166 return static_cast<base::AtomicWord>(1) << element;
  /external/v8/src/base/platform/
time.cc 62 return static_cast<int>(delta_ / Time::kMicrosecondsPerDay);
67 return static_cast<int>(delta_ / Time::kMicrosecondsPerHour);
72 return static_cast<int>(delta_ / Time::kMicrosecondsPerMinute);
77 return static_cast<double>(delta_) / Time::kMicrosecondsPerSecond;
87 return static_cast<double>(delta_) / Time::kMicrosecondsPerMillisecond;
106 static_cast<long>(Time::kNanosecondsPerSecond)); // NOLINT
115 ts.tv_sec = static_cast<unsigned>(delta_ / Time::kMicrosecondsPerSecond);
129 static_cast<long>(Time::kNanosecondsPerSecond)); // NOLINT
137 ts.tv_sec = static_cast<time_t>(delta_ / Time::kMicrosecondsPerSecond);
228 int64_t us = (static_cast<uint64_t>(ft.dwLowDateTime)
    [all...]
  /external/webrtc/webrtc/base/
timing.cc 55 return (static_cast<double>(time.tv_sec) +
56 static_cast<double>(time.tv_usec) * 1.0e-6);
62 return (static_cast<double>(time.time) +
63 static_cast<double>(time.millitm) * 1.0e-3);
68 return (static_cast<double>(TimeNanos()) / kNumNanosecsPerSec);
84 ts.tv_sec = static_cast<time_t>(sec_int);
85 ts.tv_nsec = static_cast<long>(sec_frac * 1.0e9); // NOLINT
timeutils.cc 55 ticks = kNumNanosecsPerSec * static_cast<int64_t>(ts.tv_sec) +
56 static_cast<int64_t>(ts.tv_nsec);
82 return static_cast<uint32_t>(TimeNanos() / kNumNanosecsPerMillisec);
86 return static_cast<uint64_t>(TimeNanos() / kNumNanosecsPerMicrosec);
109 tv->tv_sec = static_cast<long>(micros / kNumMicrosecsPerSec); // NOLINT
110 tv->tv_usec = static_cast<long>(micros % kNumMicrosecsPerSec); // NOLINT
140 RTC_DCHECK_LT(static_cast<uint32_t>(elapsed), HALF);
155 return (diff >= 0 && static_cast<uint32_t>(diff) < HALF);
165 return (diff > 0 && static_cast<uint32_t>(diff) < HALF);
179 return static_cast<long>(later - earlier)
    [all...]
  /frameworks/av/media/libeffects/testlibs/
AudioPeakingFilter.cpp 70 uint32_t normFreq = static_cast<uint32_t>(
71 (static_cast<uint64_t>(millihertz) * mFrequencyFactor) >> 10);
96 static_cast<uint32_t>(mGain) << (32 - GAIN_PRECISION_BITS),
107 low = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(-halfBW + (16 << 15))) >> 16);
111 high = static_cast<uint32_t>((static_cast<uint64_t>(mNominalFrequency) * Effects_exp2(halfBW + (16 << 15))) >> 16);
  /frameworks/base/libs/hwui/
FrameInfo.h 89 set(FrameInfoIndex::Flags) |= static_cast<uint64_t>(frameInfoFlag);
95 return mBuffer[static_cast<int>(index)];
122 set(FrameInfoIndex::Flags) |= static_cast<uint64_t>(frameInfoFlag);
134 if (index < 0 || index >= static_cast<int>(FrameInfoIndex::NumIndexes)) return 0;
161 return mFrameInfo[static_cast<int>(index)];
166 return mFrameInfo[static_cast<int>(index)];
170 int64_t mFrameInfo[static_cast<int>(FrameInfoIndex::NumIndexes)];
GpuMemoryTracker.cpp 33 #define NUM_TYPES static_cast<int>(GpuObjectType::TypeCount)
52 gObjectStats[static_cast<int>(mType)].totalSize += delta;
59 gObjectStats[static_cast<int>(mType)].count++;
67 gObjectStats[static_cast<int>(mType)].count--;
103 return gObjectStats[static_cast<int>(type)].count;
107 return gObjectStats[static_cast<int>(type)].totalSize;
125 const Texture* texture = static_cast<Texture*>(obj);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
in_place_t.pass.cpp 68 static_assert(static_cast<bool>(opt) == true, "");
81 assert(static_cast<bool>(opt) == true);
86 assert(static_cast<bool>(opt) == true);
91 assert(static_cast<bool>(opt) == true);
96 static_assert(static_cast<bool>(opt) == true, "");
109 static_assert(static_cast<bool>(opt) == true, "");
122 static_assert(static_cast<bool>(opt) == true, "");
  /system/core/debuggerd/x86_64/
machine.cpp 38 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rax), "memory near rax:");
39 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rbx), "memory near rbx:");
40 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rcx), "memory near rcx:");
41 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdx), "memory near rdx:");
42 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rsi), "memory near rsi:");
43 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rdi), "memory near rdi:");
45 dump_memory(log, backtrace, static_cast<uintptr_t>(r.rip), "code around rip:");
  /external/libcxx/include/
__tree 654 __ptr_ = static_cast<__node_pointer>(
655 __tree_next(static_cast<typename __node::base::pointer>(__ptr_)));
664 __ptr_ = static_cast<__node_pointer>(
665 __tree_prev(static_cast<typename __node::base::pointer>(__ptr_)));
749 __ptr_ = static_cast<__node_pointer>(
750 __tree_next(static_cast<__node_base_pointer>(__ptr_)));
768 __ptr_ = static_cast<__node_pointer>(
769 __tree_prev(static_cast<__node_base_pointer>(__ptr_)));
844 return static_cast<__node_pointer>
852 return static_cast<__node_const_pointer
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
__tree 656 {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
664 {__ptr_ = static_cast<__node_pointer>(__tree_prev(static_cast<__node_base_pointer>(__ptr_)));
747 {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
755 {__ptr_ = static_cast<__node_pointer>(__tree_prev(static_cast<__node_base_pointer>(__ptr_)));
834 return static_cast<__node_pointer>
842 return static_cast<__node_const_pointer
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/
__tree 656 {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
664 {__ptr_ = static_cast<__node_pointer>(__tree_prev(static_cast<__node_base_pointer>(__ptr_)));
747 {__ptr_ = static_cast<__node_pointer>(__tree_next(static_cast<__node_base_pointer>(__ptr_)));
755 {__ptr_ = static_cast<__node_pointer>(__tree_prev(static_cast<__node_base_pointer>(__ptr_)));
834 return static_cast<__node_pointer>
842 return static_cast<__node_const_pointer
    [all...]
  /external/libcxx/src/
strstream.cpp 37 __n = static_cast<streamsize>(strlen(__gnext));
147 return static_cast<int>(pptr() - pbase());
159 size_t old_size = static_cast<size_t> ((epptr() ? epptr() : egptr()) - eback());
160 size_t new_size = max<size_t>(static_cast<size_t>(__alsize_), 2*old_size);
165 buf = static_cast<char*>(__palloc_(new_size));
170 memcpy(buf, eback(), static_cast<size_t>(old_size));
184 pbump(static_cast<int>(nout));
187 *pptr() = static_cast<char>(__c);
189 return int_type(static_cast<unsigned char>(__c));
204 if (gptr()[-1] == static_cast<char>(__c)
    [all...]
  /external/vulkan-validation-layers/libs/glm/gtx/
euler_angles.inl 157 Result[0][3] = static_cast<T>(0);
161 Result[1][3] = static_cast<T>(0);
165 Result[2][3] = static_cast<T>(0);
166 Result[3][0] = static_cast<T>(0);
167 Result[3][1] = static_cast<T>(0);
168 Result[3][2] = static_cast<T>(0);
169 Result[3][3] = static_cast<T>(1);
192 Result[0][3] = static_cast<T>(0);
196 Result[1][3] = static_cast<T>(0);
200 Result[2][3] = static_cast<T>(0)
    [all...]
  /external/webrtc/webrtc/common_audio/
wav_header.cc 72 if (static_cast<uint64_t>(sample_rate) > std::numeric_limits<uint32_t>::max())
76 if (static_cast<uint64_t>(bytes_per_sample) * 8 >
79 if (static_cast<uint64_t>(sample_rate) * num_channels * bytes_per_sample >
118 *f = static_cast<uint32_t>(a)
119 | static_cast<uint32_t>(b) << 8
120 | static_cast<uint32_t>(c) << 16
121 | static_cast<uint32_t>(d) << 24;
134 return static_cast<uint32_t>(
140 return static_cast<uint32_t>(num_channels * sample_rate * bytes_per_sample);
145 return static_cast<uint16_t>(num_channels * bytes_per_sample)
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/
normal.cc 35 return static_cast<int>(length);
69 external_mute_factor_array[channel_ix] = static_cast<int16_t>(
80 std::min(static_cast<size_t>(fs_mult * 64), length_per_channel);
87 static_cast<int32_t>(energy_length >> scaling);
102 int16_t energy_scaled = static_cast<int16_t>(energy << scaling);
110 static_cast<int16_t>(std::min(mute_factor, 16384));
123 static_cast<int16_t>((scaled_signal + 8192) >> 14);
125 external_mute_factor_array[channel_ix] = static_cast<int16_t>(std::min(
134 for (size_t i = 0; i < static_cast<size_t>(8 * fs_mult); i++) {
140 static_cast<int16_t>((fraction * (*output)[channel_ix][i]
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
strstream.cpp 37 __n = static_cast<streamsize>(strlen(__gnext));
147 return static_cast<int>(pptr() - pbase());
159 size_t old_size = static_cast<size_t> ((epptr() ? epptr() : egptr()) - eback());
160 size_t new_size = max<size_t>(static_cast<size_t>(__alsize_), 2*old_size);
165 buf = static_cast<char*>(__palloc_(new_size));
170 memcpy(buf, eback(), static_cast<size_t>(old_size));
184 pbump(static_cast<int>(nout));
187 *pptr() = static_cast<char>(__c);
189 return int_type(static_cast<unsigned char>(__c));
204 if (gptr()[-1] == static_cast<char>(__c)
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
strtod.h 98 dS.MultiplyPow5(static_cast<unsigned>(dS_Exp5)) <<= static_cast<unsigned>(dS_Exp2);
101 bS.MultiplyPow5(static_cast<unsigned>(bS_Exp5)) <<= static_cast<unsigned>(bS_Exp2);
104 hS.MultiplyPow5(static_cast<unsigned>(hS_Exp5)) <<= static_cast<unsigned>(hS_Exp2);
137 significand = significand * 10u + static_cast<unsigned>(decimals[i] - '0');
169 if (length + static_cast<unsigned>(adjustment)> 19u) // has more digits than decimal digits in 64-bit
187 error = (error >> scaleExp) + 1 + static_cast<int>(kUlp);
191 DiyFp rounded(v.f >> precisionSize, v.e + static_cast<int>(precisionSize))
    [all...]
  /external/libcxx/test/std/utilities/function.objects/func.invoke/
invoke.pass.cpp 197 test_b34<int const&>(static_cast<Fn const&>(cl));
198 test_b34<int volatile&>(static_cast<Fn volatile&>(cl));
199 test_b34<int const volatile&>(static_cast<Fn const volatile &>(cl));
201 test_b34<int&&>(static_cast<Fn &&>(cl));
202 test_b34<int const&&>(static_cast<Fn const&&>(cl));
203 test_b34<int volatile&&>(static_cast<Fn volatile&&>(cl));
204 test_b34<int const volatile&&>(static_cast<Fn const volatile&&>(cl));
210 test_b34<int const&>(static_cast<Fn const&>(cl));
211 test_b34<int volatile&>(static_cast<Fn volatile&>(cl));
212 test_b34<int const volatile&>(static_cast<Fn const volatile &>(cl))
    [all...]
  /system/update_engine/
metrics.cc 124 static_cast<int>(os_age.InDays()),
140 value = static_cast<int>(result);
141 max_value = static_cast<int>(metrics::CheckResult::kNumConstants) - 1;
147 value = static_cast<int>(reaction);
148 max_value = static_cast<int>(metrics::CheckReaction::kNumConstants) - 1;
154 value = static_cast<int>(download_error_code);
198 LOG(INFO) << "Uploading " << static_cast<int>(attempt_result)
202 static_cast<int>(attempt_result),
203 static_cast<int>(AttemptResult::kNumConstants));
293 LOG(INFO) << "Uploading " << static_cast<int>(attempt_result
    [all...]
  /external/icu/icu4c/source/test/intltest/
numberformattesttuple.cpp 104 *static_cast<UnicodeString *>(strPtr) = str;
109 appendTo.append(*static_cast<const UnicodeString *>(strPtr));
119 *static_cast<Locale *>(localePtr) = Locale(localeStr.data());
126 static_cast<const Locale *>(localePtr)->getName()));
157 *static_cast<int32_t *>(intPtr) = value;
163 int32_t x = *static_cast<const int32_t *>(intPtr);
186 *static_cast<double *>(doublePtr) = atof(buffer.data());
192 double x = *static_cast<const double *>(doublePtr);
201 *static_cast<DecimalFormat::ERoundingMode *>(roundPtr) = (DecimalFormat::ERoundingMode) val;
207 *static_cast<const DecimalFormat::ERoundingMode *>(roundPtr)
    [all...]
  /external/opencv3/modules/cudalegacy/src/
graphcuts.cpp 186 static_cast<int>(terminals.step), static_cast<int>(leftTransp.step), sznpp, labels.ptr<Npp8u>(), static_cast<int>(labels.step), state) );
191 static_cast<int>(terminals.step), static_cast<int>(leftTransp.step), sznpp, labels.ptr<Npp8u>(), static_cast<int>(labels.step), state) );
196 static_cast<int>(terminals.step), static_cast<int>(leftTransp.step), sznpp, labels.ptr<Npp8u>(), static_cast<int>(labels.step), state) );
260 static_cast<int>(terminals.step), static_cast<int>(leftTransp.step), sznpp, labels.ptr<Npp8u>(), static_cast<i (…)
    [all...]
  /art/runtime/base/unix_file/
random_access_file_test.h 76 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0)));
90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0)));
96 ASSERT_EQ(short_request, static_cast<uint64_t>(file->Read(buf.get(), short_request, 0)));
103 ASSERT_EQ(short_request, static_cast<uint64_t>(file->Read(buf.get(), short_request,
116 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0)));
117 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->GetLength()));
152 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size(), 0)));
153 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->GetLength()));
160 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf, sizeof(buf), 0)));
164 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Write(content.data(), content.size()
    [all...]
  /external/clang/test/CodeGenCXX/
devirtualize-virtual-function-calls-final.cpp 49 return static_cast<B*>(v)->f();
67 static_cast<A*>(d)->f();
69 -static_cast<A&>(*d);
94 static_cast<A*>(d)->f();
103 -static_cast<A&>(*d);
126 static_cast<A*>(d)->~A();
151 return static_cast<bar*>(z)->f();
166 return static_cast<B*>(c)->foo();
212 return static_cast<RA*>(x)->f();
225 return -static_cast<RA&>(*x)
    [all...]

Completed in 1799 milliseconds

<<11121314151617181920>>