/third_party/alsa-utils/alsactl/ |
D | init_utils_string.c | 52 int unichar; in utf8_encoded_to_unichar() local 61 unichar = str[0] & 0x1f; in utf8_encoded_to_unichar() 64 unichar = (int)str[0] & 0x0f; in utf8_encoded_to_unichar() 67 unichar = (int)str[0] & 0x07; in utf8_encoded_to_unichar() 70 unichar = (int)str[0] & 0x03; in utf8_encoded_to_unichar() 73 unichar = (int)str[0] & 0x01; in utf8_encoded_to_unichar() 82 unichar <<= 6; in utf8_encoded_to_unichar() 83 unichar |= (int)str[i] & 0x3f; in utf8_encoded_to_unichar() 86 return unichar; in utf8_encoded_to_unichar() 90 static int utf8_unichar_to_encoded_len(int unichar) in utf8_unichar_to_encoded_len() argument [all …]
|
/third_party/eudev/src/shared/ |
D | utf8.c | 104 int unichar, len, i; in utf8_encoded_to_unichar() local 114 unichar = str[0] & 0x1f; in utf8_encoded_to_unichar() 117 unichar = (int)str[0] & 0x0f; in utf8_encoded_to_unichar() 120 unichar = (int)str[0] & 0x07; in utf8_encoded_to_unichar() 123 unichar = (int)str[0] & 0x03; in utf8_encoded_to_unichar() 126 unichar = (int)str[0] & 0x01; in utf8_encoded_to_unichar() 135 unichar <<= 6; in utf8_encoded_to_unichar() 136 unichar |= (int)str[i] & 0x3f; in utf8_encoded_to_unichar() 139 return unichar; in utf8_encoded_to_unichar() 270 static int utf8_unichar_to_encoded_len(int unichar) { in utf8_unichar_to_encoded_len() argument [all …]
|
/third_party/e2fsprogs/util/ |
D | mkutf8data.c | 307 unsigned int unichar = 0; in utf8decode() local 310 unichar = *s; in utf8decode() 312 unichar = *s++ & 0x1F; in utf8decode() 313 unichar <<= UTF8_V_SHIFT; in utf8decode() 314 unichar |= *s & 0x3F; in utf8decode() 316 unichar = *s++ & 0x0F; in utf8decode() 317 unichar <<= UTF8_V_SHIFT; in utf8decode() 318 unichar |= *s++ & 0x3F; in utf8decode() 319 unichar <<= UTF8_V_SHIFT; in utf8decode() 320 unichar |= *s & 0x3F; in utf8decode() [all …]
|
/third_party/skia/samplecode/ |
D | SampleStrokeVerb.cpp | 165 bool StrokeVerbView::onChar(SkUnichar unichar) { in onChar() argument 166 if (unichar >= '1' && unichar <= '4') { in onChar() 167 fVerbType = VerbType(unichar - '1'); in onChar() 178 if (unichar == '+') { in onChar() 183 if (unichar == '+' || unichar == '=') { in onChar() 188 if (unichar == '-') { in onChar() 193 if (unichar == '_') { in onChar() 199 if (unichar == 'D') { in onChar() 208 if (unichar == 'J') { in onChar() 213 if (unichar == 'C') { in onChar()
|
D | SamplePathTessellators.cpp | 325 bool SamplePathTessellators::onChar(SkUnichar unichar) { in onChar() argument 326 switch (unichar) { in onChar() 355 fMode = (Mode)(unichar - '1'); in onChar()
|
D | SampleFitCubicToCircle.cpp | 230 bool SampleFitCubicToCircle::onChar(SkUnichar unichar) { in onChar() argument 231 if (unichar == 'E') { in onChar()
|
/third_party/skia/src/utils/ |
D | SkCharToGlyphCache.cpp | 96 int SkCharToGlyphCache::findGlyphIndex(SkUnichar unichar) const { in findGlyphIndex() 100 index = find_simple(fK32.begin(), count, unichar); in findGlyphIndex() 102 index = find_with_slope(fK32.begin(), count, unichar, fDenom); in findGlyphIndex() 110 void SkCharToGlyphCache::insertCharAndGlyph(int index, SkUnichar unichar, SkGlyphID glyph) { in insertCharAndGlyph() argument 113 SkASSERT(unichar < fK32[index]); in insertCharAndGlyph() 115 *fK32.insert(index) = unichar; in insertCharAndGlyph()
|
D | SkCharToGlyphCache.h | 47 void addCharAndGlyph(SkUnichar unichar, SkGlyphID glyph) { in addCharAndGlyph() argument 48 int index = this->findGlyphIndex(unichar); in addCharAndGlyph() 52 this->insertCharAndGlyph(~index, unichar, glyph); in addCharAndGlyph()
|
/third_party/flutter/skia/src/utils/ |
D | SkCharToGlyphCache.cpp | 96 int SkCharToGlyphCache::findGlyphIndex(SkUnichar unichar) const { in findGlyphIndex() 100 index = find_simple(fK32.begin(), count, unichar); in findGlyphIndex() 102 index = find_with_slope(fK32.begin(), count, unichar, fDenom); in findGlyphIndex() 110 void SkCharToGlyphCache::insertCharAndGlyph(int index, SkUnichar unichar, SkGlyphID glyph) { in insertCharAndGlyph() argument 113 SkASSERT(unichar < fK32[index]); in insertCharAndGlyph() 115 *fK32.insert(index) = unichar; in insertCharAndGlyph()
|
D | SkCharToGlyphCache.h | 47 void addCharAndGlyph(SkUnichar unichar, SkGlyphID glyph) { in addCharAndGlyph() argument 48 int index = this->findGlyphIndex(unichar); in addCharAndGlyph() 52 this->insertCharAndGlyph(~index, unichar, glyph); in addCharAndGlyph()
|
/third_party/flutter/skia/samplecode/ |
D | SampleCCPRGeometry.cpp | 439 bool CCPRGeometryView::onChar(SkUnichar unichar) { in onChar() argument 440 if (unichar >= '1' && unichar <= '4') { in onChar() 441 fPrimitiveType = PrimitiveType(unichar - '1'); in onChar() 455 if (unichar == '+') { in onChar() 460 if (unichar == '+' || unichar == '=') { in onChar() 465 if (unichar == '-') { in onChar() 470 if (unichar == '_') { in onChar() 476 if (unichar == 'D') { in onChar() 485 if (unichar == 'S') { in onChar()
|
/third_party/skia/modules/skunicode/include/ |
D | SkUnicode.h | 183 SkUnichar unichar = SkUTF::NextUTF8(¤t, end); in forEachCodepoint() local 184 if (unichar < 0) unichar = 0xFFFD; in forEachCodepoint() 187 size_t count = SkUTF::ToUTF16(unichar, buffer); in forEachCodepoint() 188 callback(unichar, before, after, count); in forEachCodepoint() 198 … SkUnichar unichar = SkUTF::NextUTF16((const uint16_t**)¤t, (const uint16_t*)end); in forEachCodepoint() local 200 callback(unichar, before, after); in forEachCodepoint()
|
/third_party/boost/libs/spirit/test/karma/ |
D | regression_unicode_char.cpp | 57 unicode_char_grammar_<unicode_back_insert_iterator_type> unichar; in main() local 59 BOOST_TEST(test(expected, unichar, unicodeCharacter)); in main()
|
/third_party/flutter/skia/gm/ |
D | coloremoji_blendmodes.cpp | 148 SkUnichar unichar = SkUTF::NextUTF8(&text, text + strlen(text)); in onDraw() local 149 SkASSERT(unichar >= 0); in onDraw() 150 canvas->drawSimpleText(&unichar, 4, SkTextEncoding::kUTF32, in onDraw()
|
/third_party/skia/gm/ |
D | coloremoji_blendmodes.cpp | 148 SkUnichar unichar = SkUTF::NextUTF8(&text, text + strlen(text)); in onDraw() local 149 SkASSERT(unichar >= 0); in onDraw() 150 canvas->drawSimpleText(&unichar, 4, SkTextEncoding::kUTF32, in onDraw()
|
/third_party/skia/experimental/sktext/editor/ |
D | Texts.h | 172 void insertElement(SkUnichar unichar, TextIndex toInsert) { in insertElement() argument 175 text.append(1, (unsigned)unichar); in insertElement() 180 void replaceElement(SkUnichar unichar, TextRange toReplace) { in replaceElement() argument 183 text.append(1, (unsigned)unichar); in replaceElement()
|
D | Editor.cpp | 178 bool Editor::insertCodepoint(SkUnichar unichar) { in insertCodepoint() argument 183 fEditableText->insertElement(unichar, position.fTextRange.fStart); in insertCodepoint() 185 fEditableText->replaceElement(unichar, position.fTextRange); in insertCodepoint()
|
D | Editor.h | 49 bool insertCodepoint(SkUnichar unichar);
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_allegro5.cpp | 312 if (ev->keyboard.unichar > 0 && ev->keyboard.unichar < 0x10000) in ImGui_ImplAllegro5_ProcessEvent() 313 io.AddInputCharacter((unsigned short)ev->keyboard.unichar); in ImGui_ImplAllegro5_ProcessEvent()
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-shape-normalize.cc | 98 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) in output_char() argument 101 buffer->output_glyph (unichar); /* This is very confusing indeed. */ in output_char()
|
D | hb-font.hh | 600 hb_codepoint_t unichar; in glyph_from_string() local 602 hb_codepoint_parse (s + 3, len - 3, 16, &unichar) && in glyph_from_string() 603 get_nominal_glyph (unichar, glyph)) in glyph_from_string()
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | Run.cpp | 216 auto unichar = utf8_next(&ch, span.end()); in setIsWhiteSpaces() local 217 if (!u_isWhitespace(unichar)) { in setIsWhiteSpaces()
|
/third_party/harfbuzz/src/ |
D | hb-font.hh | 603 hb_codepoint_t unichar; in glyph_from_string() local 605 hb_codepoint_parse (s + 3, len - 3, 16, &unichar) && in glyph_from_string() 606 get_nominal_glyph (unichar, glyph)) in glyph_from_string()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-font.hh | 605 hb_codepoint_t unichar; in glyph_from_string() local 607 hb_codepoint_parse (s + 3, len - 3, 16, &unichar) && in glyph_from_string() 608 get_nominal_glyph (unichar, glyph)) in glyph_from_string()
|
D | hb-ot-shape-normalize.cc | 102 output_char (hb_buffer_t *buffer, hb_codepoint_t unichar, hb_codepoint_t glyph) in output_char() argument 106 (void) buffer->output_glyph (unichar); in output_char()
|