/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
AnyTransliterator.java | 172 int i, cp; local 174 for (i = current.start; i > limit; i -= UTF16.getCharCount(cp)) { 175 cp = text.char32At(i); 176 int scrpt = UScript.getScript(cp); 186 for (i = current.limit; i < limit; i += UTF16.getCharCount(cp)) { 187 cp = text.char32At(i); 188 int scrpt = UScript.getScript(cp);
|
CaseIterator.java | 228 String cp = UTF16.valueOf(i); external variable declarations 229 String mapped = UCharacter.foldCase(cp, defaultmapping); 230 if (mapped.equals(cp)) continue; 242 s.add(cp); external variable declarations 243 toCaseFold.put(cp, mapped); 437 // do exactly one CP 536 String cp = UTF16.valueOf(i); local 537 ci.reset(cp); 544 if (count==1 && fold.equals(cp)) {
|
TransliterationChart.java | 205 int cp; local 207 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 208 cp = UTF16.charAt(s,i); 210 sb.append(UCharacter.getName(cp));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PatternTokenizer.java | 167 int cp; local 168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { 169 cp = UTF16.charAt(string, i); 170 if (escapeCharacters.contains(cp)) { 176 appendEscaped(result, cp); 180 if (needingQuoteCharacters.contains(cp)) { 183 UTF16.append(result, cp); 184 if (usingQuote && cp == SINGLE_QUOTE) { // double it 192 UTF16.append(result, cp); 196 if (cp == SINGLE_QUOTE) { // double it and continu 264 int cp; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestExtended.java | 287 int cp = UTF16.charAt(testString, charIdx); local 288 if (cp == CH_CR && charIdx<len && UTF16.charAt(testString, charIdx+1) == CH_LF) { 293 if (cp == CH_LF || cp == CH_CR) { 304 cp = Utility.unescapeAt(testString, charIdxAr); 305 if (cp != -1) { 309 UTF16.append(tp.dataToBreak, cp);
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
WriteCharts.java | 368 int cp; local 370 for (int i = 0; i < s.length(); i += UTF16.getCharCount(cp)) { 371 cp = UTF16.charAt(s, i); 373 results.append(Integer.toHexString(cp)); 383 int cp; 385 cp = UTF16.charAt(s, i); 386 if (set.contains(cp)) continue; 387 if (okAnyway.contains(cp)) continue;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/ |
BIG5Tool.java | 222 int cp = ((Integer)sortedChars[i]).intValue(); local 223 System.out.print("0x" + Integer.toHexString(cp));
|
EUCTool.java | 222 int cp = ((Integer)sortedChars[i]).intValue(); local 223 System.out.print("0x" + Integer.toHexString(cp));
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetCloseOver.java | 89 String cp = UTF16.valueOf(i); local 90 String folded = UCharacter.foldCase(cp, DEFAULT_CASE_MAP); 91 if (folded.equals(cp)) continue; 102 s.add(cp); 348 String cp = UTF16.valueOf(i); local 349 if (equivClasses.get(UCharacter.foldCase(cp, DEFAULT_CASE_MAP)) == null) { 384 String cp = UTF16.valueOf(c); local 388 case 0: s = UCharacter.toUpperCase(loc, cp); break; 389 case 1: s = UCharacter.toLowerCase(loc, cp); break; 390 case 2: s = UCharacter.toTitleCase(loc, cp, bi); break [all...] |
/external/javassist/src/main/javassist/ |
CtConstructor.java | 57 ConstPool cp = declaring.getClassFile2().getConstPool(); local 59 methodInfo = new MethodInfo(cp, "<init>", desc); 156 ConstPool cp = ca.getConstPool(); 164 && (desc = cp.isConstructor(getSuperclassName(), 166 && "()V".equals(cp.getUtf8Info(desc))
|
/external/javassist/src/main/javassist/bytecode/ |
CodeAttribute.java | 51 * @param cp constant pool table 57 public CodeAttribute(ConstPool cp, int stack, int locals, byte[] code, 60 super(cp, tag); 72 * @param cp constant pool table. 77 private CodeAttribute(ConstPool cp, CodeAttribute src, Map classnames) 80 super(cp, tag); 84 exceptions = src.getExceptionTable().copy(cp, classnames); 90 attributes.add(ai.copy(cp, classnames)); 93 info = src.copyCode(cp, classnames, exceptions, this); 96 CodeAttribute(ConstPool cp, int name_id, DataInputStream in 212 ConstPool cp = getConstPool(); local [all...] |
MethodInfo.java | 59 private MethodInfo(ConstPool cp) { 60 constPool = cp; 68 * @param cp 76 public MethodInfo(ConstPool cp, String methodname, String desc) { 77 this(cp); 79 name = cp.addUtf8Info(methodname); 84 MethodInfo(ConstPool cp, DataInputStream in) throws IOException { 85 this(cp); 98 * @param cp 108 public MethodInfo(ConstPool cp, String methodname, MethodInfo src 490 ConstPool cp = constPool; local [all...] |
/external/libcxx/test/support/ |
rapid-cxx-test.hpp | 531 static checkpoint cp = {"", "", 0}; local 532 return cp; 539 checkpoint& cp = detail::global_checkpoint(); local 540 cp.file = file; 541 cp.func = func; 542 cp.line = line; [all...] |
/external/libedit/src/ |
vi.c | 645 Char *kp, *cp; local 647 cp = el->el_line.buffer; 649 while (cp < el->el_line.cursor) 650 *kp++ = *cp++; /* copy it */ 807 Char *cp; local 822 for (cp = &el->el_line.cursor[i]; count; ) { 823 cp += delta; 824 if (cp < el->el_line.buffer || cp >= el->el_line.lastchar) 826 if (*cp == o_ch 1009 char *cp = NULL; local 1091 Char *cp; local [all...] |
/external/libpcap/ |
pcap-dlpi.c | 341 register char *cp; local 364 cp = strrchr(p->opt.source, '/'); 365 if (cp == NULL) 368 strlcpy(dname, cp + 1, sizeof(dname)); 374 cp = split_dname(dname, &ppa, p->errbuf); 375 if (cp == NULL) { 379 *cp = '\0'; 392 cp = "/dev/dlpi"; 393 if ((p->fd = open(cp, O_RDWR)) < 0) { 399 "%s: %s", cp, pcap_strerror(errno)) 835 char *cp; local 1418 char *cp; local 1671 register const char *cp; local [all...] |
/external/libusb/libusb/ |
descriptor.c | 51 const char *cp; local 54 for (cp = descriptor; *cp; cp++) { 55 switch (*cp) { [all...] |
/external/libxml2/os400/dlfcn/ |
dlfcn.c | 299 char * cp; local 318 cp = offset_by(char, imp, imp->Offset_Message_Returned); 320 cp = offset_by(char, imp, imp->Offset_Help_Returned); 331 memcpy(q->str, cp, i); 596 char * cp; local 883 char * cp; local 888 cp = qsysinfo->Obj_Name; 905 *cp++ = toupper(*pathname); 920 *cp = '\0';
|
/external/ltp/lib/ |
random_range.c | 105 char *tmpstr, *cp, *tok, *n1str, *n2str, *multstr; local 113 for (ncommas = 0, cp = str; *cp != '\0'; cp++) { 114 if (*cp == ',') { 137 if ((cp = strchr(n1str, ':')) != NULL) { 138 *cp = '\0'; 139 n2str = cp + 1; 141 if ((cp = strchr(n2str, ':')) != NULL) { 142 *cp = '\0' [all...] |
/external/ltp/tools/top-LTP/proc/ |
ksym.c | 145 char *cp; 146 cp = strchr(arg, '\t'); 147 if (cp) 148 *cp = '\0'; /* kill trailing module name first */ 152 cp = strrchr(arg, 'R'); 153 if (!cp || cp <= arg + 1 || cp[-1] != '_') 155 for (p = cp; *++p;) { 171 cp[-1] = '\0' 177 char *cp; local [all...] |
/external/mksh/src/ |
shf.c | 772 char c, *cp; local 916 cp = numbuf + sizeof(numbuf); 917 *--cp = '\0'; 930 *--cp = digits_lc[lnum % 10]; 936 *--cp = '-'; 938 *--cp = '+'; 940 *--cp = ' '; 946 *--cp = digits_lc[lnum & 0x7]; 950 if ((flags & FL_HASH) && *cp != '0') 951 *--cp = '0' [all...] |
/external/openssh/ |
auth2-pubkey.c | 397 char *cp, errmsg[512]; local 455 if ((cp = getenv("LANG")) != NULL) 456 child_set_env(&child_env, &envsize, "LANG", cp); 560 char line[SSH_MAX_PUBKEY_BYTES], *cp, *ep, *line_opts; local 566 for (cp = line; *cp == ' ' || *cp == '\t'; cp++) 569 if ((ep = strchr(cp, '#')) != NULL) 571 if (!*cp || *cp == '\n' 730 char *cp, *key_options = NULL; local [all...] |
hostfile.c | 166 char *cp; local 170 for (cp = *cpp; *cp == ' ' || *cp == '\t'; cp++) 173 if ((r = sshkey_read(ret, &cp)) != 0) 177 for (; *cp == ' ' || *cp == '\t'; cp++) 181 *cpp = cp; 190 char marker[32], *sp, *cp = *cpp; local 676 char *cp, *cp2; local [all...] |
ssh-pkcs11.c | 455 const u_char *cp; local 519 cp = attribs[2].pValue; 522 } else if (d2i_X509(&x509, &cp, attribs[2].ulValueLen)
|
/external/pdfium/third_party/libtiff/ |
tif_dir.c | 58 void _TIFFsetString(char** cpp, char* cp) 59 { setByteArray((void**) cpp, (void*) cp, strlen(cp)+1, 1); } 60 void _TIFFsetNString(char** cpp, char* cp, uint32 n) 61 { setByteArray((void**) cpp, (void*) cp, n, 1); } 137 const char* cp = s; local 139 for (; cp < ep && *cp != '\0'; cp++) {} 140 if (cp >= ep [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
Utf8.java | 295 int cp = Character.codePointAt(sequence, i); local 296 if (cp < Character.MIN_SUPPLEMENTARY_CODE_POINT) { [all...] |