Searched refs:FamilyMatchResult (Results 1 – 3 of 3) sorted by relevance
79 struct FamilyMatchResult { struct104 FamilyMatchResult build() { in build() argument105 return FamilyMatchResult(mBits | (static_cast<uint64_t>(mSize) << 56)); in build()128 friend struct FamilyMatchResult;129 iterator(const FamilyMatchResult& result, uint32_t offset) in iterator() argument131 const FamilyMatchResult& mResult; argument136 FamilyMatchResult() : mBits(0) {} in FamilyMatchResult() argument146 inline bool operator==(const FamilyMatchResult& o) const { return mBits == o.mBits; } argument149 static FamilyMatchResult intersect(FamilyMatchResult l, FamilyMatchResult r);155 FamilyMatchResult(const FamilyMatchResult& o) = default; argument[all …]
337 FontCollection::FamilyMatchResult FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar()341 return FamilyMatchResult::Builder().add(0).build(); in getFamilyForChar()351 FamilyMatchResult::Builder builder; in getFamilyForChar()382 return FamilyMatchResult::Builder().add(0).build(); in getFamilyForChar()460 FontCollection::FamilyMatchResult FontCollection::FamilyMatchResult::intersect( in intersect()461 FontCollection::FamilyMatchResult l, FontCollection::FamilyMatchResult r) { in intersect()468 FamilyMatchResult::Builder b; in intersect()490 FamilyMatchResult lastFamilyIndices = FamilyMatchResult(); in itemize()542 FamilyMatchResult familyIndices = getFamilyForChar( in itemize()550 FamilyMatchResult intersection = in itemize()[all …]
238 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()250 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()269 auto b = FontCollection::FamilyMatchResult::Builder(); in TEST()286 auto b = FontCollection::FamilyMatchResult::Builder(); in TEST()301 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()304 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()308 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()312 FontCollection::FamilyMatchResult::intersect(Builder().add(2).add(4).add(6).build(), in TEST()316 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()