/external/chromium_org/ui/surface/ |
transport_dib.cc | 11 static const size_t kMaxSize = static_cast<size_t>(INT_MAX); 14 if (w <= 0 || h <= 0 || static_cast<size_t>(w) > (kMaxSize / one_stride) || 15 static_cast<size_t>(h) > (kMaxSize / stride)) {
|
/external/chromium_org/gpu/command_buffer/common/ |
cmd_buffer_common.cc | 15 const int32 CommandHeader::kMaxSize;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
messagedigest.h | 46 enum { kMaxSize = 64 }; // Maximum known size (SHA-512)
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutexset.cc | 18 const uptr MutexSet::kMaxSize; 35 if (size_ == kMaxSize) { 45 CHECK_EQ(size_, kMaxSize - 1);
|
tsan_mutexset.h | 25 static const uptr kMaxSize = 16; 44 Desc descs_[kMaxSize];
|
/external/chromium_org/base/containers/ |
mru_cache_unittest.cc | 233 static const Cache::size_type kMaxSize = 3; 238 Cache cache(kMaxSize); 246 // The cache should only have kMaxSize items in it even though we inserted 248 EXPECT_EQ(kMaxSize, cache.size());
|
/external/chromium_org/chrome/common/metrics/ |
caching_permuted_entropy_provider.cc | 76 const int kMaxSize = 25; 77 if (cache_.entry_size() >= kMaxSize) { 81 // |kMaxSize| field trials at any given time, so eviction should happen very 83 for (int i = 1; i < kMaxSize; ++i) 85 entry = cache_.mutable_entry(kMaxSize - 1);
|
/external/skia/bench/ |
XfermodeBench.cpp | 41 SkScalar w = random.nextRangeScalar(SkIntToScalar(kMinSize), SkIntToScalar(kMaxSize)); 42 SkScalar h = random.nextRangeScalar(SkIntToScalar(kMinSize), SkIntToScalar(kMaxSize)); 56 kMaxSize = 100,
|
/frameworks/av/services/medialog/ |
MediaLogService.h | 37 static const size_t kMaxSize = 0x10000;
|
/external/chromium/net/disk_cache/ |
disk_cache_perftest.cc | 40 const int kMaxSize = 16 * 1024 - 1; 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);
|
block_files_unittest.cc | 38 const int kMaxSize = 35000; 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; 66 Addr address[kMaxSize]; 69 for (int i = 0; i < kMaxSize; i++) { 74 for (int i = 0; i < kMaxSize; i++) {
|
backend_impl.h | 31 kMaxSize = 1 << 1, // A maximum size was provided.
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
cloud_external_data_store_unittest.cc | 26 const size_t kMaxSize = 100; 65 EXPECT_FALSE(store.Load(kPolicy1, kData2Hash, kMaxSize, &data)); 68 EXPECT_TRUE(store.Load(kPolicy1, kData1Hash, kMaxSize, &data)); 109 EXPECT_FALSE(store.Load(kPolicy1, kData1Hash, kMaxSize, &data)); 125 EXPECT_TRUE(store.Load(kPolicy1, kData1Hash, kMaxSize, &data)); 127 EXPECT_TRUE(store.Load(kPolicy2, kData2Hash, kMaxSize, &data)); 175 EXPECT_TRUE(store1.Load(kPolicy1, kData1Hash, kMaxSize, &data)); 177 EXPECT_FALSE(store1.Load(kPolicy2, kData2Hash, kMaxSize, &data)); 179 EXPECT_FALSE(store2.Load(kPolicy1, kData1Hash, kMaxSize, &data)); 180 EXPECT_TRUE(store2.Load(kPolicy2, kData2Hash, kMaxSize, &data)) [all...] |
/external/chromium_org/content/renderer/browser_plugin/ |
browser_plugin_backing_store.cc | 17 static const int kMaxSize = 23170; 47 if (width <= 0 || width > kMaxSize || 48 height <= 0 || height > kMaxSize)
|
/external/chromium_org/net/disk_cache/ |
block_files_unittest.cc | 39 const int kMaxSize = 35000; 40 Addr address[kMaxSize]; 43 for (int i = 0; i < kMaxSize; i++) { 49 for (int i = 0; i < kMaxSize * 4; i += 2) { 50 int target = i % kMaxSize; 65 const int kMaxSize = 35000; 66 Addr address[kMaxSize]; 69 for (int i = 0; i < kMaxSize; i++) { 74 for (int i = 0; i < kMaxSize; i++) {
|
disk_cache_perftest.cc | 38 const int kMaxSize = 16 * 1024 - 1; 41 // to kMaxSize of data to each entry. 46 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); 49 CacheTestFillBuffer(buffer2->data(), kMaxSize, false); 61 entry.data_len = rand() % kMaxSize; 98 scoped_refptr<net::IOBuffer> buffer2(new net::IOBuffer(kMaxSize)); 101 CacheTestFillBuffer(buffer2->data(), kMaxSize, false);
|
backend_impl.h | 33 kMaxSize = 1 << 1, // A maximum size was provided.
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
addressmap_unittest.cc | 82 static const size_t kMaxSize = 100*1000*1000; 104 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); 142 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p));
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
addressmap_unittest.cc | 82 static const size_t kMaxSize = 100*1000*1000; 104 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); 142 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p));
|
/external/chromium_org/gpu/command_buffer/service/ |
renderbuffer_manager_unittest.cc | 21 static const GLint kMaxSize = 128; 29 memory_tracker, kMaxSize, kMaxSamples, depth24_supported)); 71 const GLint RenderbufferManagerTestBase::kMaxSize; 79 EXPECT_EQ(kMaxSize, manager_->max_renderbuffer_size());
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.cc | 164 const int kMaxSize = 1024; // We don't want a summary too long. 165 InternalScopedBuffer<char> buff(kMaxSize); 166 internal_snprintf(buff.data(), kMaxSize, "%s: %s %s:%d %s",
|
/external/chromium/base/allocator/ |
allocator_unittests.cc | 15 static const size_t kMaxSize = ~static_cast<size_t>(0); 379 TestCalloc(kMaxSize, 2, false); 380 TestCalloc(2, kMaxSize, false); 381 TestCalloc(kMaxSize, kMaxSize, false);
|
/external/chromium_org/base/allocator/ |
allocator_unittests.cc | 14 static const size_t kMaxSize = ~static_cast<size_t>(0); 378 TestCalloc(kMaxSize, 2, false); 379 TestCalloc(2, kMaxSize, false); 380 TestCalloc(kMaxSize, kMaxSize, false);
|
/external/chromium_org/net/disk_cache/v3/ |
backend_impl_v3.h | 31 kMaxSize = 1 << 1, // A maximum size was provided.
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
common.h | 90 // Original TCMalloc code used kMaxSize == 256 * 1024. In Chromium, we 93 static const size_t kMaxSize = 8u * kPageSize; 107 static const size_t kMinThreadCacheSize = kMaxSize * 2; 185 ((kMaxSize + 127 + (120 << 7)) >> 7) + 1; 191 ASSERT(s <= kMaxSize);
|