Lines Matching refs:size
335 for (size_t i = 0; i < size(); i++) in fill_from()
356 assert(size() < rGlyph2Char.size()); in appendCluster()
357 rChar2Base[nFirstCharInCluster-rArgs.mnMinCharPos] = size(); in appendCluster()
358 rGlyph2Char[size()] = nFirstCharInCluster; in appendCluster()
467 assert(size() < rGlyph2Char.size()); in append()
468 if (!bIsBase) rGlyph2Char[size()] = firstChar; in append()
514 GlyphItem aGlyphItem(size(),//gi.logicalIndex(), in append()
658 for (size_t i = 0; i < aFace.size() && i < 32; i++) in hashCode()
662 size_t iSize = aFace.size(); in hashCode()
832 if (pSegRecord && (pSegRecord->glyphs().size() > 0) && in LayoutGlyphs()
849 if (mvCharDxs.size() > 0) in LayoutGlyphs()
871 mvCharDxs[mvCharDxs.size() - 1] = mnWidth; in LayoutGlyphs()
920 for (size_t i = 1; i < mvCharDxs.size(); i++) in GetTextBreak()
953 for (size_t i = 0; i < mvCharDxs.size(); i++) in FillDXArray()
956 ((signed)(mvChar2BaseGlyph[i] & GLYPH_INDEX_MASK) < (signed)mvGlyphs.size())); in FillDXArray()
990 std::vector<int> vDeltaWidths(mvGlyphs.size(), 0); in AdjustLayout()
1031 for (size_t j = 0; j < mvGlyphs.size(); j++) in expandOrCondense()
1043 for (size_t i = 0; i < mvGlyphs.size(); i++) in expandOrCondense()
1051 while (++nCharIndex < mvGlyph2Char.size()) in expandOrCondense()
1065 if (mvGlyphs.size() == 0) return; in expandOrCondense()
1066 Glyphs::iterator iLastGlyph = mvGlyphs.begin() + (mvGlyphs.size() - 1); in expandOrCondense()
1079 for (size_t i = 0; i < mvCharDxs.size(); i++) in expandOrCondense()
1093 for (size_t iDx = 0; iDx < mvCharDxs.size(); iDx++) in ApplyDXArray()
1103 int nPrevClusterGlyph = (bRtl)? (signed)mvGlyphs.size() : -1; in ApplyDXArray()
1110 assert((nChar2Base > -1) && (nChar2Base < (signed)mvGlyphs.size())); in ApplyDXArray()
1122 assert((nChar2BaseJ >= -1) && (nChar2BaseJ < (signed)mvGlyphs.size())); in ApplyDXArray()
1140 while (nLastGlyph + 1 < (signed)mvGlyphs.size() && in ApplyDXArray()
1149 if (!bRtl) nLastGlyph = mvGlyphs.size() - 1; in ApplyDXArray()
1164 fprintf(grLog(), "c%lu last glyph %d/%lu\n", i, nLastGlyph, mvGlyphs.size()); in ApplyDXArray()
1166 assert((nLastGlyph > -1) && (nLastGlyph < (signed)mvGlyphs.size())); in ApplyDXArray()
1177 assert((n > - 1) && (n < (signed)mvGlyphs.size())); in ApplyDXArray()
1185 assert((n > - 1) && (n < (signed)mvGlyphs.size())); in ApplyDXArray()
1251 mvGlyphs.reserve(mvGlyphs.size() + nKashidaCount); in kashidaJustify()
1292 …for (int i = 0, nCharSlot = 0; i < nArraySize && nCharSlot < static_cast<int>(mvCharDxs.size()); +… in GetCaretPositions()
1297 assert((mvChar2BaseGlyph[nCharSlot] > -1) && (nChar2Base < (signed)mvGlyphs.size())); in GetCaretPositions()
1308 while (++nCluster < static_cast<int>(mvGlyphs.size()) && in GetCaretPositions()
1334 assert((prevBase > -1) && (prevBase < (signed)mvGlyphs.size())); in GetCaretPositions()
1338 for (; nGlyph < static_cast<int>(mvGlyphs.size()) && in GetCaretPositions()
1349 if (nGlyph == static_cast<int>(mvGlyphs.size()) || in GetCaretPositions()
1407 if (glyph_slot >= signed(mvGlyphs.size())) in GetNextGlyphs()
1409 glyph_slot = mvGlyphs.size(); in GetNextGlyphs()
1414 for (; glyph_slot < signed(mvGlyphs.size()) && in GetNextGlyphs()
1419 const int nGlyphSlotEnd = std::min(size_t(glyph_slot + length), mvGlyphs.size()); in GetNextGlyphs()
1443 assert((glyph_slot >= -1) && (glyph_slot < (signed)mvGlyph2Char.size())); in GetNextGlyphs()
1445 *char_index++ = mvCharDxs.size(); in GetNextGlyphs()
1455 const long nGlyphAdvance = (glyph_slot == static_cast<int>(mvGlyphs.size()))? in GetNextGlyphs()
1485 while (glyph_slot < static_cast<int>(mvGlyphs.size()) && in GetNextGlyphs()
1499 (nGlyphIndex < (signed)mvGlyphs.size())) in MoveGlyph()
1510 for (size_t gi = nGlyphIndex; gi < mvGlyphs.size(); gi++) in MoveGlyph()
1521 if(nGlyphIndex >= signed(mvGlyphs.size())) in DropGlyph()