Searched refs:txtLen (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/gm/ |
D | drawglyphs.cpp | 27 const size_t txtLen = strlen(gText); in onOnceBeforeDraw() local 28 fGlyphCount = fFont.countText(gText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw() 31 fFont.textToGlyphs(gText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphCount); in onOnceBeforeDraw()
|
D | textblobshader.cpp | 41 size_t txtLen = strlen(txt); in onOnceBeforeDraw() local 42 fGlyphs.append(font.countText(txt, txtLen, SkTextEncoding::kUTF8)); in onOnceBeforeDraw() 43 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count()); in onOnceBeforeDraw()
|
D | textblob.cpp | 91 size_t txtLen = strlen(fText); in onOnceBeforeDraw() local 92 int glyphCount = font.countText(fText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw() 95 font.textToGlyphs(fText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), glyphCount); in onOnceBeforeDraw()
|
/third_party/flutter/skia/gm/ |
D | textblobshader.cpp | 41 size_t txtLen = strlen(txt); in onOnceBeforeDraw() local 42 fGlyphs.append(font.countText(txt, txtLen, SkTextEncoding::kUTF8)); in onOnceBeforeDraw() 43 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), fGlyphs.count()); in onOnceBeforeDraw()
|
D | textblob.cpp | 91 size_t txtLen = strlen(fText); in onOnceBeforeDraw() local 92 int glyphCount = font.countText(fText, txtLen, SkTextEncoding::kUTF8); in onOnceBeforeDraw() 95 font.textToGlyphs(fText, txtLen, SkTextEncoding::kUTF8, fGlyphs.begin(), glyphCount); in onOnceBeforeDraw()
|
/third_party/musl/porting/linux/user/src/hilog/ |
D | output_p.inl | 90 #define SECUREC_SAFE_WRITE_PREFIX(src, txtLen, _stream, outChars) do { \ argument 91 for (ii = 0; ii < txtLen; ++ii) { \ 96 _stream->count -= txtLen * (int)(sizeof(SecChar)); \ 97 *(outChars) = *(outChars) + (txtLen); \ 100 #define SECUREC_SAFE_WRITE_STR(src, txtLen, _stream, outChars) do { \ argument 101 if (txtLen < 12 /* for mobile number length */) { \ 102 for (ii = 0; ii < txtLen; ++ii) { \ 108 … (void)memcpy(_stream->cur, src, ((size_t)(unsigned int)txtLen * (sizeof(SecChar)))); \ 109 _stream->cur += (size_t)(unsigned int)txtLen * (sizeof(SecChar)); \ 111 _stream->count -= txtLen * (int)(sizeof(SecChar)); \ [all …]
|
/third_party/flutter/skia/tests/ |
D | TextBlobTest.cpp | 161 const size_t txtLen = strlen(txt); in TestBounds() local 162 const int glyphCount = font.countText(txt, txtLen, SkTextEncoding::kUTF8); in TestBounds() 165 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in TestBounds()
|
/third_party/skia/tests/ |
D | TextBlobTest.cpp | 160 const size_t txtLen = strlen(txt); in TestBounds() local 161 const int glyphCount = font.countText(txt, txtLen, SkTextEncoding::kUTF8); in TestBounds() 164 font.textToGlyphs(txt, txtLen, SkTextEncoding::kUTF8, buffer.glyphs, glyphCount); in TestBounds()
|