Home
last modified time | relevance | path

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

12345678910>>...17

/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()
/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417ScanningDecoder.cpp159 for (int32_t row = 0; row < barcodeMatrix->GetSize(); row++) { in toString()
162 for (; l < ((CFX_PtrArray*)barcodeMatrix->GetAt(row))->GetSize(); l++) { in toString()
166 if (barcodeValue->getValue()->GetSize() == 0) { in toString()
223 for (int32_t i = 0; i < rowHeights->GetSize(); i++) { in adjustBoundingBox()
236 for (int32_t row1 = rowHeights->GetSize() - 1; row1 >= 0; row1--) { in adjustBoundingBox()
242 for (int32_t row2 = codewords->GetSize() - 1; in adjustBoundingBox()
254 for (int32_t i = 0; i < values.GetSize(); i++) { in getMax()
334 if (numberOfCodewords->GetSize() == 0) { in adjustCodewordCount()
356 for (int32_t i = 0; i < barcodeMatrix->GetSize(); i++) { in createDecoderResult()
358 for (int32_t j = 0; j < temp->GetSize(); j++) { in createDecoderResult()
[all …]
DBC_PDF417ECModulusPoly.cpp30 if (coefficients.GetSize() == 0) { in CBC_PDF417ECModulusPoly()
34 int32_t coefficientsLength = coefficients.GetSize(); in CBC_PDF417ECModulusPoly()
47 i < firstNonZero + m_coefficients.GetSize(); i++) { in CBC_PDF417ECModulusPoly()
64 return m_coefficients.GetSize() - 1; in getDegree()
70 return m_coefficients[m_coefficients.GetSize() - 1 - degree]; in getCoefficient()
76 int32_t size = m_coefficients.GetSize(); in evaluateAt()
79 for (int32_t l = 0; l < m_coefficients.GetSize(); l++) { in evaluateAt()
110 if (smallerCoefficients.GetSize() > largerCoefficients.GetSize()) { in add()
117 sumDiff.SetSize(largerCoefficients.GetSize()); in add()
119 largerCoefficients.GetSize() - smallerCoefficients.GetSize(); in add()
[all …]
/external/pdfium/xfa/src/fgas/include/
Dfx_utl.h50 int32_t GetSize() const;
73 int32_t GetSize() const { return CFX_BaseArray::GetSize(); } in GetSize() function
76 return (baseType*)CFX_BaseArray::AddSpaceTo(CFX_BaseArray::GetSize()); in AddSpace()
79 int32_t index = CFX_BaseArray::GetSize(); in Add()
122 int32_t GetSize() const { return CFX_BaseArray::GetSize(); } in GetSize() function
125 int32_t index = CFX_BaseArray::GetSize(); in Add()
143 int32_t iSize = src.GetSize();
154 iSize = CFX_BaseArray::GetSize();
172 int32_t iSize = src.GetSize();
195 int32_t iSize = CFX_BaseArray::GetSize();
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_resolveprocessor.cpp73 if (rnd.m_Nodes.GetSize() > 0) { in XFA_ResolveNodes()
76 return rnd.m_Nodes.GetSize(); in XFA_ResolveNodes()
82 return rnd.m_Nodes.GetSize(); in XFA_ResolveNodes()
102 return rnd.m_Nodes.GetSize(); in XFA_ResolveNodes_AnyChild()
107 return rnd.m_Nodes.GetSize(); in XFA_ResolveNodes_AnyChild()
132 if (rnd.m_Nodes.GetSize() > 0) { in XFA_ResolveNodes_Dollar()
135 return rnd.m_Nodes.GetSize(); in XFA_ResolveNodes_Dollar()
157 if (rndFind.m_Nodes.GetSize() > 0) { in XFA_ResolveNodes_Excalmatory()
161 return rnd.m_Nodes.GetSize(); in XFA_ResolveNodes_Excalmatory()
183 if (rndFind.m_Nodes.GetSize() > 0) { in XFA_ResolveNodes_NumberSign()
[all …]
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixDataBlock.cpp40 for (i = 0; i < ecBlockArray.GetSize(); i++) { in GetDataBlocks()
47 for (j = 0; j < ecBlockArray.GetSize(); j++) { in GetDataBlocks()
59 ((CBC_DataMatrixDataBlock*)(*result)[0])->GetCodewords()->GetSize(); in GetDataBlocks()
67 if (rawCodewordsOffset < rawCodewords->GetSize()) { in GetDataBlocks()
78 if (rawCodewordsOffset < rawCodewords->GetSize()) { in GetDataBlocks()
87 ((CBC_DataMatrixDataBlock*)(*result)[0])->GetCodewords()->GetSize(); in GetDataBlocks()
92 if (rawCodewordsOffset < rawCodewords->GetSize()) { in GetDataBlocks()
100 if (rawCodewordsOffset != rawCodewords->GetSize()) { in GetDataBlocks()
DBC_DataMatrixDecoder.cpp58 int32_t dataBlocksCount = dataBlocks->GetSize(); in Decode()
74 for (int32_t i = 0; i < dataBlocks->GetSize(); i++) { in Decode()
86 for (i = 0; i < (dataBlocks->GetSize()); i++) { in Decode()
99 int32_t numCodewords = codewordBytes.GetSize(); in CorrectErrors()
106 int32_t numECCodewords = codewordBytes.GetSize() - numDataCodewords; in CorrectErrors()
/external/pdfium/xfa/src/fxbarcode/common/reedsolomon/
DBC_ReedSolomon.cpp35 if (degree >= m_cachedGenerators.GetSize()) { in BuildGenerator()
38 [m_cachedGenerators.GetSize() - 1]); in BuildGenerator()
39 for (int32_t d = m_cachedGenerators.GetSize(); d <= degree; d++) { in BuildGenerator()
62 int32_t dataBytes = toEncode->GetSize() - ecBytes; in Encode()
86 int32_t numZeroCoefficients = ecBytes - coefficients->GetSize(); in Encode()
90 for (int32_t y = 0; y < coefficients->GetSize(); y++) { in Encode()
94 for (int32_t k = 0; k < temp->GetSize(); k++) { in Encode()
99 for (int32_t i = 0; i < m_cachedGenerators.GetSize(); i++) { in ~CBC_ReedSolomonEncoder()
DBC_ReedSolomonGF256Poly.cpp40 if (coefficients == NULL || coefficients->GetSize() == 0) { in Init()
45 int32_t coefficientsLength = coefficients->GetSize(); in Init()
68 return m_coefficients.GetSize() - 1; in GetDegree()
74 return m_coefficients[m_coefficients.GetSize() - 1 - degree]; in GetCoefficients()
80 int32_t size = m_coefficients.GetSize(); in EvaluateAt()
116 if (smallerCoefficients.GetSize() > largerCoefficients.GetSize()) { in AddOrSubtract()
123 sumDiff.SetSize(largerCoefficients.GetSize()); in AddOrSubtract()
125 largerCoefficients.GetSize() - smallerCoefficients.GetSize(); in AddOrSubtract()
129 for (int32_t j = lengthDiff; j < largerCoefficients.GetSize(); j++) { in AddOrSubtract()
148 int32_t aLength = m_coefficients.GetSize(); in Multiply()
[all …]
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp43 for (i = 0; i < m_BaseLines.GetSize(); i++) { in ~CTextPage()
46 for (i = 0; i < m_TextColumns.GetSize(); i++) { in ~CTextPage()
173 for (i = 0; i < m_BaseLines.GetSize(); i++) { in InsertTextBox()
211 for (i = 0; i < m_BaseLines.GetSize(); i++) { in WriteOutput()
223 for (i = 0; i < m_BaseLines.GetSize(); i++) { in WriteOutput()
226 for (i = 1; i < m_BaseLines.GetSize(); i++) { in WriteOutput()
237 int* widths = FX_Alloc(int, m_BaseLines.GetSize()); in WriteOutput()
238 for (i = 0; i < m_BaseLines.GetSize(); i++) { in WriteOutput()
257 for (i = 0; i < m_BaseLines.GetSize(); i++) in WriteOutput()
264 for (i = 0; i < m_BaseLines.GetSize(); i++) in WriteOutput()
[all …]
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRDataBlock.cpp48 if (rawCodewords->GetSize() != version->GetTotalCodeWords()) { in GetDataBlocks()
56 for (i = 0; i < ecBlockArray->GetSize(); i++) { in GetDataBlocks()
63 for (int32_t j = 0; j < ecBlockArray->GetSize(); j++) { in GetDataBlocks()
76 ((CBC_QRDataBlock*)(*result)[0])->m_codewords->GetSize(); in GetDataBlocks()
77 int32_t longerBlocksStartAt = result->GetSize() - 1; in GetDataBlocks()
80 ->m_codewords->GetSize(); in GetDataBlocks()
102 int32_t max = ((CBC_QRDataBlock*)(*result)[0])->m_codewords->GetSize(); in GetDataBlocks()
DBC_QRCoderDecoder.cpp82 for (int32_t i = 0; i < dataBlocks->GetSize(); i++) { in Decode()
86 for (int32_t j = 0; j < dataBlocks->GetSize(); j++) { in Decode()
92 for (int32_t k = 0; k < dataBlocks->GetSize(); k++) { in Decode()
104 for (int32_t k = 0; k < dataBlocks->GetSize(); k++) { in Decode()
118 int32_t numCodewords = codewordBytes->GetSize(); in CorrectErrors()
124 int32_t numECCodewords = codewordBytes->GetSize() - numDataCodewords; in CorrectErrors()
/external/pdfium/xfa/src/fxbarcode/common/
DBC_CommonBitArray.cpp26 m_size = array->GetSize(); in CBC_CommonBitArray()
40 int32_t CBC_CommonBitArray::GetSize() { in GetSize() function in CBC_CommonBitArray
62 FXSYS_memset(&m_bits[0], 0x00, m_bits.GetSize() * sizeof(int32_t)); in Clear()
101 int32_t* newBits = FX_Alloc(int32_t, m_bits.GetSize()); in Reverse()
102 FXSYS_memset(newBits, 0x00, m_bits.GetSize() * sizeof(int32_t)); in Reverse()
110 FXSYS_memcpy(&m_bits[0], newBits, m_bits.GetSize() * sizeof(int32_t)); in Reverse()
/external/pdfium/core/src/fxcrt/
Dfx_arabic.cpp333 FXSYS_assert(iStart > -1 && iStart <= values.GetSize()); in FX_BidiSetDeferredRun()
349 FXSYS_assert(wsText.GetLength() == classes.GetSize()); in FX_BidiClassify()
380 FXSYS_assert(classes.GetSize() == levels.GetSize()); in FX_BidiResolveExplicit()
381 FXSYS_assert(iStart >= 0 && iStart < classes.GetSize()); in FX_BidiResolveExplicit()
382 FXSYS_assert(iCount >= 0 && iStart + iCount <= classes.GetSize()); in FX_BidiResolveExplicit()
389 int32_t iSize = classes.GetSize(); in FX_BidiResolveExplicit()
545 FXSYS_assert(classes.GetSize() == levels.GetSize()); in FX_BidiResolveWeak()
546 int32_t iSize = classes.GetSize(); in FX_BidiResolveWeak()
647 FXSYS_assert(classes.GetSize() == levels.GetSize()); in FX_BidiResolveNeutrals()
648 int32_t iSize = classes.GetSize(); in FX_BidiResolveNeutrals()
[all …]
Dextension.h22 virtual FX_FILESIZE GetSize() const = 0;
78 FX_FILESIZE GetSize() override;
119 for (int32_t i = 0; i < m_Blocks.GetSize(); i++) { in ~CFX_MemoryStream()
138 FX_FILESIZE GetSize() override { return (FX_FILESIZE)m_nCurSize; } in GetSize() function
139 FX_BOOL IsEOF() override { return m_nCurPos >= (size_t)GetSize(); } in IsEOF()
199 if (m_Blocks.GetSize() < 1) { in WriteBlock()
248 if (m_Blocks.GetSize() < 1) { in EstimateSize()
254 } else if (m_Blocks.GetSize() < 1) { in EstimateSize()
259 return m_Blocks.GetSize() ? m_Blocks[0] : nullptr; in GetBuffer()
298 int32_t iCount = m_Blocks.GetSize(); in ExpandBlocks()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp61 for (int32_t i = 0, sz = m_WordArray.GetSize(); i < sz; i++) { in ResetWordArray()
67 for (int32_t i = 0, sz = m_LineArray.GetSize(); i < sz; i++) { in ResetLinePlace()
77 std::max(std::min(place.nWordIndex, m_WordArray.GetSize()), 0); in AddWord()
78 if (nWordIndex == m_WordArray.GetSize()) { in AddWord()
104 if (CLine* pLine = m_LineArray.GetAt(m_LineArray.GetSize() - 1)) { in GetEndWordPlace()
113 if (place.nLineIndex >= m_LineArray.GetSize()) { in GetPrevWordPlace()
134 if (place.nLineIndex >= m_LineArray.GetSize()) { in GetNextWordPlace()
150 int32_t nRight = m_LineArray.GetSize() - 1; in UpdateWordPlace()
175 int32_t nRight = m_LineArray.GetSize() - 1; in SearchWordPlace()
176 int32_t nMid = m_LineArray.GetSize() / 2; in SearchWordPlace()
[all …]
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp70 return array.GetSize(); in Count()
78 for (int i = 0, sz = array.GetSize(); i < sz; i++) in Empty()
125 for (int i = 0, sz = m_arrayGlobalData.GetSize(); i < sz; i++) in ~CJS_GlobalData()
132 for (int i = 0, sz = m_arrayGlobalData.GetSize(); i < sz; i++) { in FindGlobalVariable()
303 int32_t CJS_GlobalData::GetSize() const { in GetSize() function in CJS_GlobalData
304 return m_arrayGlobalData.GetSize(); in GetSize()
404 for (int i = 0, sz = m_arrayGlobalData.GetSize(); i < sz; i++) { in SaveGlobalPersisitentVariables()
410 if (sData.GetSize() + sElement.GetSize() > JS_MAXGLOBALDATA) in SaveGlobalPersisitentVariables()
413 sData.AppendBlock(sElement.GetBuffer(), sElement.GetSize()); in SaveGlobalPersisitentVariables()
425 FX_DWORD dwSize = sData.GetSize(); in SaveGlobalPersisitentVariables()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffapp.cpp20 int32_t iCount = streams.GetSize(); in CXFA_FileRead()
26 FX_FILESIZE CXFA_FileRead::GetSize() { in GetSize() function in CXFA_FileRead
28 int32_t iCount = m_Data.GetSize(); in GetSize()
31 dwSize += acc.GetSize(); in GetSize()
38 int32_t iCount = m_Data.GetSize(); in ReadBlock()
42 FX_FILESIZE dwSize = acc.GetSize(); in ReadBlock()
51 FX_DWORD dwSize = acc.GetSize(); in ReadBlock()
/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/pdfium/fpdfsdk/src/pdfwindow/
DPWL_FontMap.cpp61 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in GetPDFFont()
71 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in GetPDFFontAlias()
81 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in KnowWord()
137 for (int32_t i = 0, sz = m_aNativeFont.GetSize(); i < sz; i++) { in GetNativeFontName()
159 for (int32_t i = 0, sz = m_aData.GetSize(); i < sz; i++) in Empty()
165 for (int32_t i = 0, sz = m_aNativeFont.GetSize(); i < sz; i++) in Empty()
187 for (int32_t i = 0, sz = m_aData.GetSize(); i < sz; i++) { in FindFont()
223 for (int32_t i = 0, sz = m_aData.GetSize(); i < sz; i++) { in GetPWLFontIndex()
258 return m_aData.GetSize() - 1; in AddFontData()
265 if (nFontIndex >= 0 && nFontIndex < m_aData.GetSize()) { in GetFontName()
[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/xfa/src/fwl/src/core/
Dfwl_gridimp.cpp36 FX_FLOAT IFWL_Grid::GetSize(FWL_HGRIDCOLROW hColRow, FWL_GRIDUNIT& eUnit) { in GetSize() function in IFWL_Grid
37 return static_cast<CFWL_GridImp*>(GetImpl())->GetSize(hColRow, eUnit); in GetSize()
142 int32_t iCount = m_Columns.GetSize(); in ~CFWL_GridImp()
147 iCount = m_Rows.GetSize(); in ~CFWL_GridImp()
222 int32_t iColumns = m_Columns.GetSize(); in DrawWidget()
232 int32_t iRows = m_Rows.GetSize(); in DrawWidget()
277 if (nIndex < 0 || nIndex > m_Columns.GetSize()) { in InsertColRow()
278 nIndex = m_Columns.GetSize(); in InsertColRow()
284 if (nIndex < 0 || nIndex > m_Rows.GetSize()) { in InsertColRow()
285 nIndex = m_Rows.GetSize(); in InsertColRow()
[all …]
/external/pdfium/core/src/fxge/ge/
Dfx_ge_ps.cpp28 for (int i = 0; i < (int)m_PSFontList.GetSize(); i++) { in ~CFX_PSRenderer()
87 m_ClipBox = m_ClipBoxStack.GetAt(m_ClipBoxStack.GetSize() - 1); in RestoreState()
89 m_ClipBoxStack.RemoveAt(m_ClipBoxStack.GetSize() - 1); in RestoreState()
136 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in OutputPath()
164 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in SetClip_PathStroke()
208 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawPath()
269 if (buf.GetSize()) { in SetGraphState()
270 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in SetGraphState()
405 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawDIBits()
492 m_pOutput->OutputPS((const FX_CHAR*)buf.GetBuffer(), buf.GetSize()); in DrawDIBits()
[all …]
/external/pdfium/xfa/src/fxfa/src/common/
Dxfa_utils.h50 while (revStack.GetSize()) { in SetCurrent()
58 return m_NodeStack.GetSize() ? *m_NodeStack.GetTopElement() : NULL; in GetCurrent()
62 int32_t nStackLength = m_NodeStack.GetSize(); in MoveToPrev()
88 if (m_NodeStack.GetSize() > 0) { in MoveToPrev()
105 while (m_NodeStack.GetSize() > 0) { in MoveToNext()
119 if (m_NodeStack.GetSize() == 0) { in MoveToNext()
135 if (m_NodeStack.GetSize() == 0) { in SkipChildrenAndMoveToNext()

12345678910>>...17