Home
last modified time | relevance | path

Searched refs:GetCount (Results 1 – 25 of 153) sorted by relevance

1234567

/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc60 ASSERT_EQ(0, set.GetCount()); in TEST()
69 ASSERT_EQ(1, set.GetCount()); in TEST()
78 ASSERT_EQ(1, set.GetCount()); in TEST()
87 ASSERT_EQ(2, set.GetCount()); in TEST()
96 ASSERT_EQ(2, set.GetCount()); in TEST()
105 ASSERT_EQ(10, set.GetCount()); in TEST()
114 ASSERT_EQ(5, set.GetCount()); in TEST()
122 ASSERT_EQ(11, set1.GetCount()); in TEST()
128 ASSERT_EQ(9, set2.GetCount()); in TEST()
131 ASSERT_EQ(4, set1.GetCount()); in TEST()
[all …]
/external/libchrome/base/metrics/
Dpersistent_sample_map_unittest.cc40 EXPECT_EQ(-100, samples.GetCount(1)); in TEST()
41 EXPECT_EQ(200, samples.GetCount(2)); in TEST()
57 EXPECT_EQ(-100, samples.GetCount(250000000)); in TEST()
58 EXPECT_EQ(200, samples.GetCount(500000000)); in TEST()
83 EXPECT_EQ(300, samples1.GetCount(1)); in TEST()
84 EXPECT_EQ(300, samples1.GetCount(2)); in TEST()
85 EXPECT_EQ(100, samples1.GetCount(3)); in TEST()
86 EXPECT_EQ(200, samples1.GetCount(4)); in TEST()
92 EXPECT_EQ(100, samples1.GetCount(1)); in TEST()
93 EXPECT_EQ(100, samples1.GetCount(2)); in TEST()
[all …]
Dsample_vector_unittest.cc141 EXPECT_EQ(1, samples.GetCount(0)); in TEST_F()
142 EXPECT_EQ(2, samples.GetCount(2)); in TEST_F()
143 EXPECT_EQ(3, samples.GetCount(65)); in TEST_F()
164 EXPECT_EQ(2, samples2.GetCount(1)); in TEST_F()
165 EXPECT_EQ(4, samples2.GetCount(5)); in TEST_F()
309 EXPECT_EQ(200, samples.GetCount(3)); in TEST_F()
312 EXPECT_EQ(600, samples.GetCount(3)); in TEST_F()
342 EXPECT_EQ(600, samples.GetCount(3)); in TEST_F()
343 EXPECT_EQ(100, samples.GetCount(8)); in TEST_F()
394 EXPECT_EQ(200, samples1.GetCount(3)); in TEST_F()
[all …]
Dhistogram_delta_serialization_unittest.cc39 EXPECT_EQ(1, snapshot->GetCount(1)); in TEST()
40 EXPECT_EQ(1, snapshot->GetCount(10)); in TEST()
41 EXPECT_EQ(1, snapshot->GetCount(100)); in TEST()
42 EXPECT_EQ(1, snapshot->GetCount(1000)); in TEST()
49 EXPECT_EQ(2, snapshot2->GetCount(1)); in TEST()
50 EXPECT_EQ(2, snapshot2->GetCount(10)); in TEST()
51 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST()
52 EXPECT_EQ(2, snapshot2->GetCount(1000)); in TEST()
Dsample_map_unittest.cc21 EXPECT_EQ(-100, samples.GetCount(1)); in TEST()
22 EXPECT_EQ(200, samples.GetCount(2)); in TEST()
35 EXPECT_EQ(-100, samples.GetCount(250000000)); in TEST()
36 EXPECT_EQ(200, samples.GetCount(500000000)); in TEST()
56 EXPECT_EQ(300, samples1.GetCount(1)); in TEST()
57 EXPECT_EQ(300, samples1.GetCount(2)); in TEST()
58 EXPECT_EQ(100, samples1.GetCount(3)); in TEST()
59 EXPECT_EQ(200, samples1.GetCount(4)); in TEST()
65 EXPECT_EQ(100, samples1.GetCount(1)); in TEST()
66 EXPECT_EQ(100, samples1.GetCount(2)); in TEST()
[all …]
Dpersistent_histogram_allocator_unittest.cc285 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F()
286 EXPECT_EQ(5, snapshot->GetCount(1)); in TEST_F()
287 EXPECT_EQ(1, snapshot->GetCount(4)); in TEST_F()
288 EXPECT_EQ(1, snapshot->GetCount(6)); in TEST_F()
294 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F()
295 EXPECT_EQ(5, snapshot->GetCount(1)); in TEST_F()
296 EXPECT_EQ(1, snapshot->GetCount(4)); in TEST_F()
297 EXPECT_EQ(1, snapshot->GetCount(6)); in TEST_F()
323 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F()
324 EXPECT_EQ(8, snapshot->GetCount(1)); in TEST_F()
[all …]
Dhistogram_base_unittest.cc168 EXPECT_EQ(1, samples->GetCount(100)); in TEST_F()
169 EXPECT_EQ(2, samples->GetCount(200)); in TEST_F()
170 EXPECT_LE(1, samples->GetCount(300)); in TEST_F()
171 EXPECT_GE(2, samples->GetCount(300)); in TEST_F()
183 EXPECT_EQ(1, samples->GetCount(100)); in TEST_F()
184 EXPECT_EQ(2, samples->GetCount(200)); in TEST_F()
185 EXPECT_LE(1, samples->GetCount(300)); in TEST_F()
186 EXPECT_GE(2, samples->GetCount(300)); in TEST_F()
211 EXPECT_EQ(add_count, samples->GetCount(sample_max)); in TEST_F()
227 EXPECT_EQ(add_count, samples->GetCount(0)); in TEST_F()
[all …]
Dsparse_histogram_unittest.cc102 EXPECT_EQ(1, snapshot1->GetCount(100)); in TEST_P()
108 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST_P()
109 EXPECT_EQ(1, snapshot2->GetCount(101)); in TEST_P()
121 EXPECT_EQ(15, snapshot1->GetCount(100)); in TEST_P()
127 EXPECT_EQ(30, snapshot2->GetCount(100)); in TEST_P()
128 EXPECT_EQ(25, snapshot2->GetCount(101)); in TEST_P()
140 EXPECT_EQ(15, snapshot1->GetCount(1000000000)); in TEST_P()
146 EXPECT_EQ(30, snapshot2->GetCount(1000000000)); in TEST_P()
147 EXPECT_EQ(25, snapshot2->GetCount(1010000000)); in TEST_P()
166 EXPECT_EQ(count, samples->GetCount(42)); in TEST_P()
[all …]
Dhistogram_unittest.cc167 EXPECT_EQ(2, samples->GetCount(10)); in TEST_P()
181 EXPECT_EQ(1, samples->GetCount(1)); in TEST_P()
182 EXPECT_EQ(1, samples->GetCount(10)); in TEST_P()
183 EXPECT_EQ(1, samples->GetCount(50)); in TEST_P()
193 EXPECT_EQ(2, samples->GetCount(10)); in TEST_P()
210 EXPECT_EQ(1, samples->GetCount(1)); in TEST_P()
211 EXPECT_EQ(1, samples->GetCount(10)); in TEST_P()
212 EXPECT_EQ(1, samples->GetCount(50)); in TEST_P()
220 EXPECT_EQ(1, samples->GetCount(2)); in TEST_P()
221 EXPECT_EQ(1, samples->GetCount(50)); in TEST_P()
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_array_unittest.cpp24 ASSERT_EQ(FX_ArraySize(expected), arr->GetCount()); in TEST()
30 ASSERT_EQ(FX_ArraySize(expected2), arr->GetCount()); in TEST()
41 EXPECT_EQ(FX_ArraySize(elems), arr->GetCount()); in TEST()
48 EXPECT_EQ(0U, arr->GetCount()); in TEST()
51 EXPECT_EQ(FX_ArraySize(elems), arr->GetCount()); in TEST()
53 EXPECT_EQ(0U, arr->GetCount()); in TEST()
62 ASSERT_EQ(FX_ArraySize(elems), arr->GetCount()); in TEST()
69 ASSERT_EQ(FX_ArraySize(expected), arr->GetCount()); in TEST()
82 ASSERT_EQ(11u, arr->GetCount()); in TEST()
99 ASSERT_EQ(arr->GetCount(), arr2->GetCount()); in TEST()
[all …]
Dcpdf_object_unittest.cpp125 if (array1->GetCount() != array2->GetCount()) in Equal()
127 for (size_t i = 0; i < array1->GetCount(); ++i) { in Equal()
136 if (dict1->GetCount() != dict2->GetCount()) in Equal()
653 for (size_t i = 0; i < arr->GetCount(); ++i) { in TEST()
742 EXPECT_EQ(arr->GetCount(), arr1->GetCount()); in TEST()
743 for (size_t i = 0; i < arr->GetCount(); ++i) { in TEST()
757 ASSERT_EQ(1U, array->GetCount()); in TEST()
768 ASSERT_EQ(0U, cloned_array->GetCount()); in TEST()
860 ASSERT_EQ(1U, dict->GetCount()); in TEST()
871 ASSERT_EQ(0U, cloned_dict->GetCount()); in TEST()
[all …]
/external/google-breakpad/src/common/
Dsimple_string_dictionary_unittest.cc75 EXPECT_EQ(dict.GetCount(), 3u); in TEST()
98 EXPECT_EQ(2u, map.GetCount()); in TEST()
102 EXPECT_EQ(2u, map_copy.GetCount()); in TEST()
112 EXPECT_EQ(2u, map_assign.GetCount()); in TEST()
234 EXPECT_EQ(3u, map.GetCount()); in TEST()
241 EXPECT_EQ(2u, map.GetCount()); in TEST()
245 EXPECT_EQ(2u, map.GetCount()); in TEST()
249 EXPECT_EQ(1u, map.GetCount()); in TEST()
275 EXPECT_EQ(3u, deserialized.GetCount()); in TEST()
287 EXPECT_EQ(2u, map.GetCount()); in TEST()
[all …]
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree.cpp55 for (size_t i = 0; i < pKids->GetCount(); ++i) { in GetNodeAncestorsLimits()
97 for (size_t i = 0; i < pNames->GetCount() / 2; ++i) { in UpdateNodesAndLimitsUponDeletion()
114 for (size_t i = 0; i < pKids->GetCount(); ++i) { in UpdateNodesAndLimitsUponDeletion()
135 for (size_t j = 0; j < pKids->GetCount(); ++j) { in UpdateNodesAndLimitsUponDeletion()
181 *pFindIndex = pNames->GetCount() / 2 - 1; in SearchNameNodeByName()
189 size_t dwCount = pNames->GetCount() / 2; in SearchNameNodeByName()
214 for (size_t i = 0; i < pKids->GetCount(); i++) { in SearchNameNodeByName()
243 size_t nCount = pNames->GetCount() / 2; in SearchNameNodeByIndex()
261 for (size_t i = 0; i < pKids->GetCount(); i++) { in SearchNameNodeByIndex()
280 return pNames->GetCount() / 2; in CountNamesInternal()
[all …]
Dcpdf_nametree_unittest.cpp240 EXPECT_EQ(2u, pKid1->GetArrayFor("Kids")->GetCount()); in TEST()
242 EXPECT_EQ(1u, pKid1->GetArrayFor("Kids")->GetCount()); in TEST()
251 EXPECT_EQ(4u, pKid4->GetArrayFor("Names")->GetCount()); in TEST()
253 EXPECT_EQ(2u, pKid4->GetArrayFor("Names")->GetCount()); in TEST()
264 EXPECT_EQ(2u, pKid2->GetArrayFor("Kids")->GetCount()); in TEST()
266 EXPECT_EQ(1u, pKid2->GetArrayFor("Kids")->GetCount()); in TEST()
276 EXPECT_EQ(4u, pKid5->GetArrayFor("Names")->GetCount()); in TEST()
278 EXPECT_EQ(2u, pKid5->GetArrayFor("Names")->GetCount()); in TEST()
289 EXPECT_EQ(1u, nameTree.GetRoot()->GetArrayFor("Kids")->GetCount()); in TEST()
291 EXPECT_EQ(0u, nameTree.GetRoot()->GetArrayFor("Kids")->GetCount()); in TEST()
[all …]
Dcpdf_occontext.cpp19 for (size_t i = 0; i < pArray->GetCount(); i++) { in FindGroup()
35 for (size_t i = 0; i < pArray->GetCount(); i++) { in HasIntent()
65 for (size_t i = 0; i < pConfigs->GetCount(); i++) { in GetConfig()
124 for (size_t i = 0; i < pArray->GetCount(); i++) { in LoadOCGStateFromConfig()
215 for (size_t i = 1; i < pExpression->GetCount(); i++) { in GetOCGVE()
260 for (size_t i = 0; i < pArray->GetCount(); i++) { in LoadOCMDState()
Dcpdf_dest.cpp103 if (pArray->GetCount() < 5) in GetXYZ()
138 if (!pArray || pArray->GetCount() < 2) in GetNumParams()
142 unsigned long numParamsInArray = pArray->GetCount() - 2; in GetNumParams()
Dcpdf_structtree.cpp58 dwKids = pArray->GetCount(); in LoadPageTree()
78 for (size_t i = 0; i < pParentArray->GetCount(); i++) { in LoadPageTree()
137 for (size_t i = 0; i < pTopKids->GetCount(); i++) { in AddTopLevelNode()
Dcpdf_numbertree.cpp22 for (size_t i = 0; i < pNumbers->GetCount() / 2; i++) { in SearchNumberNode()
36 for (size_t i = 0; i < pKids->GetCount(); i++) { in SearchNumberNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DSyntheticCountsUtils.cpp29 const SccTy &SCC, GetRelBBFreqTy GetRelBBFreq, GetCountTy GetCount, in propagateFromSCC() argument
65 RelFreq *= Scaled64(GetCount(Caller), 0); in propagateFromSCC()
82 RelFreq *= Scaled64(GetCount(Caller), 0); in propagateFromSCC()
98 GetCountTy GetCount, in propagate() argument
110 propagateFromSCC(SCC, GetRelBBFreq, GetCount, AddCount); in propagate()
/external/pdfium/fpdfsdk/
Dfpdfedit_embeddertest.cpp59 EXPECT_EQ(4U, fontBBox->GetCount()); in CheckFontDescriptor()
94 EXPECT_GT(widths_array->GetCount(), 1U); in CheckCompositeFontWidths()
97 for (size_t idx = 0; idx < widths_array->GetCount(); idx++) { in CheckCompositeFontWidths()
100 ASSERT_FALSE(++idx == widths_array->GetCount()); in CheckCompositeFontWidths()
105 int cnt = static_cast<int>(arr->GetCount()); in CheckCompositeFontWidths()
118 ASSERT_FALSE(++idx == widths_array->GetCount()); in CheckCompositeFontWidths()
620 EXPECT_EQ(2, static_cast<int>(graphics_dict->GetCount())); in TEST_F()
629 EXPECT_EQ(2, static_cast<int>(graphics_dict->GetCount())); in TEST_F()
638 EXPECT_EQ(3, static_cast<int>(graphics_dict->GetCount())); in TEST_F()
646 EXPECT_EQ(3, static_cast<int>(graphics_dict->GetCount())); in TEST_F()
[all …]
/external/pdfium/fxjs/xfa/
Dcjx_instancemanager.cpp49 int32_t iCount = GetXFANode()->GetCount(); in SetInstances()
111 int32_t iCount = GetXFANode()->GetCount(); in MoveInstance()
169 int32_t iCount = GetXFANode()->GetCount(); in removeInstance()
222 int32_t iCount = GetXFANode()->GetCount(); in addInstance()
264 int32_t iCount = GetXFANode()->GetCount(); in insertInstance()
323 pValue->SetInteger(GetXFANode()->GetCount()); in count()
/external/google-breakpad/src/processor/
Drange_map-inl.h184 if (index >= GetCount()) { in RetrieveRangeAtIndex()
185 BPLOG(ERROR) << "Index out of range: " << index << "/" << GetCount(); in RetrieveRangeAtIndex()
206 int RangeMap<AddressType, EntryType>::GetCount() const { in GetCount() function
Drange_map_unittest.cc274 int object_count = range_map->GetCount(); in RetrieveIndexTest()
343 int object_count = range_map->GetCount(); in RetriveAtIndexTest2()
496 if (range_map->GetCount() != stored_count) { in RunTests()
499 stored_count, range_map->GetCount()); in RunTests()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DSyntheticCountsUtils.h44 GetCountTy GetCount, AddCountTy AddCount);
48 GetCountTy GetCount, AddCountTy AddCount);
/external/vixl/src/aarch64/
Dinstrument-aarch64.h61 uint64_t GetCount();
62 VIXL_DEPRECATED("GetCount", uint64_t count()) { return GetCount(); }

1234567