Home
last modified time | relevance | path

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

12

/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/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator_unittest.cc32 const size_t kMaxSize = 10; in TEST() local
36 EXPECT_TRUE(root->CreateChildren(kMaxSize)); in TEST()
50 const size_t kMaxSize = 1500; in TEST() local
56 PartitionTreeNode* opt = root->GetOptimalNode(kMaxSize, kPenalty); in TEST()
81 const size_t kMaxSize = 1500; in TEST() local
85 PartitionTreeNode* opt = root->GetOptimalNode(kMaxSize, kPenalty); in TEST()
137 size_t kMaxSize = 1500; in TEST() local
140 aggregator->FindOptimalConfiguration(kMaxSize, kPenalty); in TEST()
169 size_t kMaxSize = 1500; in TEST() local
172 aggregator->FindOptimalConfiguration(kMaxSize, kPenalty); in TEST()
[all …]
Drtp_format_vp8_unittest.cc105 const size_t kMaxSize = 13; in TEST_F() local
106 RtpPacketizerVp8 packetizer(hdr_info_, kMaxSize, kStrict); in TEST_F()
136 const int kMaxSize = 14; in TEST_F() local
137 RtpPacketizerVp8 packetizer(hdr_info_, kMaxSize, kStrict); in TEST_F()
159 const size_t kMaxSize = 25; in TEST_F() local
160 RtpPacketizerVp8 packetizer(hdr_info_, kMaxSize, kAggregate); in TEST_F()
186 const size_t kMaxSize = 1500; in TEST_F() local
187 RtpPacketizerVp8 packetizer(hdr_info_, kMaxSize, kAggregate); in TEST_F()
213 const size_t kMaxSize = 1500; in TEST_F() local
214 RtpPacketizerVp8 packetizer(hdr_info_, kMaxSize, kAggregate); in TEST_F()
[all …]
/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/gemmlowp/profiling/
Dinstrumentation.h118 static const std::size_t kMaxSize = 15; member
119 typedef const char* LabelsArrayType[kMaxSize];
127 ReleaseBuildAssertion(size < kMaxSize, "ProfilingStack overflow"); in Push()
/external/skia/src/core/
DSkBitmapProcShader.cpp235 static const int kMaxSize = 65535; in bitmap_is_too_big() local
237 return bm.width() > kMaxSize || bm.height() > kMaxSize; in bitmap_is_too_big()
DSkLightingShader.cpp699 static const int kMaxSize = 65535; in bitmap_is_too_big() local
701 return bm.width() > kMaxSize || bm.height() > kMaxSize; in bitmap_is_too_big()
/external/v8/test/unittests/compiler/
Dnode-unittest.cc238 static const int kMaxSize = 512; in TEST_F() local
239 Node* inputs[kMaxSize]; in TEST_F()
244 for (int i = 0; i < kMaxSize; i++) { in TEST_F()
248 for (int size = 13; size <= kMaxSize; size += 9) { in TEST_F()
/external/skia/include/core/
DSkPaint.h1130 static const SkScalar kMaxSize = SkIntToScalar(kMaxSizeForGlyphCache); in MaxCacheSize2() local
1131 static const SkScalar kMag2Max = kMaxSize * kMaxSize; in MaxCacheSize2()
/external/webrtc/webrtc/video/
Doveruse_frame_detector.cc127 const size_t kMaxSize = 90; // Allows for processing time of 1.5s at 60fps. in Start() local
128 if (frame_times_.size() > kMaxSize) { in Start()
/external/lzma/C/
DLzma2Enc.c229 const UInt32 kMaxSize = (UInt32)1 << 28; in Lzma2EncProps_Normalize() local
231 if (blockSize > kMaxSize) blockSize = kMaxSize; in Lzma2EncProps_Normalize()
/external/libbrillo/brillo/streams/
Dfile_stream_unittest.cc183 const uint64_t kMaxSize = std::numeric_limits<int64_t>::max(); member in brillo::FileStreamTest
278 EXPECT_CALL(fd_mock(), Truncate(kMaxSize)).WillOnce(Return(0)); in TEST_F()
279 EXPECT_TRUE(stream_->SetSizeBlocking(kMaxSize, nullptr)); in TEST_F()
321 EXPECT_CALL(fd_mock(), Seek(kMaxSize, SEEK_SET)) in TEST_F()
322 .WillRepeatedly(Return(kMaxSize)); in TEST_F()
323 EXPECT_TRUE(stream_->Seek(kMaxSize, Stream::Whence::FROM_BEGIN, &pos, in TEST_F()
325 EXPECT_EQ(kMaxSize, pos); in TEST_F()
326 EXPECT_TRUE(stream_->Seek(kMaxSize, Stream::Whence::FROM_BEGIN, nullptr, in TEST_F()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h111 static const uptr kMaxSize = 1UL << kMaxSizeLog; variable
131 if (size > kMaxSize) return 0; in ClassID()
182 CHECK_EQ(ClassID(kMaxSize + 1), 0); in Validate()
184 for (uptr s = 1; s <= kMaxSize; s++) { in Validate()
341 return size <= SizeClassMap::kMaxSize && in CanAllocate()
342 alignment <= SizeClassMap::kMaxSize; in CanAllocate()
715 return size <= SizeClassMap::kMaxSize && in CanAllocate()
716 alignment <= SizeClassMap::kMaxSize; in CanAllocate()
Dsanitizer_symbolizer_posix_libcdep.cc345 res_length <= InternalSizeClassMap::kMaxSize;) { in Demangle()
/external/webrtc/webrtc/base/
Dmessagedigest.h29 enum { kMaxSize = 64 }; // Maximum known size (SHA-512) enumerator
Dsslfingerprint.cc53 char value[rtc::MessageDigest::kMaxSize]; in CreateFromRfc4572()
Dsslidentity_unittest.cc111 typedef unsigned char DigestType[rtc::MessageDigest::kMaxSize];
/external/v8/test/cctest/
Dtest-reloc-info.cc65 CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end); in TEST()
/external/compiler-rt/lib/asan/
Dasan_allocator.cc112 if (user_requested_size != SizeClassMap::kMaxSize) in UsedSize()
416 m->user_requested_size = SizeClassMap::kMaxSize; in Allocate()
440 if (needed_size > SizeClassMap::kMaxSize) in Allocate()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c1094 static const size_t kMaxSize = 256 * 1024; in d2i_PKCS12_bio() local
1120 if (buf->length > kMaxSize || in d2i_PKCS12_bio()
/external/v8/src/
Dobjects.h2642 static const int kMaxSize = 128 * MB * kPointerSize;
2644 static const int kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize;
2711 static const int kMaxSize = 512 * MB;
2713 static const int kMaxLength = (kMaxSize - kHeaderSize) / kDoubleSize;
4346 static const int kMaxSize = 512 * MB; variable
4348 static const int kMaxLength = kMaxSize - kHeaderSize;
4402 static const int kMaxSize = 512 * MB; variable
4404 static const int kMaxLength = kMaxSize - kHeaderSize;
9005 static const int kMaxSize = 512 * MB - 1; variable
9006 STATIC_ASSERT((kMaxSize - kHeaderSize) >= String::kMaxLength);
[all …]
/external/webrtc/webrtc/p2p/base/
Dstun.cc906 char digest[rtc::MessageDigest::kMaxSize]; in ComputeStunCredentialHash()

12