Home
last modified time | relevance | path

Searched refs:GetSize (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/external/libbrillo/brillo/streams/
Dmemory_stream_unittest.cc38 MOCK_CONST_METHOD0(GetSize, size_t());
95 TEST_F(MemoryStreamTest, GetSize) { in TEST_F() argument
96 EXPECT_CALL(container_mock(), GetSize()) in TEST_F()
101 EXPECT_EQ(0, stream_->GetSize()); in TEST_F()
102 EXPECT_EQ(1234, stream_->GetSize()); in TEST_F()
103 EXPECT_EQ(kSizeMax, stream_->GetSize()); in TEST_F()
122 EXPECT_CALL(container_mock(), GetSize()).WillRepeatedly(Return(200)); in TEST_F()
138 EXPECT_CALL(container_mock(), GetSize()).WillOnce(Return(kSizeMax)); in TEST_F()
208 EXPECT_EQ(3, stream->GetSize()); in TEST()
222 EXPECT_EQ(3, stream->GetSize()); in TEST()
[all …]
Dmemory_containers_unittest.cc30 MOCK_CONST_METHOD0(GetSize, size_t());
69 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
85 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
97 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
110 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
127 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
143 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
158 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
177 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
198 EXPECT_CALL(container_, GetSize()).WillOnce(Return(100)); in TEST_F()
Dmemory_containers.h56 virtual size_t GetSize() const = 0;
139 size_t GetSize() const override { return size_; } in GetSize() function
162 size_t GetSize() const override { return vector_ptr_->size(); } in GetSize() function
193 size_t GetSize() const override { return vector_ref_.size(); } in GetSize() function
220 size_t GetSize() const override { return vector_copy_.size(); } in GetSize() function
246 size_t GetSize() const override { return string_ptr_->size(); } in GetSize() function
263 size_t GetSize() const override { return string_ref_.size(); } in GetSize() function
/external/pdfium/xfa/fxfa/parser/
Dcxfa_resolveprocessor.cpp68 if (rnd.m_Nodes.GetSize() > 0) { in Resolve()
71 return rnd.m_Nodes.GetSize(); in Resolve()
77 return rnd.m_Nodes.GetSize(); in Resolve()
96 return rnd.m_Nodes.GetSize(); in ResolveAnyChild()
101 return rnd.m_Nodes.GetSize(); in ResolveAnyChild()
125 if (rnd.m_Nodes.GetSize() > 0) { in ResolveDollar()
128 return rnd.m_Nodes.GetSize(); in ResolveDollar()
149 if (rndFind.m_Nodes.GetSize() > 0) { in ResolveExcalmatory()
153 return rnd.m_Nodes.GetSize(); in ResolveExcalmatory()
174 if (rndFind.m_Nodes.GetSize() > 0) { in ResolveNumberSign()
[all …]
Dcxfa_arraynodelist.cpp15 if (srcArray.GetSize() > 0) { in SetArrayNodeList()
21 return m_array.GetSize(); in GetLength()
33 int32_t iSize = m_array.GetSize(); in Insert()
45 int32_t iSize = m_array.GetSize(); in Remove()
56 int32_t iSize = m_array.GetSize(); in Item()
Dxfa_utils.h64 while (revStack.GetSize()) { in SetCurrent()
72 return m_NodeStack.GetSize() ? *m_NodeStack.GetTopElement() : nullptr; in GetCurrent()
76 int32_t nStackLength = m_NodeStack.GetSize(); in MoveToPrev()
102 if (m_NodeStack.GetSize() > 0) { in MoveToPrev()
119 while (m_NodeStack.GetSize() > 0) { in MoveToNext()
133 if (m_NodeStack.GetSize() == 0) { in MoveToNext()
149 if (m_NodeStack.GetSize() == 0) { in SkipChildrenAndMoveToNext()
/external/pdfium/xfa/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp43 if (!coefficients || coefficients->GetSize() == 0) { in Init()
48 int32_t coefficientsLength = coefficients->GetSize(); in Init()
71 return m_coefficients.GetSize() - 1; in GetDegree()
77 return m_coefficients[m_coefficients.GetSize() - 1 - degree]; in GetCoefficients()
83 int32_t size = m_coefficients.GetSize(); in EvaluateAt()
117 if (smallerCoefficients.GetSize() > largerCoefficients.GetSize()) { in AddOrSubtract()
124 sumDiff.SetSize(largerCoefficients.GetSize()); in AddOrSubtract()
126 largerCoefficients.GetSize() - smallerCoefficients.GetSize(); in AddOrSubtract()
130 for (int32_t j = lengthDiff; j < largerCoefficients.GetSize(); j++) { in AddOrSubtract()
148 int32_t aLength = m_coefficients.GetSize(); in Multiply()
[all …]
DBC_ReedSolomon.cpp38 if (degree >= m_cachedGenerators.GetSize()) { in BuildGenerator()
40 m_cachedGenerators[m_cachedGenerators.GetSize() - 1]; in BuildGenerator()
41 for (int32_t d = m_cachedGenerators.GetSize(); d <= degree; d++) { in BuildGenerator()
66 int32_t dataBytes = toEncode->GetSize() - ecBytes; in Encode()
93 int32_t numZeroCoefficients = ecBytes - coefficients->GetSize(); in Encode()
97 for (int32_t y = 0; y < coefficients->GetSize(); y++) { in Encode()
101 for (int32_t k = 0; k < temp->GetSize(); k++) { in Encode()
106 for (int32_t i = 0; i < m_cachedGenerators.GetSize(); i++) in ~CBC_ReedSolomonEncoder()
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTSkipGraph.h57 return (unsigned int)m_apDependencies.GetSize(); in GetNumDependencies()
68 _ASSERT(ui32Id >= 0 && ui32Id < (unsigned int)m_apDependencies.GetSize()); in GetDependency()
92 for(ui = 0; ui < (unsigned int)m_apDependencies.GetSize(); ++ui) in AddDependency()
137 for(ui = 0; ui < (unsigned int)m_apDependents.GetSize(); ++ui) in AddDependent()
320 return (unsigned int)m_aHashTable.GetSize(); in GetNumNodes()
336 _ASSERT(ui32NodeID >= 0 && ui32NodeID < (unsigned int)m_aHashTable.GetSize()); in RetreiveSortedDependencyList()
397 _ASSERT(ui32NodeID >= 0 && ui32NodeID < (unsigned int)m_aHashTable.GetSize()); in GetNodeData()
411 int i32HashTableSize(m_aHashTable.GetSize()); in FindNode()
/external/pdfium/core/fpdfdoc/
Dclines.cpp17 int32_t CLines::GetSize() const { in GetSize() function in CLines
18 return m_Lines.GetSize(); in GetSize()
30 for (int32_t i = 0, sz = GetSize(); i < sz; i++) in RemoveAll()
37 if (m_nTotal >= GetSize()) { in Add()
48 for (int32_t i = GetSize() - 1; i >= m_nTotal; i--) { in Clear()
Dcsection.cpp30 for (int32_t i = 0, sz = m_WordArray.GetSize(); i < sz; i++) { in ResetWordArray()
37 for (int32_t i = 0, sz = m_LineArray.GetSize(); i < sz; i++) { in ResetLinePlace()
48 std::max(std::min(place.nWordIndex, m_WordArray.GetSize()), 0); in AddWord()
49 if (nWordIndex == m_WordArray.GetSize()) { in AddWord()
80 if (CLine* pLine = m_LineArray.GetAt(m_LineArray.GetSize() - 1)) { in GetEndWordPlace()
90 if (place.nLineIndex >= m_LineArray.GetSize()) { in GetPrevWordPlace()
112 if (place.nLineIndex >= m_LineArray.GetSize()) { in GetNextWordPlace()
129 int32_t nRight = m_LineArray.GetSize() - 1; in UpdateWordPlace()
155 int32_t nRight = m_LineArray.GetSize() - 1; in SearchWordPlace()
156 int32_t nMid = m_LineArray.GetSize() / 2; in SearchWordPlace()
[all …]
Dcpdf_variabletext.cpp116 if (m_CurPos.nLineIndex < pSection->m_LineArray.GetSize() - 1) { in NextLine()
121 if (m_CurPos.nSecIndex < m_pVT->m_SectionArray.GetSize() - 1) { in NextLine()
140 pLastSection->m_LineArray.GetSize() - 1, -1); in PrevLine()
149 if (m_CurPos.nSecIndex < m_pVT->m_SectionArray.GetSize() - 1) { in NextSection()
327 sz = pSection->m_WordArray.GetSize(); in InsertSection()
450 if (place.nSecIndex >= m_SectionArray.GetSize()) in UpdateWordPlace()
465 for (i = 0, sz = m_SectionArray.GetSize(); i < sz && i < newplace.nSecIndex; in WordPlaceToWordIndex()
468 nIndex += pSection->m_WordArray.GetSize(); in WordPlaceToWordIndex()
469 if (i != m_SectionArray.GetSize() - 1) in WordPlaceToWordIndex()
473 if (i >= 0 && i < m_SectionArray.GetSize()) in WordPlaceToWordIndex()
[all …]
Dcpvt_arraytemplate.h16 bool IsEmpty() { return CFX_ArrayTemplate<TYPE>::GetSize() <= 0; } in IsEmpty()
19 if (nIndex >= 0 && nIndex < CFX_ArrayTemplate<TYPE>::GetSize()) in GetAt()
25 if (nIndex >= 0 && nIndex < CFX_ArrayTemplate<TYPE>::GetSize()) in RemoveAt()
/external/libmojo/ipc/
Dipc_message_utils.h91 ParamTraits<Type>::GetSize(sizer, static_cast<const Type&>(p)); in GetParamSize()
126 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
141 static void GetSize(base::PickleSizer* sizer, const param_type& p);
152 static void GetSize(base::PickleSizer* sizer, const param_type& p);
163 static void GetSize(base::PickleSizer* sizer, const param_type& p);
174 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
189 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
217 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
234 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
252 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
[all …]
/external/pdfium/xfa/fgas/crt/
Dfgas_utils.h19 int32_t GetSize() const;
40 int32_t GetSize() const { return CFX_BaseArray::GetSize(); } in GetSize() function
43 return (baseType*)CFX_BaseArray::AddSpaceTo(CFX_BaseArray::GetSize()); in AddSpace()
46 int32_t index = CFX_BaseArray::GetSize(); in Add()
145 int32_t GetSize() const;
158 int32_t index = CFX_BaseStack::GetSize(); in Push()
166 int32_t GetSize() const { return CFX_BaseStack::GetSize(); } in GetSize() function
/external/pdfium/xfa/fxbarcode/common/
DBC_CommonBitArray.cpp27 m_size = array->GetSize(); in CBC_CommonBitArray()
41 int32_t CBC_CommonBitArray::GetSize() { in GetSize() function in CBC_CommonBitArray
63 FXSYS_memset(&m_bits[0], 0x00, m_bits.GetSize() * sizeof(int32_t)); in Clear()
102 int32_t* newBits = FX_Alloc(int32_t, m_bits.GetSize()); in Reverse()
103 FXSYS_memset(newBits, 0x00, m_bits.GetSize() * sizeof(int32_t)); in Reverse()
111 FXSYS_memcpy(&m_bits[0], newBits, m_bits.GetSize() * sizeof(int32_t)); in Reverse()
/external/libmojo/mojo/public/cpp/bindings/lib/
Darray_serialization.h44 size_t GetSize() const { return Traits::GetSize(input_); } in GetSize() function
72 size_t GetSize() const { return Traits::GetSize(input_); } in GetSize() function
77 DCHECK_LT(iter_, Traits::GetSize(input_)); in GetNext()
124 return sizeof(Data) + Align(input->GetSize() * sizeof(DataElement));
137 size_t size = input->GetSize();
190 return sizeof(Data) + Align(input->GetSize() * sizeof(DataElement));
203 size_t size = input->GetSize();
241 return sizeof(Data) + Align((input->GetSize() + 7) / 8);
254 size_t size = input->GetSize();
296 Align(input->GetSize() * sizeof(typename Data::Element));
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-generated-function-mockers_test.cc350 virtual int GetSize() const = 0;
362 MOCK_CONST_METHOD0_T(GetSize, int()); // NOLINT
373 EXPECT_CALL(mock, GetSize()) in TEST()
384 EXPECT_EQ(0, mock.GetSize()); in TEST()
386 EXPECT_EQ(1, mock.GetSize()); in TEST()
389 EXPECT_EQ(0, mock.GetSize()); in TEST()
403 STDMETHOD_(int, GetSize)() const = 0;
415 MOCK_CONST_METHOD0_T_WITH_CALLTYPE(STDMETHODCALLTYPE, GetSize, int());
426 EXPECT_CALL(mock, GetSize()) in TEST()
437 EXPECT_EQ(0, mock.GetSize()); in TEST()
[all …]
/external/webrtc/webrtc/base/
Dmultipart_unittest.cc41 EXPECT_TRUE(multipart.GetSize(&size)); in TEST()
50 EXPECT_TRUE(multipart.GetSize(&size)); in TEST()
61 EXPECT_TRUE(multipart.GetSize(&size)); in TEST()
67 EXPECT_TRUE(stream->GetSize(&stream_size)); in TEST()
76 EXPECT_TRUE(multipart.GetSize(&size)); in TEST()
89 EXPECT_TRUE(multipart.GetSize(&size)); in TEST()
/external/pdfium/fpdfsdk/fxedit/
Dfxet_list.cpp87 for (int32_t i = 0, sz = m_aItems.GetSize(); i < sz; i++) in ~CPLST_Select()
117 for (int32_t i = m_aItems.GetSize() - 1; i >= 0; i--) { in Sub()
136 for (int32_t i = 0, sz = m_aItems.GetSize(); i < sz; i++) { in Find()
151 return m_aItems.GetSize(); in GetCount()
155 if (nIndex >= 0 && nIndex < m_aItems.GetSize()) in GetItemIndex()
163 if (nIndex >= 0 && nIndex < m_aItems.GetSize()) in GetState()
171 for (int32_t i = 0, sz = m_aItems.GetSize(); i < sz; i++) { in DeselectAll()
179 for (int32_t i = m_aItems.GetSize() - 1; i >= 0; i--) { in Done()
587 for (int32_t i = nItemIndex, sz = m_aListItems.GetSize(); i < sz; i++) { in ReArrange()
617 for (int32_t i = 0, sz = m_aListItems.GetSize(); i < sz; i++) in Empty()
[all …]
/external/googletest/googlemock/test/
Dgmock-generated-function-mockers_test.cc392 virtual int GetSize() const = 0;
404 MOCK_CONST_METHOD0_T(GetSize, int()); // NOLINT
419 EXPECT_CALL(mock, GetSize()) in TEST()
430 EXPECT_EQ(0, mock.GetSize()); in TEST()
432 EXPECT_EQ(1, mock.GetSize()); in TEST()
435 EXPECT_EQ(0, mock.GetSize()); in TEST()
462 STDMETHOD_(int, GetSize)() const = 0;
474 MOCK_CONST_METHOD0_T_WITH_CALLTYPE(STDMETHODCALLTYPE, GetSize, int());
485 EXPECT_CALL(mock, GetSize()) in TEST()
496 EXPECT_EQ(0, mock.GetSize()); in TEST()
[all …]
/external/v8/testing/gmock/test/
Dgmock-generated-function-mockers_test.cc392 virtual int GetSize() const = 0;
404 MOCK_CONST_METHOD0_T(GetSize, int()); // NOLINT
419 EXPECT_CALL(mock, GetSize()) in TEST()
430 EXPECT_EQ(0, mock.GetSize()); in TEST()
432 EXPECT_EQ(1, mock.GetSize()); in TEST()
435 EXPECT_EQ(0, mock.GetSize()); in TEST()
462 STDMETHOD_(int, GetSize)() const = 0;
474 MOCK_CONST_METHOD0_T_WITH_CALLTYPE(STDMETHODCALLTYPE, GetSize, int());
485 EXPECT_CALL(mock, GetSize()) in TEST()
496 EXPECT_EQ(0, mock.GetSize()); in TEST()
[all …]
/external/pdfium/xfa/fde/
Dfde_iterator.cpp33 if (m_CanvasStack.GetSize() == 0) in FilterObjects()
36 while (m_CanvasStack.GetSize() > 1) in FilterObjects()
56 while (m_CanvasStack.GetSize() > 0) { in GetNext()
61 if (m_CanvasStack.GetSize() == 1) in GetNext()
/external/pdfium/xfa/fxfa/app/
Dxfa_ffapp.cpp34 FX_FILESIZE GetSize() override;
50 FX_FILESIZE CXFA_FileRead::GetSize() { in GetSize() function in __anonb6f564330111::CXFA_FileRead
53 dwSize += acc->GetSize(); in GetSize()
62 FX_FILESIZE dwSize = acc->GetSize(); in ReadBlock()
71 uint32_t dwSize = acc->GetSize(); in ReadBlock()
/external/mdnsresponder/mDNSWindows/DLLX/
D_IDNSSDEvents_CP.h17 int cConnections = m_vec.GetSize(); in Fire_DomainFound()
46 int cConnections = m_vec.GetSize(); in Fire_DomainLost()
75 int cConnections = m_vec.GetSize(); in Fire_ServiceFound()
108 int cConnections = m_vec.GetSize(); in Fire_ServiceLost()
141 int cConnections = m_vec.GetSize(); in Fire_ServiceResolved()
175 int cConnections = m_vec.GetSize(); in Fire_ServiceRegistered()
206 int cConnections = m_vec.GetSize(); in Fire_QueryRecordAnswered()
240 int cConnections = m_vec.GetSize(); in Fire_RecordRegistered()
265 int cConnections = m_vec.GetSize(); in Fire_AddressFound()
299 int cConnections = m_vec.GetSize(); in Fire_MappingCreated()
[all …]

12345678910>>...14