HomeSort by relevance Sort by last modified time
    Searched refs:codepoint (Results 51 - 75 of 207) sorted by null

1 23 4 5 6 7 8 9

  /frameworks/base/core/jni/android/graphics/
HarfBuzzNGFaceSkia.cpp 57 static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* width, hb_glyph_extents_t* extents)
59 ALOG_ASSERT(codepoint <= 0xFFFF);
64 uint16_t glyph = codepoint;
68 ALOGD("returned glyph for %i: width = %f", codepoint, skWidth);
  /system/core/libutils/
Unicode.cpp 467 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte)
469 *codePoint <<= 6;
470 *codePoint |= 0x3F & byte;
555 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen);
556 if (codepoint > 0xFFFF) u16measuredLen++; // this will be a surrogate pair in utf16
579 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len);
581 // Convert the UTF32 codepoint to one or more UTF16 codepoints
582 if (codepoint <= 0xFFFF) {
584 *u16cur++ = (char16_t) codepoint;
587 codepoint = codepoint - 0x10000
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-thai.cc 229 thai_mark_type_t mt = get_mark_type (info[i].codepoint);
232 thai_consonant_type_t ct = get_consonant_type (info[i].codepoint);
248 info[base].codepoint = thai_pua_shape (info[base].codepoint, action, font);
250 info[i].codepoint = thai_pua_shape (info[i].codepoint, action, font);
319 hb_codepoint_t u = buffer->cur().codepoint;
338 while (start > 0 && IS_TONE_MARK (buffer->out_info[start - 1].codepoint))
hb-set-private.hh 266 inline bool next (hb_codepoint_t *codepoint) const
268 if (unlikely (*codepoint == INVALID)) {
271 *codepoint = i;
274 *codepoint = INVALID;
278 for (hb_codepoint_t i = *codepoint + 1; i < MAX_G + 1; i++)
280 *codepoint = i;
283 *codepoint = INVALID;
hb-buffer-serialize.cc 130 hb_font_glyph_to_string (font, info[i].codepoint, g, sizeof (g));
140 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint));
157 hb_font_get_glyph_extents(font, info[i].codepoint, &extents);
208 hb_font_glyph_to_string (font, info[i].codepoint, p, 128);
212 p += MAX (0, snprintf (p, ARRAY_LENGTH (b) - (p - b), "%u", info[i].codepoint));
232 hb_font_get_glyph_extents(font, info[i].codepoint, &extents);
hb-ot-shape-complex-hangul.cc 193 hb_codepoint_t u = buffer->cur().codepoint;
247 hb_codepoint_t v = buffer->cur(+1).codepoint;
255 t = buffer->cur(+2).codepoint;
312 isCombiningT (buffer->cur(+1).codepoint))
315 unsigned int new_tindex = buffer->cur(+1).codepoint - TBase;
333 isT (buffer->cur(+1).codepoint)))
hb-ot-shape.cc 247 dottedcircle.codepoint = 0x25CCu;
340 hb_codepoint_t codepoint = unicode->mirroring (info[i].codepoint); local
341 if (likely (codepoint == info[i].codepoint || !c->font->has_glyph (codepoint)))
344 info[i].codepoint = codepoint;
362 if (info[i].codepoint == 0x2044u) /* FRACTION SLASH */
465 info[i].codepoint = space
    [all...]
hb-buffer-deserialize-json.rl 58 &info.codepoint))
62 action parse_gid { if (!parse_uint (tok, p, &info.codepoint)) return false; }
sample.py 52 gid = info.codepoint
  /external/icu/icu4c/source/test/cintltst/
sprpdata.c 37 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
118 * the source codepoint is copied to the destination
147 compareMapping(UStringPrepProfile* data, uint32_t codepoint, uint32_t* mapping,int32_t mapLength,
161 UTRIE_GET16(&trie, codepoint, result);
167 log_err( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
219 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
220 log_err("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
citertst.c 222 UChar codepoint; local
232 for (codepoint = 1; codepoint < 0xFFFE;)
236 while (codepoint % 0xFF != 0)
238 if (u_isdefined(codepoint))
239 *(test ++) = codepoint;
240 codepoint ++;
243 if (u_isdefined(codepoint))
244 *(test ++) = codepoint;
246 if (codepoint != 0xFFFF
288 UChar codepoint; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
PrettyPrinter.java 126 if (it.codepoint == UnicodeSetIterator.IS_STRING) {
129 for (int i = it.codepoint; i <= it.codepointEnd; ++i) {
142 appendUnicodeSetItem(it.codepoint); // we know that these are only codepoints, not strings, so this is safe
203 private void addSpaceAsNeededBefore(int codepoint) {
204 addSpaceAsNeededBefore(UTF16.valueOf(codepoint));
238 PrettyPrinter appendQuoted(int codePoint) {
239 if (toQuote.contains(codePoint)) {
241 target.append(quoter.transform(UTF16.valueOf(codePoint)));
244 if (codePoint > 0xFFFF) {
246 target.append(Utility.hex(codePoint,8))
    [all...]
UnicodeProperty.java 201 public String getValue(int codepoint) {
202 if (DEBUG && CHECK_VALUE == codepoint && CHECK_NAME.equals(getName())) {
203 String value = _getValue(codepoint);
204 System.out.println(getName() + "(" + Utility.hex(codepoint) + "):"
208 return _getValue(codepoint);
211 // public String getValue(int codepoint, boolean isShort) {
212 // return getValue(codepoint);
242 protected abstract String _getValue(int codepoint);
263 public final String getValue(int codepoint, boolean getShortest) {
264 String result = getValue(codepoint);
    [all...]
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
PrettyPrinter.java 125 if (it.codepoint == UnicodeSetIterator.IS_STRING) {
128 for (int i = it.codepoint; i <= it.codepointEnd; ++i) {
141 appendUnicodeSetItem(it.codepoint); // we know that these are only codepoints, not strings, so this is safe
202 private void addSpaceAsNeededBefore(int codepoint) {
203 addSpaceAsNeededBefore(UTF16.valueOf(codepoint));
237 PrettyPrinter appendQuoted(int codePoint) {
238 if (toQuote.contains(codePoint)) {
240 target.append(quoter.transform(UTF16.valueOf(codePoint)));
243 if (codePoint > 0xFFFF) {
245 target.append(Utility.hex(codePoint,8))
    [all...]
  /external/owasp/sanitizer/src/tests/org/owasp/html/
EncodingTest.java 204 for (int codepoint : new int[] {
207 Encoding.appendNumericEntity(codepoint, sb);
210 cps.appendCodePoint(codepoint).append(' ');
  /external/icu/icu4c/source/test/intltest/
testidn.cpp 53 compareMapping(uint32_t codepoint, uint32_t* mapping, int32_t mapLength,
228 * the source codepoint is copied to the destination
327 compareMapping(uint32_t codepoint, uint32_t* mapping,int32_t mapLength,
330 UTRIE_GET16(idnTrie,codepoint, result);
342 pTestIDNA->errln( "Did not get the assigned type for codepoint 0x%08X. Expected: %i Got: %i\n",codepoint, USPREP_MAP, type);
395 if(retType!=USPREP_DELETE && (codepoint-delta) != (uint16_t)mapping[0]){
396 pTestIDNA->errln("Did not get the expected result. Expected: 0x%04X Got: 0x%04X \n", mapping[0],(codepoint-delta));
itercoll.cpp 51 UChar codepoint; local
54 for (codepoint = 1; codepoint < 0xFFFE;)
58 while (codepoint % 0xFF != 0)
60 if (u_isdefined(codepoint))
61 source += codepoint;
62 codepoint ++;
65 if (u_isdefined(codepoint))
66 source += codepoint;
68 if (codepoint != 0xFFFF
    [all...]
  /frameworks/base/libs/hwui/hwui/
MinikinUtils.cpp 72 bool MinikinUtils::hasVariationSelector(Typeface* typeface, uint32_t codepoint, uint32_t vs) {
74 return resolvedFace->fFontCollection->hasVariationSelector(codepoint, vs);
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
UnicodeProperty.java 200 public String getValue(int codepoint) {
201 if (DEBUG && CHECK_VALUE == codepoint && CHECK_NAME.equals(getName())) {
202 String value = _getValue(codepoint);
203 System.out.println(getName() + "(" + Utility.hex(codepoint) + "):"
207 return _getValue(codepoint);
210 // public String getValue(int codepoint, boolean isShort) {
211 // return getValue(codepoint);
241 protected abstract String _getValue(int codepoint);
262 public final String getValue(int codepoint, boolean getShortest) {
263 String result = getValue(codepoint);
    [all...]
  /external/harfbuzz_ng/test/api/
test-buffer.c 213 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]);
221 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]);
225 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]);
227 /* reverse_clusters works same as reverse for now since each codepoint is
232 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]);
236 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]);
245 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[len-i]);
249 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i]);
261 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+j]);
266 g_assert_cmphex (glyphs[i].codepoint, ==, utf32[1+i])
    [all...]
test-shape.c 126 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]);
173 g_assert_cmphex (glyphs[i].codepoint, ==, output_glyphs[i]);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
WriteIndicCharts.java 322 String cp =UTF16.valueOf(iter.codepoint);
325 String[] arr = (String[])table.get(UTF16.valueOf(iter.codepoint&0xFF));
327 arr[index] = UTF16.valueOf(start+(((byte)iter.codepoint)&0xFF))+":UNASSIGNED";
332 arr[index] = UTF16.valueOf(start+(((byte)iter.codepoint)&0xFF))+":CONSUMED";
338 arr[index] = UTF16.valueOf(start+(((byte)iter.codepoint)&0xFF))+":CONSUMED";
349 String cp = UTF16.valueOf(tIter.codepoint);
353 String[] arr = (String[])table.get(getKey(tIter.codepoint));
  /external/libxml2/
xmlregexp.c 193 int codepoint; member in struct:_xmlRegAtom
360 static int xmlRegCheckCharacter(xmlRegAtomPtr atom, int codepoint);
361 static int xmlRegCheckCharacterRange(xmlRegAtomType type, int codepoint,
707 * @start: the start codepoint
708 * @end: the end codepoint
1101 fprintf(output, "char %c\n", atom->codepoint);
1144 fprintf(output, "char %c ", trans->atom->codepoint);
2115 int codepoint; local
3192 int ret, codepoint = 0, len, deter; local
5252 int codepoint, len; local
    [all...]
  /external/libvterm/src/
vterm_internal.h 206 int vterm_unicode_width(int codepoint);
207 int vterm_unicode_is_combining(int codepoint);
  /frameworks/base/core/tests/coretests/src/android/graphics/
PaintTest.java 113 for (int codepoint : codepoints) {
114 sb.append(Character.toChars(codepoint));

Completed in 2024 milliseconds

1 23 4 5 6 7 8 9