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

1 2 3 4 5 6 7 8 9

  /external/libvterm/src/
utf8.h 5 static inline unsigned int utf8_seqlen(long codepoint)
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;
16 static int fill_utf8(long codepoint, char *str)
18 int nbytes = utf8_seqlen(codepoint);
24 str[b] = 0x80 | (codepoint & 0x3f);
25 codepoint >>= 6
    [all...]
  /external/icu/icu4c/source/common/
ucnv_ct.c 102 #define isASCIIRange(codepoint) \
103 ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) || \
104 (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF))
106 #define isIBM915(codepoint) \
107 ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116)
    [all...]
usetiter.cpp 41 * 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 = (UChar32)IS_STRING; // signal that value is actually a strin
    [all...]
  /external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
CharsetCompoundText.java 96 private static boolean isASCIIRange(int codepoint) {
97 if ((codepoint == 0x0000) || (codepoint == 0x0009) || (codepoint == 0x000A) ||
98 (codepoint >= 0x0020 && codepoint <= 0x007f) || (codepoint >= 0x00A0 && codepoint <= 0x00FF)) {
104 private static boolean isIBM915(int codepoint) {
105 if ((codepoint >= 0x0401 && codepoint <= 0x045F) || (codepoint == 0x2116))
    [all...]
  /external/chromium-libpac/test/js-unittest/
return_unicode.js 1 // U+200B is the codepoint for zero-width-space.
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
UnicodeLabel.java 15 public abstract String getValue(int codepoint, boolean isShort);
17 public String transform(Integer codepoint) {
18 return getValue(codepoint, true);
40 public String getValue(int codepoint, boolean isShort) {
41 if (isShort) return Utility.hex(codepoint,4);
42 return "U+" + Utility.hex(codepoint,4);
52 public String getValue(int codepoint, boolean isShort) {
UnicodeMapIterator.java 25 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
26 * processCodepoint(set.codepoint);
37 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
38 * processCodepointRange(set.codepoint, set.codepointEnd);
49 * Value of <tt>codepoint</tt> if the iterator points to a string.
50 * If <tt>codepoint == IS_STRING</tt>, then examine
59 public int codepoint; field in class:UnicodeMapIterator
64 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
66 * <tt>codepoint == IS_STRING</tt>, then the value of
72 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> point
    [all...]
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
UnicodeLabel.java 14 public abstract String getValue(int codepoint, boolean isShort);
16 public String transform(Integer codepoint) {
17 return getValue(codepoint, true);
39 public String getValue(int codepoint, boolean isShort) {
40 if (isShort) return Utility.hex(codepoint,4);
41 return "U+" + Utility.hex(codepoint,4);
51 public String getValue(int codepoint, boolean isShort) {
UnicodeMapIterator.java 24 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
25 * processCodepoint(set.codepoint);
36 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
37 * processCodepointRange(set.codepoint, set.codepointEnd);
48 * Value of <tt>codepoint</tt> if the iterator points to a string.
49 * If <tt>codepoint == IS_STRING</tt>, then examine
58 public int codepoint; field in class:UnicodeMapIterator
63 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
65 * <tt>codepoint == IS_STRING</tt>, then the value of
71 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> point
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
UnicodeSetIterator.java 29 * if (it.codepoint != UnicodeSetIterator.IS_STRING) {
30 * processCodepointRange(it.codepoint, it.codepointEnd);
43 * Value of <tt>codepoint</tt> if the iterator points to a string.
44 * If <tt>codepoint == IS_STRING</tt>, then examine
53 public int codepoint; field in class:UnicodeSetIterator
58 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
60 * <tt>codepoint == IS_STRING</tt>, then the value of
66 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
67 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
92 * false. If <tt>codepoint == IS_STRING</tt>, the value is
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeSetIterator.java 28 * if (it.codepoint != UnicodeSetIterator.IS_STRING) {
29 * processCodepointRange(it.codepoint, it.codepointEnd);
43 * Value of <tt>codepoint</tt> if the iterator points to a string.
44 * If <tt>codepoint == IS_STRING</tt>, then examine
55 public int codepoint; field in class:UnicodeSetIterator
60 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
62 * <tt>codepoint == IS_STRING</tt>, then the value of
69 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
70 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
98 * false. If <tt>codepoint == IS_STRING</tt>, the value is
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/
HtmlEntities.java 103 int codepoint = -1; local
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 > Character.MAX_CODE_POINT)
    [all...]
Encoding.java 57 int codepoint = (int) endAndCodepoint; local
58 sb.append(s, pos, amp).appendCodePoint(codepoint);
185 int codepoint = Character.toCodePoint(ch, next); local
187 appendNumericEntity(codepoint, output);
212 static void appendNumericEntity(int codepoint, Appendable output)
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 % 10)))
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-cmap-table.hh 45 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const
47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0;
85 static inline bool get_glyph_func (const void *obj, hb_codepoint_t codepoint, hb_codepoint_t *glyph)
97 if (codepoint < startCount[mid])
99 else if (codepoint > endCount[mid])
113 gid = codepoint + thiz->idDelta[i];
117 unsigned int index = rangeOffset / 2 + (codepoint - thiz->startCount[i]) + i - thiz->segCount;
139 inline bool get_glyph (hb_codepoint_t codepoint, hb_codepoint_t *glyph) const
143 return accel.get_glyph_func (&accel, codepoint, glyph)
    [all...]
hb-fallback-shape.cc 120 if (has_space && unicode->is_default_ignorable (info[i].codepoint)) {
121 info[i].codepoint = space;
126 font->get_nominal_glyph (info[i].codepoint, &info[i].codepoint);
127 font->get_glyph_advance_for_direction (info[i].codepoint,
131 font->subtract_glyph_origin_for_direction (info[i].codepoint,
hb-set.cc 191 * @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: (inout)
    [all...]
hb-set.h 83 hb_codepoint_t codepoint);
85 /* Right now limited to 16-bit integers. Eventually will do full codepoint range, sans -1
89 hb_codepoint_t codepoint);
98 hb_codepoint_t codepoint);
146 hb_codepoint_t *codepoint);
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
encodings.h 44 //! \brief Encode a Unicode codepoint to an output stream.
46 //! \param codepoint An unicode codepoint, ranging from 0x0 to 0x10FFFF inclusively.
48 static void Encode(OutputStream& os, unsigned codepoint);
50 //! \brief Decode a Unicode codepoint from an input stream.
52 //! \param codepoint Output of the unicode codepoint.
53 //! \return true if a valid codepoint can be decoded from the stream.
55 static bool Decode(InputStream& is, unsigned* codepoint);
57 //! \brief Validate one Unicode codepoint from an encoded stream.
590 unsigned codepoint; local
    [all...]
  /external/icu/icu4c/source/common/unicode/
usetiter.h 66 * 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...]
  /frameworks/minikin/tests/
UnicodeUtils.cpp 43 // Unicode codepoint in hex syntax
48 unsigned long int codepoint = strtoul(src + input_ix, &endptr, 16); local
52 ASSERT_LE(codepoint, 0x10FFFFu);
54 if (U16_LENGTH(codepoint) == 1) {
56 buf[output_ix++] = codepoint;
60 buf[output_ix++] = U16_LEAD(codepoint);
61 buf[output_ix++] = U16_TRAIL(codepoint);
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
encodingstest.cpp 278 // unsigned codepoint, state = 0;
281 // decode(&state, &codepoint, *s++);
289 for (unsigned codepoint = range[0]; codepoint <= range[1]; ++codepoint) {
291 UTF8<>::Encode(os, codepoint);
302 EXPECT_EQ(codepoint, decodedCodepoint);
311 std::cout << std::hex << codepoint << " " << decodedCodepoint << std::endl;
320 EXPECT_EQ(codepoint, decodedCodepoint);
321 if (!result || codepoint != decodedCodepoint)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/lang/
CharSequences.java 94 * Utility function for comparing codepoint to string without generating new
101 public static final boolean equals(int codepoint, CharSequence other) {
106 case 1: return codepoint == other.charAt(0);
107 case 2: return codepoint > 0xFFFF && codepoint == Character.codePointAt(other, 0);
117 public static final boolean equals(CharSequence other, int codepoint) {
118 return equals(codepoint, other);
123 * Same results as turning the code point into a string (with the [ugly] new StringBuilder().appendCodePoint(codepoint).toString())
132 public static int compare(CharSequence string, int codePoint) {
133 if (codePoint < Character.MIN_CODE_POINT || codePoint > Character.MAX_CODE_POINT)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
CharSequences.java 92 * Utility function for comparing codepoint to string without generating new
99 public static final boolean equals(int codepoint, CharSequence other) {
104 case 1: return codepoint == other.charAt(0);
105 case 2: return codepoint > 0xFFFF && codepoint == Character.codePointAt(other, 0);
115 public static final boolean equals(CharSequence other, int codepoint) {
116 return equals(codepoint, other);
121 * Same results as turning the code point into a string (with the [ugly] new StringBuilder().appendCodePoint(codepoint).toString())
130 public static int compare(CharSequence string, int codePoint) {
131 if (codePoint < Character.MIN_CODE_POINT || codePoint > Character.MAX_CODE_POINT)
    [all...]
  /external/icu/icu4c/source/tools/gensprep/
gensprep.h 49 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length, UStringPrepType type, UErrorCode* status);
  /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
hbshim.h 46 FT_ULong *codepoint,

Completed in 1148 milliseconds

1 2 3 4 5 6 7 8 9