/external/chromium_org/mojo/bindings/java/src/org/chromium/mojo/bindings/ |
BindingsHelper.java | 30 int codepoint = c; local 34 codepoint = Character.toCodePoint(c, c2); 37 if (codepoint > 0x7f) { 39 if (codepoint > 0x7ff) { 41 if (codepoint > 0xffff) { 43 if (codepoint > 0x1fffff) { 45 if (codepoint > 0x3ffffff) {
|
/external/chromium_org/third_party/icu/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/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/chromium_org/third_party/harfbuzz-ng/src/ |
hb-buffer.h | 45 hb_codepoint_t codepoint; member in struct:hb_glyph_info_t 219 hb_codepoint_t codepoint,
|
hb-ot-shape.cc | 245 dottedcircle.codepoint = 0x25CC; 303 hb_codepoint_t codepoint = unicode->mirroring (info[i].codepoint); local 304 if (likely (codepoint == info[i].codepoint)) 307 info[i].codepoint = codepoint; 324 if (info[i].codepoint == 0x2044) /* FRACTION SLASH */ 385 buffer->info[i].codepoint = buffer->info[i].glyph_index(); 487 c->font->get_glyph_advance_for_direction (info[i].codepoint, [all...] |
/external/harfbuzz_ng/src/ |
hb-buffer.h | 45 hb_codepoint_t codepoint; member in struct:hb_glyph_info_t 192 /* Sets codepoint used to replace invalid UTF-8/16/32 entries. 232 hb_codepoint_t codepoint,
|
hb-ot-shape.cc | 247 dottedcircle.codepoint = 0x25CCu; 306 hb_codepoint_t codepoint = unicode->mirroring (info[i].codepoint); local 307 if (likely (codepoint == info[i].codepoint)) 310 info[i].codepoint = codepoint; 327 if (info[i].codepoint == 0x2044u) /* FRACTION SLASH */ 389 info[i].codepoint = info[i].glyph_index(); 522 c->font->get_glyph_advance_for_direction (info[i].codepoint, [all...] |
/external/chromium_org/third_party/icu/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 | 118 static const uint32_t codepoint[]={ local 137 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); i=(int16_t)(i+2)){ 138 UChar32 c=codepoint[i+1]; 139 if(UTF8_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U8_LENGTH(c) != (uint16_t)codepoint[i]){ 140 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF8_CHAR_LENGTH(c)); 144 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE); 171 /*codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict)* [all...] |
/external/chromium_org/third_party/icu/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...] |
testidna.cpp | 1353 int32_t codepoint = rand_uni(); local [all...] |
/external/chromium_org/third_party/icu/source/tools/gensprep/ |
store.c | 97 * 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 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*/ 373 storeMapping(uint32_t codepoint, uint32_t* mapping,int32_t length [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utf16tst.c | 84 static uint32_t codepoint[]={ local 99 for(i=0; i<sizeof(codepoint)/sizeof(codepoint[0]); 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...] |
utf8tst.c | 128 static const uint32_t codepoint[]={ local 147 for(i=0; i<LENGTHOF(codepoint); i=(int16_t)(i+2)){ 148 UChar32 c=codepoint[i+1]; 149 if(UTF8_CHAR_LENGTH(c) != (uint16_t)codepoint[i] || U8_LENGTH(c) != (uint16_t)codepoint[i]){ 150 log_err("The no: of code units for %lx:- Expected: %d Got: %d\n", c, codepoint[i], UTF8_CHAR_LENGTH(c)); 154 multiple=(UBool)(codepoint[i] == 1 ? FALSE : TRUE); 181 /* codepoint-unsafe, codepoint-safe(not strict) codepoint-safe(strict) * [all...] |
citertst.c | 222 UChar codepoint; local 232 for (codepoint = 1; codepoint < 0xFFFE;) 236 while (codepoint % 0xFF != 0) 238 if (u_isdefined(codepoint)) 239 *(test ++) = codepoint; 240 codepoint ++; 243 if (u_isdefined(codepoint)) 244 *(test ++) = codepoint; 246 if (codepoint != 0xFFFF 288 UChar codepoint; local [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...] |
testidna.cpp | 1353 int32_t codepoint = rand_uni(); local [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...] |
/external/icu/icu4c/source/samples/ucnv/ |
convsamp.cpp | 381 UChar32 codepoint; member in struct:__anon25773 424 info[p].codepoint = p;
|
/system/core/libutils/ |
Unicode.cpp | 442 static inline void utf8_shift_and_mask(uint32_t* codePoint, const uint8_t byte) 444 *codePoint <<= 6; 445 *codePoint |= 0x3F & byte; 530 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8charLen); local 531 if (codepoint > 0xFFFF) u16measuredLen++; // this will be a surrogate pair in utf16 554 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); local 556 // Convert the UTF32 codepoint to one or more UTF16 codepoints 557 if (codepoint <= 0xFFFF) { 559 *u16cur++ = (char16_t) codepoint; 562 codepoint = codepoint - 0x10000 585 uint32_t codepoint = utf8_to_utf32_codepoint(u8cur, u8len); local [all...] |
/external/chromium_org/base/files/ |
file_path.cc | 1136 int codepoint = 0; local [all...] |
/external/chromium_org/third_party/gtk+/gtk/ |
compose-parse.py | 528 codepoint = long(codepointstr[1:], 16) variable 533 codepoint = keysymunicodedatabase[codepointstr] variable 536 print "Invalid codepoint at line %(linenum_compose)d in %(filename)s:\ 573 if codepoint < 0xFFFF: 612 # print 'Base: %(base)s [%(basechar)s], produces [%(unichar)s] (0x%(codepoint)04X)' \ 613 # % { "base": base, "basechar": unichr(basechar), "unichar": unichar, "codepoint": codepoint }, 622 original_sequence.append(codepoint) 633 sequence.append(codepoint) 845 def redecompose(codepoint) [all...] |