/external/skia/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 29 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 …]
|
D | PathOpsCubicQuadIntersectionTest.cpp | 55 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()
|
D | PathOpsQuadLineIntersectionTest.cpp | 114 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()
|
D | PathOpsConicLineIntersectionTest.cpp | 104 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()
|
D | PathOpsCubicIntersectionTest.cpp | 21 int iIndex = static_cast<int>(index); in standardTestCases() local 33 SkDebugf("%s [%d] cubic1 order=%d\n", __FUNCTION__, iIndex, order1); in standardTestCases() 39 SkDebugf("%s [%d] cubic2 order=%d\n", __FUNCTION__, iIndex, order2); in standardTestCases() 47 SkDebugf("%s [%d] no intersection\n", __FUNCTION__, iIndex); in standardTestCases() 53 SkDebugf("%s [%d] coincident\n", __FUNCTION__, iIndex); in standardTestCases()
|
/external/skqp/tests/ |
D | PathOpsCubicLineIntersectionTest.cpp | 29 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 …]
|
D | PathOpsCubicQuadIntersectionTest.cpp | 55 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()
|
D | PathOpsQuadLineIntersectionTest.cpp | 114 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()
|
D | PathOpsConicLineIntersectionTest.cpp | 104 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()
|
D | PathOpsCubicIntersectionTest.cpp | 21 int iIndex = static_cast<int>(index); in standardTestCases() local 33 SkDebugf("%s [%d] cubic1 order=%d\n", __FUNCTION__, iIndex, order1); in standardTestCases() 39 SkDebugf("%s [%d] cubic2 order=%d\n", __FUNCTION__, iIndex, order2); in standardTestCases() 47 SkDebugf("%s [%d] no intersection\n", __FUNCTION__, iIndex); in standardTestCases() 53 SkDebugf("%s [%d] coincident\n", __FUNCTION__, iIndex); in standardTestCases()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_field.cpp | 105 int32_t iIndex = runtime->ToInt32(params[0]); in getSaveItem() local 106 if (iIndex < 0) in getSaveItem() 113 Optional<WideString> value = node->GetChoiceListItem(iIndex, true); in getSaveItem() 171 int32_t iIndex = runtime->ToInt32(params[0]); in getDisplayItem() local 172 if (iIndex < 0) in getDisplayItem() 179 Optional<WideString> value = node->GetChoiceListItem(iIndex, false); in getDisplayItem() 197 int32_t iIndex = runtime->ToInt32(params[0]); in setItemState() local 199 node->SetItemState(iIndex, true, true, true, true); in setItemState() 202 if (node->GetItemState(iIndex)) in setItemState() 203 node->SetItemState(iIndex, false, true, true, true); in setItemState() [all …]
|
D | cfxjse_formcalc_context.cpp | 359 int32_t iIndex = 0; in PatternStringType() local 361 while (iIndex < iLength) { in PatternStringType() 362 wchar_t wsPatternChar = pData[iIndex]; in PatternStringType() 365 iIndex++; in PatternStringType() 369 iIndex++; in PatternStringType() 380 iIndex++; in PatternStringType() 382 while (iIndex < iLength) { in PatternStringType() 383 timePatternChar = pData[iIndex]; in PatternStringType() 386 iIndex++; in PatternStringType() 391 iIndex++; in PatternStringType() [all …]
|
D | cjx_instancemanager.cpp | 173 int32_t iIndex = runtime->ToInt32(params[0]); in removeInstance() local 175 if (iIndex < 0 || iIndex >= iCount) in removeInstance() 183 CXFA_Node* pRemoveInstance = GetXFANode()->GetItemIfExists(iIndex); in removeInstance() 191 for (int32_t i = iIndex; i < iCount - 1; i++) { in removeInstance() 269 int32_t iIndex = runtime->ToInt32(params[0]); in insertInstance() local 275 if (iIndex < 0 || iIndex > iCount) in insertInstance() 287 GetXFANode()->InsertItem(pNewInstance, iIndex, iCount, true); in insertInstance()
|
D | cjx_tree.cpp | 170 size_t iIndex = pNode ? pNode->GetIndexByName() : 0; in index() local 171 pValue->SetInteger(pdfium::base::checked_cast<int32_t>(iIndex)); in index() 183 size_t iIndex = pNode ? pNode->GetIndexByClassName() : 0; in classIndex() local 184 pValue->SetInteger(pdfium::base::checked_cast<int32_t>(iIndex)); in classIndex()
|
D | cfxjse_resolveprocessor.cpp | 636 int32_t iIndex = wsCondition.Substr(i, iLen - 1 - i).GetInteger(); in ConditionArray() local 638 iIndex += iCurIndex; in ConditionArray() 640 if (iIndex < 0 || static_cast<size_t>(iIndex) >= iFoundCount) { in ConditionArray() 643 m_pNodeHelper->m_iCreateCount = iIndex - iFoundCount + 1; in ConditionArray() 648 std::vector<UnownedPtr<CXFA_Object>>(1, pRnd->m_Objects[iIndex]); in ConditionArray() 719 int32_t& iIndex, in SetIndexDataBind() argument 723 iIndex = 0; in SetIndexDataBind() 725 iIndex = iCount - 1; in SetIndexDataBind() 728 iIndex = iCount - 1; in SetIndexDataBind()
|
D | cjx_layoutpseudomodel.cpp | 98 int32_t iIndex = params.size() >= 3 ? runtime->ToInt32(params[2]) : 0; in HWXY() local 105 while (iIndex > 0 && pLayoutItem) { in HWXY() 107 --iIndex; in HWXY() 356 int32_t iIndex = 0; in pageContent() local 358 iIndex = runtime->ToInt32(params[0]); in pageContent() 375 GetObjArray(pDocLayout, iIndex, wsType, bOnPageArea)); in pageContent()
|
/external/pdfium/core/fpdfdoc/ |
D | cpdf_formfield.cpp | 166 int iIndex = GetDefaultSelectedItem(); in ResetField() local 167 if (iIndex >= 0) in ResetField() 168 csValue = GetOptionLabel(iIndex); in ResetField() 173 SetItemSelection(iIndex, true, NotificationOption::kDoNotNotify); in ResetField() 353 int iIndex = FindOption(csValue); in SetValue() local 354 if (iIndex < 0) { in SetValue() 362 SetItemSelection(iIndex, true, NotificationOption::kDoNotNotify); in SetValue() 370 int iIndex = FindOption(value); in SetValue() local 371 if (iIndex < 0) in SetValue() 374 if (bDefault && iIndex == GetDefaultSelectedItem()) in SetValue() [all …]
|
D | cpdf_action.cpp | 176 CPDF_Action CPDF_Action::GetSubAction(size_t iIndex) const { in GetSubAction() 182 return CPDF_Action(pArray->GetDictAt(iIndex)); in GetSubAction() 184 if (iIndex == 0) in GetSubAction()
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 44 for (size_t iIndex = 0; iIndex < srcLen && iDstNum < dstLen; ++iIndex) { in UTF8Decode() local 46 uint8_t byte = static_cast<uint8_t>(*(pSrc + iIndex)); in UTF8Decode()
|
/external/skqp/src/pathops/ |
D | SkPathWriter.cpp | 272 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/skia/src/pathops/ |
D | SkPathWriter.cpp | 269 int rIndex, iIndex; in assemble() local 281 for (iIndex = rIndex + 1; iIndex < endCount; ++iIndex) { in assemble() 282 const SkOpPtT* iPtT = runs[iIndex]; in assemble() 286 distLookup.push_back(rRow + iIndex); in assemble()
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffnotify.h | 32 int32_t iIndex); 33 void OnWidgetListItemRemoved(CXFA_Node* pSender, int32_t iIndex);
|
D | cxfa_ffnotify.cpp | 59 int32_t iIndex) { in OnWidgetListItemAdded() argument 66 ToDropDown(ToField(pWidget))->InsertItem(wsLabel, iIndex); in OnWidgetListItemAdded() 71 int32_t iIndex) { in OnWidgetListItemRemoved() argument 78 ToDropDown(ToField(pWidget))->DeleteItem(iIndex); in OnWidgetListItemRemoved()
|
/external/pdfium/fxjs/ |
D | cjs_publicmethods.cpp | 986 int iIndex = WithinBoundsOrZero(pRuntime->ToInt32(params[0]), in AFDate_Format() local 989 newParams.push_back(pRuntime->NewString(kDateFormats[iIndex])); in AFDate_Format() 1000 int iIndex = WithinBoundsOrZero(pRuntime->ToInt32(params[0]), in AFDate_Keystroke() local 1003 newParams.push_back(pRuntime->NewString(kDateFormats[iIndex])); in AFDate_Keystroke() 1014 int iIndex = WithinBoundsOrZero(pRuntime->ToInt32(params[0]), in AFTime_Format() local 1017 newParams.push_back(pRuntime->NewString(kTimeFormats[iIndex])); in AFTime_Format() 1027 int iIndex = WithinBoundsOrZero(pRuntime->ToInt32(params[0]), in AFTime_Keystroke() local 1030 newParams.push_back(pRuntime->NewString(kTimeFormats[iIndex])); in AFTime_Keystroke() 1110 size_t iIndex = 0; in AFSpecial_KeystrokeEx() local 1111 for (iIndex = 0; iIndex < valEvent.GetLength(); ++iIndex) { in AFSpecial_KeystrokeEx() [all …]
|
/external/pdfium/xfa/fwl/ |
D | cfwl_combobox.h | 58 WideString GetTextByIndex(int32_t iIndex) const; 63 void RemoveAt(int32_t iIndex);
|