| /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
| UnicodeSetPerf.java | 50 for (int cp = it.codepoint; cp <= it.codepointEnd; ++cp) { 70 for (int cp = it.codepoint; cp <= it.codepointEnd; ++cp) { 107 hs.add(new Integer(it.codepoint)); 131 temp += uit.codepoint; 145 hs.add(new Integer(it.codepoint));
|
| /frameworks/minikin/tests/ |
| FontCollectionTest.cpp | 43 void expectVSGlyphs(const FontCollection& fc, uint32_t codepoint, const std::set<uint32_t>& vsSet) { 50 EXPECT_FALSE(fc.hasVariationSelector(codepoint, vs)) 51 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; 53 EXPECT_TRUE(fc.hasVariationSelector(codepoint, vs)) 54 << "Glyph for U+" << std::hex << codepoint << " U+" << vs;
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
| UnicodeMap.java | 158 * Finds an index such that inversionList[i] <= codepoint < inversionList[i+1] 159 * Assumes that 0 <= codepoint <= 0x10FFFF 160 * @param codepoint 181 private void _checkFind(int codepoint, int value) { 182 int other = __findIndex(codepoint); 185 + "\t" + Utility.hex(codepoint) + ": " + value 190 private int __findIndex(int codepoint) { 192 if (transitions[i] <= codepoint) return i; 201 int[] starts = new int[0x10FFFF>>SHIFT]; // lowest transition index where codepoint>>x can be found 203 private int findIndex(int codepoint) { [all...] |
| UnicodePropertySource.java | 37 abstract public String getPropertyValue(int codepoint); 66 public static final boolean equals(int codepoint, String other) { 68 return codepoint == other.charAt(0); 70 return other.equals(UTF16.valueOf(codepoint)); 77 String value = filter.remap(getPropertyValue(matchIterator.codepoint)); 78 if (equals(matchIterator.codepoint, value) == charEqualsValue) { 79 result.add(matchIterator.codepoint); 89 String value = filter.remap(getPropertyValue(matchIterator.codepoint)); 91 result.add(matchIterator.codepoint); 101 String value = filter.remap(getPropertyValue(matchIterator.codepoint)); [all...] |
| Quoter.java | 36 public Quoter append(int codepoint) { 37 return append(UTF16.valueOf(codepoint));
|
| 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/tests/framework/src/com/ibm/icu/dev/util/ |
| UnicodeMap.java | 157 * Finds an index such that inversionList[i] <= codepoint < inversionList[i+1] 158 * Assumes that 0 <= codepoint <= 0x10FFFF 159 * @param codepoint 180 private void _checkFind(int codepoint, int value) { 181 int other = __findIndex(codepoint); 184 + "\t" + Utility.hex(codepoint) + ": " + value 189 private int __findIndex(int codepoint) { 191 if (transitions[i] <= codepoint) return i; 200 int[] starts = new int[0x10FFFF>>SHIFT]; // lowest transition index where codepoint>>x can be found 202 private int findIndex(int codepoint) { [all...] |
| UnicodePropertySource.java | 36 abstract public String getPropertyValue(int codepoint); 65 public static final boolean equals(int codepoint, String other) { 67 return codepoint == other.charAt(0); 69 return other.equals(UTF16.valueOf(codepoint)); 76 String value = filter.remap(getPropertyValue(matchIterator.codepoint)); 77 if (equals(matchIterator.codepoint, value) == charEqualsValue) { 78 result.add(matchIterator.codepoint); 88 String value = filter.remap(getPropertyValue(matchIterator.codepoint)); 90 result.add(matchIterator.codepoint); 100 String value = filter.remap(getPropertyValue(matchIterator.codepoint)); [all...] |
| Quoter.java | 35 public Quoter append(int codepoint) { 36 return append(UTF16.valueOf(codepoint));
|
| Visitor.java | 93 if (it.codepoint == UnicodeSetIterator.IS_STRING) { 97 cpr.codepoint = it.codepoint; 123 public int codepoint, codepointEnd; field in class:Visitor.CodePointRange
|
| /prebuilts/gdb/darwin-x86/lib/python2.7/ |
| htmlentitydefs.py | 3 # maps the HTML entity name to the Unicode codepoint 259 # maps the Unicode codepoint to the HTML entity name 266 for (name, codepoint) in name2codepoint.iteritems(): 267 codepoint2name[codepoint] = name 268 if codepoint <= 0xff: 269 entitydefs[name] = chr(codepoint) 271 entitydefs[name] = '&#%d;' % codepoint 273 del name, codepoint
|
| /prebuilts/gdb/linux-x86/lib/python2.7/ |
| htmlentitydefs.py | 3 # maps the HTML entity name to the Unicode codepoint 259 # maps the Unicode codepoint to the HTML entity name 266 for (name, codepoint) in name2codepoint.iteritems(): 267 codepoint2name[codepoint] = name 268 if codepoint <= 0xff: 269 entitydefs[name] = chr(codepoint) 271 entitydefs[name] = '&#%d;' % codepoint 273 del name, codepoint
|
| /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
| htmlentitydefs.py | 3 # maps the HTML entity name to the Unicode codepoint 259 # maps the Unicode codepoint to the HTML entity name 266 for (name, codepoint) in name2codepoint.iteritems(): 267 codepoint2name[codepoint] = name 268 if codepoint <= 0xff: 269 entitydefs[name] = chr(codepoint) 271 entitydefs[name] = '&#%d;' % codepoint 273 del name, codepoint
|
| /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
| htmlentitydefs.py | 3 # maps the HTML entity name to the Unicode codepoint 259 # maps the Unicode codepoint to the HTML entity name 266 for (name, codepoint) in name2codepoint.iteritems(): 267 codepoint2name[codepoint] = name 268 if codepoint <= 0xff: 269 entitydefs[name] = chr(codepoint) 271 entitydefs[name] = '&#%d;' % codepoint 273 del name, codepoint
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
| 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...] |
| /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/test/translit/ |
| TestUnicodeProperty.java | 92 protected String _getValue(int codepoint) { 93 if (codepoint >= 'A' && codepoint <= 'M') { 96 return icuProperty.getValue(codepoint);
|
| /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/translit/src/com/ibm/icu/dev/test/translit/ |
| TestUnicodeProperty.java | 88 protected String _getValue(int codepoint) { 89 if (codepoint >= 'A' && codepoint <= 'M') { 92 return icuProperty.getValue(codepoint);
|
| /external/harfbuzz_ng/src/ |
| hb-ot-shape-normalize.cc | 94 font->get_nominal_glyph (info.codepoint, &info.glyph_index()); 166 hb_codepoint_t u = buffer->cur().codepoint; 222 if (unlikely (buffer->unicode->is_variation_selector (buffer->cur(+1).codepoint))) { 224 if (font->get_variation_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))) 258 if (unlikely (buffer->unicode->is_variation_selector (buffer->info[i].codepoint))) { 387 buffer->out_info[starter].codepoint, 388 buffer->cur().codepoint, [all...] |
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
| CollationIteratorTest.java | 132 errln("Failure at codepoint " + ch + ", maximum expansion count < " + count); 144 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 156 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 166 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 175 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 187 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 205 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 461 char codepoint; local 468 for (codepoint = 1; codepoint < 0xFFFE;) [all...] |
| /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
| CollationIteratorTest.java | 128 errln("Failure at codepoint " + ch + ", maximum expansion count < " + count); 140 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 152 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 162 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 171 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 183 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 201 errln("Failure at codepoint 0x" + Integer.toHexString(ch) 457 char codepoint; local 464 for (codepoint = 1; codepoint < 0xFFFE;) [all...] |
| /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/cldr/ |
| CheckSystemFonts.java | 150 public Set<String> compose(int codePoint, String string, Set<String> a, Set<String> b) { 174 String codes = "U+" + Utility.hex(it.codepoint); 175 String names = UCharacter.getExtendedName(it.codepoint); 176 if (it.codepointEnd != it.codepoint) { 180 out.println(codes + "\t" + toShortName.get(map.get(it.codepoint)) + "\t" + names); 188 missingMap.put(it.codepoint, UScript.getName(UScript.getScript(it.codepoint)) + "-" + getShortAge(it.codepoint)); 196 String codes = "U+" + Utility.hex(it.codepoint); 197 String names = UCharacter.getExtendedName(it.codepoint); 348 int codepoint = sample.codePointAt(0); local [all...] |
| /external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/ |
| hbshim.c | 424 FT_ULong *codepoint, 473 out_idx = ginfo[0].codepoint; 479 *codepoint = 0; 484 *codepoint = out_idx; 498 *codepoint = in_idx; 525 FT_ULong *codepoint, 536 *codepoint = FT_Get_Char_Index( face, charcode );
|
| /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...] |