Home
last modified time | relevance | path

Searched refs:iIndex (Results 1 – 25 of 39) sorted by relevance

12

/external/skia/tests/
DPathOpsCubicLineIntersectionTest.cpp27 static void testFail(skiatest::Reporter* reporter, int iIndex) { in testFail() argument
28 const SkDCubic& cubic = failLineCubicTests[iIndex].cubic; in testFail()
30 const SkDLine& line = failLineCubicTests[iIndex].line; in testFail()
37 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail()
41 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail()
125 static void testOne(skiatest::Reporter* reporter, int iIndex) { in testOne() argument
126 const SkDCubic& cubic = lineCubicTests[iIndex].cubic; in testOne()
128 const SkDLine& line = lineCubicTests[iIndex].line; in testOne()
135 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne()
139 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testOne()
[all …]
DPathOpsCubicQuadIntersectionTest.cpp55 int iIndex = static_cast<int>(index); in cubicQuadIntersection() local
65 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in cubicQuadIntersection()
69 SkDebugf("[%d] quad order=%d\n", iIndex, order2); in cubicQuadIntersection()
81 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in cubicQuadIntersection()
DPathOpsQuadLineIntersectionTest.cpp108 int iIndex = static_cast<int>(index); in DEF_TEST() local
117 SkDebugf("%s [%d] quad order=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
121 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
140 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp97 int iIndex = static_cast<int>(index); in DEF_TEST() local
108 SkDebugf("%s [%d] conic verb=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
113 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
132 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
DPathOpsCubicIntersectionTest.cpp21 int iIndex = static_cast<int>(index); in standardTestCases() local
30 SkDebugf("%s [%d] cubic1 order=%d\n", __FUNCTION__, iIndex, order1); in standardTestCases()
36 SkDebugf("%s [%d] cubic2 order=%d\n", __FUNCTION__, iIndex, order2); in standardTestCases()
44 SkDebugf("%s [%d] no intersection\n", __FUNCTION__, iIndex); in standardTestCases()
50 SkDebugf("%s [%d] coincident\n", __FUNCTION__, iIndex); in standardTestCases()
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_fm2jscontext.cpp1807 int32_t iIndex = 0; in IsIsoTimeFormat() local
1809 int32_t i = iIndex; in IsIsoTimeFormat()
1821 while (iIndex < iZone) { in IsIsoTimeFormat()
1822 if (iIndex >= iZone) { in IsIsoTimeFormat()
1825 if (*(pData + iIndex) > '9' || *(pData + iIndex) < '0') { in IsIsoTimeFormat()
1828 strTemp[0] = *(pData + iIndex); in IsIsoTimeFormat()
1829 if (*(pData + iIndex + 1) > '9' || *(pData + iIndex + 1) < '0') { in IsIsoTimeFormat()
1832 strTemp[1] = *(pData + iIndex + 1); in IsIsoTimeFormat()
1846 iIndex += 3; in IsIsoTimeFormat()
1858 iIndex += 2; in IsIsoTimeFormat()
[all …]
/external/pdfium/core/src/fpdfdoc/
Ddoc_formfield.cpp130 int iIndex = GetDefaultSelectedItem(); in ResetField() local
131 if (iIndex >= 0) { in ResetField()
132 csValue = GetOptionLabel(iIndex); in ResetField()
140 SetItemSelection(iIndex, TRUE); in ResetField()
148 int iIndex = GetDefaultSelectedItem(); in ResetField() local
149 if (iIndex >= 0) { in ResetField()
150 csValue = GetOptionLabel(iIndex); in ResetField()
158 SetItemSelection(iIndex, TRUE); in ResetField()
340 int iIndex = FindOptionValue(csValue); in SetValue() local
341 if (iIndex < 0) { in SetValue()
[all …]
Ddoc_action.cpp148 CPDF_Object* CPDF_ActionFields::GetField(FX_DWORD iIndex) const { in GetField()
168 if (iIndex == 0) in GetField()
171 pFindObj = pArray->GetElementValue(iIndex); in GetField()
235 CPDF_Action CPDF_Action::GetSubAction(FX_DWORD iIndex) const { in GetSubAction()
241 if (iIndex == 0) in GetSubAction()
244 return CPDF_Action(pArray->GetDict(iIndex)); in GetSubAction()
Ddoc_formcontrol.cpp89 int iIndex = m_pField->GetControlIndex(this); in GetCheckedAPState() local
90 csOn.Format("%d", iIndex); in GetCheckedAPState()
105 int iIndex = m_pField->GetControlIndex(this); in GetExportValue() local
106 csOn = pArray->GetString(iIndex); in GetExportValue()
/external/pdfium/fpdfsdk/src/javascript/
Dutil.cpp147 for (int iIndex = 0; iIndex < (int)c_strConvers.size(); iIndex++) { in printf() local
148 c_strFormat = c_strConvers[iIndex]; in printf()
149 if (iIndex == 0) { in printf()
155 if (iIndex >= iSize) { in printf()
162 strSegment.Format(c_strFormat.c_str(), params[iIndex].ToInt()); in printf()
165 strSegment.Format(c_strFormat.c_str(), params[iIndex].ToDouble()); in printf()
169 params[iIndex].ToCFXWideString().c_str()); in printf()
421 for (int iIndex = 0; iIndex < (int)cFormat.size() && itSource < iSize; in printx() local
422 iIndex++) { in printx()
423 char letter = cFormat[iIndex]; in printx()
DPublicMethods.cpp1462 int iIndex = params[0].ToInt(); in AFDate_Format() local
1478 if (iIndex < 0 || (static_cast<size_t>(iIndex) >= FX_ArraySize(cFormats))) in AFDate_Format()
1479 iIndex = 0; in AFDate_Format()
1483 CJS_Value(CJS_Runtime::FromContext(cc), cFormats[iIndex])); in AFDate_Format()
1499 int iIndex = params[0].ToInt(); in AFDate_Keystroke() local
1515 if (iIndex < 0 || (static_cast<size_t>(iIndex) >= FX_ArraySize(cFormats))) in AFDate_Keystroke()
1516 iIndex = 0; in AFDate_Keystroke()
1520 CJS_Value(CJS_Runtime::FromContext(cc), cFormats[iIndex])); in AFDate_Keystroke()
1535 int iIndex = params[0].ToInt(); in AFTime_Format() local
1539 if (iIndex < 0 || (static_cast<size_t>(iIndex) >= FX_ArraySize(cFormats))) in AFTime_Format()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_script_nodehelper.cpp338 int32_t iIndex = wsIndex.GetInteger(); in XFA_CreateNode_ForCondition() local
339 m_iCreateCount = iIndex; in XFA_CreateNode_ForCondition()
371 for (int32_t iIndex = 0; iIndex < m_iCreateCount; iIndex++) { in XFA_ResolveNodes_CreateNode() local
376 if (iIndex == m_iCreateCount - 1) { in XFA_ResolveNodes_CreateNode()
387 for (int32_t iIndex = 0; iIndex < m_iCreateCount; iIndex++) { in XFA_ResolveNodes_CreateNode() local
393 if (iIndex == m_iCreateCount - 1) { in XFA_ResolveNodes_CreateNode()
Dxfa_script_layoutpseudomodel.cpp65 int32_t iIndex = 0; in Script_LayoutPseudoModel_HWXY() local
76 iIndex = pArguments->GetInt32(2); in Script_LayoutPseudoModel_HWXY()
91 while (iIndex > 0 && pLayoutItem) { in Script_LayoutPseudoModel_HWXY()
93 iIndex--; in Script_LayoutPseudoModel_HWXY()
357 int32_t iIndex = 0; in Script_LayoutPseudoModel_PageContent() local
361 iIndex = pArguments->GetInt32(0); in Script_LayoutPseudoModel_PageContent()
379 Script_LayoutPseudoModel_GetObjArray(pDocLayout, iIndex, wsType, bOnPageArea, in Script_LayoutPseudoModel_PageContent()
Dxfa_script_resolveprocessor.cpp671 int32_t iIndex = wsIndex.GetInteger(); in XFA_ResolveNode_ConditionArray() local
673 iIndex += iCurIndex; in XFA_ResolveNode_ConditionArray()
675 if (iFoundCount <= iIndex || iIndex < 0) { in XFA_ResolveNode_ConditionArray()
678 m_pNodeHelper->m_iCreateCount = iIndex - iFoundCount + 1; in XFA_ResolveNode_ConditionArray()
682 CXFA_Node* ret = findNodes[iIndex]; in XFA_ResolveNode_ConditionArray()
813 int32_t& iIndex, in XFA_ResolveNode_SetIndexDataBind() argument
817 iIndex = 0; in XFA_ResolveNode_SetIndexDataBind()
819 iIndex = iCount - 1; in XFA_ResolveNode_SetIndexDataBind()
822 iIndex = iCount - 1; in XFA_ResolveNode_SetIndexDataBind()
Dxfa_object_imp.cpp384 int32_t iIndex = pItems->Find(pFormNode); in RemoveBindItem() local
386 if (iIndex >= 0) { in RemoveBindItem()
387 if (iIndex != iCount - 1) { in RemoveBindItem()
388 pItems->SetAt(iIndex, pItems->GetAt(iCount - 1)); in RemoveBindItem()
901 int32_t iIndex = 0; in Script_NodeClass_IsPropertySpecified() local
911 iIndex = pArguments->GetInt32(2); in Script_NodeClass_IsPropertySpecified()
921 bHas = (this->GetProperty(iIndex, pElementInfo->eName) != NULL); in Script_NodeClass_IsPropertySpecified()
1814 int32_t iIndex = 0; in XFA_STRING_TO_RGB() local
1819 ++iIndex; in XFA_STRING_TO_RGB()
1821 if (iIndex > 2) { in XFA_STRING_TO_RGB()
[all …]
Dxfa_layout_itemlayout.cpp317 for (int32_t iIndex = 0; iIndex < keepLayoutItems.GetSize(); in SplitLayoutItem() local
318 iIndex++) { in SplitLayoutItem()
319 CXFA_ContentLayoutItem* pPreItem = keepLayoutItems[iIndex]; in SplitLayoutItem()
470 int32_t iIndex = 0; in GetIndex() local
475 ++iIndex; in GetIndex()
477 return iIndex; in GetIndex()
1804 for (int32_t iIndex = m_arrayKeepItems.GetSize() - 1; iIndex >= 0; in InsertKeepLayoutItems() local
1805 iIndex--) { in InsertKeepLayoutItems()
1807 m_arrayKeepItems[iIndex]); in InsertKeepLayoutItems()
1808 fTotalHeight += m_arrayKeepItems[iIndex]->m_sSize.y; in InsertKeepLayoutItems()
[all …]
Dxfa_script_resolveprocessor.h69 int32_t& iIndex,
Dxfa_layout_pagemgr_new.cpp1634 for (int32_t iIndex = 0; iIndex < pDocument->m_pPendingPageSet.GetSize(); in MergePageSetContents() local
1635 iIndex++) { in MergePageSetContents()
1637 sIterator(pDocument->m_pPendingPageSet.GetAt(iIndex)); in MergePageSetContents()
1651 int32_t iIndex = 0; in MergePageSetContents() local
1663 if (iIndex < pDocument->m_pPendingPageSet.GetSize()) { in MergePageSetContents()
1664 pPendingPageSet = pDocument->m_pPendingPageSet.GetAt(iIndex); in MergePageSetContents()
1665 iIndex++; in MergePageSetContents()
/external/pdfium/xfa/src/fwl/src/lightwidget/
Dcombobox.cpp44 int32_t CFWL_ComboBox::RemoveAt(int32_t iIndex) { in RemoveAt() argument
45 return m_comboBoxData.m_arrItem.RemoveAt(iIndex); in RemoveAt()
54 FWL_ERR CFWL_ComboBox::GetTextByIndex(int32_t iIndex, CFX_WideString& wsText) { in GetTextByIndex() argument
56 m_comboBoxData.GetItem(m_pIface, iIndex)); in GetTextByIndex()
129 FWL_ERR CFWL_ComboBox::SetItemData(int32_t iIndex, void* pData) { in SetItemData() argument
131 m_comboBoxData.GetItem(m_pIface, iIndex)); in SetItemData()
137 void* CFWL_ComboBox::GetItemData(int32_t iIndex) { in GetItemData() argument
139 m_comboBoxData.GetItem(m_pIface, iIndex)); in GetItemData()
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_encode.cpp133 int32_t iIndex = 0; in FX_UTF8Decode() local
135 while (iIndex < iSrcLen) { in FX_UTF8Decode()
136 uint8_t byte = (uint8_t) * (pSrc + iIndex); in FX_UTF8Decode()
187 iIndex++; in FX_UTF8Decode()
/external/pdfium/xfa/include/fwl/lightwidget/
Dcombobox.h21 int32_t RemoveAt(int32_t iIndex);
24 FWL_ERR GetTextByIndex(int32_t iIndex, CFX_WideString& wsText);
40 FWL_ERR SetItemData(int32_t iIndex, void* pData);
41 void* GetItemData(int32_t iIndex);
/external/skia/src/pathops/
DSkPathOpsCommon.cpp241 int rIndex, iIndex; in Assemble() local
254 for (iIndex = rIndex + 1; iIndex < ends; ++iIndex) { in Assemble()
255 const SkOpContour* iContour = runs[iIndex >> 1]; in Assemble()
256 const SkPoint& iPt = iIndex & 1 ? iContour->end() : iContour->start(); in Assemble()
260 distances[row + iIndex] = dist; // oStart distance from iStart in Assemble()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffchoicelist.cpp86 int32_t iIndex = 0; in IsDataChanged() local
87 for (; iIndex < iSels; iIndex++) { in IsDataChanged()
88 FWL_HLISTITEM hlistItem = pListBox->GetItem(iSelArray[iIndex]); in IsDataChanged()
93 if (iIndex == iSels) { in IsDataChanged()
Dxfa_ffdocview.cpp682 void CXFA_FFDocView::RunCalculateRecursive(int32_t& iIndex) { in RunCalculateRecursive() argument
683 while (iIndex < m_CalculateAccs.GetSize()) { in RunCalculateRecursive()
684 CXFA_WidgetAcc* pCurAcc = (CXFA_WidgetAcc*)m_CalculateAccs[iIndex]; in RunCalculateRecursive()
697 iIndex++; in RunCalculateRecursive()
698 RunCalculateRecursive(iIndex); in RunCalculateRecursive()
706 int32_t iIndex = 0; in RunCalculateWidgets() local
708 RunCalculateRecursive(iIndex); in RunCalculateWidgets()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp322 CFX_ByteString ParseStyle(const FX_CHAR* pStyle, int iLen, int iIndex) { in ParseStyle() argument
324 if (!iLen || iLen <= iIndex) { in ParseStyle()
327 while (iIndex < iLen) { in ParseStyle()
328 if (pStyle[iIndex] == ',') { in ParseStyle()
331 buf.AppendChar(pStyle[iIndex]); in ParseStyle()
332 ++iIndex; in ParseStyle()

12