Searched refs:kMaxSize (Results 1 - 19 of 19) sorted by relevance

/external/chromium/net/disk_cache/
H A Dblock_files_unittest.cc38 const int kMaxSize = 35000; local
39 Addr address[kMaxSize];
42 for (int i = 0; i < kMaxSize; i++) {
48 for (int i = 0; i < kMaxSize * 4; i += 2) {
49 int target = i % kMaxSize;
65 const int kMaxSize = 35000; local
66 Addr address[kMaxSize];
69 for (int i = 0; i < kMaxSize; i++) {
74 for (int i = 0; i < kMaxSize; i++) {
H A Ddisk_cache_perftest.cc40 const int kMaxSize = 16 * 1024 - 1; member in namespace:__anon2868
43 // to kMaxSize of data to each entry.
48 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize));
51 CacheTestFillBuffer(buffer2->data(), kMaxSize, false);
65 entry.data_len = rand() % kMaxSize;
99 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize));
102 CacheTestFillBuffer(buffer2->data(), kMaxSize, false);
H A Dbackend_impl.h31 kMaxSize = 1 << 1, // A maximum size was provided. enumerator in enum:disk_cache::BackendFlags
H A Dbackend_impl.cc815 user_flags_ |= kMaxSize;
/external/astl/include/
H A Dmemory88 const difference_type kMaxSize =
96 static_cast<size_t>(kMaxSize) / kSize > static_cast<size_t>(len)) {
/external/chromium/base/allocator/
H A Dallocator_unittests.cc15 static const size_t kMaxSize = ~static_cast<size_t>(0); variable
379 TestCalloc(kMaxSize, 2, false);
380 TestCalloc(2, kMaxSize, false);
381 TestCalloc(kMaxSize, kMaxSize, false);
/external/v8/test/cctest/
H A Dtest-reloc-info.cc59 CHECK(writer.pos() - RelocInfoWriter::kMaxSize >= relocation_info_end);
H A Dtest-heap.cc888 int allocation_amount = Min(FixedArray::kMaxSize,
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator64.h65 static const uptr kMaxSize = l5; member in class:__sanitizer::DefaultSizeClassMap
69 COMPILER_CHECK((kMaxSize & (kMaxSize - 1)) == 0);
127 return size <= SizeClassMap::kMaxSize &&
128 alignment <= SizeClassMap::kMaxSize;
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator64_test.cc44 CHECK_EQ(SCMap::ClassID(SCMap::kMaxSize + 1), 0);
46 for (uptr s = 1; s <= SCMap::kMaxSize; s++) {
/external/webkit/Source/JavaScriptCore/wtf/
H A DFastMalloc.cpp605 // sense. In particular, if kMaxSize increases, you may have to
609 static const size_t kMaxSize = 8u * kPageSize;
641 static const size_t kMinThreadCacheSize = kMaxSize * 2;
859 if (static_cast<size_t>(ClassIndex(kMaxSize)) >= sizeof(class_array)) {
860 MESSAGE("Invalid class index %d for kMaxSize\n", ClassIndex(kMaxSize));
868 for (size_t size = kAlignment; size <= kMaxSize; size += (1 << alignshift)) {
927 for (size_t size = 0; size <= kMaxSize; size++) {
1092 if (bytes > kMaxSize) {
2889 ASSERT(size <= kMaxSize);
[all...]
/external/v8/src/
H A Dobjects.h2290 static const int kMaxSize = 128 * MB * kPointerSize; member in class:v8::internal::FixedArray
2292 static const int kMaxLength = (kMaxSize - kHeaderSize) / kPointerSize;
2377 static const int kMaxSize = 512 * MB; member in class:v8::internal::FixedDoubleArray
2379 static const int kMaxLength = (kMaxSize - kHeaderSize) / kDoubleSize;
3597 static const int kMaxSize = 512 * MB; member in class:v8::internal::ByteArray
3599 static const int kMaxLength = kMaxSize - kHeaderSize;
7189 static const int kMaxSize = 512 * MB - 1;
7192 static const int kMaxLength = (kMaxSize - kHeaderSize);
7239 static const int kMaxSize = 512 * MB - 1;
7242 static const int kMaxLength = (kMaxSize
[all...]
H A Dassembler.h412 static const int kMaxSize = 16; member in class:v8::internal::BASE_EMBEDDED
H A Dassembler.cc374 ASSERT(begin_pos - pos_ <= kMaxSize);
H A Dliveedit.cc1253 static const int kBufferGap = RelocInfoWriter::kMaxSize;
H A Dheap.cc4347 ASSERT(size <= SeqAsciiString::kMaxSize);
4384 ASSERT(size <= SeqTwoByteString::kMaxSize);
/external/v8/src/mips/
H A Dassembler-mips.h1121 static const int kMaxRelocSize = RelocInfoWriter::kMaxSize;
/external/v8/src/arm/
H A Dassembler-arm.h1383 static const int kMaxRelocSize = RelocInfoWriter::kMaxSize;
/external/v8/src/ia32/
H A Dmacro-assembler-ia32.cc2754 ASSERT_EQ(SeqAsciiString::kMaxSize, SeqTwoByteString::kMaxSize);
2755 ASSERT(SeqAsciiString::kMaxSize <=

Completed in 328 milliseconds