/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...] |
slcompress.c | 109 *cp++ = 0; \ 110 cp[1] = (n); \ 111 cp[0] = (n) >> 8; \ 112 cp += 2; \ 114 *cp++ = (n); \ 119 *cp++ = 0; \ 120 cp[1] = (n); \ 121 cp[0] = (n) >> 8; \ 122 cp += 2; \ 124 *cp++ = (n); 170 register u_char *cp = new_seq; local 433 register u_char *cp; local [all...] |
udp.c | 255 char *cp, *host, *port, *svc; local 260 if ((cp = strchr(p->name.full, ':')) != NULL && !strchr(cp + 1, ':')) { 261 *cp = '\0'; 263 port = cp + 1; 266 *cp = ':'; 277 *cp = ':';
|
/external/libselinux/src/ |
context.c | 134 char *cp = n->current_str; local 136 strcpy(cp, n->component[0]); 137 cp += strlen(cp); 140 *cp++ = ':'; 141 strcpy(cp, n->component[i]); 142 cp += strlen(cp);
|
/external/openssh/ |
bufaux.c | 209 char *cp, *ret = buffer_get_string_ret(buffer, &length); local 213 if ((cp = memchr(ret, '\0', length)) != NULL) { 215 if (cp == ret + length - 1)
|
compat.c | 213 char *cp, *tmp; local 220 while ((cp = strsep(&tmp, ",")) != NULL) { 221 if (strncmp(cp, "aes", 3) != 0) { 224 buffer_append(&b, cp, strlen(cp));
|
mac.c | 176 char *maclist, *cp, *p; local 180 maclist = cp = xstrdup(names); 181 for ((p = strsep(&cp, MAC_SEP)); p && *p != '\0'; 182 (p = strsep(&cp, MAC_SEP))) {
|
match.c | 244 char *c, *s, *p, *ret, *cp, *sp; local 247 c = cp = xstrdup(client); 259 for ((p = strsep(&cp, SEP)), i=0; p && *p != '\0'; 260 (p = strsep(&cp, SEP)), i++) { 265 *next = (cp == NULL) ? 266 strlen(c) : (u_int)(cp - c);
|
/external/openssl/crypto/evp/ |
e_des3.c | 127 char *cp; local
|
/external/oprofile/daemon/liblegacy/ |
opd_parse_proc.c | 48 char const * cp = line; local 51 while (*cp && *cp != ' ') 52 cp++; 55 if (!*cp || (!*(++cp)) || (!*(++cp)) || (*(++cp) != 'x')) 63 cp += 2; 66 if (sscanf(cp, "%lx", &offset) != 1 [all...] |
/external/ppp/pppd/ |
srp-entry.c | 103 char *cp; local 145 if ((cp = strchr(pname, '\n')) != NULL) 146 *cp = '\0'; 165 for (cp = name; *cp != '\0'; cp++) 166 if (isspace(*cp)) 168 else if (*cp == '"') 170 else if (*cp == '\'') 172 else if (*cp == '\\' [all...] |
/external/valgrind/main/coregrind/ |
m_commandline.c | 98 HChar* cp = s; local 99 vg_assert(cp); 103 while (VG_(isspace)(*cp)) cp++; 104 if (*cp == 0) break; 105 tmp = cp; 106 while ( !VG_(isspace)(*cp) && *cp != 0 ) cp++; 107 if ( *cp != 0 ) *cp++ = '\0'; // terminate if not the las [all...] |
/external/webkit/Source/WebCore/platform/graphics/mac/ |
ComplexTextControllerCoreText.cpp | 107 const UChar* cp; member in struct:WebCore::ProviderInfo 120 return info->cp + stringIndex; 123 void ComplexTextController::collectComplexTextRunsForCharactersCoreText(const UChar* cp, unsigned length, unsigned stringLocation, const SimpleFontData* fontData) 127 m_complexTextRuns.append(ComplexTextRun::create(m_font.primaryFont(), cp, stringLocation, length, m_run.ltr())); 146 ProviderInfo info = { cp, length, fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation()) }; 149 RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, cp, length, kCFAllocatorNull)); 156 ProviderInfo info = { cp, length, fontData->getCFStringAttributes(m_font.typesettingFeatures(), fontData->platformData().orientation()) }; 171 m_complexTextRuns.append(ComplexTextRun::create(ctRun, fontData, cp, stringLocation, length, runRange));
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicColorMatrix.cpp | 114 RsdCpuScriptIntrinsicColorMatrix *cp = (RsdCpuScriptIntrinsicColorMatrix *)p->usr; local 124 rsdIntrinsicColorMatrix4x4_K(out, in, cp->ip, len); 132 One(p, out++, in++, cp->fp); 141 RsdCpuScriptIntrinsicColorMatrix *cp = (RsdCpuScriptIntrinsicColorMatrix *)p->usr; local 151 rsdIntrinsicColorMatrix3x3_K(out, in, cp->ip, len); 159 One(p, out++, in++, cp->fp); 168 RsdCpuScriptIntrinsicColorMatrix *cp = (RsdCpuScriptIntrinsicColorMatrix *)p->usr; local 178 rsdIntrinsicColorMatrixDot_K(out, in, cp->ip, len); 186 One(p, out++, in++, cp->fp);
|