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

1 2 3

  /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);
  /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...]
CjkBreakEngine.java 108 int codepoint = prenormstr.codePointAt(index); local
109 index += Character.charCount(codepoint);
  /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...]
  /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...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
NormalizationMonkeyTest.java 104 int codepoint = random.nextInt(maxCodePoint); local
106 while (UCharacter.getType(codepoint) == UCharacterCategory.UNASSIGNED) {
107 codepoint = random.nextInt(maxCodePoint);
109 source = source + UTF16.valueOf(codepoint);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
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...]
Visitor.java 94 if (it.codepoint == UnicodeSetIterator.IS_STRING) {
98 cpr.codepoint = it.codepoint;
124 public int codepoint, codepointEnd; field in class:Visitor.CodePointRange
  /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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
NormalizationMonkeyTest.java 100 int codepoint = random.nextInt(maxCodePoint); local
102 while (UCharacter.getType(codepoint) == UCharacterCategory.UNASSIGNED) {
103 codepoint = random.nextInt(maxCodePoint);
105 source = source + UTF16.valueOf(codepoint);
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
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...]
Visitor.java 93 if (it.codepoint == UnicodeSetIterator.IS_STRING) {
97 cpr.codepoint = it.codepoint;
123 public int codepoint, codepointEnd; field in class:Visitor.CodePointRange
  /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,
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...]
  /external/icu/icu4c/source/test/cintltst/
utf16tst.c 82 static uint32_t codepoint[]={ local
97 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); i=(int16_t)(i+2)){
98 UChar32 c=codepoint[i+1];
99 if(UTF16_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U16_LENGTH(c) != (uint16_t)codepoint[i]){
100 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF16_CHAR_LENGTH(c));
104 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
131 /*codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict)*
    [all...]
utf8tst.c 126 static const uint32_t codepoint[]={ local
145 for(i=0; i<UPRV_LENGTHOF(codepoint); i=(int16_t)(i+2)){
146 UChar32 c=codepoint[i+1];
147 if(UTF8_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U8_LENGTH(c) != (uint16_t)codepoint[i]){
148 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF8_CHAR_LENGTH(c));
152 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE);
179 /* 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 98 * 0 - ON : The code point is prohibited (USPREP_PROHIBITED). This is to allow for codepoint that are both prohibited and mapped.
242 int32_t codepoint = 0; local
262 codepoint = element->key.integer;
291 savedTrieWord= utrie_get32(sprepTrie,codepoint,NULL);
298 * the codepoint has value something other than prohibited
301 fprintf(stderr,"Type for codepoint \\U%08X already set!.\n", (int)codepoint);
307 if(!utrie_set32(sprepTrie,codepoint,trieWord)){
312 /* written the trie word for the codepoint... increment the count*/
354 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length
    [all...]
  /frameworks/minikin/libs/minikin/
Hyphenator.cpp 51 static uint32_t codepoint(uint32_t entry) { return entry >> 11; } function in struct:android::AlphabetTable1
174 if (AlphabetTable1::codepoint(entry) != c) {
  /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...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
misctest.cpp 68 unsigned codepoint, state = 0; local
71 decode(&state, &codepoint, *s++);
    [all...]
  /external/icu/icu4c/source/samples/ucnv/
convsamp.cpp 381 UChar32 codepoint; member in struct:__anon12851
424 info[p].codepoint = p;

Completed in 2347 milliseconds

1 2 3