Home
last modified time | relevance | path

Searched refs:GetAt (Results 1 – 25 of 166) sorted by relevance

1234567

/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417Reader.cpp68 CFX_PtrArray* points = (CFX_PtrArray*)detectorResult->getPoints()->GetAt(i); in Decode()
70 detectorResult->getBits(), (CBC_ResultPoint*)points->GetAt(4), in Decode()
71 (CBC_ResultPoint*)points->GetAt(5), (CBC_ResultPoint*)points->GetAt(6), in Decode()
72 (CBC_ResultPoint*)points->GetAt(7), getMinCodewordWidth(*points), in Decode()
108 getMaxWidth((CBC_ResultPoint*)p.GetAt(6), (CBC_ResultPoint*)p.GetAt(2)) * in getMaxCodewordWidth()
112 getMaxWidth((CBC_ResultPoint*)p.GetAt(7), (CBC_ResultPoint*)p.GetAt(3)) * in getMaxCodewordWidth()
115 int32_t c = getMaxWidth((CBC_ResultPoint*)p.GetAt(0), in getMaxCodewordWidth()
116 (CBC_ResultPoint*)p.GetAt(4)) < a in getMaxCodewordWidth()
117 ? getMaxWidth((CBC_ResultPoint*)p.GetAt(0), in getMaxCodewordWidth()
118 (CBC_ResultPoint*)p.GetAt(4)) in getMaxCodewordWidth()
[all …]
DBC_PDF417DetectionResult.cpp49 (CBC_DetectionResultColumn*)m_detectionResultColumns.GetAt(0)); in getDetectionResultColumns()
51 (CBC_DetectionResultColumn*)m_detectionResultColumns.GetAt( in getDetectionResultColumns()
99 ->GetAt(codewordsRow); in toString()
129 if (codewords->GetAt(codewordsRow) == NULL) { in adjustRowNumbers()
132 if (!((CBC_Codeword*)codewords->GetAt(codewordsRow)) in adjustRowNumbers()
158 if (LRIcodewords->GetAt(codewordsRow) != NULL && in adjustRowNumbersFromBothRI()
159 RRIcodewords->GetAt(codewordsRow) != NULL && in adjustRowNumbersFromBothRI()
160 ((CBC_Codeword*)LRIcodewords->GetAt(codewordsRow))->getRowNumber() == in adjustRowNumbersFromBothRI()
161 ((CBC_Codeword*)RRIcodewords->GetAt(codewordsRow)) in adjustRowNumbersFromBothRI()
169 ->GetAt(codewordsRow); in adjustRowNumbersFromBothRI()
[all …]
DBC_PDF417BarcodeValue.cpp31 if (m_keys.GetAt(i) == value) { in setValue()
32 confidence = m_values.GetAt(i); in setValue()
45 if (m_values.GetAt(i) > maxConfidence) { in getValue()
46 maxConfidence = m_values.GetAt(i); in getValue()
48 result->Add(m_keys.GetAt(i)); in getValue()
49 } else if (m_values.GetAt(i) == maxConfidence) { in getValue()
50 result->Add(m_keys.GetAt(i)); in getValue()
57 if (m_keys.GetAt(i) == value) { in getConfidence()
58 return m_values.GetAt(i); in getConfidence()
DBC_PDF417DetectionResultRowIndicatorColumn.cpp42 CBC_Codeword* codeword = (CBC_Codeword*)m_codewords->GetAt(i); in setRowNumbers()
68 if (codewords->GetAt(codewordsRow) == NULL) { in adjustCompleteIndicatorColumnRowNumbers()
71 CBC_Codeword* codeword = (CBC_Codeword*)codewords->GetAt(codewordsRow); in adjustCompleteIndicatorColumnRowNumbers()
96 closePreviousCodewordFound = codewords->GetAt(codewordsRow - i) != NULL; in adjustCompleteIndicatorColumnRowNumbers()
119 CBC_Codeword* codeword = (CBC_Codeword*)getCodewords()->GetAt(i); in getRowHeights()
122 result->GetAt(codeword->getRowNumber()) + 1); in getRowHeights()
145 if (codewords->GetAt(codewordsRow) == NULL) { in adjustIncompleteIndicatorColumnRowNumbers()
148 CBC_Codeword* codeword = (CBC_Codeword*)codewords->GetAt(codewordsRow); in adjustIncompleteIndicatorColumnRowNumbers()
175 CBC_Codeword* codeword = (CBC_Codeword*)codewords->GetAt(i); in getBarcodeMetadata()
202 barcodeColumnCount.getValue()->GetAt(0) < 1 || in getBarcodeMetadata()
[all …]
DBC_PDF417Detector.cpp112 if (vertices->GetAt(0) == NULL && vertices->GetAt(3) == NULL) { in detect()
123 (CFX_PtrArray*)barcodeCoordinates->GetAt(i); in detect()
124 if (barcodeCoordinate->GetAt(1) != NULL) { in detect()
125 row = row > ((CBC_ResultPoint*)barcodeCoordinate->GetAt(1))->GetY(); in detect()
127 if (barcodeCoordinate->GetAt(3) != NULL) { in detect()
128 row = row > ((CBC_ResultPoint*)barcodeCoordinate->GetAt(3))->GetY(); in detect()
142 if (vertices->GetAt(2) != NULL) { in detect()
143 column = (int32_t)((CBC_ResultPoint*)vertices->GetAt(2))->GetX(); in detect()
144 row = (int32_t)((CBC_ResultPoint*)vertices->GetAt(2))->GetY(); in detect()
146 column = (int32_t)((CBC_ResultPoint*)vertices->GetAt(4))->GetX(); in detect()
[all …]
DBC_PDF417ScanningDecoder.cpp162 for (; l < ((CFX_PtrArray*)barcodeMatrix->GetAt(row))->GetSize(); l++) { in toString()
164 (CBC_BarcodeValue*)((CFX_PtrArray*)barcodeMatrix->GetAt(row)) in toString()
165 ->GetAt(l); in toString()
169 result += barcodeValue->getValue()->GetAt(0); in toString()
171 barcodeValue->getConfidence(barcodeValue->getValue()->GetAt(0)); in toString()
224 int32_t rowHeight = rowHeights->GetAt(i); in adjustBoundingBox()
231 for (int32_t row = 0; missingStartRows > 0 && codewords->GetAt(row) == NULL; in adjustBoundingBox()
237 missingEndRows += maxRowHeight - rowHeights->GetAt(row1); in adjustBoundingBox()
238 if (rowHeights->GetAt(row1) > 0) { in adjustBoundingBox()
243 missingEndRows > 0 && codewords->GetAt(row2) == NULL; row2--) { in adjustBoundingBox()
[all …]
DBC_PDF417HighLevelEncoder.cpp63 FX_WCHAR ch = (FX_WCHAR)(bytes.GetAt(i) & 0xff); in encodeHighLevel()
64 if (ch == '?' && bytes.GetAt(i) != '?') { in encodeHighLevel()
72 byteArr.Add(bytes.GetAt(k)); in encodeHighLevel()
158 FX_WCHAR ch = msg.GetAt(startpos + idx); in encodeText()
220 FX_WCHAR next = msg.GetAt(startpos + idx + 1); in encodeText()
251 h = (FX_WCHAR)((h * 30) + tmp.GetAt(i)); in encodeText()
254 h = tmp.GetAt(i); in encodeText()
279 t += bytes->GetAt(idx + i) & 0xff; in encodeBinary()
295 int32_t ch = bytes->GetAt(i) & 0xff; in encodeBinary()
317 sb += tmp.GetAt(i); in encodeNumeric()
[all …]
DBC_PDF417DetectionResultColumn.cpp36 delete (CBC_Codeword*)m_codewords->GetAt(i); in ~CBC_DetectionResultColumn()
49 codeword = (CBC_Codeword*)m_codewords->GetAt(nearImageRow); in getCodewordNearby()
56 codeword = (CBC_Codeword*)m_codewords->GetAt(nearImageRow); in getCodewordNearby()
76 return (CBC_Codeword*)m_codewords->GetAt(imageRowToCodewordIndex(imageRow)); in getCodeword()
88 CBC_Codeword* codeword = (CBC_Codeword*)m_codewords->GetAt(i); in toString()
DBC_PDF417CodewordDecoder.cpp70 if (sumPreviousBits + moduleBitCount.GetAt(bitCountIndex) <= sampleIndex) { in sampleBitCounts()
71 sumPreviousBits += moduleBitCount.GetAt(bitCountIndex); in sampleBitCounts()
74 bitCount->SetAt(bitCountIndex, bitCount->GetAt(bitCountIndex) + 1); in sampleBitCounts()
86 for (int32_t bit = 0; bit < moduleBitCount.GetAt(i); bit++) { in getBitValue()
98 bitCountRatios[i] = moduleBitCount.GetAt(i) / (FX_FLOAT)bitCountSum; in getClosestDecodedValue()
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp44 delete m_BaseLines.GetAt(i); in ~CTextPage()
47 delete m_TextColumns.GetAt(i); in ~CTextPage()
174 CTextBaseLine* pExistLine = m_BaseLines.GetAt(i); in InsertTextBox()
212 CTextBaseLine* pBaseLine = m_BaseLines.GetAt(i); in WriteOutput()
224 m_BaseLines.GetAt(i)->MergeBoxes(); in WriteOutput()
227 CTextBaseLine* pBaseLine = m_BaseLines.GetAt(i); in WriteOutput()
228 CTextBaseLine* pPrevLine = m_BaseLines.GetAt(i - 1); in WriteOutput()
240 CTextBaseLine* pBaseLine = m_BaseLines.GetAt(i); in WriteOutput()
277 m_BaseLines.GetAt(i)->MergeBoxes(); in WriteOutput()
283 CTextBaseLine* pBaseLine = m_BaseLines.GetAt(i); in WriteOutput()
[all …]
Dfpdf_text_int.cpp163 PAGECHAR_INFO charinfo = *(PAGECHAR_INFO*)m_charList.GetAt(i); in ParseTextPage()
179 m_CharIndex.GetAt(indexSize - 1) + 1); in ParseTextPage()
209 count += m_CharIndex.GetAt(i + 1); in CharIndexFromTextIndex()
211 return TextIndex - count + m_CharIndex.GetAt(i + 1) + in CharIndexFromTextIndex()
212 m_CharIndex.GetAt(i); in CharIndexFromTextIndex()
221 count += m_CharIndex.GetAt(i + 1); in TextIndexFromCharIndex()
222 if (m_CharIndex.GetAt(i + 1) + m_CharIndex.GetAt(i) > CharIndex) { in TextIndexFromCharIndex()
223 if (CharIndex - m_CharIndex.GetAt(i) < 0) { in TextIndexFromCharIndex()
226 return CharIndex - m_CharIndex.GetAt(i) + count - in TextIndexFromCharIndex()
227 m_CharIndex.GetAt(i + 1); in TextIndexFromCharIndex()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp62 delete m_WordArray.GetAt(i); in ResetWordArray()
68 if (CLine* pLine = m_LineArray.GetAt(i)) { in ResetLinePlace()
98 if (CLine* pLine = m_LineArray.GetAt(0)) { in GetBeginWordPlace()
104 if (CLine* pLine = m_LineArray.GetAt(m_LineArray.GetSize() - 1)) { in GetEndWordPlace()
116 if (CLine* pLine = m_LineArray.GetAt(place.nLineIndex)) { in GetPrevWordPlace()
121 if (CLine* pPrevLine = m_LineArray.GetAt(place.nLineIndex - 1)) { in GetPrevWordPlace()
137 if (CLine* pLine = m_LineArray.GetAt(place.nLineIndex)) { in GetNextWordPlace()
139 if (CLine* pNextLine = m_LineArray.GetAt(place.nLineIndex + 1)) { in GetNextWordPlace()
153 if (CLine* pLine = m_LineArray.GetAt(nMid)) { in UpdateWordPlace()
180 if (CLine* pLine = m_LineArray.GetAt(nMid)) { in SearchWordPlace()
[all …]
/external/pdfium/xfa/src/fgas/include/
Dfx_utl.h53 uint8_t* GetAt(int32_t index) const;
84 baseType& GetAt(int32_t index) const { in GetAt() function
85 return *(baseType*)CFX_BaseArray::GetAt(index); in GetAt()
88 return (baseType*)CFX_BaseArray::GetAt(index); in GetPtrAt()
91 *(baseType*)CFX_BaseArray::GetAt(index) = element; in SetAt()
130 baseType& GetAt(int32_t index) const { in GetAt() function
131 return *(baseType*)CFX_BaseArray::GetAt(index); in GetAt()
134 return (baseType*)CFX_BaseArray::GetAt(index); in GetPtrAt()
156 uint8_t** pStart = CFX_BaseArray::GetAt(iSize);
160 FXTARGET_NewWith((void*)pStart) baseType(src.GetAt(i));
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_utils.cpp70 uint8_t* CFX_BaseArray::GetAt(int32_t index) const { in GetAt() function in CFX_BaseArray
161 pChunk = (uint8_t*)m_pData->GetAt(index / m_iChunkSize); in AddSpaceTo()
166 pChunk = (uint8_t*)m_pData->GetAt(index / m_iChunkSize); in AddSpaceTo()
183 uint8_t* CFX_BaseMassArrayImp::GetAt(int32_t index) const { in GetAt() function in CFX_BaseMassArrayImp
185 uint8_t* pChunk = (uint8_t*)m_pData->GetAt(index / m_iChunkSize); in GetAt()
246 uint8_t* pDstChunk = (uint8_t*)GetAt(iDstStart); in Append()
247 uint8_t* pSrcChunk = (uint8_t*)src.GetAt(iSrcStart); in Append()
261 pSrcChunk = (uint8_t*)src.m_pData->GetAt(iSrcChunkIndex); in Append()
269 pDstChunk = (uint8_t*)m_pData->GetAt(iDstChunkIndex); in Append()
291 void* p = m_pData->GetAt(i); in RemoveAll()
[all …]
/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_app.cpp102 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in GetAppName()
113 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in GetLanguage()
120 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in GetPlatform()
135 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in Beep()
145 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in MsgBox()
199 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in Response()
219 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in GetCurDocumentInBatch()
227 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in GetDocumentCountInBatch()
236 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in DownloadURL()
249 CPDFDoc_Environment* pEnv = m_pEnvList.GetAt(0); in PostRequestURL()
[all …]
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_list.cpp108 delete m_aListItems.GetAt(i); in Empty()
132 if (CFX_ListItem* pPrevItem = m_aListItems.GetAt(nItemIndex - 1)) in ReArrange()
136 if (CFX_ListItem* pListItem = m_aListItems.GetAt(i)) { in ReArrange()
147 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nIndex)) { in GetItemEdit()
177 if (CFX_ListItem* pListItem = m_aListItems.GetAt(i)) { in GetItemIndex()
203 if (CFX_ListItem* pListItem = m_aListItems.GetAt(0)) { in GetFirstHeight()
212 if (CFX_ListItem* pListItem = m_aListItems.GetAt(i)) { in GetFirstSelected()
222 if (CFX_ListItem* pListItem = m_aListItems.GetAt(i)) { in GetLastSelected()
244 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nCircleIndex)) { in FindNext()
254 if (CFX_ListItem* pListItem = m_aListItems.GetAt(nIndex)) { in GetItemRect()
[all …]
/external/pdfium/core/src/fxcrt/
Dfx_xml_parser.cpp156 if (str.GetAt(i) != m_pBuffer[m_dwIndex++]) { in SkipLiterals()
577 ChildType type = (ChildType)(uintptr_t)m_Children.GetAt(i); in RemoveChildren()
579 CXML_Content* content = (CXML_Content*)m_Children.GetAt(i + 1); in RemoveChildren()
582 CXML_Element* child = (CXML_Element*)m_Children.GetAt(i + 1); in RemoveChildren()
628 CXML_AttrItem& item = m_AttrMap.GetAt(index); in GetAttrByIndex()
699 return (ChildType)(uintptr_t)m_Children.GetAt(index); in GetChildType()
704 (ChildType)(uintptr_t)m_Children.GetAt(index) != Content) { in GetContent()
707 CXML_Content* pContent = (CXML_Content*)m_Children.GetAt(index + 1); in GetContent()
716 (ChildType)(uintptr_t)m_Children.GetAt(index) != Element) { in GetElement()
719 return (CXML_Element*)m_Children.GetAt(index + 1); in GetElement()
[all …]
Dfx_basic_maps.cpp230 _CompactStringRelease((_CompactString*)m_Buffer.GetAt(i)); in RemoveAll()
237 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(i); in GetStartPosition()
251 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(index); in GetNextAssoc()
257 pKey = (_CompactString*)m_Buffer.GetAt(index); in GetNextAssoc()
271 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(index); in GetNextValue()
276 pKey = (_CompactString*)m_Buffer.GetAt(index); in GetNextValue()
305 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(index); in SetAt()
313 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(index); in SetAt()
336 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(index); in RemoveKey()
349 _CompactString* pKey = (_CompactString*)m_Buffer.GetAt(i); in GetCount()
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_expression.cpp43 e = (CXFA_FMExpression*)m_pExpressions->GetAt(index); in ~CXFA_FMFunctionDefinition()
61 if (m_wsName.GetAt(0) == L'!') { in ToJavaScript()
73 identifier = m_pArguments->GetAt(index); in ToJavaScript()
74 if (identifier.GetAt(0) == L'!') { in ToJavaScript()
96 e = (CXFA_FMExpression*)m_pExpressions->GetAt(index); in ToJavaScript()
135 if (m_wsName.GetAt(0) == L'!') { in ToJavaScript()
155 if (m_wsName.GetAt(0) == L'!') { in ToImpliedReturnJS()
226 e = (CXFA_FMExpression*)m_pExpressionList->GetAt(index); in ~CXFA_FMBlockExpression()
242 e = (CXFA_FMExpression*)m_pExpressionList->GetAt(index); in ToJavaScript()
256 e = (CXFA_FMExpression*)m_pExpressionList->GetAt(index); in ToImpliedReturnJS()
[all …]
/external/pdfium/xfa/src/fee/src/fee/
Dfde_txtedtparag.cpp53 if (pIter->GetAt() + 1 == nEndIndex && in LoadParag()
67 if ((pIter->GetAt() + 1 == nEndIndex) && in LoadParag()
72 } while (pIter->Next(FALSE) && (pIter->GetAt() < nEndIndex)); in LoadParag()
117 if (pIter->GetAt() + 1 == nEndIndex && in CalcLines()
125 if ((pIter->GetAt() + 1 == nEndIndex) && in CalcLines()
130 } while (pIter->Next(FALSE) && (pIter->GetAt() < nEndIndex)); in CalcLines()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_FontMap.cpp62 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in GetPDFFont()
72 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in GetPDFFontAlias()
82 if (m_aData.GetAt(nFontIndex)) { in KnowWord()
121 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in CharCodeFromUnicode()
138 if (CPWL_FontMap_Native* pData = m_aNativeFont.GetAt(i)) { in GetNativeFontName()
160 delete m_aData.GetAt(i); in Empty()
166 delete m_aNativeFont.GetAt(i); in Empty()
188 if (CPWL_FontMap_Data* pData = m_aData.GetAt(i)) { in FindFont()
224 if (CPWL_FontMap_Data* pData = m_aData.GetAt(i)) { in GetPWLFontIndex()
266 if (CPWL_FontMap_Data* pData = m_aData.GetAt(nFontIndex)) { in GetFontName()
[all …]
/external/pdfium/xfa/src/fxbarcode/oned/
DBC_OnedCode128Writer.cpp52 patternIndex = (int32_t)contents.GetAt(position); in CheckContentValidity()
72 ch = contents.GetAt(i); in FilterContents()
82 ch = filterChineseChar.GetAt(i); in FilterContents()
91 ch = filterChineseChar.GetAt(i); in FilterContents()
214 FX_CHAR ch = contents.GetAt(position); in Encode128C()
220 if (contents.GetAt(position + 1) < '0' || in Encode128C()
221 contents.GetAt(position + 1) > '9') { in Encode128C()
/external/pdfium/xfa/src/fee/src/fx_wordbreak/
Dfx_wordbreak_impl.cpp39 return m_wsText.GetAt(m_nIndex); in GetChar()
47 int32_t CFX_CharIter::GetAt() const { in GetAt() function in CFX_CharIter
114 return m_pPreIter->GetAt(); in GetWordPos()
117 return m_pCurIter->GetAt() - m_pPreIter->GetAt() + 1; in GetWordLength()
127 while (pTempIter->GetAt() <= m_pCurIter->GetAt()) { in GetWord()
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_EncoderContext.cpp39 FX_WCHAR ch = (FX_WCHAR)(dststr.GetAt(i) & 0xff); in CBC_EncoderContext()
40 if (ch == '?' && dststr.GetAt(i) != '?') { in CBC_EncoderContext()
70 return m_msg.GetAt(m_pos); in getCurrentChar()
73 return m_msg.GetAt(m_pos); in getCurrent()
/external/pdfium/fpdfsdk/src/javascript/
DJS_GlobalData.cpp25 CJS_KeyValue* pOldObjData = array.GetAt(i); in Copy()
73 CJS_KeyValue* CJS_GlobalVariableArray::GetAt(int index) const { in GetAt() function in CJS_GlobalVariableArray
74 return array.GetAt(index); in GetAt()
79 delete array.GetAt(i); in Empty()
126 delete m_arrayGlobalData.GetAt(i); in ~CJS_GlobalData()
133 CJS_GlobalData_Element* pTemp = m_arrayGlobalData.GetAt(i); in FindGlobalVariable()
145 return nFind >= 0 ? m_arrayGlobalData.GetAt(nFind) : nullptr; in GetGlobalVariable()
295 delete m_arrayGlobalData.GetAt(nFind); in DeleteGlobalVariable()
307 CJS_GlobalData_Element* CJS_GlobalData::GetAt(int index) const { in GetAt() function in CJS_GlobalData
308 return m_arrayGlobalData.GetAt(index); in GetAt()
[all …]

1234567