Home
last modified time | relevance | path

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

123456

/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 …]
Dhistogram_base_unittest.cc185 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_CREATED)); in TEST_F()
186 EXPECT_EQ(5, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_CREATED)); in TEST_F()
187 EXPECT_EQ(0, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_LOOKUP)); in TEST_F()
188 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_LOGARITHMIC)); in TEST_F()
189 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_LINEAR)); in TEST_F()
190 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_BOOLEAN)); in TEST_F()
191 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_CUSTOM)); in TEST_F()
192 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_TYPE_SPARSE)); in TEST_F()
204 EXPECT_EQ(1, samples->GetCount(HISTOGRAM_REPORT_CREATED)); in TEST_F()
205 EXPECT_EQ(9, samples->GetCount(HISTOGRAM_REPORT_HISTOGRAM_CREATED)); 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()
Dpersistent_histogram_allocator_unittest.cc232 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F()
233 EXPECT_EQ(5, snapshot->GetCount(1)); in TEST_F()
234 EXPECT_EQ(1, snapshot->GetCount(4)); in TEST_F()
235 EXPECT_EQ(1, snapshot->GetCount(6)); in TEST_F()
241 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F()
242 EXPECT_EQ(5, snapshot->GetCount(1)); in TEST_F()
243 EXPECT_EQ(1, snapshot->GetCount(4)); in TEST_F()
244 EXPECT_EQ(1, snapshot->GetCount(6)); in TEST_F()
269 EXPECT_EQ(1, snapshot->GetCount(3)); in TEST_F()
270 EXPECT_EQ(8, snapshot->GetCount(1)); in TEST_F()
[all …]
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 …]
Dsparse_histogram_unittest.cc103 EXPECT_EQ(1, snapshot1->GetCount(100)); in TEST_P()
109 EXPECT_EQ(2, snapshot2->GetCount(100)); in TEST_P()
110 EXPECT_EQ(1, snapshot2->GetCount(101)); in TEST_P()
122 EXPECT_EQ(15, snapshot1->GetCount(100)); in TEST_P()
128 EXPECT_EQ(30, snapshot2->GetCount(100)); in TEST_P()
129 EXPECT_EQ(25, snapshot2->GetCount(101)); in TEST_P()
141 EXPECT_EQ(15, snapshot1->GetCount(1000000000)); in TEST_P()
147 EXPECT_EQ(30, snapshot2->GetCount(1000000000)); in TEST_P()
148 EXPECT_EQ(25, snapshot2->GetCount(1010000000)); in TEST_P()
174 EXPECT_EQ(2, samples->GetCount(100)); in TEST_P()
[all …]
Dhistogram_unittest.cc148 EXPECT_EQ(2, samples->GetCount(10)); in TEST_P()
162 EXPECT_EQ(1, samples->GetCount(1)); in TEST_P()
163 EXPECT_EQ(1, samples->GetCount(10)); in TEST_P()
164 EXPECT_EQ(1, samples->GetCount(50)); in TEST_P()
174 EXPECT_EQ(2, samples->GetCount(10)); in TEST_P()
191 EXPECT_EQ(1, samples->GetCount(1)); in TEST_P()
192 EXPECT_EQ(1, samples->GetCount(10)); in TEST_P()
193 EXPECT_EQ(1, samples->GetCount(50)); in TEST_P()
201 EXPECT_EQ(1, samples->GetCount(2)); in TEST_P()
202 EXPECT_EQ(1, samples->GetCount(50)); in TEST_P()
[all …]
Dsample_vector_unittest.cc130 EXPECT_EQ(1, samples.GetCount(0)); in TEST()
131 EXPECT_EQ(2, samples.GetCount(2)); in TEST()
132 EXPECT_EQ(3, samples.GetCount(65)); in TEST()
153 EXPECT_EQ(2, samples2.GetCount(1)); in TEST()
154 EXPECT_EQ(4, samples2.GetCount(5)); in TEST()
/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/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/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tools.pas133 function GetCount: Integer;
180 property Count: Integer read GetCount write SetCount;
191 function GetCount: Integer;
206 property Count: Integer read GetCount;
222 function GetCount: Integer;
294 function GetCount: Integer;
465 InsertRange(GetCount, List);
473 function TList<T>.GetCount: Integer; in GetCount() function
626 function TDictionary<TKey, TValue>.GetCount: Integer; in GetCount() function
/external/vixl/src/aarch64/
Dinstrument-aarch64.h61 uint64_t GetCount();
62 VIXL_DEPRECATED("GetCount", uint64_t count()) { return GetCount(); }
/external/pdfium/core/fxge/
Dcfx_graphstate.cpp25 pData->SetDashCount(static_cast<int>(pArray->GetCount())); in SetLineDash()
26 for (size_t i = 0; i < pArray->GetCount(); i++) in SetLineDash()

123456