Searched refs:segmentCount (Results 1 – 3 of 3) sorted by relevance
50 uint16_t segmentCount = ranges.size() / 2 + 1 /* +1 for end marker */; in buildCmapFormat4Table() local55 + segmentCount * 4 /* endCount, startCount, idRange, idRangeOffset */; in buildCmapFormat4Table()65 2 * (1 << static_cast<int>(floor(log2(segmentCount)))); in buildCmapFormat4Table()67 head = writeU16(segmentCount * 2, out.data(), head); // segCountX2 in buildCmapFormat4Table()76 writeU16(segmentCount * 2 - searchRange, out.data(), head); // rangeShift in buildCmapFormat4Table()80 head + segmentCount * sizeof(uint16_t) + 2 /* padding */; in buildCmapFormat4Table()81 size_t idDeltaHead = startCountHead + segmentCount * sizeof(uint16_t); in buildCmapFormat4Table()82 size_t idRangeOffsetHead = idDeltaHead + segmentCount * sizeof(uint16_t); in buildCmapFormat4Table()
296 int segmentCount = 0; in conservativelyContainsRect() local300 if (verb == SkPathVerb::kClose || (segmentCount > 0 && verb == SkPathVerb::kMove)) { in conservativelyContainsRect()304 segmentCount++; in conservativelyContainsRect()309 SkASSERT(!segmentCount); in conservativelyContainsRect()319 segmentCount++; in conservativelyContainsRect()344 if (segmentCount) { in conservativelyContainsRect()
310 int segmentCount = 0; in conservativelyContainsRect() local318 SkASSERT(!segmentCount && !closeCount); in conservativelyContainsRect()326 ++segmentCount; in conservativelyContainsRect()333 ++segmentCount; in conservativelyContainsRect()340 ++segmentCount; in conservativelyContainsRect()373 if (segmentCount) { in conservativelyContainsRect()