/external/libchrome/base/trace_event/ |
D | cfi_backtrace_android_unittest.cc | 164 for (size_t i = 1; i <= 2 * cache.kLimit; ++i) { in TEST() 171 if (i >= cache.kLimit) in TEST() 172 ASSERT_FALSE(cache.Find(i - cache.kLimit, &cfi)); in TEST() 177 for (size_t i = 1; i <= cache.kLimit; ++i) { in TEST() 182 for (size_t i = cache.kLimit + 1; i <= 2 * cache.kLimit; ++i) { in TEST() 190 cache.Add(2 * cache.kLimit + 1, cfi); in TEST() 191 EXPECT_TRUE(cache.Find(2 * cache.kLimit + 1, &cfi)); in TEST() 192 EXPECT_FALSE(cache.Find(cache.kLimit + 1, &cfi)); in TEST()
|
D | cfi_backtrace_android.h | 93 static const int kLimit = 509; variable 99 AddrAndCFI cache_[kLimit] = {};
|
D | cfi_backtrace_android.cc | 302 cache_[address % kLimit] = {address, cfi}; in Add() 306 if (cache_[address % kLimit].address == address) { in Find() 307 *cfi = cache_[address % kLimit].cfi; in Find()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_pass_fix.h | 41 const int64 kLimit = 25; in Run() local 49 if (iteration_count == kLimit) { in Run() 64 const int64 kLimit = 25; in RunOnModuleGroup() local 72 if (iteration_count == kLimit) { in RunOnModuleGroup()
|
/external/image_io/src/base/ |
D | data_context.cc | 115 const size_t kLimit = 25; in GetClippedAndLineRange() local 121 line_begin = (clipped_range->GetBegin() + kLimit < location_) in GetClippedAndLineRange() 122 ? location_ - kLimit in GetClippedAndLineRange() 124 line_end = std::min(line_begin + 2 * kLimit, clipped_range->GetEnd()); in GetClippedAndLineRange() 127 line_end = std::min(location_ + 2 * kLimit, range_.GetEnd()); in GetClippedAndLineRange()
|
/external/skia/src/codec/ |
D | SkWbmpCodec.cpp | 49 const uint64_t kLimit = 0xFE00000000000000; in read_mbf() local 50 SkASSERT(kLimit == ~((~static_cast<uint64_t>(0)) >> 7)); in read_mbf() 52 if (n & kLimit) { // Will overflow on shift by 7. in read_mbf()
|
/external/skqp/src/codec/ |
D | SkWbmpCodec.cpp | 49 const uint64_t kLimit = 0xFE00000000000000; in read_mbf() local 50 SkASSERT(kLimit == ~((~static_cast<uint64_t>(0)) >> 7)); in read_mbf() 52 if (n & kLimit) { // Will overflow on shift by 7. in read_mbf()
|
/external/libaom/libaom/test/ |
D | av1_ext_tile_test.cc | 24 const int kLimit = 8; variable 118 bool IsLastFrame = (pkt->data.frame.pts == (aom_codec_pts_t)(kLimit - 1)); in FramePktHook() 177 "hantro_collage_w352h288.yuv", kImgWidth, kImgHeight, 30, 1, 0, kLimit); in TestRoundTrip()
|
/external/webrtc/modules/audio_processing/aec3/ |
D | fft_data.h | 51 constexpr int kLimit = kNumFourBinBands * 4; in Spectrum() local 52 for (size_t k = 0; k < kLimit; k += 4) { in Spectrum()
|
/external/libchrome/base/strings/ |
D | utf_offset_string_conversions_unittest.cc | 81 const size_t kLimit = 10; in TEST() local 86 OffsetAdjuster::AdjustOffset(kNoAdjustments, &size_ts.back(), kLimit); in TEST() 100 OffsetAdjuster::AdjustOffset(kNoAdjustments, &size_ts.back(), kLimit); in TEST()
|
/external/skqp/fuzz/ |
D | FuzzCommon.cpp | 15 constexpr float kLimit = 1.0e35f; // FLT_MAX? in fuzz_nice_float() local 16 *f = (v == v && v <= kLimit && v >= -kLimit) ? v : 0.0f; in fuzz_nice_float()
|
/external/skia/fuzz/ |
D | FuzzCommon.cpp | 15 constexpr float kLimit = 1.0e35f; // FLT_MAX? in fuzz_nice_float() local 16 *f = (v == v && v <= kLimit && v >= -kLimit) ? v : 0.0f; in fuzz_nice_float()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_imagerenderer.cpp | 49 constexpr int kLimit = 256 * 1024 * 1024; in IsImageValueTooBig() local 52 return safe_val.ValueOrDefault(kLimit) >= kLimit; in IsImageValueTooBig()
|