Home
last modified time | relevance | path

Searched refs:kCount (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/base/
Did_map_unittest.cc95 const int kCount = 5; in TEST() local
96 TestObject obj[kCount]; in TEST()
98 for (int i = 0; i < kCount; i++) in TEST()
102 int32 ids_in_iteration_order[kCount]; in TEST()
103 const TestObject* objs_in_iteration_order[kCount]; in TEST()
205 const int kCount = 5; in TEST() local
206 TestObject obj[kCount]; in TEST()
208 for (int i = 0; i < kCount; i++) in TEST()
212 int32 ids_in_iteration_order[kCount]; in TEST()
213 const TestObject* objs_in_iteration_order[kCount]; in TEST()
[all …]
/external/chromium_org/third_party/leveldatabase/src/db/
Dautocompact_test.cc54 static const int kCount = kTotalSize / kValueSize; variable
63 for (int i = 0; i < kCount; i++) { in DoReads()
69 for (int i = 0; i < kCount; i++) { in DoReads()
76 const int64_t initial_other_size = Size(Key(n), Key(kCount)); in DoReads()
93 read+1, size/1048576.0, Size(Key(n), Key(kCount))/1048576.0); in DoReads()
101 const int64_t final_other_size = Size(Key(n), Key(kCount)); in DoReads()
107 DoReads(kCount); in TEST()
111 DoReads(kCount/2); in TEST()
/external/qemu/android/base/memory/
DMallocUsableSize_unittest.cpp28 const size_t kCount = 1000; in TEST() local
29 void* blocks[kCount]; in TEST()
30 for (size_t n = 0; n < kCount; ++n) { in TEST()
35 for (size_t n = 0; n < kCount; ++n) { in TEST()
41 for (size_t n = kCount; n > 0; --n) { in TEST()
/external/skia/tests/
DSmallAllocatorTest.cpp15 kCount++; in CountingClass()
19 kCount--; in ~CountingClass()
22 static int GetCount() { return kCount; } in GetCount()
25 static int kCount; member in CountingClass
28 int CountingClass::kCount; member in CountingClass
/external/chromium_org/third_party/skia/tests/
DSmallAllocatorTest.cpp15 kCount++; in CountingClass()
19 kCount--; in ~CountingClass()
22 static int GetCount() { return kCount; } in GetCount()
25 static int kCount; member in CountingClass
28 int CountingClass::kCount; member in CountingClass
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
Ddfa.c84 s->kCount = 0; in State_new()
213 State *DFA_findState(DFA *d, Ins **kernel, unsigned int kCount){ in DFA_findState() argument
217 kernel[kCount] = NULL; in DFA_findState()
227 kCount = cP - kernel; in DFA_findState()
228 kernel[kCount] = NULL; in DFA_findState()
231 if(s->kCount == kCount){ in DFA_findState()
242 s->kCount = kCount; in DFA_findState()
243 s->kernel = malloc(sizeof(Ins*)*(kCount+1)); in DFA_findState()
244 memcpy(s->kernel, kernel, (kCount+1)*sizeof(Ins*)); in DFA_findState()
Ddfa.h61 unsigned int kCount; member
/external/qemu/android/base/
DStringFormat_unittest.cpp73 const size_t kCount = 12; in TEST() local
75 for (size_t n = 0; n < kCount; ++n) { in TEST()
79 EXPECT_EQ(kCount * kPieceLen, s.size()); in TEST()
80 for (size_t n = 0; n < kCount; ++n) { in TEST()
DString_unittest.cpp67 const size_t kCount = 1024; in TEST() local
70 String s(kCount, kFill); in TEST()
71 EXPECT_EQ(kCount, s.size()); in TEST()
72 for (size_t n = 0; n < kCount; ++n) in TEST()
85 const size_t kCount = 4096; in TEST() local
87 for (size_t n = 0; n < kCount; ++n) { in TEST()
91 EXPECT_EQ(kCount, s.size()); in TEST()
177 const size_t kCount = 1024; in TEST() local
180 s.assign(kCount, kFill); in TEST()
181 EXPECT_EQ(kCount, s.size()); in TEST()
[all …]
/external/chromium_org/third_party/skia/bench/
DMatrixBench.cpp270 for (i = 0; i < kCount; i++) { in ScaleTransMixedMatrixBench()
281 int count = kCount; in performTest()
295 kCount = 16 enumerator
298 SkPoint fSrc [kCount];
299 SkPoint fDst [kCount];
309 for (i = 0; i < kCount; i++) { in ScaleTransDoubleMatrixBench()
320 int count = kCount; in performTest()
335 kCount = 16 enumerator
338 SkPoint fSrc [kCount];
339 SkPoint fDst [kCount];
/external/skia/bench/
DMatrixBench.cpp270 for (i = 0; i < kCount; i++) { in ScaleTransMixedMatrixBench()
281 int count = kCount; in performTest()
295 kCount = 16 enumerator
298 SkPoint fSrc [kCount];
299 SkPoint fDst [kCount];
309 for (i = 0; i < kCount; i++) { in ScaleTransDoubleMatrixBench()
320 int count = kCount; in performTest()
335 kCount = 16 enumerator
338 SkPoint fSrc [kCount];
339 SkPoint fDst [kCount];
/external/chromium_org/ppapi/proxy/
Dfile_chooser_resource_unittest.cc50 const size_t kCount = 2; in CheckParseAcceptType() local
51 const char* expected[kCount] = { expected1, expected2 }; in CheckParseAcceptType()
53 for (size_t i = 0; i < kCount; i++) { in CheckParseAcceptType()
62 return output.size() == kCount; in CheckParseAcceptType()
/external/chromium_org/gpu/command_buffer/common/
Dgles2_cmd_format_test.cc63 const size_t kCount = 1000; in TEST() local
77 uint32 async_token = std::numeric_limits<uint32>::max() - kCount / 2; in TEST()
82 for (size_t i = 0; i < kCount; ++i) { in TEST()
/external/chromium_org/third_party/skia/src/core/
DSkPerspIter.h39 kCount = (1 << kShift) enumerator
42 SkFixed fStorage[kCount * 2];
/external/skia/src/core/
DSkPerspIter.h39 kCount = (1 << kShift) enumerator
42 SkFixed fStorage[kCount * 2];
/external/qemu/android/base/containers/
DStringVector_unittest.cpp39 const size_t kCount = 100; in TEST() local
40 v.resize(kCount); in TEST()
41 EXPECT_EQ(kCount, v.size()); in TEST()
42 for (size_t n = 0; n < kCount; ++n) { in TEST()
/external/chromium_org/chrome/browser/extensions/api/diagnostics/
Ddiagnostics_api_chromeos.cc19 const char kCount[] = "count"; variable
76 config[kCount] = kDefaultCount; in AsyncWorkStart()
/external/chromium_org/gpu/command_buffer/service/
Dgles2_cmd_decoder_unittest.cc388 const GLsizei kCount = 3; in TEST_P() local
394 GetSharedMemoryAsWithOffset<GLint*>(sizeof(*pnames) * kCount); in TEST_P()
397 for (GLsizei ii = 0; ii < kCount; ++ii) { in TEST_P()
409 kCount, in TEST_P()
411 kSharedMemoryOffset + sizeof(*pnames) * kCount, in TEST_P()
426 const GLsizei kCount = 3; in TEST_P() local
429 const uint32 kResultsOffset = kPnameOffset + sizeof(GLint) * kCount; in TEST_P()
437 for (GLsizei ii = 0; ii < kCount; ++ii) { in TEST_P()
450 kCount, in TEST_P()
459 kCount, in TEST_P()
[all …]
/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_wrappers.cpp269 static const size_t kCount = sizeof(kSymbols) / sizeof(kSymbols[0]); in WrapLinkerSymbol() local
270 for (size_t n = 0; n < kCount; ++n) { in WrapLinkerSymbol()
/external/chromium_org/storage/browser/blob/
Dview_blob_internals_job.cc29 const char kCount[] = "Count: "; variable
184 AddHTMLListItem(kCount, in GenerateHTMLForBlobData()
/external/chromium_org/base/memory/
Dshared_memory_unittest.cc490 const size_t kCount = SysInfo::VMAllocationGranularity(); in TEST() local
491 const size_t kDataSize = kCount * sizeof(uint32); in TEST()
498 for (size_t i = 0; i < kCount; ++i) { in TEST()
509 for (size_t i = offset; i < kCount; ++i) { in TEST()
/external/chromium_org/gpu/command_buffer/client/
Dgles2_implementation_unittest.cc998 const GLsizei kCount = 2; in TEST_F() local
1025 expected.draw.Init(GL_POINTS, kFirst, kCount); in TEST_F()
1033 gl_->DrawArrays(GL_POINTS, kFirst, kCount); in TEST_F()
1065 const GLsizei kCount = 2; in TEST_F() local
1094 expected.draw.Init(GL_POINTS, kFirst, kCount, 1); in TEST_F()
1103 gl_->DrawArraysInstancedANGLE(GL_POINTS, kFirst, kCount, 1); in TEST_F()
1144 const GLsizei kCount = 2; in TEST_F() local
1178 expected.draw.Init(GL_POINTS, kCount, GL_UNSIGNED_SHORT, 0); in TEST_F()
1187 gl_->DrawElements(GL_POINTS, kCount, GL_UNSIGNED_SHORT, indices); in TEST_F()
1228 const GLsizei kCount = 2; in TEST_F() local
[all …]
/external/skia/samplecode/
DSampleRotateCircles.cpp187 kCount = 9 enumerator
189 SkPoint fPts[kCount];
/external/chromium_org/third_party/skia/samplecode/
DSampleRotateCircles.cpp187 kCount = 9 enumerator
189 SkPoint fPts[kCount];
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc618 const int kCount = 1000; in TEST() local
619 char *ptrs[kCount]; in TEST()
621 for (int i = 0; i < kCount; i++) { in TEST()
627 for (int i = 0; i < kCount; i++) { in TEST()

12