/external/skia/modules/skshaper/include/ |
D | SkShaper.h | 104 TrivialRunIterator(size_t utf8Bytes) : fEnd(utf8Bytes), fAtEnd(fEnd == 0) {} in TrivialRunIterator() argument 115 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, 118 MakeFontMgrRunIterator(const char* utf8, size_t utf8Bytes, 124 TrivialFontRunIterator(const SkFont& font, size_t utf8Bytes) in TrivialFontRunIterator() argument 125 : TrivialRunIterator(utf8Bytes), fFont(font) {} in TrivialFontRunIterator() 132 MakeBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel); 135 …MakeSkUnicodeBidiRunIterator(SkUnicode* unicode, const char* utf8, size_t utf8Bytes, uint8_t bidiL… 137 MakeIcuBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel); 141 TrivialBiDiRunIterator(uint8_t bidiLevel, size_t utf8Bytes) in TrivialBiDiRunIterator() argument 142 : TrivialRunIterator(utf8Bytes), fBidiLevel(bidiLevel) {} in TrivialBiDiRunIterator() [all …]
|
/external/skia/modules/skshaper/src/ |
D | SkShaper_primitive.cpp | 19 void shape(const char* utf8, size_t utf8Bytes, 25 void shape(const char* utf8, size_t utf8Bytes, 33 void shape(const char* utf8, size_t utf8Bytes, 125 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument 146 return this->shape(utf8, utf8Bytes, skfont, skbidi, width, handler); in shape() 149 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument 160 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape() 164 void SkShaperPrimitive::shape(const char* utf8, size_t utf8Bytes, in shape() argument 171 int glyphCount = font.countText(utf8, utf8Bytes, SkTextEncoding::kUTF8); in shape() 177 font.textToGlyphs(utf8, utf8Bytes, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in shape() [all …]
|
D | SkShaper.cpp | 46 SkShaper::MakeBiDiRunIterator(const char* utf8, size_t utf8Bytes, uint8_t bidiLevel) { in MakeBiDiRunIterator() argument 55 utf8Bytes, in MakeBiDiRunIterator() 61 return std::make_unique<SkShaper::TrivialBiDiRunIterator>(bidiLevel, utf8Bytes); in MakeBiDiRunIterator() 65 SkShaper::MakeScriptRunIterator(const char* utf8, size_t utf8Bytes, SkFourByteTag scriptTag) { in MakeScriptRunIterator() argument 72 SkShaper::MakeSkUnicodeHbScriptRunIterator(unicode.get(), utf8, utf8Bytes); in MakeScriptRunIterator() 77 return std::make_unique<SkShaper::TrivialScriptRunIterator>(scriptTag, utf8Bytes); in MakeScriptRunIterator() 91 FontMgrRunIterator(const char* utf8, size_t utf8Bytes, in FontMgrRunIterator() argument 95 : fCurrent(utf8), fBegin(utf8), fEnd(fCurrent + utf8Bytes) in FontMgrRunIterator() 107 FontMgrRunIterator(const char* utf8, size_t utf8Bytes, in FontMgrRunIterator() argument 109 : FontMgrRunIterator(utf8, utf8Bytes, font, std::move(fallbackMgr), in FontMgrRunIterator() [all …]
|
D | SkShaper_coretext.cpp | 34 void shape(const char* utf8, size_t utf8Bytes, 40 void shape(const char* utf8, size_t utf8Bytes, 48 void shape(const char* utf8, size_t utf8Bytes, 62 void SkShaper_CoreText::shape(const char* utf8, size_t utf8Bytes, in shape() argument 83 return this->shape(utf8, utf8Bytes, skfont, skbidi, width, handler); in shape() 86 void SkShaper_CoreText::shape(const char* utf8, size_t utf8Bytes, in shape() argument 97 return this->shape(utf8, utf8Bytes, font.currentFont(), (bidi.currentLevel() % 2) == 0, in shape() 199 void SkShaper_CoreText::shape(const char* utf8, size_t utf8Bytes, in shape() argument 205 CFStringCreateWithBytes(kCFAllocatorDefault, (const uint8_t*)utf8, utf8Bytes, in shape() 209 if (!utf8IndicesMap.setUTF8(utf8, utf8Bytes)) { in shape()
|
D | SkShaper_harfbuzz.cpp | 384 SkUnicodeHbScriptRunIterator(SkUnicodeScript script, const char* utf8, size_t utf8Bytes) in SkUnicodeHbScriptRunIterator() argument 386 , fCurrent(utf8), fBegin(utf8), fEnd(fCurrent + utf8Bytes) in SkUnicodeHbScriptRunIterator() 655 ShapedRun shape(const char* utf8, size_t utf8Bytes, 668 void shape(const char* utf8, size_t utf8Bytes, 691 virtual void wrap(char const * const utf8, size_t utf8Bytes, 706 void wrap(char const * const utf8, size_t utf8Bytes, 721 void wrap(char const * const utf8, size_t utf8Bytes, 736 void wrap(char const * const utf8, size_t utf8Bytes, 786 void ShaperHarfBuzz::shape(const char* utf8, size_t utf8Bytes, in shape() argument 795 utf8Bytes, in shape() [all …]
|
/external/mdnsresponder/mDNSWindows/DLL.NET/ |
D | PString.h | 34 Byte utf8Bytes[] = Encoding::Convert(Encoding::Unicode, Encoding::UTF8, unicodeBytes); in PString() local 35 m_p = Marshal::AllocHGlobal(utf8Bytes->Length + 1); in PString() 37 Byte __pin * p = &utf8Bytes[0]; in PString() 39 memcpy(hBytes, p, utf8Bytes->Length); in PString() 40 hBytes[utf8Bytes->Length] = '\0'; in PString()
|
/external/skia/samplecode/ |
D | SampleTextBox.cpp | 66 size_t utf8Bytes = sizeof(gText) - 1; in drawTest() local 69 SkShaper::MakeBiDiRunIterator(utf8, utf8Bytes, 0xfe)); in drawTest() 75 SkShaper::MakeStdLanguageRunIterator(utf8, utf8Bytes)); in drawTest() 82 SkShaper::MakeScriptRunIterator(utf8, utf8Bytes, undeterminedScript)); in drawTest() 88 SkShaper::MakeFontMgrRunIterator(utf8, utf8Bytes, srcFont, SkFontMgr::RefDefault(), in drawTest() 94 fShaper->shape(utf8, utf8Bytes, *font, *bidi, *script, *language, w - margin, &builder); in drawTest()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/ |
D | TestFormatDetection.java | 31 POJO pojo = detecting.readValue(utf8Bytes("{\"x\":1}")); in testSimpleWithJSON() 41 readValues(utf8Bytes(aposToQuotes("{'x':1}\n{'x':2,'y':5}"))); in testSequenceWithJSON() 59 readValues(utf8Bytes(aposToQuotes("{'x':1}\n{'x':2,'y':5}"))); in testSequenceWithJSON() 80 detecting.readValue(utf8Bytes("<POJO><x>1</x></POJO>")); in testInvalid()
|
/external/skqp/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 134 static SkTLazy<BiDiRunIterator> Make(const char* utf8, size_t utf8Bytes, UBiDiLevel level) { in Make() argument 139 if (!SkTFitsIn<int32_t>(utf8Bytes)) { in Make() 148 u_strFromUTF8(nullptr, 0, &utf16Units, utf8, utf8Bytes, &status); in Make() 151 u_strFromUTF8(utf16.get(), utf16Units, nullptr, utf8, utf8Bytes, &status); in Make() 172 ret.init(utf8, utf8 + utf8Bytes, std::move(bidi)); in Make() 218 static SkTLazy<ScriptRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make() argument 222 ret.init(utf8, utf8Bytes, hbUnicode); in Make() 225 ScriptRunIterator(const char* utf8, size_t utf8Bytes, hb_unicode_funcs_t* hbUnicode) in ScriptRunIterator() argument 226 : fCurrent(utf8), fEnd(fCurrent + utf8Bytes) in ScriptRunIterator() 272 static SkTLazy<FontRunIterator> Make(const char* utf8, size_t utf8Bytes, in Make() argument [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoerceToBooleanTest.java | 70 p = r.readValue(utf8Bytes(DOC_WITH_0)); in testToBooleanCoercionSuccessPojo() 75 p = r.readValue(utf8Bytes(DOC_WITH_1)); in testToBooleanCoercionSuccessPojo() 84 assertEquals(Boolean.FALSE, br.readValue(utf8Bytes(" 0"))); in testToBooleanCoercionSuccessRoot() 86 assertEquals(Boolean.TRUE, br.readValue(utf8Bytes(" -1"))); in testToBooleanCoercionSuccessRoot() 93 ab = atomicR.readValue(utf8Bytes(" 0")); in testToBooleanCoercionSuccessRoot() 98 ab = atomicR.readValue(utf8Bytes(" 111")); in testToBooleanCoercionSuccessRoot() 229 r.readValue(utf8Bytes(doc)); in _verifyBooleanCoerceFail()
|
D | CoerceJDKScalarsTest.java | 263 final byte[] inputBytes = utf8Bytes(input); in _verifyRootStringCoerceFail() 300 r.readValue(utf8Bytes(doc)); in _verifyBooleanCoerceFail()
|
/external/clang/test/ARCMT/ |
D | objcmt-boxing.m.result | 104 const char *utf8Bytes = "blah"; 105 NSString *string1 = @(utf8Bytes); 106 NSString *string2 = @(utf8Bytes);
|
D | objcmt-boxing.m | 104 const char *utf8Bytes = "blah"; 105 NSString *string1 = [NSString stringWithUTF8String:utf8Bytes]; 106 NSString *string2 = [[NSString alloc] initWithUTF8String:utf8Bytes];
|
/external/llvm-project/clang/test/ARCMT/ |
D | objcmt-boxing.m.result | 104 const char *utf8Bytes = "blah"; 105 NSString *string1 = @(utf8Bytes); 106 NSString *string2 = @(utf8Bytes);
|
D | objcmt-boxing.m | 104 const char *utf8Bytes = "blah"; 105 NSString *string1 = [NSString stringWithUTF8String:utf8Bytes]; 106 NSString *string2 = [[NSString alloc] initWithUTF8String:utf8Bytes];
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/ |
D | AsyncLocationTest.java | 17 byte[] input = utf8Bytes("[[["); in testLocationOffsets()
|
D | AsyncTokenFilterTest.java | 16 private final static byte[] INPUT_BYTES = utf8Bytes(INPUT_STRING);
|
D | AsyncConcurrencyTest.java | 26 private final static byte[] JSON_DOC = utf8Bytes(String.format(
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | BaseMapTest.java | 368 protected byte[] utf8Bytes(String str) { in utf8Bytes() method in BaseMapTest
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/ |
D | BaseTest.java | 557 protected static byte[] utf8Bytes(String str) { in utf8Bytes() method in BaseTest
|