/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/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...] |
/external/jhead/ |
jpgfile.c | 201 int cp, ep, size; local 203 cp = ftell(infile); 206 fseek(infile, cp, SEEK_SET); 208 size = ep-cp; 225 Sections[SectionsRead].Offset = cp;
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
AbstractHeightMap.java | 480 float cp = 1 - np;
local 481 heightData[x + y * size] = neighAverage * np + heightData[x + y * size] * cp;
|
/external/libmtp/examples/ |
sendtr.c | 66 char *cp, *bp; local 79 cp = strrchr(buffer, '\n'); 80 if ( cp != NULL ) *cp = '\0'; 83 while ( bp != cp ) {
|
/external/libpcap/ |
inet.c | 106 const char *cp, *endcp; local 119 for (cp = name; cp < endcp && !isdigit((unsigned char)*cp); ++cp) 122 if (isdigit((unsigned char)*cp)) 123 n = atoi(cp);
|
/external/libppp/src/ |
ccp.c | 349 u_char *cp, buff[100]; local 353 cp = buff; 381 if (cp + (*o)->val.hdr.len > buff + sizeof buff) { 385 memcpy(cp, &(*o)->val, (*o)->val.hdr.len); 386 cp += (*o)->val.hdr.len; 395 fsm_Output(fp, CODE_CONFIGREQ, fp->reqid, buff, cp - buff, MB_CCPOUT); 566 CcpDecodeConfig(struct fsm *fp, u_char *cp, u_char *end, int mode_type, 578 while (end >= cp + sizeof(opt->hdr)) { 579 if ((opt = fsm_readopt(&cp)) == NULL)
|
chap.c | 491 char *cp; local 497 cp = chap->challenge.local; 502 *cp++ = 16; 504 *cp++ = (random() % 10) + '0'; 510 *cp++ = 8; /* MS does 8 byte callenges :-/ */ 512 *cp++ = 16; /* MS-CHAP-V2 does 16 bytes challenges */ 515 *cp++ = random() % (CHAPCHALLENGELEN-16) + 16; 517 *cp++ = random() & 0xff; 519 memcpy(cp, authp->physical->dl->bundle->cfg.auth.name, len);
|
main.c | 213 char *cp; local 221 cp = argv[arg] + 1; 222 newmode = Nam2mode(cp); 225 if (strcmp(cp, "nat") == 0) { 232 } else if (strcmp(cp, "alias") == 0) { 242 } else if (strncmp(cp, "unit", 4) == 0) { 244 if (cp[4] == '\0') { 252 sw->unit = atoi(cp + 4); 253 } else if (strcmp(cp, "quiet") == 0) {
|
mbuf.c | 388 u_char *cp; local 392 for (cp = MBUF_CTOP(nbp); bp; bp = m_free(bp)) { 393 memcpy(cp, MBUF_CTOP(bp), bp->m_len); 394 cp += bp->m_len;
|
systems.c | 320 char *cp; local 349 cp = strip(line); 351 switch (*cp) { 356 switch (DecodeCtrlCommand(cp+1, arg)) { 367 log_Printf(LogWARN, "%s: %s: Invalid command\n", filename, cp); 373 if ((cp = GetLabel(cp, filename, linenum)) == NULL) 376 if (strcmp(cp, name) == 0) { 385 cp = strip(line); 387 if (*cp == '\0') /* empty / comment * [all...] |
/external/libusb/libusb/ |
descriptor.c | 46 char *cp; local 48 for (cp = descriptor; *cp; cp++) { 49 switch (*cp) {
|
/external/mksh/src/ |
tree.c | 745 char *cp, *buf; local 750 cp = buf; 752 if (UTFMODE && (n = utf_mbtowc(&c, cp)) != (size_t)-1) { 759 *dst++ = *cp++; 762 if (--sz == 0 || (c = (unsigned char)(*cp++)) == 0)
|
/external/openssh/ |
addrmatch.c | 318 char addrbuf[64], *mp, *cp; local 327 masklen = strtoul(mp, &cp, 10); 328 if (*mp == '\0' || *cp != '\0' || masklen > 128) 380 char *list, *cp, *o; local 391 while ((cp = strsep(&list, ",")) != NULL) { 392 neg = *cp == '!'; 394 cp++; 395 if (*cp == '\0') { 400 r = addr_pton_cidr(cp, &match_addr, &masklen); 403 "network \"%.100s\"", cp); 440 char *list, *cp, *o; local [all...] |