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

1 2 3

  /frameworks/base/tools/aapt2/java/
AnnotationProcessor.cpp 33 const char32_t codepoint = iter.Next(); local
34 if (codepoint == U'.') {
  /frameworks/minikin/tests/util/
UnicodeUtils.cpp 48 // Unicode codepoint in hex syntax
53 unsigned long int codepoint = strtoul(src + input_ix, &endptr, 16); local
59 LOG_ALWAYS_FATAL_IF(codepoint > 0x10FFFFu);
61 if (U16_LENGTH(codepoint) == 1) {
63 buf[output_ix++] = codepoint;
67 buf[output_ix++] = U16_LEAD(codepoint);
68 buf[output_ix++] = U16_TRAIL(codepoint);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
UnicodeSetIterator.java 31 * if (it.codepoint != UnicodeSetIterator.IS_STRING) {
32 * processCodepointRange(it.codepoint, it.codepointEnd);
45 * Value of <tt>codepoint</tt> if the iterator points to a string.
46 * 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
68 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
69 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
94 * false. If <tt>codepoint == IS_STRING</tt>, the value is
    [all...]
  /external/icu/icu4c/source/common/unicode/
usetiter.h 68 * Value of <tt>codepoint</tt> if the iterator points to a string.
69 * If <tt>codepoint == IS_STRING</tt>, then examine
80 UChar32 codepoint; member in class:UnicodeSetIterator
85 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
87 * <tt>codepoint == IS_STRING</tt>, then the value of
94 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
95 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
131 * Elements of types string and codepoint can both be retrieved
133 * Elements of type codepoint can also be retrieved with
135 * For ranges, <tt>getCodepoint()</tt> returns the starting codepoint
    [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...]
CssGrammar.java 173 int codepoint = token.charAt(end - 1); local
174 if (isHex(codepoint)) {
181 codepoint = Integer.parseInt(token.substring(esc + 1, end), 16);
183 codepoint = 0xfffd; // Unknown codepoint.
192 sb.appendCodePoint(codepoint);
199 private static boolean isHex(int codepoint) {
200 return ('0' <= codepoint && codepoint <= '9')
201 || ('A' <= codepoint && codepoint <= 'F'
    [all...]
  /frameworks/base/tools/aapt2/text/
Unicode.cpp 45 bool CompareCharacterProperties(const CharacterProperties& a, char32_t codepoint) {
46 return a.last_char < codepoint;
49 uint32_t FindCharacterProperties(char32_t codepoint) {
51 const auto iter = std::lower_bound(sCharacterProperties.begin(), iter_end, codepoint,
53 if (iter != iter_end && codepoint >= iter->first_char) {
61 bool IsXidStart(char32_t codepoint) {
62 return FindCharacterProperties(codepoint) & CharacterProperties::kXidStart;
65 bool IsXidContinue(char32_t codepoint) {
66 return FindCharacterProperties(codepoint) & CharacterProperties::kXidContinue;
72 bool IsWhitespace(char32_t codepoint) {
93 const char32_t codepoint = iter.Next(); local
116 const char32_t codepoint = iter.Next(); local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
NormalizationMonkeyTest.java 97 int codepoint = random.nextInt(maxCodePoint); local
99 while (UCharacter.getType(codepoint) == UCharacterCategory.UNASSIGNED) {
100 codepoint = random.nextInt(maxCodePoint);
102 source = source + UTF16.valueOf(codepoint);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
UnicodeMapIterator.java 27 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
28 * processCodepoint(set.codepoint);
39 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
40 * processCodepointRange(set.codepoint, set.codepointEnd);
51 * Value of <tt>codepoint</tt> if the iterator points to a string.
52 * If <tt>codepoint == IS_STRING</tt>, then examine
61 public int codepoint; field in class:UnicodeMapIterator
66 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
68 * <tt>codepoint == IS_STRING</tt>, then the value of
74 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> point
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
UnicodeSetIterator.java 30 * if (it.codepoint != UnicodeSetIterator.IS_STRING) {
31 * processCodepointRange(it.codepoint, it.codepointEnd);
45 * Value of <tt>codepoint</tt> if the iterator points to a string.
46 * If <tt>codepoint == IS_STRING</tt>, then examine
57 public int codepoint; field in class:UnicodeSetIterator
62 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
64 * <tt>codepoint == IS_STRING</tt>, then the value of
71 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> points
72 * to the current string. If <tt>codepoint != IS_STRING</tt>, the
100 * false. If <tt>codepoint == IS_STRING</tt>, the value is
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
NormalizationMonkeyTest.java 96 int codepoint = random.nextInt(maxCodePoint); local
98 while (UCharacter.getType(codepoint) == UCharacterCategory.UNASSIGNED) {
99 codepoint = random.nextInt(maxCodePoint);
101 source = source + UTF16.valueOf(codepoint);
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
UnicodeMapIterator.java 26 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
27 * processCodepoint(set.codepoint);
38 * if (set.codepoint != UnicodeSetIterator.IS_STRING) {
39 * processCodepointRange(set.codepoint, set.codepointEnd);
50 * Value of <tt>codepoint</tt> if the iterator points to a string.
51 * If <tt>codepoint == IS_STRING</tt>, then examine
60 public int codepoint; field in class:UnicodeMapIterator
65 * iteration range, if <tt>codepoint != IS_STRING</tt>. If
67 * <tt>codepoint == IS_STRING</tt>, then the value of
73 * If <tt>codepoint == IS_STRING</tt>, then <tt>string</tt> point
    [all...]
  /external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
BindingsHelper.java 96 int codepoint = c; local
100 codepoint = Character.toCodePoint(c, c2);
103 if (codepoint > 0x7f) {
105 if (codepoint > 0x7ff) {
107 if (codepoint > 0xffff) {
109 if (codepoint > 0x1fffff) {
111 if (codepoint > 0x3ffffff) {
  /external/libtextclassifier/lang_id/
script-detector.h 83 const unsigned int codepoint = ((p[0] & 0x1F) << 6) | (p[1] & 0x3F); local
84 if (codepoint > kCyrillicEnd) {
85 if (codepoint >= kArabicStart) {
86 if (codepoint <= kArabicEnd) {
90 // At this point, codepoint < kArabicStart = kHebrewEnd + 1, so
91 // codepoint <= kHebrewEnd.
92 if (codepoint >= kHebrewStart) {
97 if (codepoint >= kCyrillicStart) {
100 // At this point, codepoint < kCyrillicStart = kGreekEnd + 1, so
101 // codepoint <= kGreekEnd
120 const unsigned int codepoint = local
    [all...]
  /frameworks/support/emoji/core/tests/java/android/support/text/emoji/
AllEmojisTest.java 135 final String codepoint = String.valueOf(Character.toChars(metadata.getId())); local
137 PaintCompat.hasGlyph(mPaint, codepoint));
  /frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/
EmojiRepo.java 76 int codepoint = Integer.parseInt(part, 16); local
77 codepointsList.add(codepoint);
78 codepointBuilder.append(String.format("u+%04x", codepoint));
80 stringBuilder.append(Character.toChars(codepoint));
  /cts/tests/tests/location/src/android/location/cts/asn1/base/
Asn1BMPString.java 133 int codepoint = Character.codePointAt(value, position); local
134 Preconditions.checkState(codepoint <= 0xFFFF,
137 result.appendByte((byte) ((codepoint & 0xFF00) >> 8));
138 result.appendByte((byte) (codepoint & 0xFF));
140 position += Character.charCount(codepoint);
193 int codepoint = (reader.readByte() & 0xFF) << 8; local
194 codepoint += reader.readByte() & 0xFF;
195 builder.append(Character.toChars(codepoint));
  /external/harfbuzz_ng/src/
hb-buffer.h 45 * @codepoint: either a Unicode code point (before shaping) or a glyph index
65 hb_codepoint_t codepoint; member in struct:hb_glyph_info_t
324 hb_codepoint_t codepoint,
  /external/icu/icu4c/source/test/cintltst/
utf16tst.c 84 static uint32_t codepoint[]={ local
99 for(i=0; i<UPRV_LENGTHOF(codepoint); i=(int16_t)(i+2)){
100 UChar32 c=codepoint[i+1];
101 if(UTF16_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U16_LENGTH(c) != (uint16_t)codepoint[i]){
102 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENGTH(c));
106 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
133 /*codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict)*
    [all...]
  /external/icu/icu4c/source/test/intltest/
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...]
  /external/icu/icu4c/source/tools/gensprep/
store.c 100 * 0 - ON : The code point is prohibited (USPREP_PROHIBITED). This is to allow for codepoint that are both prohibited and mapped.
244 int32_t codepoint = 0; local
264 codepoint = element->key.integer;
293 savedTrieWord= utrie_get32(sprepTrie,codepoint,NULL);
300 * the codepoint has value something other than prohibited
303 fprintf(stderr,"Type for codepoint \\U%08X already set!.\n", (int)codepoint);
309 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
314 /* written the trie word for the codepoint... increment the count*/
356 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length
    [all...]
  /frameworks/base/tools/aapt2/util/
Util.cpp 288 static bool AppendCodepointToUtf8String(char32_t codepoint, std::string* output) {
289 ssize_t len = utf32_to_utf8_length(&codepoint, 1);
300 utf32_to_utf8(&codepoint, 1, dst, len + 1);
307 char32_t codepoint = iter->Next(); local
309 if (codepoint >= U'0' && codepoint <= U'9') {
310 a = codepoint - U'0';
311 } else if (codepoint >= U'a' && codepoint <= U'f') {
312 a = codepoint - U'a' + 10
343 const char32_t codepoint = iter.Next(); local
    [all...]
  /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...]
writer.h 264 unsigned codepoint; local
265 if (!SourceEncoding::Decode(is, &codepoint))
269 if (codepoint <= 0xD7FF || (codepoint >= 0xE000 && codepoint <= 0xFFFF)) {
270 os_->Put(hexDigits[(codepoint >> 12) & 15]);
271 os_->Put(hexDigits[(codepoint >> 8) & 15]);
272 os_->Put(hexDigits[(codepoint >> 4) & 15]);
273 os_->Put(hexDigits[(codepoint ) & 15]);
276 RAPIDJSON_ASSERT(codepoint >= 0x010000 && codepoint <= 0x10FFFF);
    [all...]

Completed in 629 milliseconds

1 2 3