/external/e2fsprogs/intl/ |
vasnprintf.c | 137 const CHAR_T *cp; local 207 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 209 if (cp != dp->dir_start) 211 size_t n = dp->dir_start - cp; 215 memcpy (result + length, cp, n * sizeof (CHAR_T));
|
/external/e2fsprogs/lib/blkid/ |
tag.c | 226 char *name, *value, *cp; local 230 if (!token || !(cp = strchr(token, '='))) 236 value = name + (cp - token); 240 if (!(cp = strrchr(value, c))) 242 *cp = '\0';
|
/external/e2fsprogs/lib/ext2fs/ |
test_io.c | 128 const unsigned char *cp; local 133 for (i=0, cp = buf; i < channel->block_size; i++, cp++) { 134 cksum += *cp; 137 for (i=0, cp = buf; i < channel->block_size; i++, cp++) { 140 fprintf(f, "%02x%c", *cp, ((i % 16) == 15) ? '\n' : ' ');
|
/external/e2fsprogs/misc/ |
blkid.c | 72 static void safe_print(const char *cp, int len) 77 len = strlen(cp); 80 ch = *cp++; 101 const char *cp; local 111 cp = getenv("COLUMNS"); 112 if (cp) 113 return strtol(cp, NULL, 10);
|
e2initrd_helper.c | 124 char *cp, *ret; local 127 cp = file->buf + file->ptr; 128 while (*cp && *cp != '\n') { 129 cp++; 137 while (*cp && (*cp == '\n' || *cp == '\r')) { 138 cp++; 165 static char *skip_over_blank(char *cp) 235 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local [all...] |
uuidd.c | 237 char reply_buf[1024], *cp; local 417 for (i=0, cp=reply_buf+sizeof(num); 418 i < num; i++, cp+=16) { 419 uuid_unparse((unsigned char *)cp, str); 443 char buf[1024], *cp; local 541 cp = buf + 4; 544 for (i=0; i < num; i++, cp+=16) { 545 uuid_unparse((unsigned char *) cp, str);
|
/external/e2fsprogs/tests/progs/ |
test_rel.c | 666 char *cp; local 694 cp = strchr(buf, '\n'); 695 if (cp) 696 *cp = 0; 697 cp = strchr(buf, '\r'); 698 if (cp) 699 *cp = 0;
|
/external/elfutils/libdw/ |
dwarf_getsrclines.c | 258 char *cp = new_file->info.name; local 266 cp = stpcpy (cp, dirarray[diridx]->dir); 268 *cp++ = '/'; 269 strcpy (cp, fname); 413 char *cp = new_file->info.name; local 421 cp = stpcpy (cp, dirarray[diridx]->dir); 422 *cp++ = '/'; 423 strcpy (cp, fname) [all...] |
/external/grub/stage2/ |
tparm.c | 336 register const char *cp; local 374 for (cp = string; (cp - string) < (int) len2;) { 375 if (*cp == '%') { 376 cp++; 377 cp = parse_format(cp, format, &len); 378 switch (*cp) { 399 cp++; 400 i = (*cp - '0') [all...] |
/external/icu4c/common/ |
caniter.cpp | 167 UChar32 cp = 0; local 217 for (; i < source.length(); i += UTF16_CHAR_LENGTH(cp)) { 218 cp = source.char32At(i); 219 if (nfcImpl.isCanonSegmentStarter(cp)) { 286 UChar32 cp; local 293 for (i = 0; i < source.length(); i += UTF16_CHAR_LENGTH(cp)) { 294 cp = source.char32At(i); 302 if (skipZeros && i != 0 && u_getCombiningClass(cp) == 0) { 310 //Hashtable *subpermute = permute(source.substring(0,i) + source.substring(i + UTF16.getCharCount(cp))); 311 permute(subPermuteString.replace(i, UTF16_CHAR_LENGTH(cp), NULL, 0), skipZeros, &subpermute, status) 444 UChar32 cp; local 515 UChar32 cp; local [all...] |
propsvec.c | 44 uint32_t cp; local 75 for(cp=UPVEC_FIRST_SPECIAL_CP; cp<=UPVEC_MAX_CP; ++cp) { 76 row[0]=cp; 77 row[1]=cp+1;
|
/external/icu4c/i18n/ |
ucol_elm.h | 117 UChar cp; member in struct:__anon6276
|
uspoof_wsconf.cpp | 223 UChar32 cp; local 224 for (cp=startCodePoint; cp<=endCodePoint; cp++) { 225 int32_t setIndex = utrie2_get32(table, cp); 236 bsset->codePoint = cp; 247 utrie2_set32(table, cp, setIndex, &status); 255 UScriptCode cpScript = uscript_getScript(cp, &status);
|
/external/icu4c/test/intltest/ |
idnaconf.cpp | 200 UChar32 cp = 0; local 203 cp = (cp * 16) + (*p - 0x30); 205 cp = (cp * 16) + (*p - 0x61) + 10; 207 cp = (cp * 16) + (*p - 0x41) + 10; 212 if (U_IS_BMP(cp)){ 213 *bufBase++ = cp; 215 *bufBase++ = U16_LEAD(cp); [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/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);
|
CtNewMethod.java | 227 ConstPool cp = finfo.getConstPool(); local 228 MethodInfo minfo = new MethodInfo(cp, methodName, desc); 231 Bytecode code = new Bytecode(cp, 2, 1); 268 ConstPool cp = finfo.getConstPool(); local 269 MethodInfo minfo = new MethodInfo(cp, methodName, desc); 272 Bytecode code = new Bytecode(cp, 3, 3); 333 ConstPool cp = declaring.getClassFile2().getConstPool(); local 334 MethodInfo minfo = new MethodInfo(cp, methodName, desc); 340 (ExceptionsAttribute)eattr.copy(cp, null)); 342 Bytecode code = new Bytecode(cp, 0, 0) [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
TypeData.java | 42 static void setType(TypeData td, String className, ClassPool cp) throws BadBytecode { 46 td.setType(className, cp); 52 public abstract int getTypeData(ConstPool cp); 69 protected abstract void setType(String s, ClassPool cp) throws BadBytecode; 70 public abstract void evalExpectedType(ClassPool cp) throws BadBytecode; 92 public int getTypeData(ConstPool cp) { return 0; } 105 public void evalExpectedType(ClassPool cp) throws BadBytecode {} 115 protected void setType(String s, ClassPool cp) throws BadBytecode { 171 public int getTypeData(ConstPool cp) { 179 return getTypeData2(cp, type) 404 array.setType(getArrayType(typeName), cp); local [all...] |
/external/javassist/src/main/javassist/compiler/ |
AccessorMaker.java | 50 ConstPool cp = cf.getConstPool(); local 53 = new MethodInfo(cp, MethodInfo.nameInit, consDesc); 55 minfo.addAttribute(new SyntheticAttribute(cp)); 58 minfo.addAttribute(ea.copy(cp, null)); 61 Bytecode code = new Bytecode(cp); 109 ConstPool cp = cf.getConstPool(); local 112 = new MethodInfo(cp, accName, accDesc); 114 minfo.addAttribute(new SyntheticAttribute(cp)); 117 minfo.addAttribute(ea.copy(cp, null)); 121 Bytecode code = new Bytecode(cp); 161 ConstPool cp = cf.getConstPool(); local 212 ConstPool cp = cf.getConstPool(); local [all...] |
/external/javassist/src/main/javassist/expr/ |
Cast.java | 64 ConstPool cp = getConstPool(); local 67 String name = cp.getClassInfo(index); 96 ClassPool cp = thisClass.getClassPool(); local 101 = new CtClass[] { cp.get(javaLangObject) };
|
Expr.java | 133 ConstPool cp = thisMethod.getConstPool(); local 145 addClass(list, pool.get(cp.getClassInfo(t)));
|
Instanceof.java | 67 ConstPool cp = getConstPool(); local 70 String name = cp.getClassInfo(index); 99 ClassPool cp = thisClass.getClassPool(); local 104 = new CtClass[] { cp.get(javaLangObject) };
|
MethodCall.java | 34 private int getNameAndType(ConstPool cp) { 40 return cp.getInterfaceMethodrefNameAndType(index); 42 return cp.getMethodrefNameAndType(index); 85 ConstPool cp = getConstPool(); local 91 cname = cp.getInterfaceMethodrefClassName(index); 93 cname = cp.getMethodrefClassName(index); 105 ConstPool cp = getConstPool(); local 106 int nt = getNameAndType(cp); 107 return cp.getUtf8Info(cp.getNameAndTypeName(nt)) 128 ConstPool cp = getConstPool(); local 204 ClassPool cp = thisClass.getClassPool(); local [all...] |
NewExpr.java | 43 private int getNameAndType(ConstPool cp) { 49 return cp.getInterfaceMethodrefNameAndType(index); 51 return cp.getMethodrefNameAndType(index); 113 ConstPool cp = getConstPool(); local 115 String desc = cp.getMethodrefType(index); 133 ConstPool cp = getConstPool(); 135 String desc = cp.getMethodrefType(index); 183 ClassPool cp = thisClass.getClassPool(); local 186 CtClass[] params = Descriptor.getParameterTypes(signature, cp); 187 CtClass newType = cp.get(newTypeName) [all...] |