/system/core/libnetutils/ |
dhcpclient.c | 242 char *cp = buf; local 245 cp += sprintf(cp, " %02x ", array[i]);
|
/bionic/libc/netbsd/ |
gethnamaddr.c | 161 cp += (x); \ 162 if (cp > eom) { \ 181 const u_char *cp; local 218 cp = answer->buf; 224 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 253 while (ancount-- > 0 && cp < eom && !had_error) { 254 n = dn_expand(answer->buf, eom, cp, bp, ep - bp); 259 cp += n; /* name */ 260 BOUNDS_CHECK(cp, 3 * INT16SZ + INT32SZ); 261 type = _getshort(cp); 623 const char *cp; local 914 char *cp, **q; local 1027 char *tmpbuf, *ptr, **cp; local [all...] |
/bionic/libc/netbsd/resolv/ |
res_send.c | 290 const u_char *cp = buf + HFIXEDSZ; local 297 n = dn_expand(buf, eom, cp, tname, sizeof tname); 300 cp += n; 301 if (cp + 2 * INT16SZ > eom) 303 ttype = ns_get16(cp); cp += INT16SZ; 304 tclass = ns_get16(cp); cp += INT16SZ; 327 const u_char *cp = buf1 + HFIXEDSZ; local 347 n = dn_expand(buf1, eom1, cp, tname, sizeof tname) 747 u_char *cp; local [all...] |
/dalvik/vm/reflect/ |
Reflect.cpp | 135 char* cp = signature; local 136 while (*cp != ')') { 139 if (*cp == '[') { 140 while (*++cp == '[') 143 if (*cp == 'L') { 144 while (*++cp != ';') 147 cp++; 158 cp = signature; 160 ClassObject* clazz = convertSignaturePartToClass(&cp, defClass); 169 *pSignature = cp; 228 char* cp; local 395 char* cp; local 534 char* cp; local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
EnvironmentCheck.java | 590 String cp = System.getProperty("java.class.path"); local 592 h.put("java.class.path", cp); 594 Vector classpathJars = checkPathForJars(cp, jarNames); 642 * cp should be separated by the usual File.pathSeparator. We 647 * @param cp classpath to search 656 protected Vector checkPathForJars(String cp, String[] jars) 659 if ((null == cp) || (null == jars) || (0 == cp.length()) 664 StringTokenizer st = new StringTokenizer(cp, File.pathSeparator); [all...] |
/external/bluetooth/bluedroid/btif/co/ |
bta_av_co.c | 107 UINT8 num_protect; /* peer SEP number of CP elements */ 121 BOOLEAN cp_active; /* current CP configuration */ 142 tBTA_AV_CO_CP cp; member in struct:__anon2871 164 ** Returns TRUE if the current streaming has CP, FALSE otherwise 170 return bta_av_co_cb.cp.active; 188 return bta_av_co_cb.cp.flag; 214 bta_av_co_cb.cp.flag = cp_flag; 466 bta_av_co_cb.cp.active = TRUE; 473 bta_av_co_cb.cp.active = FALSE; 548 /* If CP is supported * [all...] |
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_fcr.c | 119 register unsigned char *cp = icp; local 124 crc = ((crc >> 8) & 0xff) ^ crctab[(crc & 0xff) ^ *cp++]; [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 33 unsigned char *cp = (unsigned char *)name, *p = *pp, *p1 = NULL; local 38 *cp = 0; 56 if (cp != (unsigned char *)name) 57 cp--; 58 *cp = 0; /* terminate: lose final period */ 60 else if (*cp != 0) 109 if (cp - (unsigned char *)name + digs + 9 >= MAXDNAME) 114 *cp++ = '\\'; 115 *cp++ = '['; 116 *cp++ = 'x' 218 char *cp; local [all...] |
/external/e2fsprogs/e2fsck/ |
pass2.c | 640 char *cp = (char *) dirent; local 653 memmove(cp, cp+8, left); 654 memset(cp + left, 0, 8); [all...] |
unix.c | 653 char *cp; local 851 if ((cp = getenv("E2FSCK_CONFIG")) != NULL) 852 config_fn[0] = cp; 986 char *cp; local 1209 for (cp = ctx->device_name; *cp; cp++) 1210 if (isspace(*cp) || *cp == ':') 1211 *cp = '_' [all...] |
/external/e2fsprogs/intl/ |
dcigettext.c | 597 char *cp = single_locale; local 599 *cp++ = *categoryvalue++; 600 *cp = '\0'; [all...] |
/external/elfutils/libcpu/ |
i386_data.h | 299 char *cp = tmpbuf; local 309 n = snprintf (cp, sizeof (tmpbuf), "%s0x%" PRIx32, 311 cp += n; 314 *cp++ = '('; 318 *cp++ = '%'; 319 cp = stpcpy (cp, 328 *cp++ = 'd'; 338 *cp++ = ','; 339 *cp++ = '%' 948 char *cp; local 1038 char *cp = stpcpy (bufp + *bufcntp, hiregs[modrm & 7]); local 1056 char *cp; local 1142 char *cp = &d->bufp[*bufcntp]; local 1267 char* cp = stpcpy (d->bufp + *bufcntp, rex_8bit[byte]); local [all...] |
/external/fsck_msdos/ |
dir.c | 173 char *cp, *np; local 176 cp = namebuf + sizeof namebuf - 1; 177 *cp = '\0'; 181 if ((cp -= nl) <= namebuf + 1) 183 memcpy(cp, np, nl); 184 *--cp = '/'; 187 *--cp = '?'; 189 cp++; 190 return cp;
|
/external/icu4c/test/cintltst/ |
custrtrn.c | 1387 UChar *cp; local [all...] |
/external/icu4c/test/perf/ubrkperf/ |
ubrkperfold.cpp | 613 uint32_t cp; local 614 U8_NEXT_UNSAFE(bytes, i, cp); 615 c = (UChar)cp; 617 if (cp >= 0x10000) { 623 UTF16_APPEND_CHAR_UNSAFE(utf16Buf, i, cp);
|
/external/ipsec-tools/src/racoon/ |
eaytest.c | 295 unsigned char *cp; int i; local 297 for (cp = asn1dn->v, i = 0; i < asn1dn->l; i++) 298 printf ("0x%02x,", *cp++);
|
/external/javassist/src/main/javassist/bytecode/ |
AnnotationsAttribute.java | 87 * ConstPool cp = cf.getConstPool(); 89 * = new AnnotationsAttribute(cp, AnnotationsAttribute.visibleTag); 90 * Annotation a = new Annotation("Author", cp); 91 * a.addMemberValue("name", new StringMemberValue("Chiba", cp)); 117 * @param cp constant pool 124 public AnnotationsAttribute(ConstPool cp, String attrname, byte[] info) { 125 super(cp, attrname, info); 134 * @param cp constant pool 139 public AnnotationsAttribute(ConstPool cp, String attrname) { 140 this(cp, attrname, new byte[] { 0, 0 }) 630 ConstPool cp = pool; local [all...] |
/external/javassist/src/main/javassist/bytecode/stackmap/ |
MapMaker.java | 38 ClassPool cp = ClassPool.getDefault(); 39 //javassist.CtClass cc = cp.get(className); 40 javassist.CtClass cc = cp.makeClass(new java.io.FileInputStream(className)); 48 ca.setAttribute(make(cp, minfo)); 55 ClassPool cp = ClassPool.getDefault(); 56 //javassist.CtClass cc = cp.get(args[1]); 57 javassist.CtClass cc = cp.makeClass(new java.io.FileInputStream(args[1])); 72 MapMaker mm = new MapMaker(cp, minfo, ca); 287 ClassPool cp = classPool; local 288 evalExpected(cp, target.stackTop, target.stackTypes) 398 ConstPool cp = cpool; local [all...] |
/external/kernel-headers/original/linux/sunrpc/ |
svc.h | 174 char *cp = (char *)p; local 176 return cp >= (char*)vec->iov_base 177 && cp <= (char*)vec->iov_base + vec->iov_len; 184 char *cp = (char*)p; local 186 vec->iov_len = cp - (char*)vec->iov_base;
|
/external/libpcap/ |
pcap-dlpi.c | 463 register char *cp; local 496 cp = strrchr(device, '/'); 497 if (cp == NULL) 500 strlcpy(dname, cp + 1, sizeof(dname)); 506 cp = split_dname(dname, &ppa, ebuf); 507 if (cp == NULL) 509 *cp = '\0'; 522 cp = "/dev/dlpi"; 523 if ((p->fd = open(cp, O_RDWR)) < 0) { 525 "%s: %s", cp, pcap_strerror(errno)) 977 char *cp; local 1549 char *cp; local 1802 register const char *cp; local [all...] |
/external/libppp/src/ |
ipcp.c | 220 char *cp, *cp_nons, *ncp, ch; local 227 cp = ipcp->ns.resolv; 230 while ((ncp = strstr(cp, "nameserver")) != NULL) { 231 if (ncp != cp) { 232 memcpy(cp_nons, cp, ncp - cp); 233 cp_nons += ncp - cp; 235 if ((ncp != cp && ncp[-1] != '\n') || !issep(ncp[10])) { 238 cp = ncp + 9; /* Can't match "nameserver" at cp... * [all...] |
/external/mksh/src/ |
exec.c | 64 char *cp; local 99 herein(t->ioact[0], &cp) == 0 && cp && *cp) { 100 char *sp = cp, *dp; 107 z = strlen(cp) + 1; 120 afree(cp, APERM); 503 const char *cp; local 545 if ((cp = *++ap) == NULL || 546 (!strcmp(cp, "--") && (cp = *++ap) == NULL)) 843 unsigned char *cp; local 1286 char *cp = iop->name; local [all...] |
syn.c | 199 iop->delim = yylval.cp; 208 iop->name = yylval.cp; 211 char *cp; local 214 nextiop->name = cp = alloc(5, ATEMP); 217 *cp++ = CHAR; 218 *cp++ = '0' + (iop->unit / 10); 220 *cp++ = CHAR; 221 *cp++ = '0' + (iop->unit % 10); 222 *cp = EOS; 314 is_wdvarassign(yylval.cp)) 1130 char *cp; local [all...] |
/external/netcat/ |
netcat.c | 861 int hi, lo, cp; local 888 cp = hi; 890 lo = cp; 894 for (cp = lo; cp <= hi; cp++) { 898 snprintf(portlist[x], PORT_MAX_LEN, "%d", cp);
|
/external/openssh/ |
misc.c | 379 * Returns *cp if parsing succeeds. 380 * *cp is set to the start of the next delimiter, if one was found. 381 * If this is the last field, *cp is set to NULL. 384 hpdelim(char **cp) 388 if (cp == NULL || *cp == NULL) 391 old = s = *cp; 398 s = *cp + strlen(*cp); /* skip to end (see first case below) */ 402 *cp = NULL; /* no more fields* 456 char *cp; local 483 char *cp; local [all...] |