Home
last modified time | relevance | path

Searched refs:codepoint (Results 1 – 25 of 394) sorted by relevance

12345678910>>...16

/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetCompoundText.java98 private static boolean isASCIIRange(int codepoint) { in isASCIIRange() argument
99 if ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || in isASCIIRange()
100 … (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF)) { in isASCIIRange()
106 private static boolean isIBM915(int codepoint) { in isIBM915() argument
107 if ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116)) { in isIBM915()
113 private static boolean isIBM916(int codepoint) { in isIBM916() argument
114 …if ((codepoint >= 0x05D0 && codepoint <= 0x05EA) || (codepoint == 0x2017) || (codepoint == 0x203E)… in isIBM916()
120 private static boolean isCompoundS3(int codepoint) { in isCompoundS3() argument
121 …if ((codepoint == 0x060C) || (codepoint == 0x061B) || (codepoint == 0x061F) || (codepoint >= 0x062… in isCompoundS3()
122 …(codepoint >= 0x0640 && codepoint <= 0x0652) || (codepoint >= 0x0660 && codepoint <= 0x066D) || (c… in isCompoundS3()
[all …]
/third_party/icu/icu4c/source/common/
Ducnv_ct.cpp104 #define isASCIIRange(codepoint) \ argument
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 … (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \ argument
109 ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116))
111 #define isIBM916(codepoint) \ argument
112 … ((codepoint >= 0x05D0 && codepoint <= 0x05EA) || (codepoint == 0x2017) || (codepoint == 0x203E))
114 #define isCompoundS3(codepoint) \ argument
115 …((codepoint == 0x060C) || (codepoint == 0x061B) || (codepoint == 0x061F) || (codepoint >= 0x0621 &…
116 …(codepoint >= 0x0640 && codepoint <= 0x0652) || (codepoint >= 0x0660 && codepoint <= 0x066D) || (c…
[all …]
/third_party/node/deps/icu-small/source/common/
Ducnv_ct.cpp104 #define isASCIIRange(codepoint) \ argument
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 … (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \ argument
109 ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116))
111 #define isIBM916(codepoint) \ argument
112 … ((codepoint >= 0x05D0 && codepoint <= 0x05EA) || (codepoint == 0x2017) || (codepoint == 0x203E))
114 #define isCompoundS3(codepoint) \ argument
115 …((codepoint == 0x060C) || (codepoint == 0x061B) || (codepoint == 0x061F) || (codepoint >= 0x0621 &…
116 …(codepoint >= 0x0640 && codepoint <= 0x0652) || (codepoint >= 0x0660 && codepoint <= 0x066D) || (c…
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnv_ct.cpp104 #define isASCIIRange(codepoint) \ argument
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 … (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \ argument
109 ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116))
111 #define isIBM916(codepoint) \ argument
112 … ((codepoint >= 0x05D0 && codepoint <= 0x05EA) || (codepoint == 0x2017) || (codepoint == 0x203E))
114 #define isCompoundS3(codepoint) \ argument
115 …((codepoint == 0x060C) || (codepoint == 0x061B) || (codepoint == 0x061F) || (codepoint >= 0x0621 &…
116 …(codepoint >= 0x0640 && codepoint <= 0x0652) || (codepoint >= 0x0660 && codepoint <= 0x066D) || (c…
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_ct.cpp104 #define isASCIIRange(codepoint) \ argument
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 … (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \ argument
109 ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116))
111 #define isIBM916(codepoint) \ argument
112 … ((codepoint >= 0x05D0 && codepoint <= 0x05EA) || (codepoint == 0x2017) || (codepoint == 0x203E))
114 #define isCompoundS3(codepoint) \ argument
115 …((codepoint == 0x060C) || (codepoint == 0x061B) || (codepoint == 0x061F) || (codepoint >= 0x0621 &…
116 …(codepoint >= 0x0640 && codepoint <= 0x0652) || (codepoint >= 0x0660 && codepoint <= 0x066D) || (c…
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-complex-vowel-constraints.cc62 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
65 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
75 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
84 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
87 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
95 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints()
97 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints()
113 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
116 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
119 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
[all …]
Dhb-ot-cmap-table.hh44 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
46 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph()
322 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
336 const HBUINT16 *found = hb_bsearch (codepoint, in get_glyph()
349 gid = codepoint + this->idDelta[i]; in get_glyph()
353 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
368 …HB_INTERNAL static bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t … in get_glyph_func()
369 { return ((const accelerator_t *) obj)->get_glyph (codepoint, glyph); } in get_glyph_func()
383 for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) in collect_unicodes() local
385 hb_codepoint_t gid = (codepoint + this->idDelta[i]) & 0xFFFFu; in collect_unicodes()
[all …]
/third_party/harfbuzz/src/
Dhb-ot-shape-complex-vowel-constraints.cc62 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
65 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
75 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
84 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
87 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
95 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints()
97 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints()
113 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
116 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
119 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
[all …]
Dhb-set.cc221 hb_codepoint_t codepoint) in hb_set_has() argument
223 return set->has (codepoint); in hb_set_has()
237 hb_codepoint_t codepoint) in hb_set_add() argument
239 set->add (codepoint); in hb_set_add()
272 hb_codepoint_t codepoint) in hb_set_del() argument
274 set->del (codepoint); in hb_set_del()
495 hb_codepoint_t *codepoint) in hb_set_next() argument
497 return set->next (codepoint); in hb_set_next()
516 hb_codepoint_t *codepoint) in hb_set_previous() argument
518 return set->previous (codepoint); in hb_set_previous()
Dhb-ot-cmap-table.hh44 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
46 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph()
308 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
322 const HBUINT16 *found = hb_bsearch (codepoint, in get_glyph()
335 gid = codepoint + this->idDelta[i]; in get_glyph()
339 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
354 …HB_INTERNAL static bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t … in get_glyph_func()
355 { return ((const accelerator_t *) obj)->get_glyph (codepoint, glyph); } in get_glyph_func()
369 for (hb_codepoint_t codepoint = start; codepoint <= end; codepoint++) in collect_unicodes() local
371 hb_codepoint_t gid = (codepoint + this->idDelta[i]) & 0xFFFFu; in collect_unicodes()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-complex-vowel-constraints.cc58 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
61 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
71 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
80 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
83 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
91 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints()
93 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints()
111 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
114 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
117 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
[all …]
Dhb-ot-cmap-table.hh44 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
46 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; in get_glyph()
244 bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const in get_glyph()
254 if (codepoint < startCount[mid]) in get_glyph()
256 else if (codepoint > endCount[mid]) in get_glyph()
270 gid = codepoint + this->idDelta[i]; in get_glyph()
274 unsigned int index = rangeOffset / 2 + (codepoint - this->startCount[i]) + i - this->segCount; in get_glyph()
288 …HB_INTERNAL static bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t … in get_glyph_func()
290 return ((const accelerator_t *) obj)->get_glyph (codepoint, glyph); in get_glyph_func()
304 for (hb_codepoint_t codepoint = this->startCount[i]; in collect_unicodes() local
[all …]
Dhb-set.cc203 hb_codepoint_t codepoint) in hb_set_has() argument
205 return set->has (codepoint); in hb_set_has()
219 hb_codepoint_t codepoint) in hb_set_add() argument
221 set->add (codepoint); in hb_set_add()
253 hb_codepoint_t codepoint) in hb_set_del() argument
255 set->del (codepoint); in hb_set_del()
472 hb_codepoint_t *codepoint) in hb_set_next() argument
474 return set->next (codepoint); in hb_set_next()
492 hb_codepoint_t *codepoint) in hb_set_previous() argument
494 return set->previous (codepoint); in hb_set_previous()
/third_party/boost/boost/property_tree/json_parser/detail/
Dnarrow_encoding.hpp112 void feed_codepoint(unsigned codepoint, in feed_codepoint()
114 if (codepoint <= 0x7f) { in feed_codepoint()
115 transcoded_fn(static_cast<char>(codepoint)); in feed_codepoint()
116 } else if (codepoint <= 0x7ff) { in feed_codepoint()
117 transcoded_fn(static_cast<char>(0xc0 | (codepoint >> 6))); in feed_codepoint()
118 transcoded_fn(trail(codepoint)); in feed_codepoint()
119 } else if (codepoint <= 0xffff) { in feed_codepoint()
120 transcoded_fn(static_cast<char>(0xe0 | (codepoint >> 12))); in feed_codepoint()
121 transcoded_fn(trail(codepoint >> 6)); in feed_codepoint()
122 transcoded_fn(trail(codepoint)); in feed_codepoint()
[all …]
Dwide_encoding.hpp95 void feed_codepoint(unsigned codepoint, in feed_codepoint() argument
97 feed_codepoint(codepoint, transcoded_fn, test_utf16()); in feed_codepoint()
155 void feed_codepoint(unsigned codepoint, TranscodedFn transcoded_fn, in feed_codepoint() argument
157 transcoded_fn(static_cast<wchar_t>(codepoint)); in feed_codepoint()
160 void feed_codepoint(unsigned codepoint, TranscodedFn transcoded_fn, in feed_codepoint() argument
162 if (codepoint < 0x10000) { in feed_codepoint()
163 transcoded_fn(static_cast<wchar_t>(codepoint)); in feed_codepoint()
165 codepoint -= 0x10000; in feed_codepoint()
166 transcoded_fn(static_cast<wchar_t>((codepoint >> 10) | 0xd800)); in feed_codepoint()
168 (codepoint & 0x3ff) | 0xdc00)); in feed_codepoint()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DUnicodeSetIterator.java55 public int codepoint; field in UnicodeSetIterator
112 codepoint = codepointEnd = nextElement++; in next()
117 codepoint = codepointEnd = nextElement++; in next()
126 codepoint = IS_STRING; // signal that value is actually a string in next()
156 codepoint = nextElement; in nextRange()
163 codepoint = nextElement; in nextRange()
173 codepoint = IS_STRING; // signal that value is actually a string in nextRange()
214 if (codepoint != IS_STRING) { in getString()
215 return UTF16.valueOf(codepoint); in getString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetIterator.java57 public int codepoint; field in UnicodeSetIterator
119 codepoint = codepointEnd = nextElement++; in next()
124 codepoint = codepointEnd = nextElement++; in next()
133 codepoint = IS_STRING; // signal that value is actually a string in next()
164 codepoint = nextElement; in nextRange()
171 codepoint = nextElement; in nextRange()
181 codepoint = IS_STRING; // signal that value is actually a string in nextRange()
225 if (codepoint != IS_STRING) { in getString()
226 return UTF16.valueOf(codepoint); in getString()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DUnicodeMapIterator.java62 public int codepoint; field in UnicodeMapIterator
123 codepoint = codepointEnd = nextElement++; in next()
130 codepoint = codepointEnd = nextElement++; in next()
137 codepoint = IS_STRING; // signal that value is actually a string in next()
165 codepoint = nextElement; in nextRange()
174 codepoint = nextElement; in nextRange()
182 codepoint = IS_STRING; // signal that value is actually a string in nextRange()
225 if (codepoint != IS_STRING) { in getString()
226 return UTF16.valueOf(codepoint); in getString()
DUnicodeMap.java196 private void _checkFind(int codepoint, int value) { in _checkFind() argument
197 int other = __findIndex(codepoint); in _checkFind()
200 + "\t" + Utility.hex(codepoint) + ": " + value in _checkFind()
205 private int __findIndex(int codepoint) { in __findIndex() argument
207 if (transitions[i] <= codepoint) return i; in __findIndex()
279 private UnicodeMap _put(int codepoint, T value) { in _put() argument
284 if (transitions[lastIndex] <= codepoint in _put()
285 && codepoint < transitions[lastIndex+1]) { in _put()
288 baseIndex = _findIndex(codepoint); in _put()
297 … throw new UnsupportedOperationException("Attempt to reset value for " + Utility.hex(codepoint) in _put()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
DUnicodeMapIterator.java65 public int codepoint; field in UnicodeMapIterator
126 codepoint = codepointEnd = nextElement++; in next()
133 codepoint = codepointEnd = nextElement++; in next()
140 codepoint = IS_STRING; // signal that value is actually a string in next()
168 codepoint = nextElement; in nextRange()
177 codepoint = nextElement; in nextRange()
185 codepoint = IS_STRING; // signal that value is actually a string in nextRange()
228 if (codepoint != IS_STRING) { in getString()
229 return UTF16.valueOf(codepoint); in getString()
DUnicodeMap.java199 private void _checkFind(int codepoint, int value) { in _checkFind() argument
200 int other = __findIndex(codepoint); in _checkFind()
203 + "\t" + Utility.hex(codepoint) + ": " + value in _checkFind()
208 private int __findIndex(int codepoint) { in __findIndex() argument
210 if (transitions[i] <= codepoint) return i; in __findIndex()
282 private UnicodeMap _put(int codepoint, T value) { in _put() argument
287 if (transitions[lastIndex] <= codepoint in _put()
288 && codepoint < transitions[lastIndex+1]) { in _put()
291 baseIndex = _findIndex(codepoint); in _put()
300 … throw new UnsupportedOperationException("Attempt to reset value for " + Utility.hex(codepoint) in _put()
[all …]
/third_party/harfbuzz/test/api/
Dtest-draw.c452 hb_codepoint_t codepoint = 1610; /* ي */ in test_hb_draw_font_kit_glyphs_tests() local
453 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_glyphs_tests()
456 codepoint = hb_buffer_get_glyph_infos (buffer, NULL)[0].codepoint; in test_hb_draw_font_kit_glyphs_tests()
461 g_assert (hb_font_draw_glyph (font, codepoint, funcs, &user_data)); in test_hb_draw_font_kit_glyphs_tests()
545 hb_codepoint_t codepoint = 24396; /* 彌 */ in test_hb_draw_font_kit_variations_tests() local
546 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_variations_tests()
549 codepoint = hb_buffer_get_glyph_infos (buffer, NULL)[0].codepoint; in test_hb_draw_font_kit_variations_tests()
553 g_assert (hb_font_draw_glyph (font, codepoint, funcs, &user_data)); in test_hb_draw_font_kit_variations_tests()
590 hb_codepoint_t codepoint = 24396; /* 彌 */ in test_hb_draw_font_kit_variations_tests() local
591 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_variations_tests()
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-draw.c452 hb_codepoint_t codepoint = 1610; /* ي */ in test_hb_draw_font_kit_glyphs_tests() local
453 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_glyphs_tests()
456 codepoint = hb_buffer_get_glyph_infos (buffer, NULL)[0].codepoint; in test_hb_draw_font_kit_glyphs_tests()
461 g_assert (hb_font_draw_glyph (font, codepoint, funcs, &user_data)); in test_hb_draw_font_kit_glyphs_tests()
545 hb_codepoint_t codepoint = 24396; /* 彌 */ in test_hb_draw_font_kit_variations_tests() local
546 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_variations_tests()
549 codepoint = hb_buffer_get_glyph_infos (buffer, NULL)[0].codepoint; in test_hb_draw_font_kit_variations_tests()
553 g_assert (hb_font_draw_glyph (font, codepoint, funcs, &user_data)); in test_hb_draw_font_kit_variations_tests()
590 hb_codepoint_t codepoint = 24396; /* 彌 */ in test_hb_draw_font_kit_variations_tests() local
591 hb_buffer_add_codepoints (buffer, &codepoint, 1, 0, -1); in test_hb_draw_font_kit_variations_tests()
[all …]
/third_party/json/include/nlohmann/detail/input/
Dlexer.hpp165 int codepoint = 0; in get_codepoint() local
174codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x30u) << factor); in get_codepoint()
178codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x37u) << factor); in get_codepoint()
182codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x57u) << factor); in get_codepoint()
190 JSON_ASSERT(0x0000 <= codepoint && codepoint <= 0xFFFF); in get_codepoint()
191 return codepoint; in get_codepoint()
314 int codepoint = codepoint1; // start with codepoint1 in scan_string() local
340 codepoint = static_cast<int>( in scan_string()
372 JSON_ASSERT(0x00 <= codepoint && codepoint <= 0x10FFFF); in scan_string()
375 if (codepoint < 0x80) in scan_string()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestime.c142 Uint32 codepoint; in unifont_init() local
168 if (!validate_hex((const char *)hexBuffer, codepointHexSize, &codepoint)) in unifont_init()
173 if (codepoint > UNIFONT_MAX_CODEPOINT) in unifont_init()
205 if (codepoint <= UNIFONT_MAX_CODEPOINT) in unifont_init()
207 if (unifontGlyph[codepoint].width > 0) in unifont_init()
208 …, "unifont: Ignoring duplicate codepoint 0x%08x in hex file on line %d.\n", codepoint, lineNumber); in unifont_init()
211 unifontGlyph[codepoint].width = glyphWidth; in unifont_init()
214 … unifontGlyph[codepoint].data[i] = dehex2(hexBuffer[i * 2], hexBuffer[i * 2 + 1]); in unifont_init()
284 Uint32 codepoint = UNIFONT_GLYPHS_IN_TEXTURE * textureID + i; in unifont_load_texture() local
285 if (unifontGlyph[codepoint].width > 0) in unifont_load_texture()
[all …]

12345678910>>...16