Home
last modified time | relevance | path

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

12

/external/skqp/tests/
DPathOpsCubicLineIntersectionTest.cpp29 static void testFail(skiatest::Reporter* reporter, int iIndex) { in testFail() argument
30 const CubicPts& cuPts = failLineCubicTests[iIndex].cubic; in testFail()
34 const SkDLine& line = failLineCubicTests[iIndex].line; in testFail()
41 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail()
45 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail()
131 static void testOne(skiatest::Reporter* reporter, int iIndex) { in testOne() argument
132 const CubicPts& cuPts = lineCubicTests[iIndex].cubic; in testOne()
136 const SkDLine& line = lineCubicTests[iIndex].line; in testOne()
143 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne()
147 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.cpp114 int iIndex = static_cast<int>(index); in DEF_TEST() local
125 SkDebugf("%s [%d] quad order=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
129 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
148 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp104 int iIndex = static_cast<int>(index); in DEF_TEST() local
119 SkDebugf("%s [%d] conic verb=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
124 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
143 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
/external/skia/tests/
DPathOpsCubicLineIntersectionTest.cpp29 static void testFail(skiatest::Reporter* reporter, int iIndex) { in testFail() argument
30 const CubicPts& cuPts = failLineCubicTests[iIndex].cubic; in testFail()
34 const SkDLine& line = failLineCubicTests[iIndex].line; in testFail()
41 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail()
45 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail()
131 static void testOne(skiatest::Reporter* reporter, int iIndex) { in testOne() argument
132 const CubicPts& cuPts = lineCubicTests[iIndex].cubic; in testOne()
136 const SkDLine& line = lineCubicTests[iIndex].line; in testOne()
143 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne()
147 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.cpp114 int iIndex = static_cast<int>(index); in DEF_TEST() local
125 SkDebugf("%s [%d] quad order=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
129 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
148 __FUNCTION__, iIndex, pt, tt1, t1.fX, t1.fY, tt2, t2.fX, t2.fY); in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp104 int iIndex = static_cast<int>(index); in DEF_TEST() local
119 SkDebugf("%s [%d] conic verb=%d\n", __FUNCTION__, iIndex, order1); in DEF_TEST()
124 SkDebugf("%s [%d] line order=%d\n", __FUNCTION__, iIndex, order2); in DEF_TEST()
143 __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()
/external/u-boot/drivers/fpga/
Divm_core.c2374 unsigned short iIndex = 0; in ispVMBypass() local
2403 for (iIndex = 0; iIndex < Bits - 1; iIndex++) { in ispVMBypass()
2405 if (iIndex % 8 == 0) { in ispVMBypass()
2408 cBitState = (unsigned char) (((cCurByte << iIndex % 8) & 0x80) in ispVMBypass()
2414 if (iIndex % 8 == 0) { in ispVMBypass()
2418 cBitState = (unsigned char) (((cCurByte << iIndex % 8) & 0x80) in ispVMBypass()
2532 unsigned short iIndex = 0; in ispVMSend() local
2537 for (iIndex = 0; iIndex < a_usiDataSize - 1; iIndex++) { in ispVMSend()
2538 if (iIndex % 8 == 0) { in ispVMSend()
2541 cBitState = (unsigned char)(((cCurByte << iIndex % 8) & 0x80) in ispVMSend()
[all …]
/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/skia/src/pathops/
DSkPathWriter.cpp272 int rIndex, iIndex; in assemble() local
284 for (iIndex = rIndex + 1; iIndex < endCount; ++iIndex) { in assemble()
285 const SkOpPtT* iPtT = runs[iIndex]; in assemble()
289 distLookup.push_back(rRow + iIndex); in assemble()
/external/skqp/src/pathops/
DSkPathWriter.cpp272 int rIndex, iIndex; in assemble() local
284 for (iIndex = rIndex + 1; iIndex < endCount; ++iIndex) { in assemble()
285 const SkOpPtT* iPtT = runs[iIndex]; in assemble()
289 distLookup.push_back(rRow + iIndex); in assemble()
/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()

12