Home
last modified time | relevance | path

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

12

/external/angle/third_party/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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h45 using unsigned_type =
62 range_(static_cast<unsigned_type>(max_) - in min_()
63 static_cast<unsigned_type>(min_)), in min_()
72 std::numeric_limits<unsigned_type>::digits); in min_()
105 unsigned_type range() const { return range_; } in range()
110 unsigned_type range_; // max - min
162 unsigned_type Generate(URNG& g, // NOLINT(runtime/references)
170 typename log_uniform_int_distribution<IntType>::unsigned_type
185 unsigned_type base_e, top_e; in Generate()
187 base_e = static_cast<unsigned_type>(1) << d; 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 …]
/external/webrtc/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h45 using unsigned_type =
62 range_(static_cast<unsigned_type>(max_) - in min_()
63 static_cast<unsigned_type>(min_)), in min_()
72 std::numeric_limits<unsigned_type>::digits); in min_()
105 unsigned_type range() const { return range_; } in range()
110 unsigned_type range_; // max - min
162 unsigned_type Generate(URNG& g, // NOLINT(runtime/references)
170 typename log_uniform_int_distribution<IntType>::unsigned_type
185 unsigned_type base_e, top_e; in Generate()
187 base_e = static_cast<unsigned_type>(1) << d; 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 …]
/external/openscreen/third_party/abseil/src/absl/random/
Dlog_uniform_int_distribution.h45 using unsigned_type =
62 range_(static_cast<unsigned_type>(max_) - in min_()
63 static_cast<unsigned_type>(min_)), in min_()
72 std::numeric_limits<unsigned_type>::digits); in min_()
105 unsigned_type range() const { return range_; } in range()
110 unsigned_type range_; // max - min
162 unsigned_type Generate(URNG& g, // NOLINT(runtime/references)
170 typename log_uniform_int_distribution<IntType>::unsigned_type
185 unsigned_type base_e, top_e; in Generate()
187 base_e = static_cast<unsigned_type>(1) << d; 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 …]
/external/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h45 using unsigned_type =
62 range_(static_cast<unsigned_type>(max_) - in min_()
63 static_cast<unsigned_type>(min_)), in min_()
72 std::numeric_limits<unsigned_type>::digits); in min_()
105 unsigned_type range() const { return range_; } in range()
110 unsigned_type range_; // max - min
162 unsigned_type Generate(URNG& g, // NOLINT(runtime/references)
170 typename log_uniform_int_distribution<IntType>::unsigned_type
185 unsigned_type base_e, top_e; in Generate()
187 base_e = static_cast<unsigned_type>(1) << d; 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 …]
/external/libtextclassifier/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h45 using unsigned_type =
62 range_(static_cast<unsigned_type>(max_) - in min_()
63 static_cast<unsigned_type>(min_)), in min_()
72 std::numeric_limits<unsigned_type>::digits); in min_()
105 unsigned_type range() const { return range_; } in range()
110 unsigned_type range_; // max - min
162 unsigned_type Generate(URNG& g, // NOLINT(runtime/references)
170 typename log_uniform_int_distribution<IntType>::unsigned_type
185 unsigned_type base_e, top_e; in Generate()
187 base_e = static_cast<unsigned_type>(1) << d; 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 …]
/external/webrtc/rtc_base/
Dstring_to_number.h47 using unsigned_type = unsigned long long; // NOLINT(runtime/int) variable
51 absl::optional<unsigned_type> ParseUnsigned(const char* str, int base);
82 using string_to_number_internal::unsigned_type;
84 std::numeric_limits<unsigned_type>::max(),
87 absl::optional<unsigned_type> value =
Dstring_to_number.cc36 absl::optional<unsigned_type> ParseUnsigned(const char* str, int base) { in ParseUnsigned()
45 const unsigned_type value = std::strtoull(str, &end, base); in ParseUnsigned()
/external/webrtc/third_party/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()
/external/rust/crates/grpcio-sys/grpc/third_party/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()
/external/openscreen/third_party/abseil/src/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()
/external/libtextclassifier/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()
/external/angle/third_party/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()
/external/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()
/external/webrtc/rtc_base/numerics/
Dmath_utils.h27 typedef typename std::make_unsigned<T>::type unsigned_type; in unsigned_difference() typedef
32 return static_cast<unsigned_type>(x) - static_cast<unsigned_type>(y); in unsigned_difference()
/external/tensorflow/tensorflow/compiler/xla/service/
Dcomparison_expander.cc103 PrimitiveType unsigned_type = in ExpandInstruction() local
108 unsigned_shape.set_element_type(unsigned_type); in ExpandInstruction()
116 max_shape.set_element_type(unsigned_type); in ExpandInstruction()
/external/llvm-project/libclc/generic/lib/
Dgen_convert.py54 unsigned_type = {'char' : 'uchar', variable
361 print(" {USRC}{N} abs_x = abs(x);".format(USRC=unsigned_type[src], N=size))
362 print(" {USRC}{N} abs_y = abs(y);".format(USRC=unsigned_type[src], N=size))
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.cc501 PrimitiveType unsigned_type) { in ConvertRandomBitsToUniformInt() argument
503 XlaOp range = BitcastConvertType(maxval, unsigned_type) - in ConvertRandomBitsToUniformInt()
504 BitcastConvertType(minval, unsigned_type); in ConvertRandomBitsToUniformInt()
507 ShiftRightLogical(dist, ConstantR0WithType(builder, unsigned_type, 1)); in ConvertRandomBitsToUniformInt()
599 PrimitiveType unsigned_type; in UniformIntDistribution() local
601 unsigned_type = U32; in UniformIntDistribution()
604 unsigned_type = U64; in UniformIntDistribution()
607 ConvertRandomBitsToUniformInt(bits, minval, maxval, type, unsigned_type), in UniformIntDistribution()
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Dgather_op_test.py251 for unsigned_type in (dtypes.uint32, dtypes.uint64):
252 with self.subTest(unsigned_type=unsigned_type):
254 np.array([[1, 2, 3], [7, 8, 9]]), unsigned_type)

12