Home
last modified time | relevance | path

Searched refs:kMaxSize (Results 1 – 25 of 88) sorted by relevance

1234

/external/libaom/libaom/test/
Dcomp_avg_pred_test.h28 const int kMaxSize = 128 + 32; // padding variable
98 const int w = kMaxSize, h = kMaxSize; in RunCheckOutput()
101 uint8_t pred8[kMaxSize * kMaxSize]; in RunCheckOutput()
102 uint8_t ref8[kMaxSize * kMaxSize]; in RunCheckOutput()
103 uint8_t output[kMaxSize * kMaxSize]; in RunCheckOutput()
104 uint8_t output2[kMaxSize * kMaxSize]; in RunCheckOutput()
143 const int w = kMaxSize, h = kMaxSize; in RunSpeedTest()
146 uint8_t pred8[kMaxSize * kMaxSize]; in RunSpeedTest()
147 uint8_t ref8[kMaxSize * kMaxSize]; in RunSpeedTest()
148 uint8_t output[kMaxSize * kMaxSize]; in RunSpeedTest()
[all …]
Dsum_squares_test.cc191 static const int kMaxSize = 256; member in __anon8b6d7add0111::SumSquares1DTest
196 DECLARE_ALIGNED(16, int16_t, src[kMaxSize * kMaxSize]); in TEST_P()
199 for (int i = 0; i < kMaxSize * kMaxSize; ++i) in TEST_P()
202 const int N = rng_(2) ? rng_(kMaxSize * kMaxSize + 1 - kMaxSize) + kMaxSize in TEST_P()
203 : rng_(kMaxSize) + 1; in TEST_P()
214 DECLARE_ALIGNED(16, int16_t, src[kMaxSize * kMaxSize]); in TEST_P()
218 for (int i = 0; i < kMaxSize * kMaxSize; ++i) src[i] = kInt13Max; in TEST_P()
220 for (int i = 0; i < kMaxSize * kMaxSize; ++i) src[i] = -kInt13Max; in TEST_P()
223 const int N = rng_(2) ? rng_(kMaxSize * kMaxSize + 1 - kMaxSize) + kMaxSize in TEST_P()
224 : rng_(kMaxSize) + 1; in TEST_P()
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutexset_test.cc91 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
94 EXPECT_EQ(mset.Size(), MutexSet::kMaxSize); in TEST()
95 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
99 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
102 EXPECT_EQ(mset.Size(), MutexSet::kMaxSize); in TEST()
103 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
110 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
115 EXPECT_EQ(mset.Size(), MutexSet::kMaxSize); in TEST()
116 for (uptr i = 0; i < MutexSet::kMaxSize; i++) { in TEST()
118 Expect(mset, i, MutexSet::kMaxSize - 1, in TEST()
[all …]
/external/webrtc/rtc_base/strings/
Dstring_format.cc24 constexpr int kMaxSize = 512; variable
29 char buffer[kMaxSize]; in StringFormat()
32 int result = vsnprintf(buffer, kMaxSize, fmt, args); in StringFormat()
35 RTC_DCHECK_LT(result, kMaxSize) in StringFormat()
37 << (kMaxSize - 1) << " characters"; in StringFormat()
/external/angle/src/tests/gl_tests/
DViewportTest.cpp343 constexpr int kMaxSize = std::numeric_limits<int>::max(); in TEST_P() local
346 kMaxSize, in TEST_P()
347 kMaxSize, in TEST_P()
354 kMaxSize, in TEST_P()
355 kMaxSize, in TEST_P()
360 kMaxSize, in TEST_P()
361 kMaxSize, in TEST_P()
364 kMaxSize, in TEST_P()
365 kMaxSize, in TEST_P()
366 kMaxSize, in TEST_P()
[all …]
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDictionary.h24 static const size_t kMaxSize = kMaxSizeT;
31 assert(S <= kMaxSize); in Set()
36 bool operator==(const FixedWord<kMaxSize> &w) const {
40 static size_t GetMaxSize() { return kMaxSize; } in GetMaxSize()
46 uint8_t Data[kMaxSize];
/external/tensorflow/tensorflow/core/kernels/
Dstrided_slice_op_test.cc46 int kMaxSize = 15000; in SliceHelper() local
47 CHECK_LT(size, kMaxSize); in SliceHelper()
61 Tensor input(dt, TensorShape({2 * kDim, kMaxSize})); in SliceHelper()
98 int kMaxSize = 15000; in BM_ValidateStridedSliceOp() local
103 TensorShape input_shape({2 * kDim, kMaxSize}); in BM_ValidateStridedSliceOp()
Dslice_op_test.cc45 int kMaxSize = 15000; in SliceHelper() local
46 CHECK_LT(size, kMaxSize); in SliceHelper()
56 Tensor input(dt, TensorShape({2 * kDim, kMaxSize})); in SliceHelper()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_ignoreset.cc17 const uptr IgnoreSet::kMaxSize; member in __tsan::IgnoreSet
24 if (size_ == kMaxSize) in Add()
43 CHECK_LE(size_, kMaxSize); in At()
Dtsan_mutexset.cc18 const uptr MutexSet::kMaxSize; member in __tsan::MutexSet
35 if (size_ == kMaxSize) { in Add()
45 CHECK_EQ(size_, kMaxSize - 1); in Add()
Dtsan_ignoreset.h23 static const uptr kMaxSize = 16;
33 u32 stacks_[kMaxSize];
Dtsan_mutexset.h25 static const uptr kMaxSize = 16;
48 Desc descs_[kMaxSize];
/external/rust/crates/quiche/deps/boringssl/src/tool/
Dfile.cc26 constexpr size_t kMaxSize = 1024 * 1024; in ReadAll() local
42 if (out->size() == kMaxSize) { in ReadAll()
46 size_t cap = std::min(out->size() * 2, kMaxSize); in ReadAll()
/external/pigweed/pw_containers/public/pw_containers/
Dvector.h68 template <typename T, size_t kMaxSize = vector_impl::kGeneric>
84 Vector() noexcept : Vector<T, vector_impl::kGeneric>(kMaxSize) {} in Vector()
87 : Vector<T, vector_impl::kGeneric>(kMaxSize, count, value) {} in Vector()
90 : Vector<T, vector_impl::kGeneric>(kMaxSize, count, T()) {} in Vector()
97 : Vector<T, vector_impl::kGeneric>(kMaxSize, first, last) {} in Vector()
100 : Vector<T, vector_impl::kGeneric>(kMaxSize, other) {} in Vector()
104 : Vector<T, vector_impl::kGeneric>(kMaxSize, other) {} in Vector()
107 : Vector<T, vector_impl::kGeneric>(kMaxSize, std::move(other)) {} in Vector()
111 : Vector<T, vector_impl::kGeneric>(kMaxSize, std::move(other)) {} in Vector()
114 : Vector<T, vector_impl::kGeneric>(kMaxSize, list) {} in Vector()
[all …]
/external/boringssl/src/tool/
Dfile.cc30 constexpr size_t kMaxSize = 1024 * 1024; in ReadAll() local
46 if (out->size() == kMaxSize) { in ReadAll()
50 size_t cap = std::min(out->size() * 2, kMaxSize); in ReadAll()
/external/webrtc/modules/desktop_capture/
Dwindow_finder_unittest.cc57 const int kMaxSize = 10000; in TEST() local
64 MoveWindow(console_window, 0, 0, kMaxSize, kMaxSize, true); in TEST()
76 for (int i = 0; i < kMaxSize; i++) { in TEST()
/external/tensorflow/tensorflow/core/kernels/fuzzing/
Done_hot_fuzz.cc24 constexpr size_t kMaxSize = 1024; variable
47 if (size > kMaxSize) { in FuzzImpl()
48 size = kMaxSize; in FuzzImpl()
/external/ruy/ruy/profiler/
Dinstrumentation.h95 static constexpr int kMaxSize = 64; member
97 Label labels[kMaxSize];
146 if (stack_.size >= Stack::kMaxSize) { in Push()
/external/skia/src/codec/
DSkStreamBuffer.h90 inline static constexpr size_t kMaxSize = 256 * 3;
94 char fBuffer[kMaxSize];
/external/webrtc/test/fuzzers/
Dssl_certificate_fuzzer.cc39 unsigned char digest[rtc::MessageDigest::kMaxSize]; in FuzzOneInput()
41 cert->ComputeDigest(algorithm, digest, rtc::MessageDigest::kMaxSize, in FuzzOneInput()
/external/zstd/tests/fuzz/
Dhuf_round_trip.c53 size_t const kMaxSize = 256 * 1024; in LLVMFuzzerTestOneInput() local
55 if (size > kMaxSize) in LLVMFuzzerTestOneInput()
56 size = kMaxSize; in LLVMFuzzerTestOneInput()
/external/gemmlowp/profiling/
Dinstrumentation.h111 static const std::size_t kMaxSize = 30; member
112 typedef const char* LabelsArrayType[kMaxSize];
122 ReleaseBuildAssertion(size < kMaxSize, "ProfilingStack overflow"); in Push()
/external/webrtc/modules/video_coding/
Dpacket_buffer_unittest.cc39 constexpr int kMaxSize = 64; variable
107 packet_buffer_(&clock_, kStartSize, kMaxSize) {} in PacketBufferTest()
234 for (int i = 1; i < kMaxSize; ++i) in TEST_F()
241 Insert(seq_num + kMaxSize, kKeyFrame, kNotFirst, kLast).buffer_cleared); in TEST_F()
293 for (int i = 0; i < kMaxSize; ++i) in TEST_F()
298 Insert(seq_num + kMaxSize, kDeltaFrame, kFirst, kLast).buffer_cleared); in TEST_F()
302 for (int i = 0; i < kMaxSize; ++i) in TEST_F()
305 packet_buffer_.ClearTo(kMaxSize - 1); in TEST_F()
307 for (int i = kMaxSize; i < 2 * kMaxSize; ++i) in TEST_F()
337 for (int i = 1; i < kMaxSize - 1; ++i) in TEST_F()
[all …]
/external/llvm/lib/Fuzzer/
DFuzzerInternal.h53 template <size_t kMaxSize> class FixedWord {
59 assert(S <= kMaxSize); in Set()
64 bool operator==(const FixedWord<kMaxSize> &w) const {
68 bool operator<(const FixedWord<kMaxSize> &w) const {
74 static size_t GetMaxSize() { return kMaxSize; } in GetMaxSize()
80 uint8_t Data[kMaxSize];
/external/oss-fuzz/projects/zlib/
Dcompress_fuzzer.c59 static size_t kMaxSize = 1024 * 1024; in LLVMFuzzerTestOneInput() local
61 if (size < 1 || size > kMaxSize) in LLVMFuzzerTestOneInput()

1234