/external/icu/android_icu4j/src/main/java/android/icu/text/ |
IdentifierInfo.java | 113 int cp; local 114 for (int i = 0; i < identifier.length(); i += Character.charCount(cp)) { 115 cp = Character.codePointAt(identifier, i); 117 if (UCharacter.getType(cp) == UCharacterCategory.DECIMAL_DIGIT_NUMBER) { 118 // Just store the zero character as a representative for comparison. Unicode guarantees it is cp - value 119 numerics.add(cp - UCharacter.getNumericValue(cp)); 121 UScript.getScriptExtensions(cp, scriptsForCP); 126 // requiredScripts.set(UScript.getScript(cp));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UCharacterSurrogateTest.java | 147 int cp = UCharacter.toCodePoint(pairs[i], pairs[i + 1]); local 148 if (pairs[i] != UTF16.getLeadSurrogate(cp) 149 || pairs[i + 1] != UTF16.getTrailSurrogate(cp)) { 204 int cp = UCharacter.toCodePoint(UCharacter.MIN_HIGH_SURROGATE, local 206 UCharacter.toChars(cp, chars, 1); 213 chars = UCharacter.toChars(cp);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
DataInputCompressor.java | 132 int cp = (int) readULong(); local 133 UTF16.append(stringBuffer, cp);
|
DataOutputCompressor.java | 113 int cp = 0; local 114 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 115 cp = UTF16.charAt(s, i); 116 writeULong(cp);
|
PrettyPrinter.java | 172 private void appendUnicodeSetItem(int cp) { 175 if (cp == lastCodePoint + 1) { 176 lastCodePoint = cp; // continue range 179 firstCodePoint = lastCodePoint = cp; 191 int cp = UTF16.charAt(s,0); local 192 if (!toQuote.contains(cp) && !QUOTED_SYNTAX.contains(cp)) { 193 int type = UCharacter.getType(cp); 196 } else if (type == UCharacter.SURROGATE && cp >= UTF16.TRAIL_SURROGATE_MIN_VALUE) { 229 int cp; local [all...] |
/external/icu/icu4c/source/common/ |
caniter.cpp | 168 UChar32 cp = 0; local 218 for (; i < source.length(); i += U16_LENGTH(cp)) { 219 cp = source.char32At(i); 220 if (nfcImpl.isCanonSegmentStarter(cp)) { 287 UChar32 cp; local 294 for (i = 0; i < source.length(); i += U16_LENGTH(cp)) { 295 cp = source.char32At(i); 303 if (skipZeros && i != 0 && u_getCombiningClass(cp) == 0) { 311 //Hashtable *subpermute = permute(source.substring(0,i) + source.substring(i + UTF16.getCharCount(cp))); 312 permute(subPermuteString.replace(i, U16_LENGTH(cp), NULL, 0), skipZeros, &subpermute, status) 445 UChar32 cp; local 523 UChar32 cp; local [all...] |
propsvec.c | 45 uint32_t cp; local 76 for(cp=UPVEC_FIRST_SPECIAL_CP; cp<=UPVEC_MAX_CP; ++cp) { 77 row[0]=cp; 78 row[1]=cp+1;
|
/external/icu/icu4c/source/test/intltest/ |
idnaconf.cpp | 199 UChar32 cp = 0; local 202 cp = (cp * 16) + (*p - 0x30); 204 cp = (cp * 16) + (*p - 0x61) + 10; 206 cp = (cp * 16) + (*p - 0x41) + 10; 211 if (U_IS_BMP(cp)){ 212 *bufBase++ = cp; 214 *bufBase++ = U16_LEAD(cp); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TextTrieMap.java | 143 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); local 144 _nextIdx = _nextIdx + Character.charCount(cp); 146 char[] chars = Character.toChars(cp);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CanonicalIterator.java | 129 int cp; local 137 for (; i < source.length(); i += Character.charCount(cp)) { 138 cp = source.codePointAt(i); 139 if (nfcImpl.isCanonSegmentStarter(cp)) { 179 int cp; local 180 for (int i = 0; i < source.length(); i += UTF16.getCharCount(cp)) { 181 cp = UTF16.charAt(source, i); 186 if (skipZeros && i != 0 && UCharacter.getCombiningClass(cp) == 0) { 194 + source.substring(i + UTF16.getCharCount(cp)), skipZeros, subpermute); 218 public static UnicodeSet getStarts(int cp) { 298 int cp; local 377 int cp; local [all...] |
IdentifierInfo.java | 111 int cp; local 112 for (int i = 0; i < identifier.length(); i += Character.charCount(cp)) { 113 cp = Character.codePointAt(identifier, i); 115 if (UCharacter.getType(cp) == UCharacterCategory.DECIMAL_DIGIT_NUMBER) { 116 // Just store the zero character as a representative for comparison. Unicode guarantees it is cp - value 117 numerics.add(cp - UCharacter.getNumericValue(cp)); 119 UScript.getScriptExtensions(cp, scriptsForCP); 124 // requiredScripts.set(UScript.getScript(cp));
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
BreakTransliterator.java | 94 int cp = UTF16.charAt(text, boundary-1); local 95 int type = UCharacter.getType(cp); 96 //System.out.println(Integer.toString(cp,16) + " (before): " + type); 99 cp = UTF16.charAt(text, boundary); 100 type = UCharacter.getType(cp); 101 //System.out.println(Integer.toString(cp,16) + " (after): " + type);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UCharacterSurrogateTest.java | 143 int cp = UCharacter.toCodePoint(pairs[i], pairs[i + 1]); local 144 if (pairs[i] != UTF16.getLeadSurrogate(cp) 145 || pairs[i + 1] != UTF16.getTrailSurrogate(cp)) { 200 int cp = UCharacter.toCodePoint(UCharacter.MIN_HIGH_SURROGATE, local 202 UCharacter.toChars(cp, chars, 1); 209 chars = UCharacter.toChars(cp);
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
DataInputCompressor.java | 131 int cp = (int) readULong(); local 132 UTF16.append(stringBuffer, cp);
|
DataOutputCompressor.java | 112 int cp = 0; local 113 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 114 cp = UTF16.charAt(s, i); 115 writeULong(cp);
|
PrettyPrinter.java | 171 private void appendUnicodeSetItem(int cp) { 174 if (cp == lastCodePoint + 1) { 175 lastCodePoint = cp; // continue range 178 firstCodePoint = lastCodePoint = cp; 190 int cp = UTF16.charAt(s,0); local 191 if (!toQuote.contains(cp) && !QUOTED_SYNTAX.contains(cp)) { 192 int type = UCharacter.getType(cp); 195 } else if (type == UCharacter.SURROGATE && cp >= UTF16.TRAIL_SURROGATE_MIN_VALUE) { 228 int cp; local [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
DecompTable.java | 34 int out = 0, cp; local 36 for (int in = 0; in < decomposition.length(); in += UTF16.getCharCount(cp)) { 37 cp = UTF16.charAt(decomposition, in); 38 decomp[out++] = cp;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetClosure.java | 197 public String get(int cp) { 198 String source = UTF16.valueOf(cp); 214 public String get(int cp); 233 for (int cp = 0; cp <= 0x10FFFF; ++cp) { 234 int type = UCharacter.getType(cp); 237 //if (cp == '\u00e7') { 240 String result = f.get(cp); 243 generatedSet.add(cp); 291 int cp; local 299 int cp; local [all...] |
WriteIndicCharts.java | 292 static String getKey(int cp){ 293 int delta = cp & 0xFF; 303 String cp = UTF16.valueOf(start+i); local 304 String s1 = inverse.transliterate(cp); 308 if(cp.equals(s2)){ 322 String cp =UTF16.valueOf(iter.codepoint); local 323 String s1 = trans.transliterate(cp); 326 if(cp.equals(s1)){ 328 }else if(cp.equals(s2)){ 349 String cp = UTF16.valueOf(tIter.codepoint) local [all...] |
/external/iptables/extensions/ |
libxt_multiport.c | 87 char *buffer, *cp, *next; local 93 for (cp=buffer, i=0; cp && i<XT_MULTI_PORTS; cp=next,i++) 95 next=strchr(cp, ','); 97 ports[i] = xtables_parse_port(cp, proto); 99 if (cp) xtables_error(PARAMETER_PROBLEM, "too many ports specified"); 109 char *buffer, *cp, *next, *range; local 119 for (cp=buffer, i=0; cp && i<XT_MULTI_PORTS; cp=next, i++) [all...] |
/external/iputils/ninfod/ |
ninfod_core.c | 520 char *cp; local 560 cp = printbuf; 562 cp += sprintf(cp, " %02x", query->icmp6_ni_nonce[i]);
|
/external/iputils/ |
tftpd.c | 225 register char *cp; local 230 filename = cp = tp->th_stuff; 232 while (cp < buf + size) { 233 if (*cp == '\0') 235 cp++; 237 if (*cp != '\0') { 242 mode = ++cp; 246 for (cp = mode; *cp; cp++ 286 char *cp; local [all...] |
/external/iw/ |
util.c | 30 char *cp = strchr(arg, ':'); local 31 if (cp) { 32 *cp = 0; 33 cp++; 41 if (!cp) 43 arg = cp; 74 char *cp = strchr(hexmask, ':'); local 75 if (cp) { 76 *cp = 0; 77 cp++ [all...] |
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 201 public synchronized ClassPath insertClassPath(ClassPath cp) { 202 pathList = new ClassPathList(cp, pathList); 203 return cp; 206 public synchronized ClassPath appendClassPath(ClassPath cp) { 207 ClassPathList tail = new ClassPathList(cp, null); 218 return cp; 221 public synchronized void removeClassPath(ClassPath cp) { 224 if (list.path == cp) 228 if (list.next.path == cp) 234 cp.close() [all...] |
CtMethod.java | 55 ConstPool cp = declaring.getClassFile2().getConstPool(); local 57 methodInfo = new MethodInfo(cp, mname, desc);
|