Searched refs:iMid (Results 1 – 7 of 7) sorted by relevance
70 FX_INT32 iMid = (iStart + iEnd) / 2; in FPF_SkiaGetSubstFont() local71 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() local95 FPF_LPCSKIAFONTMAP pItem = &g_SkiaSansFontMap[iMid]; in FPF_SkiaGetSansFont()97 iEnd = iMid - 1; in FPF_SkiaGetSansFont()99 iStart = iMid + 1; in FPF_SkiaGetSansFont()
1479 FX_INT32 iMid = 0; in GetAt() local1481 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() local1504 DataList* cur_list = m_DataLists.GetDataPtr(iMid); in Append()1506 iEnd = iMid - 1; in Append()1508 if (iMid == iEnd) { in Append()[all …]
1453 FX_INT32 iMid = (iStart + iEnd) / 2; in AppendNewObjNum() local1454 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()
520 FX_INT32 iMid = (iStart + iEnd) / 2; in FX_GetCsFromLangCode() local521 const FX_LANG2CS &charset = gs_FXLang2CharsetTable[iMid]; in FX_GetCsFromLangCode()525 iEnd = iMid - 1; in FX_GetCsFromLangCode()527 iStart = iMid + 1; in FX_GetCsFromLangCode()
685 FX_INT32 iStart = 0, iMid; in _GetCharsetFromCodePage() local687 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()
788 SkIntersections iMid; in midToSide() local789 (*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()
4623 FX_INT32 iMid = 0; in BinarySearch() local4625 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()