Home
last modified time | relevance | path

Searched refs:kMaxInt (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/api/units/
Dtimestamp_unittest.cc93 const int kMaxInt = std::numeric_limits<int>::max(); in TEST() local
94 EXPECT_EQ(Timestamp::Seconds(kMaxInt).us(), in TEST()
95 static_cast<int64_t>(kMaxInt) * 1000000); in TEST()
96 EXPECT_EQ(Timestamp::Millis(kMaxInt).us(), in TEST()
97 static_cast<int64_t>(kMaxInt) * 1000); in TEST()
Dtime_delta_unittest.cc133 const int kMaxInt = std::numeric_limits<int>::max(); in TEST() local
134 EXPECT_EQ(TimeDelta::Seconds(kMaxInt).us(), in TEST()
135 static_cast<int64_t>(kMaxInt) * 1000000); in TEST()
136 EXPECT_EQ(TimeDelta::Millis(kMaxInt).us(), in TEST()
137 static_cast<int64_t>(kMaxInt) * 1000); in TEST()
/external/pdfium/core/fxcrt/
Dfx_coordinates_unittest.cpp15 constexpr int kMaxInt = std::numeric_limits<int>::max(); variable
18 constexpr float kMaxIntAsFloat = static_cast<float>(kMaxInt);
128 EXPECT_EQ(kMaxInt, inner_rect.bottom); in TEST()
129 EXPECT_EQ(kMaxInt, inner_rect.right); in TEST()
136 EXPECT_EQ(kMaxInt, inner_rect.bottom); in TEST()
137 EXPECT_EQ(kMaxInt, inner_rect.right); in TEST()
180 EXPECT_EQ(kMaxInt, outer_rect.bottom); in TEST()
181 EXPECT_EQ(kMaxInt, outer_rect.right); in TEST()
188 EXPECT_EQ(kMaxInt, outer_rect.bottom); in TEST()
189 EXPECT_EQ(kMaxInt, outer_rect.right); in TEST()
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_posix.cc36 const int kMaxInt = std::numeric_limits<int>::max(); in ParseInt() local
40 if (value > kMaxInt / 10) return nullptr; in ParseInt()
42 if (value > kMaxInt - d) return nullptr; in ParseInt()
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_posix.cc36 const int kMaxInt = std::numeric_limits<int>::max(); in ParseInt() local
40 if (value > kMaxInt / 10) return nullptr; in ParseInt()
42 if (value > kMaxInt - d) return nullptr; in ParseInt()
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_posix.cc36 const int kMaxInt = std::numeric_limits<int>::max(); in ParseInt() local
40 if (value > kMaxInt / 10) return nullptr; in ParseInt()
42 if (value > kMaxInt - d) return nullptr; in ParseInt()
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_posix.cc36 const int kMaxInt = std::numeric_limits<int>::max(); in ParseInt() local
40 if (value > kMaxInt / 10) return nullptr; in ParseInt()
42 if (value > kMaxInt - d) return nullptr; in ParseInt()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_posix.cc36 const int kMaxInt = std::numeric_limits<int>::max(); in ParseInt() local
40 if (value > kMaxInt / 10) return nullptr; in ParseInt()
42 if (value > kMaxInt - d) return nullptr; in ParseInt()
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_posix.cc36 const int kMaxInt = std::numeric_limits<int>::max(); in ParseInt() local
40 if (value > kMaxInt / 10) return nullptr; in ParseInt()
42 if (value > kMaxInt - d) return nullptr; in ParseInt()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmean.h52 static constexpr int32_t kMaxInt = std::numeric_limits<integer_type>::max(); in Mean() local
67 acc = std::min(std::max(acc, kMinInt), kMaxInt); in Mean()
/external/skqp/src/gpu/
DGrSoftwarePathRenderer.cpp53 static constexpr int32_t kMaxInt = 2147483520; in get_unclipped_shape_dev_bounds() local
54 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
58 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
59 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
DGrBlurUtils.cpp218 static constexpr int32_t kMaxInt = 2147483520; in get_unclipped_shape_dev_bounds() local
219 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
223 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
224 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_linearized_header.cpp23 constexpr size_t kMaxInt = static_cast<size_t>(std::numeric_limits<int>::max()); variable
45 header->GetFirstPageNo() < kMaxInt && in IsLinearizedHeaderValid()
/external/skia/src/gpu/
DGrSoftwarePathRenderer.cpp54 static constexpr int32_t kMaxInt = 2147483520; in get_unclipped_shape_dev_bounds() local
55 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
59 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
60 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
DGrBlurUtils.cpp241 static constexpr int32_t kMaxInt = 2147483520; in get_unclipped_shape_dev_bounds() local
242 if (!shapeDevBounds.intersect(SkRect::MakeLTRB(INT32_MIN, INT32_MIN, kMaxInt, kMaxInt))) { in get_unclipped_shape_dev_bounds()
246 if (SkScalarRoundToInt(shapeDevBounds.width()) > kMaxInt || in get_unclipped_shape_dev_bounds()
247 SkScalarRoundToInt(shapeDevBounds.height()) > kMaxInt) { in get_unclipped_shape_dev_bounds()
/external/openscreen/util/
Dsaturate_cast.h101 constexpr From kMaxInt = kMaxIntPlusOne - 1; in saturate_cast() local
106 if (from >= kMaxInt) { in saturate_cast()
/external/tensorflow/tensorflow/core/grappler/
Dutils_test.cc621 const int kMaxInt = std::numeric_limits<int>::max(); in TEST() local
632 TestSetTensorValue<qint8>(DT_QINT8, kMaxInt, /*success=*/false, in TEST()
646 TestSetTensorValue<quint8>(DT_QUINT8, kMaxInt, /*success=*/false, in TEST()
658 TestSetTensorValue<qint16>(DT_QINT16, kMaxInt, /*success=*/false, in TEST()
674 TestSetTensorValue<quint16>(DT_QUINT16, kMaxInt, /*success=*/false, in TEST()
686 TestSetTensorValue<qint32>(DT_QINT32, kMaxInt, /*success=*/true, in TEST()
/external/webrtc/rtc_base/units/
Dunit_base_unittest.cc159 const int kMaxInt = std::numeric_limits<int>::max(); in TEST() local
160 EXPECT_EQ(TestUnit::FromKilo(kMaxInt).ToValue<int64_t>(), in TEST()
161 static_cast<int64_t>(kMaxInt) * 1000); in TEST()