/external/chromium_org/third_party/webrtc/common_audio/ |
H A D | wav_header_unittest.cc | 53 static const int kSize = 4 + webrtc::kWavHeaderSize + 4; local 54 uint8_t buf[kSize]; 75 COMPILE_ASSERT(sizeof(kExpectedBuf) == kSize, buf_size); 76 EXPECT_EQ(0, memcmp(kExpectedBuf, buf, kSize));
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | malloc_fill.cc | 10 static const int kSize = 1 << 25; local 11 unsigned char *x = new unsigned char[kSize];
|
H A D | stack-use-after-return.cc | 21 #ifndef kSize 22 # define kSize 1 macro 41 char local[kSize];
|
/external/chromium_org/courgette/third_party/ |
H A D | paged_array_unittest.cc | 14 static const int kSize = 200 * 1024 * 1024 / sizeof(int); // 200MB member in class:PagedArrayTest 20 EXPECT_TRUE(a.Allocate(kSize)); 27 EXPECT_TRUE(a.Allocate(kSize));
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_ashmem_unittest.cpp | 20 const size_t kSize = 4096 * 10; local 21 EXPECT_TRUE(region.Allocate(kSize, __FUNCTION__)); 23 kSize, 30 for (size_t n = 0; n < kSize; ++n) { 35 EXPECT_EQ(0, ::munmap(map, kSize));
|
/external/chromium_org/components/metrics/ |
H A D | compression_utils_unittest.cc | 59 const size_t kSize = 32 * 1024; local 61 // Generate a data string of |kSize| for testing. 63 data.resize(kSize); 64 for (size_t i = 0; i < kSize; ++i)
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | block_bitmaps_v3_unittest.cc | 31 const int kSize = 100; local 32 disk_cache::Addr address[kSize]; 33 for (int i = 0; i < kSize; i++) { 46 for (int i = 0; i < kSize; i++) { 60 for (int i = 0; i < kSize; i++) {
|
H A D | bitmap_unittest.cc | 58 static const int kSize = 100; local 59 disk_cache::Bitmap map(kSize, true);
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_bench.cc | 19 const int kSize = 128; variable 26 volatile T data[kSize]; 28 for (int j = 0; j < kSize; j++) { 85 for (int j = 0; j < kSize; j++) 87 for (int j = 0; j < kSize; j++)
|
/external/compiler-rt/test/tsan/ |
H A D | barrier.cc | 10 const int kSize = 4; variable 12 int data[2][kSize]; 21 int right = idx + 1 < kSize ? prev[idx + 1] : 0; 29 pthread_barrier_init(&barrier, 0, kSize); 30 pthread_t th[kSize]; 31 for (int i = 0; i < kSize; i++) 33 for (int i = 0; i < kSize; i++)
|
/external/llvm/unittests/Support/ |
H A D | CompressionTest.cpp | 49 const size_t kSize = 1024; local 50 char BinaryData[kSize]; 51 for (size_t i = 0; i < kSize; ++i) { 54 StringRef BinaryDataStr(BinaryData, kSize);
|
/external/chromium_org/base/memory/ |
H A D | discardable_memory_unittest.cc | 32 const size_t kSize = 1024; member in namespace:base::__anon2335 66 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); 82 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); 88 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize)); 99 const scoped_ptr<DiscardableMemory> memory(CreateLockedMemory(kSize));
|
/external/chromium_org/content/common/ |
H A D | database_connections_unittest.cc | 45 const int64 kSize = 1000; local 58 connections.SetOpenDatabaseSize(kOriginId, kName, kSize); 59 EXPECT_EQ(kSize, connections.GetOpenDatabaseSize(kOriginId, kName)); 67 connections.SetOpenDatabaseSize(kOriginId, kName, kSize); 68 EXPECT_EQ(kSize, connections.GetOpenDatabaseSize(kOriginId, kName)); 70 EXPECT_EQ(kSize, connections.GetOpenDatabaseSize(kOriginId, kName)); 88 EXPECT_EQ(kSize, connections.GetOpenDatabaseSize(kOriginId, kName));
|
/external/chromium_org/gpu/command_buffer/common/ |
H A D | command_buffer_shared_test.cc | 39 static const int kSize = 100000; member in namespace:gpu 44 for (int i = 0; i < kSize; i++) { 59 buffer.reset(new int32[kSize]); 62 memset(buffer.get(), 0, kSize * sizeof(int32)); 89 if (state.get_offset == kSize)
|
H A D | gles2_cmd_format_test.cc | 62 const size_t kSize = 10; local 73 uint32 buffer_tokens[kSize]; 83 size_t buffer = i % kSize;
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | md5digest.h | 22 enum { kSize = 16 }; enumerator in enum:rtc::Md5Digest::__anon15672 27 return kSize; 33 if (len < kSize) { 38 return kSize;
|
H A D | sha1digest.h | 22 enum { kSize = SHA1_DIGEST_SIZE }; enumerator in enum:rtc::Sha1Digest::__anon15690 27 return kSize; 33 if (len < kSize) { 38 return kSize;
|
/external/chromium_org/v8/test/cctest/compiler/ |
H A D | test-node-cache.cc | 54 const int32_t kSize = 1500; local 55 Node** nodes = graph.zone()->NewArray<Node*>(kSize); 58 for (int i = 0; i < kSize; i++) { 65 for (int i = 0; i < kSize; i++) { 95 const int32_t kSize = 1500; local 96 Node** nodes = graph.zone()->NewArray<Node*>(kSize); 99 for (int i = 0; i < kSize; i++) { 106 for (int i = 0; i < kSize; i++) { 138 const int32_t kSize = 50; local 139 int32_t buffer[kSize]; [all...] |
/external/qemu/android/filesystems/ |
H A D | ext4_utils_unittest.cpp | 106 uint64_t kSize = 32 * 1024 * 1024; local 107 int ret = android_createEmptyExt4Image(tempPath, kSize, "cache");
|
H A D | ext4_utils.cpp | 31 static const size_t kSize = 2U; member in struct:Ext4Magic 32 static const uint8_t kExpected[kSize]; 35 const uint8_t Ext4Magic::kExpected[kSize] = { 0x53, 0xef }; 55 char magic[Ext4Magic::kSize];
|
/external/chromium_org/chrome/browser/extensions/api/diagnostics/ |
H A D | diagnostics_api_chromeos.cc | 23 const char kSize[] = "size"; member in namespace:extensions::__anon3686 82 config[kSize] = base::IntToString(*parameters_->options.size);
|
/external/chromium_org/media/base/ |
H A D | data_buffer_unittest.cc | 32 const int kSize = 8; local 33 scoped_ptr<uint8[]> data(new uint8[kSize]); 36 scoped_refptr<DataBuffer> buffer = new DataBuffer(data.Pass(), kSize); 40 EXPECT_EQ(kSize, buffer->data_size());
|
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_stream_draw_unittest.cc | 20 static const int kSize = 4; member in class:gpu::GLStreamDrawTest 24 options.size = gfx::Size(kSize, kSize); 77 EXPECT_TRUE(GLTestHelper::CheckPixels(0, 0, kSize, kSize, 0, expected_red)); 80 EXPECT_TRUE(GLTestHelper::CheckPixels(0, 0, kSize, kSize, 0, expected_green)); 106 EXPECT_TRUE(GLTestHelper::CheckPixels(0, 0, kSize, kSize, 0, expected_red)); 112 EXPECT_TRUE(GLTestHelper::CheckPixels(0, 0, kSize, kSiz [all...] |
/external/chromium_org/third_party/skia/gm/ |
H A D | ninepatchstretch.cpp | 13 const int kSize = 2*kFixed + kStretchy; local 15 bitmap->allocN32Pixels(kSize, kSize); 19 SkRect r = SkRect::MakeWH(SkIntToScalar(kSize), SkIntToScalar(kSize)); 30 r.setXYWH(SkIntToScalar(kFixed), 0, SkIntToScalar(kStretchy), SkIntToScalar(kSize)); 33 r.setXYWH(0, SkIntToScalar(kFixed), SkIntToScalar(kSize), SkIntToScalar(kStretchy));
|
H A D | xfermodes2.cpp | 32 const SkScalar w = SkIntToScalar(kSize); 33 const SkScalar h = SkIntToScalar(kSize); 108 dstBmp.allocN32Pixels(kSize, kSize); 111 for (int y = 0; y < kSize; ++y) { 114 for (int x = 0; x < kSize; ++x) { 115 pixels[kSize * y + x] = rowColor; 122 srcBmp.allocN32Pixels(kSize, kSize); 125 for (int x = 0; x < kSize; 139 kSize = 256 >> kShift, enumerator in enum:skiagm::Xfermodes2GM::__anon15065 [all...] |