Home
last modified time | relevance | path

Searched refs:iMid (Results 1 – 7 of 7) sorted by relevance

/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.cpp70 FX_INT32 iMid = (iStart + iEnd) / 2; in FPF_SkiaGetSubstFont() local
71 FPF_LPCSKIAFONTMAP pItem = &g_SkiaFontmap[iMid]; in FPF_SkiaGetSubstFont()
73 iEnd = iMid - 1; in FPF_SkiaGetSubstFont()
75 iStart = iMid + 1; in FPF_SkiaGetSubstFont()
94 FX_INT32 iMid = (iStart + iEnd) / 2; in FPF_SkiaGetSansFont() local
95 FPF_LPCSKIAFONTMAP pItem = &g_SkiaSansFontMap[iMid]; in FPF_SkiaGetSansFont()
97 iEnd = iMid - 1; in FPF_SkiaGetSansFont()
99 iStart = iMid + 1; in FPF_SkiaGetSansFont()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h1479 FX_INT32 iMid = 0; in GetAt() local
1481 iMid = (iStart + iEnd) / 2; in GetAt()
1482 DataList* list = m_DataLists.GetDataPtr(iMid); in GetAt()
1484 iEnd = iMid - 1; in GetAt()
1486 iStart = iMid + 1; in GetAt()
1489 m_CurList = iMid; in GetAt()
1503 FX_INT32 iMid = (iStart + iEnd) / 2; in Append() local
1504 DataList* cur_list = m_DataLists.GetDataPtr(iMid); in Append()
1506 iEnd = iMid - 1; in Append()
1508 if (iMid == iEnd) { in Append()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp1453 FX_INT32 iMid = (iStart + iEnd) / 2; in AppendNewObjNum() local
1454 FX_DWORD dwMid = m_NewObjNumArray.ElementAt(iMid); in AppendNewObjNum()
1456 iEnd = iMid - 1; in AppendNewObjNum()
1458 if (iMid == iEnd) { in AppendNewObjNum()
1459 iFind = iMid + 1; in AppendNewObjNum()
1462 FX_DWORD dwNext = m_NewObjNumArray.ElementAt(iMid + 1); in AppendNewObjNum()
1464 iFind = iMid + 1; in AppendNewObjNum()
1467 iStart = iMid + 1; in AppendNewObjNum()
Dfpdf_edit_doc.cpp520 FX_INT32 iMid = (iStart + iEnd) / 2; in FX_GetCsFromLangCode() local
521 const FX_LANG2CS &charset = gs_FXLang2CharsetTable[iMid]; in FX_GetCsFromLangCode()
525 iEnd = iMid - 1; in FX_GetCsFromLangCode()
527 iStart = iMid + 1; in FX_GetCsFromLangCode()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp685 FX_INT32 iStart = 0, iMid; in _GetCharsetFromCodePage() local
687 iMid = (iStart + iEnd) / 2; in _GetCharsetFromCodePage()
688 const CHARSET_MAP & cp = g_Codepage2CharsetTable[iMid]; in _GetCharsetFromCodePage()
692 iEnd = iMid - 1; in _GetCharsetFromCodePage()
694 iStart = iMid + 1; in _GetCharsetFromCodePage()
/external/skia/src/pathops/
DSkOpAngle.cpp788 SkIntersections iMid; in midToSide() local
789 (*CurveIntersectRay[verb])(segment->pts(), segment->weight(), rayMid, &iMid); in midToSide()
790 int iOutside = iMid.mostOutside(this->fStart->t(), this->fEnd->t(), dStartPt); in midToSide()
802 SkDVector iSide = iMid.pt(iOutside) - dStartPt; in midToSide()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_parser.cpp4623 FX_INT32 iMid = 0; in BinarySearch() local
4625 iMid = (iLow + iHigh) / 2; in BinarySearch()
4626 if (m_number_array.GetAt(iMid) == value) { in BinarySearch()
4627 iNext = iMid; in BinarySearch()
4629 } else if (m_number_array.GetAt(iMid) > value) { in BinarySearch()
4630 iHigh = iMid - 1; in BinarySearch()
4631 } else if (m_number_array.GetAt(iMid) < value) { in BinarySearch()
4632 iLow = iMid + 1; in BinarySearch()