/external/dhcpcd/ |
if-bsd.c | 293 get_addrs(int type, char *cp, struct sockaddr **sa) 299 sa[i] = (struct sockaddr *)cp; 305 RT_ADVANCE(cp, sa[i]); 314 char *p, *e, *cp; local 395 cp = (char *)(void *)(rtm + 1); 396 sa = (struct sockaddr *)(void *)cp; 399 get_addrs(rtm->rtm_addrs, cp, rti_info); 415 cp = (char *)(void *)(ifam + 1); 416 get_addrs(ifam->ifam_addrs, cp, rti_info);
|
/external/dnsmasq/src/ |
util.c | 213 unsigned char *cp = p++; local 216 *cp = j;
|
/external/dropbear/ |
common-channel.c | 759 const struct ChanType **cp; local 784 for (cp = &ses.chantypes[0], chantype = (*cp); 786 cp++, chantype = (*cp)) {
|
/external/e2fsprogs/debugfs/ |
set_fields.c | 334 char *cp = (char *) info->ptr; local 341 strcpy(cp, arg);
|
/external/e2fsprogs/e2fsck/ |
util.c | 104 const char *cp = s; local 106 while (count-- && *cp) 107 cp++; 108 return cp - s; 614 char buf[80], *cp, *t; local 622 cp = buf; 623 if (!isspace(*cp)) { 624 while (*cp && !isspace(*cp)) 625 cp++ 653 char buf[1024], *cp, *t; local [all...] |
/external/e2fsprogs/ext2ed/ |
general_com.c | 582 unsigned char *cp = (unsigned char *) ptr; local 589 ch = *cp++; 592 if (cp[j-i])
|
/external/e2fsprogs/intl/ |
localealias.c | 256 char *cp; local 262 cp = buf; 264 while (isspace ((unsigned char) cp[0])) 265 ++cp; 268 if (cp[0] != '\0' && cp[0] != '#') 270 alias = cp++; 271 while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) 272 ++cp; [all...] |
relocatable.c | 217 const char *cp = curr_installdir + strlen (curr_installdir); local 221 while (rp > rel_installdir && cp > cp_base) 225 const char *cpi = cp; 252 cp = cpi; 260 size_t curr_prefix_len = cp - curr_installdir;
|
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/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 | 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 516 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/icu4c/i18n/ |
ucol_elm.h | 117 UChar cp; member in struct:__anon8682
|
/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...] |