Lines Matching defs:other
42 ParagraphCacheKey(const ParagraphCacheKey& other) = default;
44 ParagraphCacheKey(ParagraphCacheKey&& other)
45 : fText(std::move(other.fText))
46 , fPlaceholders(std::move(other.fPlaceholders))
47 , fTextStyles(std::move(other.fTextStyles))
48 , fParagraphStyle(std::move(other.fParagraphStyle))
49 , fHash(other.fHash) {
50 other.fHash = 0;
56 bool operator==(const ParagraphCacheKey& other) const;
197 bool ParagraphCacheKey::operator==(const ParagraphCacheKey& other) const {
198 if (fText.size() != other.fText.size()) {
201 if (fPlaceholders.size() != other.fPlaceholders.size()) {
204 if (fText != other.fText) {
207 if (fTextStyles.size() != other.fTextStyles.size()) {
212 if (!exactlyEqual(fParagraphStyle.getHeight(), other.fParagraphStyle.getHeight())) {
215 if (fParagraphStyle.getTextDirection() != other.fParagraphStyle.getTextDirection()) {
219 if (!(fParagraphStyle.getStrutStyle() == other.fParagraphStyle.getStrutStyle())) {
223 if (!(fParagraphStyle.getReplaceTabCharacters() == other.fParagraphStyle.getReplaceTabCharacters())) {
229 auto& tsb = other.fTextStyles[i];
245 auto& tsb = other.fPlaceholders[i];