Home
last modified time | relevance | path

Searched refs:kMax (Results 1 – 25 of 53) sorted by relevance

123

/third_party/abseil-cpp/absl/random/internal/
Dwide_multiply_test.cc27 constexpr uint64_t kMax = ~static_cast<uint64_t>(0); in TEST() local
32 EXPECT_EQ(MultiplyU64ToU128(kMax, kMax), in TEST()
34 EXPECT_EQ(absl::MakeUint128(0, kMax), MultiplyU64ToU128(kMax, 1)); in TEST()
35 EXPECT_EQ(absl::MakeUint128(0, kMax), MultiplyU64ToU128(1, kMax)); in TEST()
37 EXPECT_EQ(absl::MakeUint128(0, kMax) << i, in TEST()
38 MultiplyU64ToU128(kMax, k1 << i)); in TEST()
39 EXPECT_EQ(absl::MakeUint128(0, kMax) << i, in TEST()
40 MultiplyU64ToU128(k1 << i, kMax)); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dwide_multiply_test.cc26 constexpr uint64_t kMax = ~static_cast<uint64_t>(0); in TEST() local
31 EXPECT_EQ(MultiplyU64ToU128(kMax, kMax), in TEST()
33 EXPECT_EQ(absl::MakeUint128(0, kMax), MultiplyU64ToU128(kMax, 1)); in TEST()
34 EXPECT_EQ(absl::MakeUint128(0, kMax), MultiplyU64ToU128(1, kMax)); in TEST()
36 EXPECT_EQ(absl::MakeUint128(0, kMax) << i, in TEST()
37 MultiplyU64ToU128(kMax, k1 << i)); in TEST()
38 EXPECT_EQ(absl::MakeUint128(0, kMax) << i, in TEST()
39 MultiplyU64ToU128(k1 << i, kMax)); in TEST()
/third_party/flutter/skia/samplecode/
DSampleClipDrawMatch.cpp39 static const float kMax = 299.5f; variable
46 SkRect r = SkRect::MakeLTRB(kMin, kMin, kMax, kMax); in create_rect()
66 convexPath.lineTo(kMax, kMax); in create_convex_path()
67 convexPath.lineTo(kMin, kMax); in create_convex_path()
77 concavePath.lineTo(kMax, kMin); in create_concave_path()
79 concavePath.lineTo(kMax, kMax); in create_concave_path()
81 concavePath.lineTo(kMin, kMax); in create_concave_path()
/third_party/skia/tools/
DCrashHandler.cpp39 static const size_t kMax = 256; in handler() local
40 char mangled[kMax], demangled[kMax]; in handler()
42 unw_get_proc_name(&cursor, mangled, kMax, &offset); in handler()
45 size_t len = kMax; in handler()
/third_party/flutter/skia/third_party/externals/angle2/util/posix/
DPosix_crash_handler.cpp72 static const size_t kMax = 256;
73 char mangled[kMax], demangled[kMax];
75 unw_get_proc_name(&cursor, mangled, kMax, &offset);
78 size_t len = kMax;
/third_party/flutter/skia/tools/
DCrashHandler.cpp35 static const size_t kMax = 256; in handler() local
36 char mangled[kMax], demangled[kMax]; in handler()
38 unw_get_proc_name(&cursor, mangled, kMax, &offset); in handler()
41 size_t len = kMax; in handler()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_safe_arithmetic.cpp277 const double kMax = in ConvertDoubleToInt32() local
280 if (val > kMin - 1.0 && val < kMax + 1.0) { in ConvertDoubleToInt32()
289 const double kMax = in ConvertDoubleToUint32() local
292 if (val >= 0.0 && val < kMax + 1.0) { in ConvertDoubleToUint32()
301 const double kMax = std::numeric_limits<float>::max(); in ConvertDoubleToFloat() local
302 if (val > kMax) { in ConvertDoubleToFloat()
304 } else if (val < -kMax) { in ConvertDoubleToFloat()
/third_party/skia/modules/skottie/src/effects/
DShiftChannelsEffect.cpp72 kMax = kFullOff enumerator
90 static_assert(SK_ARRAY_COUNT(gSourceCoeffs) == static_cast<size_t>(Source::kMax), ""); in onSync()
95 src = SkTPin(src, 1.0f, static_cast<float>(Source::kMax)); in onSync()
/third_party/mindspore/mindspore/core/ops/
Dclip.cc29 void Clip::set_max(const float max) { (void)this->AddAttr(kMax, MakeValue(max)); } in set_max()
32 auto value_ptr = this->GetAttr(kMax); in get_max()
/third_party/flutter/skia/modules/skparagraph/include/
DDartTypes.h19 kMax, enumerator
44 kMax enumerator
/third_party/skia/third_party/externals/angle2/util/posix/
Dcrash_handler_posix.cpp111 static const size_t kMax = 256;
112 char mangled[kMax], demangled[kMax];
114 unw_get_proc_name(&cursor, mangled, kMax, &offset);
117 size_t len = kMax;
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dparagraph.h41 kMax, enumerator
67 kMax enumerator
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dutilities.h210 static constexpr size_t kMax = static_cast<size_t>(std::numeric_limits<T>::max()); in GetClampedVertexCount() local
211 return static_cast<T>(vertexCount > kMax ? kMax : vertexCount); in GetClampedVertexCount()
/third_party/skia/modules/skparagraph/include/
DDartTypes.h23 kMax, enumerator
48 kMax enumerator
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime_test.cc685 const int kMax = std::numeric_limits<int>::max(); in TEST() local
691 absl::CivilSecond(292091940881, kMax, kMax, kMax, kMax, kMax), utc); in TEST()
695 absl::CivilSecond(292091940882, kMax, kMax, kMax, kMax, kMax), utc); in TEST()
1177 const int kMax = std::numeric_limits<int>::max(); in TEST() local
1181 t = absl::FromDateTime(std::numeric_limits<absl::civil_year_t>::max(), kMax, in TEST()
1182 kMax, kMax, kMax, kMax, utc); in TEST()
/third_party/abseil-cpp/absl/time/
Dtime_test.cc685 const int kMax = std::numeric_limits<int>::max(); in TEST() local
691 absl::CivilSecond(292091940881, kMax, kMax, kMax, kMax, kMax), utc); in TEST()
695 absl::CivilSecond(292091940882, kMax, kMax, kMax, kMax, kMax), utc); in TEST()
1173 const int kMax = std::numeric_limits<int>::max(); in TEST() local
1177 t = absl::FromDateTime(std::numeric_limits<absl::civil_year_t>::max(), kMax, in TEST()
1178 kMax, kMax, kMax, kMax, utc); in TEST()
/third_party/skia/third_party/externals/angle2/src/common/
Dutilities.h216 static constexpr size_t kMax = static_cast<size_t>(std::numeric_limits<T>::max()); in GetClampedVertexCount() local
217 return static_cast<T>(vertexCount > kMax ? kMax : vertexCount); in GetClampedVertexCount()
/third_party/skia/tests/
DSkVxTest.cpp391 static constexpr uint32_t kMax = std::numeric_limits<uint32_t>::max(); in DEF_TEST() local
395 upperLimit = expected == kMax ? kMax : expected + 1; in DEF_TEST()
402 uint32_t maxCheck = static_cast<uint32_t>(floor((double)(kMax - d.half()) / denom + 0.5)); in DEF_TEST()
403 REPORTER_ASSERT(r, errorBounds(d.divide((kMax))[0], maxCheck)); in DEF_TEST()
404 for (uint32_t i = 0; i < kMax - d.half(); i += 65535) { in DEF_TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dzipf_distribution.h159 constexpr double kMax = 18446744073709549568.0; in param_type() local
163 if (kd > kMax) { in param_type()
166 kd = kMax; in param_type()
Dbenchmarks.cc185 volatile value_type kMax = std::numeric_limits<value_type>::max() / 2 + 1; in BM_Large() local
186 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Large()
193 volatile value_type kMax = std::numeric_limits<value_type>::max() / 64 + 1; in BM_Small() local
194 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Small()
/third_party/abseil-cpp/absl/random/
Dzipf_distribution.h159 constexpr double kMax = 18446744073709549568.0; in param_type() local
163 if (kd > kMax) { in param_type()
166 kd = kMax; in param_type()
Dbenchmarks.cc185 volatile value_type kMax = std::numeric_limits<value_type>::max() / 2 + 1; in BM_Large() local
186 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Large()
193 volatile value_type kMax = std::numeric_limits<value_type>::max() / 64 + 1; in BM_Small() local
194 BM_Dist<Engine, Dist>(state, kMin, kMax); in BM_Small()
/third_party/skia/modules/canvaskit/
Dparagraph_bindings_gen.cpp70 .value("Max", para::RectHeightStyle::kMax) in EMSCRIPTEN_BINDINGS()
78 .value("Max", para::RectWidthStyle::kMax); in EMSCRIPTEN_BINDINGS()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dconvert_test.cc376 const T kMax = std::numeric_limits<remove_volatile_t>::max(); in TYPED_TEST_P() local
387 kMax - remove_volatile_t(1), in TYPED_TEST_P()
388 kMax, in TYPED_TEST_P()
461 static const T kMax = std::numeric_limits<remove_volatile_t>::max(); in TYPED_TEST_P() local
467 kMax - remove_volatile_t(1), kMax in TYPED_TEST_P()
1152 const int kMax = std::numeric_limits<int>::max(); in TEST_F() local
1156 0, kMax - 1, kMax, kMin + 1, kMin }; in TEST_F()
/third_party/abseil-cpp/absl/strings/internal/str_format/
Dconvert_test.cc359 const T kMax = std::numeric_limits<remove_volatile_t>::max(); in TYPED_TEST_P() local
370 kMax - remove_volatile_t(1), in TYPED_TEST_P()
371 kMax, in TYPED_TEST_P()
444 static const T kMax = std::numeric_limits<remove_volatile_t>::max(); in TYPED_TEST_P() local
450 kMax - remove_volatile_t(1), kMax in TYPED_TEST_P()
1137 const int kMax = std::numeric_limits<int>::max(); in TEST_F() local
1141 0, kMax - 1, kMax, kMin + 1, kMin }; in TEST_F()

123