Home
last modified time | relevance | path

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

123

/external/skia/tests/
DPathOpsCubicLineIntersectionTest.cpp27 static void testFail(skiatest::Reporter* reporter, int iIndex) { in testFail() argument
28 const CubicPts& cuPts = failLineCubicTests[iIndex].cubic; in testFail()
32 const SkDLine& line = failLineCubicTests[iIndex].line; in testFail()
39 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail()
43 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail()
127 static void testOne(skiatest::Reporter* reporter, int iIndex) { in testOne() argument
128 const CubicPts& cuPts = lineCubicTests[iIndex].cubic; in testOne()
132 const SkDLine& line = lineCubicTests[iIndex].line; in testOne()
139 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne()
143 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testOne()
[all …]
DPathOpsCubicQuadIntersectionTest.cpp55 int iIndex = static_cast<int>(index); in cubicQuadIntersection() local
69 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in cubicQuadIntersection()
73 SkDebugf("[%d] quad order=%d\n", iIndex, order2); in cubicQuadIntersection()
85 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in cubicQuadIntersection()
DPathOpsQuadLineIntersectionTest.cpp110 int iIndex = static_cast<int>(index); in DEF_TEST() local
121 SkDebugf("%s [%d] quad order=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
125 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
144 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp100 int iIndex = static_cast<int>(index); in DEF_TEST() local
115 SkDebugf("%s [%d] conic verb=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
120 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
139 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
/external/skqp/tests/
DPathOpsCubicLineIntersectionTest.cpp27 static void testFail(skiatest::Reporter* reporter, int iIndex) { in testFail() argument
28 const CubicPts& cuPts = failLineCubicTests[iIndex].cubic; in testFail()
32 const SkDLine& line = failLineCubicTests[iIndex].line; in testFail()
39 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail()
43 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail()
127 static void testOne(skiatest::Reporter* reporter, int iIndex) { in testOne() argument
128 const CubicPts& cuPts = lineCubicTests[iIndex].cubic; in testOne()
132 const SkDLine& line = lineCubicTests[iIndex].line; in testOne()
139 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne()
143 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testOne()
[all …]
DPathOpsCubicQuadIntersectionTest.cpp55 int iIndex = static_cast<int>(index); in cubicQuadIntersection() local
69 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in cubicQuadIntersection()
73 SkDebugf("[%d] quad order=%d\n", iIndex, order2); in cubicQuadIntersection()
85 __FUNCTION__, iIndex, pt, tt1, xy1.fX, xy1.fY, tt2, xy2.fX, xy2.fY); in cubicQuadIntersection()
DPathOpsQuadLineIntersectionTest.cpp110 int iIndex = static_cast<int>(index); in DEF_TEST() local
121 SkDebugf("%s [%d] quad order=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
125 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
144 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp100 int iIndex = static_cast<int>(index); in DEF_TEST() local
115 SkDebugf("%s [%d] conic verb=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
120 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
139 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
/external/pdfium/fxjs/
Dcfxjse_formcalc_context.cpp408 int32_t iIndex = 0; in PatternStringType() local
411 while (iIndex < iLength) { in PatternStringType()
412 patternChar = pData[iIndex]; in PatternStringType()
418 iIndex++; in PatternStringType()
420 while (iIndex < iLength) { in PatternStringType()
421 timePatternChar = pData[iIndex]; in PatternStringType()
428 iIndex++; in PatternStringType()
452 iIndex++; in PatternStringType()
1833 int32_t iIndex = 0; in IsIsoTimeFormat() local
1834 while (iIndex < iZone) { in IsIsoTimeFormat()
[all …]
Dcjs_util.cpp104 for (size_t iIndex = 0; iIndex < unsafe_conversion_specifiers.size(); in printf() local
105 ++iIndex) { in printf()
106 std::wstring c_strFormat = unsafe_conversion_specifiers[iIndex]; in printf()
107 if (iIndex == 0) { in printf()
112 if (iIndex >= iSize) { in printf()
121 pRuntime->ToInt32(params[iIndex])); in printf()
125 pRuntime->ToDouble(params[iIndex])); in printf()
130 pRuntime->ToWideString(params[iIndex]).c_str()); in printf()
Dcfxjse_resolveprocessor.cpp608 int32_t iIndex = wsCondition.Mid(i, iLen - 1 - i).GetInteger(); in ConditionArray() local
610 iIndex += iCurIndex; in ConditionArray()
612 if (iFoundCount <= iIndex || iIndex < 0) { in ConditionArray()
615 m_pNodeHelper->m_iCreateCount = iIndex - iFoundCount + 1; in ConditionArray()
619 CXFA_Object* ret = rnd.m_Objects[iIndex]; in ConditionArray()
721 int32_t& iIndex, in SetIndexDataBind() argument
725 iIndex = 0; in SetIndexDataBind()
727 iIndex = iCount - 1; in SetIndexDataBind()
730 iIndex = iCount - 1; in SetIndexDataBind()
/external/pdfium/core/fpdfdoc/
Dcpdf_formfield.cpp188 int iIndex = GetDefaultSelectedItem(); in ResetField() local
189 if (iIndex >= 0) in ResetField()
190 csValue = GetOptionLabel(iIndex); in ResetField()
195 SetItemSelection(iIndex, true); in ResetField()
359 int iIndex = FindOptionValue(csValue); in SetValue() local
360 if (iIndex < 0) { in SetValue()
370 SetItemSelection(iIndex, true); in SetValue()
378 int iIndex = FindOptionValue(value); in SetValue() local
379 if (iIndex < 0) in SetValue()
382 if (bDefault && iIndex == GetDefaultSelectedItem()) in SetValue()
[all …]
Dcpdf_actionfields.cpp75 CPDF_Object* CPDF_ActionFields::GetField(size_t iIndex) const { in GetField()
95 if (iIndex == 0) in GetField()
98 pFindObj = pArray->GetDirectObjectAt(iIndex); in GetField()
Dcpdf_action.cpp127 CPDF_Action CPDF_Action::GetSubAction(size_t iIndex) const { in GetSubAction()
133 return CPDF_Action(pArray->GetDictAt(iIndex)); in GetSubAction()
135 if (iIndex == 0) in GetSubAction()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_nodehelper.cpp305 int32_t iIndex = wsIndex.GetInteger(); in CreateNode_ForCondition() local
306 m_iCreateCount = iIndex; in CreateNode_ForCondition()
336 for (int32_t iIndex = 0; iIndex < m_iCreateCount; iIndex++) { in ResolveNodes_CreateNode() local
340 if (iIndex == m_iCreateCount - 1) { in ResolveNodes_CreateNode()
351 for (int32_t iIndex = 0; iIndex < m_iCreateCount; iIndex++) { in ResolveNodes_CreateNode() local
358 if (iIndex == m_iCreateCount - 1) { in ResolveNodes_CreateNode()
Dcxfa_layoutitem.cpp140 int32_t iIndex = 0; in GetIndex() local
145 ++iIndex; in GetIndex()
147 return iIndex; in GetIndex()
/external/pdfium/fxjs/xfa/
Dcjx_field.cpp99 int32_t iIndex = runtime->ToInt32(params[0]); in getSaveItem() local
100 if (iIndex < 0) in getSaveItem()
107 Optional<WideString> value = pWidgetAcc->GetChoiceListItem(iIndex, true); in getSaveItem()
163 int32_t iIndex = runtime->ToInt32(params[0]); in getDisplayItem() local
164 if (iIndex < 0) in getDisplayItem()
171 Optional<WideString> value = pWidgetAcc->GetChoiceListItem(iIndex, false); in getDisplayItem()
188 int32_t iIndex = runtime->ToInt32(params[0]); in setItemState() local
190 pWidgetAcc->SetItemState(iIndex, true, true, true, true); in setItemState()
193 if (pWidgetAcc->GetItemState(iIndex)) in setItemState()
194 pWidgetAcc->SetItemState(iIndex, false, true, true, true); in setItemState()
[all …]
Dcjx_instancemanager.cpp168 int32_t iIndex = runtime->ToInt32(params[0]); in removeInstance() local
170 if (iIndex < 0 || iIndex >= iCount) in removeInstance()
178 CXFA_Node* pRemoveInstance = GetXFANode()->GetItemIfExists(iIndex); in removeInstance()
186 for (int32_t i = iIndex; i < iCount - 1; i++) { in removeInstance()
259 int32_t iIndex = runtime->ToInt32(params[0]); in insertInstance() local
265 if (iIndex < 0 || iIndex > iCount) in insertInstance()
277 GetXFANode()->InsertItem(pNewInstance, iIndex, iCount, true); in insertInstance()
Dcjx_layoutpseudomodel.cpp88 int32_t iIndex = params.size() >= 3 ? runtime->ToInt32(params[2]) : 0; in HWXY() local
98 while (iIndex > 0 && pLayoutItem) { in HWXY()
100 --iIndex; in HWXY()
352 int32_t iIndex = 0; in pageContent() local
354 iIndex = runtime->ToInt32(params[0]); in pageContent()
374 GetObjArray(pDocLayout, iIndex, wsType, bOnPageArea)); in pageContent()
/external/skia/src/pathops/
DSkPathWriter.cpp221 int rIndex, iIndex; in assemble() local
233 for (iIndex = rIndex + 1; iIndex < endCount; ++iIndex) { in assemble()
234 const SkOpPtT* iPtT = runs[iIndex]; in assemble()
238 distLookup.push_back(rRow + iIndex); in assemble()
/external/skqp/src/pathops/
DSkPathWriter.cpp221 int rIndex, iIndex; in assemble() local
233 for (iIndex = rIndex + 1; iIndex < endCount; ++iIndex) { in assemble()
234 const SkOpPtT* iPtT = runs[iIndex]; in assemble()
238 distLookup.push_back(rRow + iIndex); in assemble()
/external/pdfium/core/fxcrt/
Dcfx_blockbuffer.cpp116 const size_t iIndex) const { in TextDataIndex2BufIndex()
117 ASSERT(iIndex >= 0); in TextDataIndex2BufIndex()
119 size_t realIndex = m_StartPosition + iIndex; in TextDataIndex2BufIndex()
Dcfx_seekablestreamproxy.cpp41 size_t iIndex = 0; in UTF8Decode() local
43 while (iIndex < srcLen) { in UTF8Decode()
44 uint8_t byte = static_cast<uint8_t>(*(pSrc + iIndex)); in UTF8Decode()
89 iIndex++; in UTF8Decode()
Dcfx_blockbuffer.h38 void SetTextChar(size_t iIndex, wchar_t ch);
43 std::pair<size_t, size_t> TextDataIndex2BufIndex(const size_t iIndex) const;
/external/pdfium/xfa/fxfa/
Dcxfa_ffnotify.cpp69 int32_t iIndex) { in OnWidgetListItemAdded() argument
78 ToListBox(pWidget)->InsertItem(pLabel, iIndex); in OnWidgetListItemAdded()
80 ToComboBox(pWidget)->InsertItem(pLabel, iIndex); in OnWidgetListItemAdded()
86 int32_t iIndex) { in OnWidgetListItemRemoved() argument
95 ToListBox(pWidget)->DeleteItem(iIndex); in OnWidgetListItemRemoved()
97 ToComboBox(pWidget)->DeleteItem(iIndex); in OnWidgetListItemRemoved()

123