Home
last modified time | relevance | path

Searched refs:unsigned_type (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h46 using unsigned_type =
63 range_(static_cast<unsigned_type>(max_) - in min_()
64 static_cast<unsigned_type>(min_)), in min_()
74 static_cast<unsigned_type>( in min_()
75 std::numeric_limits<unsigned_type>::digits)); in min_()
108 unsigned_type range() const { return range_; } in range()
113 unsigned_type range_; // max - min
165 unsigned_type Generate(URNG& g, // NOLINT(runtime/references)
173 typename log_uniform_int_distribution<IntType>::unsigned_type
188 unsigned_type base_e, top_e; in Generate()
[all …]
Duniform_int_distribution.h60 using unsigned_type =
74 range_(static_cast<unsigned_type>(hi) - in lo_()
75 static_cast<unsigned_type>(lo)) { in lo_()
82 return static_cast<result_type>(static_cast<unsigned_type>(lo_) + range_); in b()
95 unsigned_type range() const { return range_; } in range()
98 unsigned_type range_;
152 unsigned_type Generate(URBG& g, // NOLINT(runtime/references)
153 unsigned_type R);
199 random_internal::FastUniformBits<unsigned_type> fast_bits; in Generate()
200 unsigned_type bits = fast_bits(g); in Generate()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpool_urbg.h72 using unsigned_type = typename make_unsigned_bits<T>::type; variable
73 using PoolType = RandenPool<unsigned_type>;
74 using SpanType = absl::Span<unsigned_type>;
115 PoolType::Fill(SpanType(reinterpret_cast<unsigned_type*>(state_ + next_), in operator()
/third_party/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp608 auto* unsigned_type = type_mgr->GetRegisteredType(&unsigned_type_for_query); in WidenInteger() local
609 auto type_id = context()->get_type_mgr()->GetId(unsigned_type); in WidenInteger()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dgraphics_robust_access_pass.cpp612 auto* unsigned_type = type_mgr->GetRegisteredType(&unsigned_type_for_query); in WidenInteger() local
613 auto type_id = context()->get_type_mgr()->GetId(unsigned_type); in WidenInteger()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dgraphics_robust_access_pass.cpp612 auto* unsigned_type = type_mgr->GetRegisteredType(&unsigned_type_for_query); in WidenInteger() local
613 auto type_id = context()->get_type_mgr()->GetId(unsigned_type); in WidenInteger()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp42 typedef typename std::make_unsigned<T>::type unsigned_type; in Normalize() typedef
44 static_cast<GLfloat>(std::numeric_limits<unsigned_type>::max()); in Normalize()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVertexAttributeTest.cpp48 typedef typename std::make_unsigned<T>::type unsigned_type; in Normalize() typedef
50 static_cast<GLfloat>(std::numeric_limits<unsigned_type>::max()); in Normalize()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_glsl.cpp11433 bool unsigned_type = (type.basetype == SPIRType::UInt) || in emit_instruction() local
11436 const char *increment = unsigned_type ? "0u" : "0"; in emit_instruction()
11473 bool unsigned_type = (type.basetype == SPIRType::UInt) || in emit_instruction() local
11478 if (opcode == OpAtomicIIncrement && unsigned_type) in emit_instruction()
11482 else if (unsigned_type) in emit_instruction()