/external/e2fsprogs/tests/progs/ |
test_rel.c | 666 char *cp; local 692 cp = strchr(buf, '\n'); 693 if (cp) 694 *cp = 0; 695 cp = strchr(buf, '\r'); 696 if (cp) 697 *cp = 0;
|
/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/elfutils/src/ |
size.c | 375 char *cp = new_prefix; local 380 cp = mempcpy (cp, prefix, prefix_len); 381 *cp++ = ':'; 383 memcpy (cp, fname, fname_len); 676 char *cp = fullname; local 681 cp = mempcpy (cp, prefix, prefix_len); 682 *cp++ = ':'; 684 memcpy (cp, fname, fname_len) [all...] |
/external/stlport/src/ |
time_facets.cpp | 150 const char * cp = format.data(); variable 151 const char * cp_end = cp + format.size(); 152 while (cp != cp_end) { 153 if (*cp == '%') { 155 ++cp; 156 if (*cp == '#') { 157 mod = *cp; ++cp; 159 __write_formatted_timeT(buf, ct, *cp++, mod, table, t); 161 buf.append(1, *cp++) [all...] |
/external/stlport/test/unit/ |
money_facets_test.cpp | 542 money_base::pattern cp = cfacet.pos_format(); local 544 CPPUNIT_CHECK( cp_bn.field[0] == cp.field[0] ); 545 CPPUNIT_CHECK( cp_bn.field[1] == cp.field[1] ); 546 CPPUNIT_CHECK( cp_bn.field[2] == cp.field[2] ); 547 CPPUNIT_CHECK( cp_bn.field[3] == cp.field[3] ); 571 money_base::pattern cp = cfacet.pos_format(); local 573 CPPUNIT_CHECK( cp_bn.field[0] == cp.field[0] ); 574 CPPUNIT_CHECK( cp_bn.field[1] == cp.field[1] ); 575 CPPUNIT_CHECK( cp_bn.field[2] == cp.field[2] ); 576 CPPUNIT_CHECK( cp_bn.field[3] == cp.field[3] ) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
openfs.c | 92 char *dest, *cp; local 111 cp = strchr(fs->device_name, '?'); 112 if (!io_options && cp) { 113 *cp++ = 0; 114 io_options = cp;
|
/external/icu4c/tools/genrb/ |
genrb.c | 23 static void processFile(const char *filename, const char* cp, const char *inputDir, const char *outputDir, const char *packageName, UErrorCode *status); 273 processFile(const char *filename, const char *cp, const char *inputDir, const char *outputDir, const char *packageName, UErrorCode *status) { 364 ucbuf = ucbuf_open(openFileName, &cp,getShowWarning(),TRUE, status); 376 if (cp!=NULL && isVerbose()) { 377 printf("autodetected encoding %s\n", cp);
|
/external/openssl/ssl/ |
s2_lib.c | 342 SSL_CIPHER c,*cp; local 348 cp = (SSL_CIPHER *)OBJ_bsearch((char *)&c, 352 if ((cp == NULL) || (cp->valid == 0)) 355 return cp;
|
/external/tcpdump/ |
print-wb.c | 186 const char *cp; local 207 cp = (char *)(io + nid); 208 if ((u_char *)cp + len <= snapend) { 210 (void)fn_print((u_char *)cp, (u_char *)cp + len);
|
/frameworks/base/libs/utils/ |
String8.cpp | 526 const char* cp; local 529 cp = strrchr(buf, OS_PATH_SEPARATOR); 530 if (cp == NULL) 533 return String8(cp+1); 538 const char* cp; local 541 cp = strrchr(str, OS_PATH_SEPARATOR); 542 if (cp == NULL) 545 return String8(str, cp - str); 550 const char* cp; local 554 cp = strchr(buf, OS_PATH_SEPARATOR) [all...] |
/dalvik/vm/ |
Sync.c | 378 char *cp; local 384 cp = eventBuffer; 387 *cp++ = 7; 395 cp = logWriteString(cp, procName, len); 399 cp = logWriteInt(cp, isMainThread); 403 cp = logWriteString(cp, selfName, strlen(selfName)); 407 cp = logWriteInt(cp, waitMs) [all...] |
Misc.c | 389 char* cp = newStr; local 394 while (*cp != '\0') { 395 if (*cp == '/') { 399 if (*cp == '.') 400 *cp = '/'; 401 cp++;
|
/external/ipsec-tools/src/racoon/ |
racoonctl.c | 372 struct cmd_tag *cp; local 380 for (cp = &cmdtab[0]; cp->str; cp++) { 381 if (strcmp(*av, cp->str) == 0) { 385 if (!cp->str) { 393 return (cp->func)(ac, av); 868 struct proto_tag *cp; local 876 for (cp = &prototab[0]; cp->str; cp++) 1074 struct ulproto_tag *cp; local [all...] |
/hardware/broadcom/wlan/bcm4329/src/shared/ |
bcmutils.c | 548 bcm_strtoul(char *cp, char **endp, uint base) 555 while (bcm_isspace(*cp)) 556 cp++; 558 if (cp[0] == '+') 559 cp++; 560 else if (cp[0] == '-') { 562 cp++; 566 if (cp[0] == '0') { 567 if ((cp[1] == 'x') || (cp[1] == 'X')) [all...] |
/external/wpa_supplicant/ |
eap_mschapv2.c | 575 struct ms_change_password *cp; local 590 ms_len = sizeof(*ms) + sizeof(*cp); 600 cp = (struct ms_change_password *) (ms + 1); 605 password, password_len, cp->encr_password); 610 password, password_len, cp->encr_hash); 613 if (os_get_random(cp->peer_challenge, MSCHAPV2_CHAL_LEN)) { 619 os_memset(cp->reserved, 0, 8); 625 cp->peer_challenge, MSCHAPV2_CHAL_LEN); 630 generate_nt_response(data->passwd_change_challenge, cp->peer_challenge, 633 cp->nt_response) [all...] |
/external/bluetooth/glib/glib/gnulib/ |
vasnprintf.c | 275 const char *cp; local 325 for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) 327 if (cp != dp->dir_start) 329 size_t n = dp->dir_start - cp; 332 memcpy (result + length, cp, n);
|
/external/e2fsprogs/intl/ |
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/icu4c/common/ |
uniset.cpp | 490 int32_t cp = getSingleCP(s); 491 if (cp < 0) { 494 return contains((UChar32) cp); 1000 int32_t cp = getSingleCP(s); 1001 if (cp < 0) { 1007 add((UChar32)cp); 1047 UChar32 cp = s.char32At(0); 1048 if (cp > 0xFFFF) { // is surrogate pair 1049 return cp; [all...] |
/external/iptables/extensions/ |
libip6t_sctp.c | 87 char *cp; local 91 if ((cp = strchr(buffer, ':')) == NULL) { 95 *cp = '\0'; 96 cp++; 99 ports[1] = cp[0] ? parse_port(cp, "sctp") : 0xFFFF;
|
libipt_conntrack.c | 160 char *cp; local 163 if ((cp = strchr(buffer, ':')) == NULL) 166 *cp = '\0'; 167 cp++; 170 sinfo->expires_max = cp[0] ? parse_expire(cp) : -1;
|
libipt_sctp.c | 88 char *cp; local 92 if ((cp = strchr(buffer, ':')) == NULL) { 96 *cp = '\0'; 97 cp++; 100 ports[1] = cp[0] ? parse_port(cp, "sctp") : 0xFFFF;
|
/system/wlan/ti/sta_dk_4_0_4_32/wpa_supplicant_lib/ |
driver_ti.c | 1635 char *cp = cmd + 13; local 1723 char *cp = cmd + 9; local 1764 char *cp = cmd + 17; local 1820 char *cp = cmd + 12; local 1838 char *cp = cmd + 15; local 1866 char *cp = cmd + 10; local [all...] |
/bionic/libc/bionic/ |
fts.c | 182 char *cp; local 193 if ((cp = strrchr(p->fts_name, '/')) && (cp != p->fts_name || cp[1])) { 194 len = strlen(++cp); 195 memmove(p->fts_name, cp, len + 1); 553 char *cp; local 632 cp = sp->fts_path + len; 633 *cp++ = '/'; 676 cp = sp->fts_path + len [all...] |
/frameworks/base/core/jni/ |
AndroidRuntime.cpp | 357 for (char* cp = const_cast<char*>(className); *cp != '\0'; cp++) { 358 if (*cp == '.') { 361 cp = convName + (cp-className); 364 *cp = '/'; 897 char* cp; local 967 for (cp = slashClassName; *cp != '\0'; cp++ [all...] |
/system/core/sh/ |
eval.c | 392 union node *cp; local 401 for (cp = n->ncase.cases ; cp && evalskip == 0 ; cp = cp->nclist.next) { 402 for (patp = cp->nclist.pattern ; patp ; patp = patp->narg.next) { 405 evaltree(cp->nclist.body, flags); 637 char *cp, c; local 645 cp = *argv; 646 if (*cp++ != '-' [all...] |