/build/tools/zipalign/ |
ZipAlign.cpp | 212 const char* cp = argv[0] +1; local 214 while (*cp != '\0') { 215 switch (*cp) { 226 fprintf(stderr, "ERROR: unknown flag -%c\n", *cp); 231 cp++;
|
/dalvik/vm/ |
StdioConverter.cpp | 228 char* cp = data->buf; local 231 for (i = data->count; i > 0; i--, cp++) { 232 if (*cp == '\n' || (*cp == '\r' && i != 0 && *(cp+1) != '\n')) { 233 *cp = '\0'; 234 //ALOGW("GOT %d at %d '%s'", cp - start, start - data->buf, start); 236 start = cp+1; 246 start = cp + kMaxLine;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/serialization/ |
CertPathValidatorExceptionTest.java | 66 CertPath cp = ref.getCertPath(); local 69 if (cp == null) { 73 assertEquals("Incorrect CertPath", res.getClass(), cp.getClass());
|
/external/bison/lib/ |
argmatch.c | 254 const char *cp; 265 if ((cp = getenv ("VERSION_CONTROL"))) 266 backup_type = XARGMATCH ("$VERSION_CONTROL", cp, 253 const char *cp; local
|
printf-parse.c | 85 const CHAR_T *cp = format; /* pointer into format */ local 134 while (*cp != '\0') 136 CHAR_T c = *cp++; 143 dp->dir_start = cp - 1; 154 if (*cp >= '0' && *cp <= '9') 158 for (np = cp; *np >= '0' && *np <= '9'; np++) 164 for (np = cp; *np >= '0' && *np <= '9'; np++) 173 cp = np + 1; 180 if (*cp == '\'' [all...] |
/external/chromium/third_party/libevent/test/ |
bench.c | 85 int *cp, space; local 89 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { 91 event_set(&events[i], cp[0], EV_READ | EV_PERSIST, read_cb, (void *) i); 129 int *cp; local 168 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { 170 if (pipe(cp) == -1) { 172 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, cp) == -1) {
|
/external/chromium_org/net/third_party/nss/ssl/ |
ssltrace.c | 38 const unsigned char *cp = (const unsigned char *)vp; local 53 unsigned char ch = *cp++; 72 #define LEN(cp) (((cp)[0] << 8) | ((cp)[1])) 98 static void PrintBuf(sslSocket *ss, char *msg, unsigned char *cp, int len) 112 unsigned char ch = *cp++;
|
/external/chromium_org/third_party/libevent/test/ |
bench.c | 85 int *cp, space; local 89 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { 91 event_set(&events[i], cp[0], EV_READ | EV_PERSIST, read_cb, (void *) i); 129 int *cp; local 168 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { 170 if (pipe(cp) == -1) { 172 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, cp) == -1) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_eval.c | 83 _math_horner_bezier_curve(const GLfloat * cp, GLfloat * out, GLfloat t, 94 out[k] = s * cp[k] + bincoeff * t * cp[dim + k]; 96 for (i = 2, cp += 2 * dim, powert = t * t; i < order; 97 i++, powert *= t, cp += dim) { 102 out[k] = s * out[k] + bincoeff * powert * cp[k]; 108 out[k] = cp[k]; 130 GLfloat *cp = cn + uorder * vorder * dim; local 148 cp[j * dim + k] = s * ucp[k] + bincoeff * u * ucp[uinc + k]; 156 cp[j * dim + k] [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
e_des3.c | 127 char *cp; local
|
/external/dropbear/ |
compat.c | 235 register char **sp, *cp; local 264 cp = strings; 266 while (fgets(cp, flen - (cp - strings), fp) != NULL) { 267 while (*cp != '#' && *cp != '/' && *cp != '\0') 268 cp++; 269 if (*cp == '#' || *cp == '\0' [all...] |
scpmisc.c | 97 char *cp; local 100 cp = xmalloc(len); 101 strncpy(cp, str, len); 102 return cp; 116 colon(char *cp) 120 if (*cp == ':') /* Leading colon is part of file name. */ 122 if (*cp == '[') 125 for (; *cp; ++cp) { 126 if (*cp == '@' && *(cp+1) == '[' 143 char *cp; local 170 char *cp; local [all...] |
/external/e2fsprogs/intl/ |
printf-parse.c | 65 const CHAR_T *cp = format; /* pointer into format */ local 115 while (*cp != '\0') 117 CHAR_T c = *cp++; 124 dp->dir_start = cp - 1; 135 if (*cp >= '0' && *cp <= '9') 139 for (np = cp; *np >= '0' && *np <= '9'; np++) 145 for (np = cp; *np >= '0' && *np <= '9'; np++) 154 cp = np + 1; 161 if (*cp == '\'' [all...] |
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 82 char path[1024], *cp; local 103 cp = malloc(strlen(path)+1); 104 if (!cp) { 108 strcpy(cp, path); 109 *ret_path = cp;
|
imager.c | 45 char *cp = buf; local 49 if (*cp++) 64 char *buf, *cp; local 87 cp = buf; 94 if (check_zero_block(cp, fs->blocksize)) { 98 cp += fs->blocksize; 104 if (check_zero_block(cp + d*fs->blocksize, fs->blocksize)) 108 actual = write(fd, cp, fs->blocksize * d); 119 cp += fs->blocksize * d; 188 char *buf, *cp; local [all...] |
ismounted.c | 241 char buf[1024], *cp; local 266 if ((cp = strchr(buf, ' ')) != NULL) 267 *cp = 0; 268 if ((cp = strchr(buf, '\t')) != NULL) 269 *cp = 0;
|
openfs.c | 91 char *dest, *cp; local 113 cp = strchr(fs->device_name, '?'); 114 if (!io_options && cp) { 115 *cp++ = 0; 116 io_options = cp;
|
/external/e2fsprogs/lib/ss/ |
listen.c | 50 char *cp; local 93 cp = strchr(line, '\n'); 94 if (cp) { 95 *cp = '\0'; 96 if (cp == line) 108 cp = strchr (c, ' '); 109 if (cp) 110 *cp = '\0'; 111 cp = strchr (c, '\t'); 112 if (cp) [all...] |
/external/harfbuzz/contrib/ |
harfbuzz-unicode.c | 80 code_point_to_script(uint32_t cp) { 81 if (cp == 0) { 85 const void *vprop = bsearch((void *) (intptr_t) cp, script_properties, 114 const uint32_t cp = utf16_to_code_point(chars, len, iter); local 115 if (cp == HB_InvalidCodePoint) 118 const HB_Script script = code_point_to_script(cp); 167 const uint32_t cp = utf16_to_code_point_prev(chars, len, iter); local 168 if (cp == HB_InvalidCodePoint) 171 const HB_Script script = code_point_to_script(cp);
|
/external/iptables/extensions/ |
libip6t_hbh.c | 60 char *buffer, *cp, *next, *range; local 66 for (cp=buffer, i=0; cp && i<IP6T_OPTS_OPTSNR; cp=next,i++) 68 next=strchr(cp, ','); 70 range = strchr(cp, ':'); 77 opts[i] = (parse_opts_num(cp, "opt") & 0xFF) << 8; 87 printf("opts str: %s %s\n", cp, range); 91 if (cp) xtables_error(PARAMETER_PROBLEM, "too many addresses specified");
|
/external/javassist/src/test/test/javassist/proxy/ |
ProxySimpleTest.java | 17 ProxyFactory.ClassLoaderProvider cp = ProxyFactory.classLoaderProvider; local 30 ProxyFactory.classLoaderProvider = cp;
|
/external/libpcap/ |
pcap-nit.c | 103 register u_char *bp, *cp, *ep; local 150 cp = bp + sizeof(*nh); 178 if (bpf_filter(fcode, cp, nh->nh_wirelen, caplen)) { 183 (*callback)(user, &h, cp);
|
pcap-snoop.c | 68 register u_char *cp; local 111 cp = (u_char *)(sh + 1) + p->offset; /* XXX */ 119 if (p->linktype == DLT_NULL && *((short *)(cp + 2)) == 0) { 120 u_int *uip = (u_int *)cp; 125 bpf_filter(p->fcode.bf_insns, cp, datalen, caplen)) { 132 (*callback)(user, &h, cp);
|
/external/libppp/src/ |
async.c | 84 async_Encode(struct async *async, u_char **cp, u_char c, int proto) 88 wp = *cp; 99 *cp = wp; 107 u_char *cp, *sp, *ep; local 119 cp = p->async.xbuff; 120 ep = cp + HDLCSIZE - 10; 122 *cp++ = HDLC_SYN; 126 async_Encode(&p->async, &cp, *sp++, *proto); 127 if (cp >= ep) { 134 *cp++ = HDLC_SYN [all...] |
pap.c | 88 u_char *cp; local 103 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader); 104 *cp++ = namelen; 105 memcpy(cp, bundle->cfg.auth.name, namelen); 106 cp += namelen; 107 *cp++ = keylen; 108 memcpy(cp, bundle->cfg.auth.key, keylen); 118 u_char *cp; local 128 cp = MBUF_CTOP(bp) + sizeof(struct fsmheader); 134 *cp++ = mlen > 255 ? 255 : mlen [all...] |