Home
last modified time | relevance | path

Searched refs:kLimit (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/base/trace_event/
Dcfi_backtrace_android_unittest.cc164 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()
Dcfi_backtrace_android.h93 static const int kLimit = 509; variable
99 AddrAndCFI cache_[kLimit] = {};
Dcfi_backtrace_android.cc302 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/
Dhlo_pass_fix.h41 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/
Ddata_context.cc115 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/
DSkWbmpCodec.cpp49 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/
DSkWbmpCodec.cpp49 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/
Dav1_ext_tile_test.cc24 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/
Dfft_data.h51 constexpr int kLimit = kNumFourBinBands * 4; in Spectrum() local
52 for (size_t k = 0; k < kLimit; k += 4) { in Spectrum()
/external/libchrome/base/strings/
Dutf_offset_string_conversions_unittest.cc81 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/
DFuzzCommon.cpp15 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/
DFuzzCommon.cpp15 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/
Dcpdf_imagerenderer.cpp49 constexpr int kLimit = 256 * 1024 * 1024; in IsImageValueTooBig() local
52 return safe_val.ValueOrDefault(kLimit) >= kLimit; in IsImageValueTooBig()