Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfdoc/
Dcsection.cpp108 int32_t nLeft = 0; in UpdateWordPlace() local
110 int32_t nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
111 while (nLeft <= nRight) { in UpdateWordPlace()
115 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
117 nLeft = nMid + 1; in UpdateWordPlace()
118 nMid = (nLeft + nRight) / 2; in UpdateWordPlace()
131 int32_t nLeft = 0; in SearchWordPlace() local
134 while (nLeft <= nRight) { in SearchWordPlace()
145 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
149 nLeft = nMid + 1; in SearchWordPlace()
[all …]
Dcpdf_variabletext.cpp432 int32_t nLeft = 0; in SearchWordPlace() local
437 while (nLeft <= nRight) { in SearchWordPlace()
447 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
451 nLeft = nMid + 1; in SearchWordPlace()
452 nMid = (nLeft + nRight) / 2; in SearchWordPlace()
853 int32_t nLeft = 0; in GetAutoFontSize() local
856 while (nLeft <= nRight) { in GetAutoFontSize()
860 nLeft = nMid + 1; in GetAutoFontSize()
861 nMid = (nLeft + nRight) / 2; in GetAutoFontSize()
/external/harfbuzz_ng/src/
Dhb-ot-cff1-table.hh94 HBUINT8 nLeft; member
115 if (glyph <= ranges[i].nLeft) in get_code()
119 glyph -= (ranges[i].nLeft + 1); in get_code()
228 fmt1->ranges[i].nLeft.set (code_ranges[i].glyph); in serialize()
360 TYPE nLeft; member
375 if (unlikely (!ranges[i].sanitize (c) || (num_glyphs < ranges[i].nLeft + 1))) in sanitize()
377 num_glyphs -= (ranges[i].nLeft + 1); in sanitize()
388 if (glyph <= ranges[i].nLeft) in get_sid()
390 glyph -= (ranges[i].nLeft + 1); in get_sid()
404 if ((ranges[i].first <= sid) && (sid <= ranges[i].first + ranges[i].nLeft)) in get_glyph()
[all …]
Dhb-subset-cff1.cc336 unsigned int nLeft = last_glyph - pair.glyph - 1; in finalize() local
337 if (nLeft >= 0x100) in finalize()
340 pair.glyph = nLeft; in finalize()
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py1405 nLeft = end - first
1406 if nLeft > 255:
1408 ranges.append((first, nLeft))
1412 nLeft = end - first
1413 if nLeft > 255:
1415 ranges.append((first, nLeft))
1422 for first, nLeft in ranges:
1423 data.append(packCard16(first) + nLeftFunc(nLeft))
1449 nLeft = nLeftFunc(file)
1451 for CID in range(first, first + nLeft + 1):
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c57053 int nLeft, /* IN: Elements in array *paLeft */
57064 assert( nLeft>0 && nRight>0 );
57065 while( iRight<nRight || iLeft<nLeft ){
57069 if( (iLeft<nLeft)
57079 if( iLeft<nLeft && aContent[aLeft[iLeft]]==dbpage ) iLeft++;
57081 assert( iLeft>=nLeft || aContent[aLeft[iLeft]]>dbpage );
91948 int nLeft, nRight;
91951 nLeft = sqlite3ExprVectorSize(pExpr->pLeft);
91954 if( nRight==nLeft ){
91961 if( nLeft!=nRight ){
[all …]
/external/sqlite/dist/
Dsqlite3.c57069 int nLeft, /* IN: Elements in array *paLeft */
57080 assert( nLeft>0 && nRight>0 );
57081 while( iRight<nRight || iLeft<nLeft ){
57085 if( (iLeft<nLeft)
57095 if( iLeft<nLeft && aContent[aLeft[iLeft]]==dbpage ) iLeft++;
57097 assert( iLeft>=nLeft || aContent[aLeft[iLeft]]>dbpage );
91964 int nLeft, nRight;
91967 nLeft = sqlite3ExprVectorSize(pExpr->pLeft);
91970 if( nRight==nLeft ){
91977 if( nLeft!=nRight ){
[all …]