Home
last modified time | relevance | path

Searched refs:int128 (Results 1 – 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128_have_intrinsic.inc16 // This file contains :int128 implementation details that depend on internal
18 // included by int128.h and relies on ABSL_INTERNAL_WCHAR_T being defined.
37 inline int128& int128::operator=(__int128 v) {
42 constexpr uint64_t Int128Low64(int128 v) {
46 constexpr int64_t Int128High64(int128 v) {
52 constexpr int128::int128(int64_t high, uint64_t low)
59 constexpr int128::int128(int v) : v_{v} {}
61 constexpr int128::int128(long v) : v_{v} {} // NOLINT(runtime/int)
63 constexpr int128::int128(long long v) : v_{v} {} // NOLINT(runtime/int)
65 constexpr int128::int128(__int128 v) : v_{v} {}
[all …]
Dint128_no_intrinsic.inc16 // This file contains :int128 implementation details that depend on internal
18 // is included by int128.h and relies on ABSL_INTERNAL_WCHAR_T being defined.
20 constexpr uint64_t Int128Low64(int128 v) { return v.lo_; }
22 constexpr int64_t Int128High64(int128 v) { return v.hi_; }
26 constexpr int128::int128(int64_t high, uint64_t low) :
29 constexpr int128::int128(int v)
31 constexpr int128::int128(long v) // NOLINT(runtime/int)
33 constexpr int128::int128(long long v) // NOLINT(runtime/int)
36 constexpr int128::int128(unsigned int v) : lo_{v}, hi_{0} {}
38 constexpr int128::int128(unsigned long v) : lo_{v}, hi_{0} {}
[all …]
Dint128.h58 class int128; variable
123 constexpr uint128(int128 v); // NOLINT(runtime/explicit)
139 uint128& operator=(int128 v);
338 class int128 {
340 int128() = default;
343 constexpr int128(int v); // NOLINT(runtime/explicit)
344 constexpr int128(unsigned int v); // NOLINT(runtime/explicit)
345 constexpr int128(long v); // NOLINT(runtime/int)
346 constexpr int128(unsigned long v); // NOLINT(runtime/int)
347 constexpr int128(long long v); // NOLINT(runtime/int)
[all …]
Dint128_test.cc489 absl::int128 nonnegative_signed_values[] = { in TEST()
496 for (absl::int128 value : nonnegative_signed_values) { in TEST()
497 EXPECT_EQ(value, absl::int128(absl::uint128(value))); in TEST()
501 EXPECT_EQ(value, absl::int128(assigned_value)); in TEST()
504 absl::int128 negative_values[] = { in TEST()
508 for (absl::int128 value : negative_values) { in TEST()
523 static_assert(std::is_constructible<absl::int128, TypeParam>::value, in TYPED_TEST()
525 static_assert(std::is_assignable<absl::int128&, TypeParam>::value, in TYPED_TEST()
527 static_assert(!std::is_assignable<TypeParam&, absl::int128>::value, in TYPED_TEST()
537 static_assert(std::is_constructible<absl::int128, TypeParam>::value, in TYPED_TEST()
[all …]
Dint128.cc229 uint128 UnsignedAbsoluteValue(int128 v) { in UnsignedAbsoluteValue()
240 int128 MakeInt128FromFloat(T v) { in MakeInt128FromFloat()
258 int128::int128(float v) : int128(MakeInt128FromFloat(v)) {} in int128() function in absl::int128
259 int128::int128(double v) : int128(MakeInt128FromFloat(v)) {} in int128() function in absl::int128
260 int128::int128(long double v) : int128(MakeInt128FromFloat(v)) {} in int128() function in absl::int128
262 int128 operator/(int128 lhs, int128 rhs) { in operator /()
274 int128 operator%(int128 lhs, int128 rhs) { in operator %()
287 std::ostream& operator<<(std::ostream& os, int128 v) { in operator <<()
360 constexpr bool numeric_limits<absl::int128>::is_specialized;
361 constexpr bool numeric_limits<absl::int128>::is_signed;
[all …]
DCMakeLists.txt46 int128
48 "int128.h"
50 "int128.cc"
71 absl::int128
86 absl::int128
DBUILD.bazel57 name = "int128",
59 "int128.cc",
63 hdrs = ["int128.h"],
83 ":int128",
99 ":int128",
DBUILD.gn18 absl_source_set("int128") {
20 "int128.cc",
24 public = [ "int128.h" ]
Dint128_benchmark.cc61 BENCHMARK_TEMPLATE(BM_DivideClass128UniformDivisor, absl::int128);
73 BENCHMARK_TEMPLATE(BM_RemainderClass128UniformDivisor, absl::int128);
101 BENCHMARK_TEMPLATE(BM_DivideClass128SmallDivisor, absl::int128);
113 BENCHMARK_TEMPLATE(BM_RemainderClass128SmallDivisor, absl::int128);
/third_party/skia/third_party/externals/dawn/third_party/gn/abseil-cpp/
DBUILD.gn68 absl_source_set("int128") {
70 "${dawn_abseil_dir}/absl/numeric/int128.cc",
74 public = [ "${dawn_abseil_dir}/absl/numeric/int128.h" ]
119 ":int128",
167 ":int128",
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/
DCMakeLists.txt34 absl::int128
74 absl::int128
132 absl::int128
DBUILD.bazel46 "//absl/numeric:int128",
80 "//absl/numeric:int128",
156 "//absl/numeric:int128",
DBUILD.gn22 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
70 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
DBUILD.gn94 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
119 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
144 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
189 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
215 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
DBUILD.bazel170 "//absl/numeric:int128",
208 "//absl/numeric:int128",
239 "//absl/numeric:int128",
301 "//absl/numeric:int128",
342 "//absl/numeric:int128",
651 "//absl/numeric:int128",
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers_test.cc353 VerifySimpleAtoiGood<absl::int128>(0, 0); in TEST()
354 VerifySimpleAtoiGood<absl::int128>(42, 42); in TEST()
355 VerifySimpleAtoiGood<absl::int128>(-42, -42); in TEST()
357 VerifySimpleAtoiGood<absl::int128>(std::numeric_limits<int32_t>::min(), in TEST()
359 VerifySimpleAtoiGood<absl::int128>(std::numeric_limits<int32_t>::max(), in TEST()
361 VerifySimpleAtoiGood<absl::int128>(std::numeric_limits<uint32_t>::max(), in TEST()
363 VerifySimpleAtoiGood<absl::int128>(std::numeric_limits<int64_t>::min(), in TEST()
365 VerifySimpleAtoiGood<absl::int128>(std::numeric_limits<int64_t>::max(), in TEST()
367 VerifySimpleAtoiGood<absl::int128>(std::numeric_limits<uint64_t>::max(), in TEST()
369 VerifySimpleAtoiGood<absl::int128>( in TEST()
[all …]
Dnumbers.cc813 const int128 LookupTables<int128>::kVmaxOverBase[] = {
866 const int128 LookupTables<int128>::kVminOverBase[] = {
1075 bool safe_strto128_base(absl::string_view text, int128* value, int base) { in safe_strto128_base()
1076 return safe_int_internal<absl::int128>(text, value, base); in safe_strto128_base()
Dnumbers.h130 bool safe_strto128_base(absl::string_view text, absl::int128* value,
254 absl::int128* out) { in SimpleAtoi()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Darg.cc49 struct MakeUnsigned<absl::int128> {
60 struct IsSigned<absl::int128> : std::true_type {};
92 void PrintAsDec(int128 v) { in PrintAsDec()
470 IntegralConvertResult FormatConvertImpl(absl::int128 v, in FormatConvertImpl()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
DBUILD.bazel51 "//absl/numeric:int128",
97 "//absl/numeric:int128",
DBUILD.gn26 "${skia_third_party_dir}/abseil-cpp/absl/numeric:int128",
/third_party/ltp/tools/sparse/sparse-src/validation/
Dgeneric-typename.c41 TEST(int128, __int128)
/third_party/protobuf/cmake/
Dlibprotobuf-lite.cmake20 ${protobuf_source_dir}/src/google/protobuf/stubs/int128.cc
47 ${protobuf_source_dir}/src/google/protobuf/stubs/int128.h
/third_party/rust/crates/libc/src/unix/linux_like/android/b64/aarch64/
Dmod.rs391 mod int128;
392 pub use self::int128::*;
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
DCMakeLists.txt666 absl::int128
700 absl::int128
749 absl::int128
1212 absl::int128

12