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

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/diagnostics/syserr/syserr.errcondition/syserr.errcondition.observers/
bool.pass.cpp 24 assert(static_cast<bool>(ec));
28 assert(!static_cast<bool>(ec));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/iostate.flags/
bool.pass.cpp 22 assert(static_cast<bool>(ios) == !ios.fail());
24 assert(static_cast<bool>(ios) == !ios.fail());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.errors/
default_error_condition.pass.cpp 22 std::error_condition e_cond = e_cat.default_error_condition(static_cast<int>(std::errc::not_a_directory));
24 assert(e_cond.value() == static_cast<int>(std::errc::not_a_directory));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/
cv_status.pass.cpp 19 assert(static_cast<int>(std::cv_status::no_timeout) == 0);
20 assert(static_cast<int>(std::cv_status::timeout) == 1);
  /ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
catch_class_04.pass.cpp 80 assert(static_cast<C1&>(a).id_ == 4);
81 assert(static_cast<C2&>(a).id_ == 3);
82 assert(static_cast<B&>(a).id_ == 8);
101 assert(static_cast<const C1&>(a).id_ == 4);
102 assert(static_cast<const C2&>(a).id_ == 3);
103 assert(static_cast<const B&>(a).id_ == 8);
133 assert(static_cast<const B&>(a).id_ == 8);
186 assert(static_cast<const B&>(c1).id_ == 8);
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/
bounds.hpp 28 static N smallest() { return static_cast<N>(1); }
38 static N lowest () { return static_cast<N>(-limits::max BOOST_PREVENT_MACRO_SUBSTITUTION ()) ; }
  /ndk/tests/device/test-gnustl-full/unit/
messages_facets_test.cpp 24 locale loc(locale::classic(), new messages_byname<char>(static_cast<char const*>(0)));
62 locale loc(locale::classic(), new messages_byname<wchar_t>(static_cast<char const*>(0)));
  /ndk/tests/device/test-stlport/unit/
messages_facets_test.cpp 24 locale loc(locale::classic(), new messages_byname<char>(static_cast<char const*>(0)));
62 locale loc(locale::classic(), new messages_byname<wchar_t>(static_cast<char const*>(0)));
  /system/update_engine/common/
cpu_limiter_unittest.cc 30 return static_cast<int>(shares_lhs) - static_cast<int>(shares_rhs);
error_code_utils.cc 31 if ((static_cast<int>(code) & static_cast<int>(ErrorCode::kSpecialFlags)) &&
32 (static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags)))
33 code = static_cast<ErrorCode>(
34 static_cast<int>(code) & ~static_cast<int>(ErrorCode::kSpecialFlags));
149 return "Unknown error: " + base::UintToString(static_cast<unsigned>(code));
  /external/libcxx/src/
locale.cpp 110 return static_cast<size_t>(end - begin);
158 {return static_cast<size_t>(id) < facets_.size() && facets_[static_cast<size_t>(id)];}
343 install(const_cast<F*>(static_cast<const F*>(one.use_facet(id))), id);
441 if (static_cast<size_t>(id) >= facets_.size())
442 facets_.resize(static_cast<size_t>(id+1));
443 if (facets_[static_cast<size_t>(id)])
444 facets_[static_cast<size_t>(id)]->__release_shared();
445 facets_[static_cast<size_t>(id)] = hold.release();
455 return facets_[static_cast<size_t>(id)]
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
locale.cpp 113 return static_cast<size_t>(end - begin);
161 {return static_cast<size_t>(id) < facets_.size() && facets_[static_cast<size_t>(id)];}
346 install(const_cast<F*>(static_cast<const F*>(one.use_facet(id))), id);
444 if (static_cast<size_t>(id) >= facets_.size())
445 facets_.resize(static_cast<size_t>(id+1));
446 if (facets_[static_cast<size_t>(id)])
447 facets_[static_cast<size_t>(id)]->__release_shared();
448 facets_[static_cast<size_t>(id)] = hold.release();
458 return facets_[static_cast<size_t>(id)]
    [all...]
  /external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
interpolation.hpp 119 out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y2 - y));
122 out = out + src_reg * static_cast<work_elem_type>((x - x1) * (y2 - y));
125 out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y - y1));
128 out = out + src_reg * static_cast<work_elem_type>((x - x1) * (y - y1));
202 sum = sum + static_cast<work_elem_type>(w) * src_reg;
207 work_type res = (wsum > numeric_limits<float>::epsilon()) ? VecTraits<work_type>::all(0) : sum / static_cast<work_elem_type>(wsum);
329 out = out + saturate_cast<work_type>(src(dy, sx1 - 1)) * static_cast<work_elem_type>(sx1 - fsx1);
332 out = out + saturate_cast<work_type>(src(dy, sx2)) * static_cast<work_elem_type>(fsx2 - sx2);
338 out = out + saturate_cast<work_type>(src(sy1 - 1, dx)) * static_cast<work_elem_type>(sy1 - fsy1);
344 out = out + saturate_cast<work_type>(src(sy2, dx)) * static_cast<work_elem_type>(fsy2 - sy2)
    [all...]
  /frameworks/base/core/jni/
android_util_XmlBlock.cpp 136 return static_cast<jint>(st->getElementNamespaceID());
147 return static_cast<jint>(st->getElementNameID());
158 return static_cast<jint>(st->getTextID());
170 return static_cast<jint>(st->getLineNumber());
182 return static_cast<jint>(st->getAttributeCount());
194 return static_cast<jint>(st->getAttributeNamespaceID(idx));
206 return static_cast<jint>(st->getAttributeNameID(idx));
218 return static_cast<jint>(st->getAttributeNameResID(idx));
230 return static_cast<jint>(st->getAttributeDataType(idx));
242 return static_cast<jint>(st->getAttributeData(idx))
    [all...]
  /frameworks/native/libs/ui/
Gralloc1.cpp 34 auto error = static_cast<gralloc1_error_t>(intError);
44 auto error = static_cast<gralloc1_error_t>(intError);
65 int32_t intError = setter(device, id, static_cast<ApiType>(newValue));
66 auto error = static_cast<gralloc1_error_t>(intError);
124 auto error = static_cast<gralloc1_error_t>(intError);
135 return static_cast<gralloc1_error_t>(intError);
159 static_cast<uint32_t>(descriptors.size()), deviceIds.data(),
161 auto error = static_cast<gralloc1_error_t>(intError);
179 error = static_cast<gralloc1_error_t>(intError);
199 return static_cast<gralloc1_error_t>(intError)
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
itoa.h 90 *buffer++ = static_cast<char>('0' + static_cast<char>(a));
114 uint32_t u = static_cast<uint32_t>(value);
136 uint32_t v = static_cast<uint32_t>(value);
175 const uint32_t v0 = static_cast<uint32_t>(value / kTen8);
176 const uint32_t v1 = static_cast<uint32_t>(value % kTen8);
223 const uint32_t a = static_cast<uint32_t>(value / kTen16); // 1 to 1844
227 *buffer++ = static_cast<char>('0' + static_cast<char>(a));
234 *buffer++ = static_cast<char>('0' + static_cast<char>(a / 100))
    [all...]
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/
regex_constants.h 166 return (syntax_option_type)(static_cast<unsigned int>(__a)
167 & static_cast<unsigned int>(__b));
173 return (syntax_option_type)(static_cast<unsigned int>(__a)
174 | static_cast<unsigned int>(__b));
180 return (syntax_option_type)(static_cast<unsigned int>(__a)
181 ^ static_cast<unsigned int>(__b));
186 { return (syntax_option_type)(~static_cast<unsigned int>(__a)); }
345 return (match_flag_type)(static_cast<unsigned int>(__a)
346 & static_cast<unsigned int>(__b));
352 return (match_flag_type)(static_cast<unsigned int>(__a
    [all...]
  /toolchain/binutils/binutils-2.25/gold/
mapfile.cc 171 snprintf(buf, sizeof buf, "0x%llx", static_cast<unsigned long long>(symsize));
223 static_cast<const Sized_symbol<size>*>(sym);
227 static_cast<unsigned long long>(ssym->value()),
265 static_cast<unsigned long long>(size));
269 static_cast<unsigned long long>(addr), sizebuf,
280 static_cast<Sized_relobj_file<32, false>*>(relobj);
289 static_cast<Sized_relobj_file<32, true>*>(relobj);
298 static_cast<Sized_relobj_file<64, false>*>(relobj);
307 static_cast<Sized_relobj_file<64, true>*>(relobj);
334 static_cast<unsigned long long>(od->current_data_size()))
    [all...]
  /art/runtime/base/
bit_utils.h 85 return static_cast<size_t>(MostSignificantBit(value) + 1);
93 return (x < 2u) ? x : static_cast<T>(1u) << (std::numeric_limits<T>::digits - CLZ(x - 1u));
193 return static_cast<uint16_t>(value);
197 return static_cast<uint16_t>(value >> 16);
201 return static_cast<uint32_t>(value);
205 return static_cast<uint32_t>(value >> 32);
216 T limit = static_cast<T>(1) << (N - 1u);
226 static_cast<T>(1) << (bits - 1);
252 (static_cast<typename std::make_unsigned<T>::type>(value) <=
264 ? static_cast<unsigned_type>(-1 - value) + 1u // Avoid overflow
    [all...]
  /art/runtime/
dex_instruction.cc 101 Code opcode = static_cast<Code>(insn & 0xFF);
153 os << StringPrintf("%02x%02x", static_cast<uint8_t>(insn[i] & 0x00FF),
154 static_cast<uint8_t>((insn[i] & 0xFF00) >> 8)) << " ";
181 uint64_t value = static_cast<uint64_t>(VRegB_21h()) << 48;
211 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyType(type_idx, *file)
225 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyField(field_idx, *file, true)
239 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyField(field_idx, *file, true)
247 os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << PrettyMethod(method_idx, *file, true)
273 os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) << ",
    [all...]
  /art/runtime/gc/accounting/
bitmap-inl.h 77 left_edge &= ~((static_cast<uintptr_t>(1) << (bit_start % kBitsPerBitmapWord)) - 1);
91 left_edge ^= static_cast<uintptr_t>(1) << shift;
103 w ^= static_cast<uintptr_t>(1) << shift;
121 right_edge &= ((static_cast<uintptr_t>(1) << (bit_end % kBitsPerBitmapWord)) - 1);
127 right_edge ^= (static_cast<uintptr_t>(1)) << shift;
  /external/autotest/client/site_tests/hardware_VideoDecodeCapable/src/
vaapimodule.cc 131 size_t value = static_cast<size_t>(profile[i]);
152 static_cast<VAProfile>(profile),
162 size_t value = static_cast<size_t>(entrypoint[i]);
182 static_cast<VAProfile>(profile),
183 static_cast<VAEntrypoint>(entrypoint),
  /external/clang/test/SemaCXX/
discrim-union.cpp 7 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &t) noexcept { return static_cast<T&&>(t); }
8 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &&t) noexcept { return static_cast<T&&>(t); }
9 template<typename T> constexpr typename remove_reference<T>::type &&move(T &&t) noexcept { return static_cast<typename remove_reference<T>::type&&>(t); }
50 template<unsigned N> constexpr const decltype(static_cast<const rest_t&>(rest).get(select<N-1>{})) get(select<N>) {
85 decltype(static_cast<const impl_t&>(impl).get(detail::select<N>{}));
  /external/google-breakpad/src/common/mac/
arch_utilities.cc 37 #define CPU_TYPE_ARM (static_cast<cpu_type_t>(12))
41 #define CPU_SUBTYPE_ARM_V7 (static_cast<cpu_subtype_t>(9))
45 #define CPU_SUBTYPE_ARM_V7S (static_cast<cpu_subtype_t>(11))
49 #define CPU_TYPE_ARM64 (static_cast<cpu_type_t>(16777228))
53 #define CPU_SUBTYPE_ARM64_ALL (static_cast<cpu_type_t>(0))
  /external/google-breakpad/src/processor/
binarystream.cc 83 u64 = static_cast<uint64_t>(lower) | (static_cast<uint64_t>(upper) << 32);
90 *this << static_cast<uint16_t>(USHRT_MAX);
118 uint32_t lower = static_cast<uint32_t>(u64 & 0xFFFFFFFF);
119 uint32_t upper = static_cast<uint32_t>(u64 >> 32);

Completed in 494 milliseconds

<<11121314151617181920>>