Home
last modified time | relevance | path

Searched refs:kint64max (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dduration_test.cc35 constexpr int64_t kint64max = std::numeric_limits<int64_t>::max(); variable
106 EXPECT_GT(inf, absl::Seconds(kint64max)); in TEST()
108 EXPECT_LT(-inf, absl::Seconds(-kint64max)); in TEST()
110 EXPECT_EQ(inf, absl::Minutes(kint64max)); in TEST()
112 EXPECT_EQ(-inf, absl::Minutes(-kint64max)); in TEST()
113 EXPECT_GT(inf, absl::Minutes(kint64max / 60)); in TEST()
115 EXPECT_LT(-inf, absl::Minutes(-kint64max / 60)); in TEST()
117 EXPECT_EQ(inf, absl::Hours(kint64max)); in TEST()
119 EXPECT_EQ(-inf, absl::Hours(-kint64max)); in TEST()
120 EXPECT_GT(inf, absl::Hours(kint64max / 3600)); in TEST()
[all …]
Dduration.cc84 constexpr int64_t kint64max = std::numeric_limits<int64_t>::max(); variable
204 if (c >= static_cast<double>(kint64max)) { in SafeAddRepHi()
292 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 1000000000) { in IDivFastPath()
299 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 10000000) { in IDivFastPath()
306 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 1000000) { in IDivFastPath()
313 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 1000) { in IDivFastPath()
371 return quotient_neg ? kint64min : kint64max; in IDivDuration()
384 if (quotient128 > uint128(static_cast<uint64_t>(kint64max))) { in IDivDuration()
386 : uint128(static_cast<uint64_t>(kint64max)); in IDivDuration()
394 return Uint128Low64(quotient128) & kint64max; in IDivDuration()
[all …]
/third_party/abseil-cpp/absl/time/
Dduration_test.cc34 constexpr int64_t kint64max = std::numeric_limits<int64_t>::max(); variable
105 EXPECT_GT(inf, absl::Seconds(kint64max)); in TEST()
107 EXPECT_LT(-inf, absl::Seconds(-kint64max)); in TEST()
109 EXPECT_EQ(inf, absl::Minutes(kint64max)); in TEST()
111 EXPECT_EQ(-inf, absl::Minutes(-kint64max)); in TEST()
112 EXPECT_GT(inf, absl::Minutes(kint64max / 60)); in TEST()
114 EXPECT_LT(-inf, absl::Minutes(-kint64max / 60)); in TEST()
116 EXPECT_EQ(inf, absl::Hours(kint64max)); in TEST()
118 EXPECT_EQ(-inf, absl::Hours(-kint64max)); in TEST()
119 EXPECT_GT(inf, absl::Hours(kint64max / 3600)); in TEST()
[all …]
Dduration.cc84 constexpr int64_t kint64max = std::numeric_limits<int64_t>::max(); variable
204 if (c >= static_cast<double>(kint64max)) { in SafeAddRepHi()
292 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 1000000000) { in IDivFastPath()
299 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 10000000) { in IDivFastPath()
306 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 1000000) { in IDivFastPath()
313 if (num_hi >= 0 && num_hi < (kint64max - kTicksPerSecond) / 1000) { in IDivFastPath()
371 return quotient_neg ? kint64min : kint64max; in IDivDuration()
384 if (quotient128 > uint128(static_cast<uint64_t>(kint64max))) { in IDivDuration()
386 : uint128(static_cast<uint64_t>(kint64max)); in IDivDuration()
394 return Uint128Low64(quotient128) & kint64max; in IDivDuration()
[all …]
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py180 kint64max = 2**63 - 1
217 self.assertEqual(kint64max, message_options.Extensions[
225 self.assertEqual(kint64max, message_options.Extensions[
233 self.assertEqual(kint64max, message_options.Extensions[
/third_party/libphonenumber/cpp/src/phonenumbers/base/
Dbasictypes.h44 const int64 kint64max = INT64_MAX; variable
/third_party/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc74 EXPECT_LT(kint64min, kint64max); in TEST()
75 EXPECT_EQ(static_cast<uint64>(kint64min), static_cast<uint64>(kint64max) + 1); in TEST()
Dport.h136 static const int64 kint64max = PROTOBUF_LONGLONG(0x7FFFFFFFFFFFFFFF); variable
137 static const int64 kint64min = -kint64max - 1;
/third_party/libphonenumber/tools/cpp/src/base/
Dbasictypes.h42 const int64 kint64max = INT64_MAX; variable
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py211 kint64max = 2**63 - 1
248 self.assertEqual(kint64max, message_options.Extensions[
256 self.assertEqual(kint64max, message_options.Extensions[
264 self.assertEqual(kint64max, message_options.Extensions[
/third_party/jsoncpp/src/test_lib_json/
Dmain.cpp35 #define kint64max Json::Value::maxInt64 macro
931 val = Json::Value(double(kint64max)); in JSONTEST_FIXTURE_LOCAL()
944 JSONTEST_ASSERT_EQUAL(double(kint64max), val.asDouble()); in JSONTEST_FIXTURE_LOCAL()
945 JSONTEST_ASSERT_EQUAL(float(kint64max), val.asFloat()); in JSONTEST_FIXTURE_LOCAL()
1091 val = Json::Value(Json::Int64(kint64max)); in JSONTEST_FIXTURE_LOCAL()
1107 JSONTEST_ASSERT_EQUAL(kint64max, val.asInt64()); in JSONTEST_FIXTURE_LOCAL()
1108 JSONTEST_ASSERT_EQUAL(kint64max, val.asLargestInt()); in JSONTEST_FIXTURE_LOCAL()
1109 JSONTEST_ASSERT_EQUAL(kint64max, val.asUInt64()); in JSONTEST_FIXTURE_LOCAL()
1110 JSONTEST_ASSERT_EQUAL(kint64max, val.asLargestUInt()); in JSONTEST_FIXTURE_LOCAL()
1111 JSONTEST_ASSERT_EQUAL(double(kint64max), val.asDouble()); in JSONTEST_FIXTURE_LOCAL()
[all …]
/third_party/protobuf/src/google/protobuf/
Dtext_format.cc723 DO(ConsumeSignedInteger(&value, kint64max)); in ConsumeFieldValue()
779 int64 int_value = kint64max; in ConsumeFieldValue()
800 if (int_value != kint64max && in ConsumeFieldValue()
1013 if ((static_cast<uint64>(kint64max) + 1) == unsigned_value) { in ConsumeSignedInteger()
Ddescriptor_unittest.cc3053 EXPECT_EQ(kint64max, options->GetExtension(protobuf_unittest::int64_opt)); in TEST()
3057 EXPECT_EQ(kint64max, options->GetExtension(protobuf_unittest::sint64_opt)); in TEST()
3061 EXPECT_EQ(kint64max, options->GetExtension(protobuf_unittest::sfixed64_opt)); in TEST()
Ddescriptor.cc6898 static_cast<uint64>(kint64max)) { in SetOptionValue()
/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc1263 uint64 max_value = kint64max; in ParseDefaultAssignment()
1534 is_negative ? static_cast<uint64>(kint64max) + 1 : kuint64max; in ParseOption()