Searched defs:kSize (Results 1 - 25 of 92) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/common_audio/
H A Dwav_header_unittest.cc53 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 Dmalloc_fill.cc10 static const int kSize = 1 << 25; local
11 unsigned char *x = new unsigned char[kSize];
H A Dstack-use-after-return.cc21 #ifndef kSize
22 # define kSize 1 macro
41 char local[kSize];
/external/chromium_org/courgette/third_party/
H A Dpaged_array_unittest.cc14 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 Dcrazy_linker_ashmem_unittest.cpp20 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 Dcompression_utils_unittest.cc59 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 Dblock_bitmaps_v3_unittest.cc31 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 Dbitmap_unittest.cc58 static const int kSize = 100; local
59 disk_cache::Bitmap map(kSize, true);
/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_bench.cc19 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 Dbarrier.cc10 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 DCompressionTest.cpp49 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 Ddiscardable_memory_unittest.cc32 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 Ddatabase_connections_unittest.cc45 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 Dcommand_buffer_shared_test.cc39 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 Dgles2_cmd_format_test.cc62 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 Dmd5digest.h22 enum { kSize = 16 }; enumerator in enum:rtc::Md5Digest::__anon15672
27 return kSize;
33 if (len < kSize) {
38 return kSize;
H A Dsha1digest.h22 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 Dtest-node-cache.cc54 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 Dext4_utils_unittest.cpp106 uint64_t kSize = 32 * 1024 * 1024; local
107 int ret = android_createEmptyExt4Image(tempPath, kSize, "cache");
H A Dext4_utils.cpp31 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 Ddiagnostics_api_chromeos.cc23 const char kSize[] = "size"; member in namespace:extensions::__anon3686
82 config[kSize] = base::IntToString(*parameters_->options.size);
/external/chromium_org/media/base/
H A Ddata_buffer_unittest.cc32 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 Dgl_stream_draw_unittest.cc20 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 Dninepatchstretch.cpp13 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 Dxfermodes2.cpp32 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...]

Completed in 510 milliseconds

1234