/third_party/gn/src/base/strings/ |
H A D | utf_offset_string_conversions.cc | 26 void OffsetAdjuster::AdjustOffsets(const Adjustments& adjustments, in AdjustOffsets() argument 32 AdjustOffset(adjustments, &(*i), limit); in AdjustOffsets() 36 void OffsetAdjuster::AdjustOffset(const Adjustments& adjustments, in AdjustOffset() argument 43 for (Adjustments::const_iterator i = adjustments.begin(); in AdjustOffset() 44 i != adjustments.end(); ++i) { in AdjustOffset() 61 const Adjustments& adjustments, in UnadjustOffsets() 63 if (!offsets_for_unadjustment || adjustments.empty()) in UnadjustOffsets() 67 UnadjustOffset(adjustments, &(*i)); in UnadjustOffsets() 71 void OffsetAdjuster::UnadjustOffset(const Adjustments& adjustments, in UnadjustOffset() argument 76 for (Adjustments::const_iterator i = adjustments in UnadjustOffset() 60 UnadjustOffsets( const Adjustments& adjustments, std::vector<size_t>* offsets_for_unadjustment) UnadjustOffsets() argument 187 ConvertUnicode(const SrcChar* src, size_t src_len, DestStdString* output, OffsetAdjuster::Adjustments* adjustments) ConvertUnicode() argument 221 UTF8ToUTF16WithAdjustments( const char* src, size_t src_len, std::u16string* output, base::OffsetAdjuster::Adjustments* adjustments) UTF8ToUTF16WithAdjustments() argument 230 UTF8ToUTF16WithAdjustments( std::string_view utf8, base::OffsetAdjuster::Adjustments* adjustments) UTF8ToUTF16WithAdjustments() argument 245 OffsetAdjuster::Adjustments adjustments; UTF8ToUTF16AndAdjustOffsets() local 260 OffsetAdjuster::Adjustments adjustments; UTF16ToUTF8AndAdjustOffsets() local [all...] |
H A D | utf_offset_string_conversions.h | 17 // string in response to various adjustments one might do to that string 33 // Adjusts all offsets in |offsets_for_adjustment| to reflect the adjustments 34 // recorded in |adjustments|. Adjusted offsets greater than |limit| will be 44 static void AdjustOffsets(const Adjustments& adjustments, 48 // Adjusts the single |offset| to reflect the adjustments recorded in 49 // |adjustments|. 50 static void AdjustOffset(const Adjustments& adjustments, 55 // of the adjustments recorded in |adjustments|. In other words, the offsets 61 static void UnadjustOffsets(const Adjustments& adjustments, [all...] |
/third_party/astc-encoder/Source/ |
H A D | astcenc_compress_symbolic.cpp | 113 bool adjustments = false; in realign_weights_undecimated() local 227 adjustments = true; in realign_weights_undecimated() 264 adjustments = true; in realign_weights_undecimated() 269 adjustments = true; in realign_weights_undecimated() 277 return adjustments; in realign_weights_undecimated() 320 bool adjustments = false; in realign_weights_undecimated() local 370 adjustments = true; in realign_weights_undecimated() 375 adjustments = true; in realign_weights_undecimated() 384 return adjustments; in realign_weights_undecimated() 446 bool adjustments in realign_weights_decimated() local 869 bool adjustments; compress_symbolic_block_for_partition_1plane() local 1207 bool adjustments; compress_symbolic_block_for_partition_2planes() local [all...] |
/third_party/skia/gm/ |
H A D | typeface.cpp | 42 static void applyKerning(SkPoint pos[], const int32_t adjustments[], int count, in applyKerning() argument 48 globalAdj += adjustments[i] * scale; in applyKerning() 69 int32_t* adjustments = adjustmentStorage.get(); in drawKernText() local 70 if (!face->getKerningPairAdjustments(glyphs, glyphCount, adjustments)) { in drawKernText() 80 applyKerning(rec.points(), adjustments, glyphCount, font); in drawKernText()
|
/third_party/skia/src/core/ |
H A D | SkTypeface.cpp | 473 int32_t adjustments[]) const { in getKerningPairAdjustments() 478 if (nullptr == glyphs || nullptr == adjustments) { in getKerningPairAdjustments() 481 SkASSERT(nullptr == adjustments); in getKerningPairAdjustments() 483 return this->onGetKerningPairAdjustments(glyphs, count, adjustments); in getKerningPairAdjustments() 533 int32_t adjustments[]) const { in onGetKerningPairAdjustments()
|
/third_party/skia/include/core/ |
H A D | SkTypeface.h | 263 * Given a run of glyphs, return the associated horizontal adjustments. 275 * [count] valid glyph IDs, and the adjustments parameter must be 277 * [count-1] entries in the adjustments array will be set. If the method 278 * returns false, then no kerning should be applied, and the adjustments 283 int32_t adjustments[]) const; 353 * will not take into account any hinting or other size-specific adjustments. 422 int32_t adjustments[]) const;
|
/third_party/skia/src/ports/ |
H A D | SkFontHost_FreeType_common.h | 128 int32_t adjustments[]) const override;
|
H A D | SkFontHost_FreeType.cpp | 712 int count, int32_t adjustments[]) const { 726 adjustments[i] = delta.x;
|
/third_party/python/Lib/test/ |
H A D | test_collections.py | 146 adjustments = {'art': 'van gogh', 'opera': 'carmen'} 148 cm = ChainMap(adjustments, baseline) 151 combined.update(adjustments)
|