/external/webrtc/api/units/ |
D | timestamp_unittest.cc | 93 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()
|
D | time_delta_unittest.cc | 133 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/ |
D | fx_coordinates_unittest.cpp | 15 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/ |
D | time_zone_posix.cc | 36 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/ |
D | time_zone_posix.cc | 36 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/ |
D | time_zone_posix.cc | 36 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/ |
D | time_zone_posix.cc | 36 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/ |
D | time_zone_posix.cc | 36 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/ |
D | time_zone_posix.cc | 36 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/ |
D | mean.h | 52 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/ |
D | GrSoftwarePathRenderer.cpp | 53 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()
|
D | GrBlurUtils.cpp | 218 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/ |
D | cpdf_linearized_header.cpp | 23 constexpr size_t kMaxInt = static_cast<size_t>(std::numeric_limits<int>::max()); variable 45 header->GetFirstPageNo() < kMaxInt && in IsLinearizedHeaderValid()
|
/external/skia/src/gpu/ |
D | GrSoftwarePathRenderer.cpp | 54 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()
|
D | GrBlurUtils.cpp | 241 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/ |
D | saturate_cast.h | 101 constexpr From kMaxInt = kMaxIntPlusOne - 1; in saturate_cast() local 106 if (from >= kMaxInt) { in saturate_cast()
|
/external/tensorflow/tensorflow/core/grappler/ |
D | utils_test.cc | 621 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/ |
D | unit_base_unittest.cc | 159 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()
|