Searched refs:codepoint (Results 1 - 25 of 125) sorted by relevance

12345

/external/libvterm/src/
H A Dutf8.h5 static inline unsigned int utf8_seqlen(long codepoint) argument
7 if(codepoint < 0x0000080) return 1;
8 if(codepoint < 0x0000800) return 2;
9 if(codepoint < 0x0010000) return 3;
10 if(codepoint < 0x0200000) return 4;
11 if(codepoint < 0x4000000) return 5;
15 static int fill_utf8(long codepoint, char *str) argument
17 int nbytes = utf8_seqlen(codepoint);
25 str[b] = 0x80 | (codepoint & 0x3f);
26 codepoint >>
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Ducnv_ct.c104 #define isASCIIRange(codepoint) \
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \
109 ((codepoint >
193 getState(int codepoint) argument
[all...]
H A Dusetiter.cpp41 * if so, if codepoint == IS_STRING, the value is a string in the string field
42 * else the value is a single code point in the codepoint field.
49 codepoint = codepointEnd = nextElement++;
55 codepoint = codepointEnd = nextElement++;
61 codepoint = (UChar32)IS_STRING; // signal that value is actually a string
68 * if so, if codepoint == IS_STRING, the value is a string in the string field
69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields.
81 codepoint = nextElement;
88 codepoint = nextElement;
94 codepoint
[all...]
/external/icu/icu4c/source/common/
H A Ducnv_ct.c104 #define isASCIIRange(codepoint) \
105 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
106 (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
108 #define isIBM915(codepoint) \
109 ((codepoint >
193 getState(int codepoint) argument
[all...]
H A Dusetiter.cpp41 * if so, if codepoint == IS_STRING, the value is a string in the string field
42 * else the value is a single code point in the codepoint field.
49 codepoint = codepointEnd = nextElement++;
55 codepoint = codepointEnd = nextElement++;
61 codepoint = (UChar32)IS_STRING; // signal that value is actually a string
68 * if so, if codepoint == IS_STRING, the value is a string in the string field
69 * else the value is a range of codepoints in the <codepoint, codepointEnd> fields.
81 codepoint = nextElement;
88 codepoint = nextElement;
94 codepoint
[all...]
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DBindingsHelper.java80 int codepoint = c;
84 codepoint = Character.toCodePoint(c, c2);
87 if (codepoint > 0x7f) {
89 if (codepoint > 0x7ff) {
91 if (codepoint > 0xffff) {
93 if (codepoint > 0x1fffff) {
95 if (codepoint > 0x3ffffff) {
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlEntities.java103 int codepoint = -1;
110 codepoint = 0;
119 codepoint = (codepoint << 4) | decDig;
121 codepoint = -1;
129 codepoint = (codepoint << 4) | (hexDig + 9);
131 codepoint = -1;
136 codepoint = -1;
140 if (codepoint > Characte
[all...]
H A DEncoding.java57 int codepoint = (int) endAndCodepoint;
58 sb.append(s, pos, amp).appendCodePoint(codepoint);
185 int codepoint = Character.toCodePoint(ch, next);
187 appendNumericEntity(codepoint, output);
212 static void appendNumericEntity(int codepoint, Appendable output) argument
214 if (codepoint < 100) {
217 if (codepoint < 10) {
218 output.append((char) ('0' + codepoint));
220 output.append((char) ('0' + (codepoint / 10)));
221 output.append((char) ('0' + (codepoint
[all...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
H A Dunicodestring.h40 // Constructs a new unicode string containing the provided codepoint.
41 explicit UnicodeString(char32 codepoint) : cached_index_(-1) { argument
42 append(codepoint);
54 inline void append(char32 codepoint) { argument
56 text_.push_back(codepoint);
69 // Returns the index of the provided codepoint or -1 if not found.
70 int indexOf(char32 codepoint) const;
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-cmap-table.hh45 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0;
71 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
95 if (codepoint < startCount[mid])
97 else if (codepoint > endCount[mid])
111 gid = codepoint + idDelta[i];
115 unsigned int index = rangeOffset / 2 + (codepoint - startCount[i]) + i - segCount;
179 int cmp (hb_codepoint_t codepoint) const
181 if (codepoint < startCharCod
203 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
236 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
327 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph, const void *base) const argument
369 get_glyph_variant(hb_codepoint_t codepoint, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) const argument
396 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
411 get_glyph_variant(hb_codepoint_t codepoint, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) const argument
[all...]
H A Dhb-fallback-shape.cc120 if (has_space && unicode->is_default_ignorable (info[i].codepoint)) {
121 info[i].codepoint = space;
126 font->get_glyph (info[i].codepoint, 0, &info[i].codepoint);
127 font->get_glyph_advance_for_direction (info[i].codepoint,
131 font->subtract_glyph_origin_for_direction (info[i].codepoint,
H A Dhb-set.cc191 * @codepoint:
201 hb_codepoint_t codepoint)
203 return set->has (codepoint);
209 * @codepoint:
217 hb_codepoint_t codepoint)
219 set->add (codepoint);
243 * @codepoint:
251 hb_codepoint_t codepoint)
253 set->del (codepoint);
437 * @codepoint
200 hb_set_has(const hb_set_t *set, hb_codepoint_t codepoint) argument
216 hb_set_add(hb_set_t *set, hb_codepoint_t codepoint) argument
250 hb_set_del(hb_set_t *set, hb_codepoint_t codepoint) argument
446 hb_set_next(const hb_set_t *set, hb_codepoint_t *codepoint) argument
[all...]
H A Dhb-set.h80 hb_codepoint_t codepoint);
82 /* Right now limited to 16-bit integers. Eventually will do full codepoint range, sans -1
86 hb_codepoint_t codepoint);
95 hb_codepoint_t codepoint);
143 hb_codepoint_t *codepoint);
H A Dhb-ot-shape-normalize.cc106 font->get_glyph (info.codepoint, 0, &info.glyph_index());
203 if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
205 else if (decompose (c, shortest, buffer->cur().codepoint))
207 else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
209 else if (decompose_compatibility (c, buffer->cur().codepoint))
222 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
224 if (font->get_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index()))
226 buffer->replace_glyphs (2, 1, &buffer->cur().codepoint);
237 while (buffer->idx < end && unlikely (buffer->unicode->is_variation_selector (buffer->cur().codepoint)))
[all...]
H A Dhb-set-private.hh256 inline bool next (hb_codepoint_t *codepoint) const
258 if (unlikely (*codepoint == INVALID)) {
261 *codepoint = i;
264 *codepoint = INVALID;
268 for (hb_codepoint_t i = *codepoint + 1; i < MAX_G + 1; i++)
270 *codepoint = i;
273 *codepoint = INVALID;
/external/harfbuzz_ng/src/
H A Dhb-ot-cmap-table.hh45 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0;
71 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
95 if (codepoint < startCount[mid])
97 else if (codepoint > endCount[mid])
111 gid = codepoint + idDelta[i];
115 unsigned int index = rangeOffset / 2 + (codepoint - startCount[i]) + i - segCount;
179 int cmp (hb_codepoint_t codepoint) const
181 if (codepoint < startCharCod
203 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
236 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
327 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph, const void *base) const argument
369 get_glyph_variant(hb_codepoint_t codepoint, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) const argument
396 get_glyph(hb_codepoint_t codepoint, hb_codepoint_t *glyph) const argument
411 get_glyph_variant(hb_codepoint_t codepoint, hb_codepoint_t variation_selector, hb_codepoint_t *glyph) const argument
[all...]
H A Dhb-fallback-shape.cc120 if (has_space && unicode->is_default_ignorable (info[i].codepoint)) {
121 info[i].codepoint = space;
126 font->get_glyph (info[i].codepoint, 0, &info[i].codepoint);
127 font->get_glyph_advance_for_direction (info[i].codepoint,
131 font->subtract_glyph_origin_for_direction (info[i].codepoint,
H A Dhb-set.cc191 * @codepoint:
201 hb_codepoint_t codepoint)
203 return set->has (codepoint);
209 * @codepoint:
217 hb_codepoint_t codepoint)
219 set->add (codepoint);
243 * @codepoint:
251 hb_codepoint_t codepoint)
253 set->del (codepoint);
437 * @codepoint
200 hb_set_has(const hb_set_t *set, hb_codepoint_t codepoint) argument
216 hb_set_add(hb_set_t *set, hb_codepoint_t codepoint) argument
250 hb_set_del(hb_set_t *set, hb_codepoint_t codepoint) argument
446 hb_set_next(const hb_set_t *set, hb_codepoint_t *codepoint) argument
[all...]
H A Dhb-set.h80 hb_codepoint_t codepoint);
82 /* Right now limited to 16-bit integers. Eventually will do full codepoint range, sans -1
86 hb_codepoint_t codepoint);
95 hb_codepoint_t codepoint);
143 hb_codepoint_t *codepoint);
H A Dhb-ot-shape-normalize.cc106 font->get_glyph (info.codepoint, 0, &info.glyph_index());
203 if (shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
205 else if (decompose (c, shortest, buffer->cur().codepoint))
207 else if (!shortest && c->font->get_glyph (buffer->cur().codepoint, 0, &glyph))
209 else if (decompose_compatibility (c, buffer->cur().codepoint))
222 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) {
224 if (font->get_glyph (buffer->cur().codepoint, buffer->cur(+1).codepoint, &buffer->cur().glyph_index()))
226 buffer->replace_glyphs (2, 1, &buffer->cur().codepoint);
237 while (buffer->idx < end && unlikely (buffer->unicode->is_variation_selector (buffer->cur().codepoint)))
[all...]
/external/chromium_org/third_party/icu/source/tools/gensprep/
H A Dgensprep.h49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
/external/freetype/src/autofit/
H A Dhbshim.h46 FT_ULong *codepoint,
/external/icu/icu4c/source/tools/gensprep/
H A Dgensprep.h49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dusetiter.h66 * Value of <tt>codepoint</tt> if the iterator points to a string.
67 * If <tt>codepoint == IS_STRING</tt>, then examine
78 UChar32 codepoint; member in class:UnicodeSetIterator
83 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
85 * <tt>codepoint == IS_STRING</tt>, then the value of
92 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
93 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
129 * Elements of types string and codepoint can both be retrieved
131 * Elements of type codepoint can also be retrieved with
133 * For ranges, <tt>getCodepoint()</tt> returns the starting codepoint
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dusetiter.h66 * Value of <tt>codepoint</tt> if the iterator points to a string.
67 * If <tt>codepoint == IS_STRING</tt>, then examine
78 UChar32 codepoint; member in class:UnicodeSetIterator
83 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
85 * <tt>codepoint == IS_STRING</tt>, then the value of
92 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
93 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
129 * Elements of types string and codepoint can both be retrieved
131 * Elements of type codepoint can also be retrieved with
133 * For ranges, <tt>getCodepoint()</tt> returns the starting codepoint
[all...]

Completed in 1015 milliseconds

12345