Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_basic_imp.cpp47 int32_t iMid = (iStart + iEnd) / 2; in XFA_GetPacketByName() local
48 XFA_LPCPACKETINFO pInfo = g_XFAPacketData + iMid; in XFA_GetPacketByName()
52 iEnd = iMid - 1; in XFA_GetPacketByName()
54 iStart = iMid + 1; in XFA_GetPacketByName()
62 int32_t iMid = (iStart + iEnd) / 2; in XFA_GetPacketByID() local
63 FX_DWORD dwFind = (g_XFAPacketData + iMid)->eName; in XFA_GetPacketByID()
65 return g_XFAPacketData + iMid; in XFA_GetPacketByID()
67 iEnd = iMid - 1; in XFA_GetPacketByID()
69 iStart = iMid + 1; in XFA_GetPacketByID()
83 int32_t iMid = (iStart + iEnd) / 2; in XFA_GetAttributeEnumByName() local
[all …]
Dxfa_script_imp.cpp834 int32_t iStart = 0, iEnd = g_iJSBuiltinCount - 1, iMid; in XFA_GetJSBuiltinByHash() local
836 iMid = (iStart + iEnd) / 2; in XFA_GetJSBuiltinByHash()
837 XFA_LPCJSBUILTININFO pInfo = gs_JSBUILTINData + iMid; in XFA_GetJSBuiltinByHash()
841 iEnd = iMid - 1; in XFA_GetJSBuiltinByHash()
843 iStart = iMid + 1; in XFA_GetJSBuiltinByHash()
Dxfa_object_imp.cpp1792 int32_t iMid = (iStart + iEnd) / 2; in GetEventParaInfoByName() local
1794 iMid = (iStart + iEnd) / 2; in GetEventParaInfoByName()
1795 eventParaInfo = &gs_eventParaInfos[iMid]; in GetEventParaInfoByName()
1799 iEnd = iMid - 1; in GetEventParaInfoByName()
1801 iStart = iMid + 1; in GetEventParaInfoByName()
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_codepage.cpp20 int32_t iStart = 0, iMid; in FX_GetCodePageFromCharset() local
22 iMid = (iStart + iEnd) / 2; in FX_GetCodePageFromCharset()
23 const FX_CHARSET_MAP& cp = g_FXCharset2CodePageTable[iMid]; in FX_GetCodePageFromCharset()
27 iEnd = iMid - 1; in FX_GetCodePageFromCharset()
29 iStart = iMid + 1; in FX_GetCodePageFromCharset()
46 int32_t iStart = 0, iMid; in FX_GetCharsetFromCodePage() local
48 iMid = (iStart + iEnd) / 2; in FX_GetCharsetFromCodePage()
49 const FX_CHARSET_MAP& cp = g_FXCodepage2CharsetTable[iMid]; in FX_GetCharsetFromCodePage()
53 iEnd = iMid - 1; in FX_GetCharsetFromCodePage()
55 iStart = iMid + 1; in FX_GetCharsetFromCodePage()
[all …]
/external/pdfium/xfa/src/fgas/include/
Dfx_alg.h32 int32_t iStart = 0, iEnd = iCount - 1, iMid; in Lookup() local
34 iMid = (iStart + iEnd) / 2; in Lookup()
35 const baseType& v = pArray[iMid]; in Lookup()
37 return iMid; in Lookup()
39 iEnd = iMid - 1; in Lookup()
41 iStart = iMid + 1; in Lookup()
/external/pdfium/xfa/src/fdp/src/css/
Dfde_cssdatatable.cpp561 int32_t iMid, iStart = 0; in FDE_GetCSSPropertyByName() local
564 iMid = (iStart + iEnd) / 2; in FDE_GetCSSPropertyByName()
565 dwMid = g_FDE_CSSProperties[iMid].dwHash; in FDE_GetCSSPropertyByName()
567 return g_FDE_CSSProperties + iMid; in FDE_GetCSSPropertyByName()
569 iStart = iMid + 1; in FDE_GetCSSPropertyByName()
571 iEnd = iMid - 1; in FDE_GetCSSPropertyByName()
585 int32_t iMid, iStart = 0; in FDE_GetCSSPropertyValueByName() local
588 iMid = (iStart + iEnd) / 2; in FDE_GetCSSPropertyValueByName()
589 dwMid = g_FDE_CSSPropertyValues[iMid].dwHash; in FDE_GetCSSPropertyValueByName()
591 return g_FDE_CSSPropertyValues + iMid; in FDE_GetCSSPropertyValueByName()
[all …]
/external/pdfium/xfa/src/fgas/src/font/
Dfx_fontutils.cpp136 int32_t iStart = 0, iMid; in FGAS_GetUnicodeBitField() local
138 iMid = (iStart + iEnd) / 2; in FGAS_GetUnicodeBitField()
139 const FGAS_FONTUSB& usb = g_FXGdiFontUSBTable[iMid]; in FGAS_GetUnicodeBitField()
141 iEnd = iMid - 1; in FGAS_GetUnicodeBitField()
143 iStart = iMid + 1; in FGAS_GetUnicodeBitField()
/external/pdfium/xfa/src/fgas/src/layout/
Dfx_unicode.cpp68 int32_t iMid = (iStart + iEnd) / 2; in FX_GetJapCharPropertyEx() local
69 FX_WCHAR wJapChar = gs_FX_JapCharPropertysEx[iMid].wChar; in FX_GetJapCharPropertyEx()
71 return gs_FX_JapCharPropertysEx + iMid; in FX_GetJapCharPropertyEx()
73 iEnd = iMid - 1; in FX_GetJapCharPropertyEx()
75 iStart = iMid + 1; in FX_GetJapCharPropertyEx()
/external/pdfium/core/src/fxge/android/
Dfpf_skiafontmgr.cpp62 int32_t iMid = (iStart + iEnd) / 2; in FPF_SkiaGetSubstFont() local
63 FPF_LPCSKIAFONTMAP pItem = &g_SkiaFontmap[iMid]; in FPF_SkiaGetSubstFont()
65 iEnd = iMid - 1; in FPF_SkiaGetSubstFont()
67 iStart = iMid + 1; in FPF_SkiaGetSubstFont()
83 int32_t iMid = (iStart + iEnd) / 2; in FPF_SkiaGetSansFont() local
84 FPF_LPCSKIAFONTMAP pItem = &g_SkiaSansFontMap[iMid]; in FPF_SkiaGetSansFont()
86 iEnd = iMid - 1; in FPF_SkiaGetSansFont()
88 iStart = iMid + 1; in FPF_SkiaGetSansFont()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h1125 int32_t iMid = 0; in GetAt() local
1127 iMid = (iStart + iEnd) / 2; in GetAt()
1128 DataList* list = m_DataLists.GetDataPtr(iMid); in GetAt()
1130 iEnd = iMid - 1; in GetAt()
1132 iStart = iMid + 1; in GetAt()
1135 m_CurList = iMid; in GetAt()
1149 int32_t iMid = (iStart + iEnd) / 2; in Append() local
1150 DataList* cur_list = m_DataLists.GetDataPtr(iMid); in Append()
1152 iEnd = iMid - 1; in Append()
1154 if (iMid == iEnd) { in Append()
[all …]
/external/pdfium/xfa/src/fxfa/src/fm2js/
Dxfa_simpleexpression.cpp455 int32_t iMid = (iStart + iEnd) / 2; in IsBuildInFunc() local
457 iMid = (iStart + iEnd) / 2; in IsBuildInFunc()
458 buildinfunction = buildInFuncs[iMid]; in IsBuildInFunc()
464 iEnd = iMid - 1; in IsBuildInFunc()
466 iStart = iMid + 1; in IsBuildInFunc()
479 int32_t iMid = (iStart + iEnd) / 2; in IsSomMethodWithObjPara() local
481 iMid = (iStart + iEnd) / 2; in IsSomMethodWithObjPara()
482 somMethodWithObjPara = gs_FMSomMethods[iMid]; in IsSomMethodWithObjPara()
487 iEnd = iMid - 1; in IsSomMethodWithObjPara()
489 iStart = iMid + 1; in IsSomMethodWithObjPara()
Dxfa_lexer.cpp528 int32_t iMid = (iStart + iEnd) / 2; in IsKeyword() local
531 iMid = (iStart + iEnd) / 2; in IsKeyword()
532 keyword = keyWords[iMid]; in IsKeyword()
536 iEnd = iMid - 1; in IsKeyword()
538 iStart = iMid + 1; in IsKeyword()
Dxfa_fm2jscontext.cpp4227 int32_t iMid = (iStart + iEnd) / 2; in HTMLSTR2Code() local
4229 iMid = (iStart + iEnd) / 2; in HTMLSTR2Code()
4230 htmlhashedreservecode = reservesForDecode[iMid]; in HTMLSTR2Code()
4235 iEnd = iMid - 1; in HTMLSTR2Code()
4237 iStart = iMid + 1; in HTMLSTR2Code()
4247 int32_t iMid = (iStart + iEnd) / 2; in HTMLCode2STR() local
4249 iMid = (iStart + iEnd) / 2; in HTMLCode2STR()
4250 htmlreservecode = reservesForEncode[iMid]; in HTMLCode2STR()
4255 iEnd = iMid - 1; in HTMLCode2STR()
4257 iStart = iMid + 1; in HTMLCode2STR()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffbarcode.cpp221 int32_t iMid = (iStart + iEnd) / 2; in XFA_GetBarcodeTypeByName() local
222 XFA_LPCBARCODETYPEENUMINFO pInfo = g_XFABarCodeTypeEnumData + iMid; in XFA_GetBarcodeTypeByName()
226 iEnd = iMid - 1; in XFA_GetBarcodeTypeByName()
228 iStart = iMid + 1; in XFA_GetBarcodeTypeByName()
Dxfa_fontmgr.cpp1703 int32_t iMid = 0; in XFA_LocalFontNameToEnglishName() local
1705 iMid = (iStart + iEnd) / 2; in XFA_LocalFontNameToEnglishName()
1706 FX_DWORD dwFontNameHash = g_XFAFontsMap[iMid].dwFontNameHash; in XFA_LocalFontNameToEnglishName()
1708 wsEnglishName = g_XFAFontsMap[iMid].pPsName; in XFA_LocalFontNameToEnglishName()
1711 iStart = iMid + 1; in XFA_LocalFontNameToEnglishName()
1713 iEnd = iMid - 1; in XFA_LocalFontNameToEnglishName()
1730 int32_t iMid = 0; in XFA_GetFontINFOByFontName() local
1733 iMid = (iStart + iEnd) / 2; in XFA_GetFontINFOByFontName()
1734 FX_DWORD dwFontNameHash = g_XFAFontsMap[iMid].dwFontNameHash; in XFA_GetFontINFOByFontName()
1736 pFontInfo = &g_XFAFontsMap[iMid]; in XFA_GetFontINFOByFontName()
[all …]
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp22 int32_t iStart = 0, iEnd = FDE_XMLVALIDCHARRANGENUM - 1, iMid; in FDE_IsXMLValidChar() local
24 iMid = (iStart + iEnd) / 2; in FDE_IsXMLValidChar()
25 if (ch < g_XMLValidCharRange[iMid][0]) { in FDE_IsXMLValidChar()
26 iEnd = iMid - 1; in FDE_IsXMLValidChar()
27 } else if (ch > g_XMLValidCharRange[iMid][1]) { in FDE_IsXMLValidChar()
28 iStart = iMid + 1; in FDE_IsXMLValidChar()
54 int32_t iStart = 0, iEnd = FDE_XMLNAMECHARSNUM - 1, iMid; in FDE_IsXMLNameChar() local
56 iMid = (iStart + iEnd) / 2; in FDE_IsXMLNameChar()
57 if (ch < g_XMLNameChars[iMid].wStart) { in FDE_IsXMLNameChar()
58 iEnd = iMid - 1; in FDE_IsXMLNameChar()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp1472 int32_t iMid = (iStart + iEnd) / 2; in AppendNewObjNum() local
1473 FX_DWORD dwMid = m_NewObjNumArray.ElementAt(iMid); in AppendNewObjNum()
1475 iEnd = iMid - 1; in AppendNewObjNum()
1477 if (iMid == iEnd) { in AppendNewObjNum()
1478 iFind = iMid + 1; in AppendNewObjNum()
1481 FX_DWORD dwNext = m_NewObjNumArray.ElementAt(iMid + 1); in AppendNewObjNum()
1483 iFind = iMid + 1; in AppendNewObjNum()
1486 iStart = iMid + 1; in AppendNewObjNum()
Dfpdf_edit_doc.cpp465 int32_t iMid = (iStart + iEnd) / 2; in FX_GetCsFromLangCode() local
466 const FX_LANG2CS& charset = gs_FXLang2CharsetTable[iMid]; in FX_GetCsFromLangCode()
471 iEnd = iMid - 1; in FX_GetCsFromLangCode()
473 iStart = iMid + 1; in FX_GetCsFromLangCode()
/external/pdfium/xfa/src/fxjse/src/
Dvalue.cpp307 int32_t iMid = (iErrPosMin + iErrPosMax) / 2; in FXJSE_ftod() local
308 double dPow = pow(10.0, iMid); in FXJSE_ftod()
310 iErrPosMin = iMid + 1; in FXJSE_ftod()
312 iErrPosMax = iMid; in FXJSE_ftod()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_fontmap.cpp286 int32_t iStart = 0, iMid; in GetCharsetFromCodePage() local
288 iMid = (iStart + iEnd) / 2; in GetCharsetFromCodePage()
289 const CHARSET_MAP& cp = g_Codepage2CharsetTable[iMid]; in GetCharsetFromCodePage()
294 iEnd = iMid - 1; in GetCharsetFromCodePage()
296 iStart = iMid + 1; in GetCharsetFromCodePage()
/external/skia/src/pathops/
DSkOpAngle.cpp740 SkIntersections iMid; in midToSide() local
741 (*CurveIntersectRay[verb])(segment->pts(), segment->weight(), rayMid, &iMid); in midToSide()
742 int iOutside = iMid.mostOutside(this->fStart->t(), this->fEnd->t(), dStartPt); in midToSide()
754 SkDVector iSide = iMid.pt(iOutside) - dStartPt; in midToSide()
/external/pdfium/xfa/src/fgas/src/localization/
Dfx_locale.cpp2772 int32_t iMid = (iStart + iEnd) / 2; in FX_ParseLocaleTime() local
2773 FX_LPCLOCALETIMEZONEINFO pInfo = g_FXLocaleTimeZoneData + iMid; in FX_ParseLocaleTime()
2778 iEnd = iMid - 1; in FX_ParseLocaleTime()
2780 iStart = iMid + 1; in FX_ParseLocaleTime()