Home
last modified time | relevance | path

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

/external/libchrome/base/
Did_map_unittest.cc103 const int kCount = 5; in TEST() local
104 TestObject obj[kCount]; in TEST()
106 for (int i = 0; i < kCount; i++) in TEST()
110 int32_t ids_in_iteration_order[kCount]; in TEST()
111 const TestObject* objs_in_iteration_order[kCount]; in TEST()
213 const int kCount = 5; in TEST() local
214 TestObject obj[kCount]; in TEST()
216 for (int i = 0; i < kCount; i++) in TEST()
220 int32_t ids_in_iteration_order[kCount]; in TEST()
221 const TestObject* objs_in_iteration_order[kCount]; in TEST()
[all …]
/external/skia/include/private/
DSkTemplates.h171 if (fCount > kCount) { in reset()
177 if (count > kCount) { in reset()
223 static const int kCount = kCountRequested * sizeof(T) > kMaxBytes variable
227 static const int kCount = kCountRequested;
233 char fStorage[kCount * sizeof(T)];
319 if (count > kCount) { in SkAutoSTMalloc()
339 if (count > kCount) { in reset()
369 if (count > kCount) { in realloc()
372 memcpy(fPtr, fTStorage, kCount * sizeof(T)); in realloc()
392 static const size_t kCount = kCountRequested * sizeof(T) > kMaxBytes variable
[all …]
/external/skqp/include/private/
DSkTemplates.h171 if (fCount > kCount) { in reset()
177 if (count > kCount) { in reset()
223 static const int kCount = kCountRequested * sizeof(T) > kMaxBytes variable
227 static const int kCount = kCountRequested;
233 char fStorage[kCount * sizeof(T)];
319 if (count > kCount) { in SkAutoSTMalloc()
339 if (count > kCount) { in reset()
369 if (count > kCount) { in realloc()
372 memcpy(fPtr, fTStorage, kCount * sizeof(T)); in realloc()
392 static const size_t kCount = kCountRequested * sizeof(T) > kMaxBytes variable
[all …]
/external/tensorflow/tensorflow/core/lib/random/
Dsimple_philox_test.cc73 const int kCount = 1000; in TEST() local
81 for (int i = 0; i < kCount; ++i) { in TEST()
91 EXPECT_EQ(kCount, first.size()); in TEST()
92 EXPECT_EQ(2 * kCount, all.size()); in TEST()
/external/skqp/include/effects/
DSkColorMatrix.h16 kCount = 20 enumerator
18 SkScalar fMat[kCount];
/external/skia/include/effects/
DSkColorMatrix.h16 kCount = 20 enumerator
18 SkScalar fMat[kCount];
/external/tensorflow/tensorflow/core/lib/gtl/
Dflatmap_test.cc676 const int kCount = 10; in TEST() local
678 for (int i = 1; i <= kCount; i++) { in TEST()
687 EXPECT_EQ(key_sum, (kCount * (kCount + 1)) / 2); in TEST()
688 EXPECT_EQ(val_sum, key_sum + (kCount * kValueDelta)); in TEST()
Dflatset_test.cc571 const int kCount = 10; in TEST() local
572 for (int i = 1; i <= kCount; i++) { in TEST()
579 EXPECT_EQ(sum, (kCount * (kCount + 1)) / 2); in TEST()
/external/libchrome/base/memory/
Dshared_memory_unittest.cc441 const size_t kCount = SysInfo::VMAllocationGranularity(); in TEST() local
442 const size_t kDataSize = kCount * sizeof(uint32_t); in TEST()
449 for (size_t i = 0; i < kCount; ++i) { in TEST()
460 for (size_t i = offset; i < kCount; ++i) { in TEST()
/external/v8/src/inspector/
Dv8-console-message.h39 kCount enumerator
Dv8-console-message.cc55 case ConsoleAPIType::kCount: in consoleAPITypeValue()
209 if (m_type == ConsoleAPIType::kDebug || m_type == ConsoleAPIType::kCount || in reportToFrontend()
386 if (type == ConsoleAPIType::kDebug || type == ConsoleAPIType::kCount || in createForConsoleAPI()
Dv8-console.cc371 ConsoleAPIType::kCount, in countCallback()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc626 const int kCount = 1000; in TEST() local
627 char *ptrs[kCount]; in TEST()
629 for (int i = 0; i < kCount; i++) { in TEST()
635 for (int i = 0; i < kCount; i++) { in TEST()
/external/skqp/tests/
DResourceCacheTest.cpp1100 static const int kCount = 50; in test_timestamp_wrap() local
1101 static const int kBudgetCnt = kCount / 2; in test_timestamp_wrap()
1108 for (int i = 0; i < 2 * kCount; ++i ) { in test_timestamp_wrap()
1115 cache->changeTimestamp(SK_MaxU32 - random.nextULessThan(kCount + 1)); in test_timestamp_wrap()
1117 static const int kNumToPurge = kCount - kBudgetCnt; in test_timestamp_wrap()
1125 for (int j = 0; j < kCount; ++j) { in test_timestamp_wrap()
1145 for (int j = 0; j < kCount; ++j) { in test_timestamp_wrap()
/external/skia/tests/
DResourceCacheTest.cpp1170 static const int kCount = 50; in test_timestamp_wrap() local
1171 static const int kBudgetCnt = kCount / 2; in test_timestamp_wrap()
1178 for (int i = 0; i < 2 * kCount; ++i ) { in test_timestamp_wrap()
1185 cache->changeTimestamp(SK_MaxU32 - random.nextULessThan(kCount + 1)); in test_timestamp_wrap()
1187 static const int kNumToPurge = kCount - kBudgetCnt; in test_timestamp_wrap()
1195 for (int j = 0; j < kCount; ++j) { in test_timestamp_wrap()
1215 for (int j = 0; j < kCount; ++j) { in test_timestamp_wrap()
/external/sfntly/cpp/src/sfntly/table/core/
Dname_table.cc374 new_data->WriteUShort(NameTable::Offset::kCount, name_entry_map_.size()); in SubSerialize()
447 return data_->ReadUShort(Offset::kCount); in NameCount()
Dname_table.h686 kCount = 2, enumerator
/external/skia/samplecode/
DSampleQuadStroker.cpp104 kCount = 18 enumerator
106 SkPoint fPts[kCount];
/external/skqp/samplecode/
DSampleQuadStroker.cpp104 kCount = 18 enumerator
106 SkPoint fPts[kCount];
/external/deqp/external/openglcts/modules/gl/
Dgl4cES31CompatibilityShaderStorageBufferObjectTests.cpp903 const int kCount = 8; in Run() local
904 const char* const glsl_vs[kCount] = { in Run()
946 for (int i = 0; i < kCount; ++i) in Run()
1007 const int kCount = 8; in Run() local
1008 const char* const glsl_cs[kCount] = { in Run()
1065 for (int i = 0; i < kCount; ++i) in Run()
1120 const int kCount = 8; in Run() local
1122 const char* const glsl_vs[kCount] = { in Run()
1172 for (int i = 0; i < kCount; ++i) in Run()
Dgl4cShaderStorageBufferObjectTests.cpp1078 const int kCount = 8; in Run() local
1079 const char* const glsl_vs[kCount] = { in Run()
1122 for (int i = 0; i < kCount; ++i) in Run()
1179 const int kCount = 8; in Run() local
1180 const char* const glsl_vs[kCount] = { in Run()
1236 for (int i = 0; i < kCount; ++i) in Run()
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderStorageBufferObjectTests.cpp899 const int kCount = 8; in Run() local
900 const char* const glsl_vs[kCount] = { in Run()
942 for (int i = 0; i < kCount; ++i) in Run()
1003 const int kCount = 8; in Run() local
1004 const char* const glsl_cs[kCount] = { in Run()
1061 for (int i = 0; i < kCount; ++i) in Run()
1116 const int kCount = 8; in Run() local
1117 const char* const glsl_vs[kCount] = { in Run()
1168 for (int i = 0; i < kCount; ++i) in Run()