/bionic/libc/upstream-freebsd/lib/libc/string/ |
wcscat.c | 42 wchar_t *cp; local 44 cp = s1; 45 while (*cp != L'\0') 46 cp++; 47 while ((*cp++ = *s2++) != L'\0')
|
wcscpy.c | 42 wchar_t *cp; local 44 cp = s1; 45 while ((*cp++ = *s2++) != L'\0')
|
/external/clang/test/Sema/ |
format-strings-non-iso.c | 7 char *cp; local 14 scanf("%ms", &cp); // expected-warning{{'m' length modifier is not supported by ISO C}}
|
/external/bison/src/ |
main.c | 68 char const *cp = getenv ("LC_CTYPE"); local 69 if (cp && !strcmp (cp, "C"))
|
/external/chromium_org/v8/test/mjsunit/ |
this-in-callbacks.js | 34 function cp(x, y) { function 39 [1, 2].sort(cp);
|
/external/clang/test/CodeGen/ |
2010-02-10-PointerName.c | 7 char *cp = &i; local
|
/external/compiler-rt/BlocksRuntime/tests/ |
cast.c | 26 char *cp; local 30 cp = (char *)aBlock; 33 aBlock = (void (^)(void))cp;
|
/external/e2fsprogs/lib/ext2fs/ |
crc16.c | 61 const unsigned char *cp = buffer; local 71 crc16_table[(crc ^ *cp++) & 0xffU]) & 0x0000ffffU;
|
version.c | 29 const char *cp; local 32 for (cp = ver_string; *cp; cp++) { 33 if (*cp == '.') { 39 if (!isdigit(*cp)) 41 version = (version * 10) + (*cp - '0');
|
/external/e2fsprogs/lib/uuid/ |
isnull.c | 40 const unsigned char *cp; local 43 for (i=0, cp = uu; i < 16; i++) 44 if (*cp++)
|
parse.c | 46 const char *cp; local 51 for (i=0, cp = in; i <= 36; i++,cp++) { 54 if (*cp == '-') 60 if (*cp == 0) 62 if (!isxdigit(*cp)) 69 cp = in+24; 72 buf[0] = *cp++; 73 buf[1] = *cp++;
|
/external/v8/test/mjsunit/ |
this-in-callbacks.js | 34 function cp(x, y) { function 39 [1, 2].sort(cp);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
utxttest.h | 41 UChar32 cp; member in struct:UTextTest::m
|
/external/icu4c/test/intltest/ |
utxttest.h | 40 UChar32 cp; member in struct:UTextTest::m
|
/external/clang/test/Parser/ |
pointer_promotion.c | 6 char *cp; local 11 if (ip < cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}} 12 if (cp < fp) {} // expected-warning {{comparison of distinct pointer types ('char *' and 'struct foo *')}} 16 if (ip == cp) {} // expected-warning {{comparison of distinct pointer types ('int *' and 'char *')}}
|
/external/e2fsprogs/lib/blkid/ |
version.c | 27 const char *cp; local 30 for (cp = ver_string; *cp; cp++) { 31 if (*cp == '.') 33 if (!isdigit(*cp)) 35 version = (version * 10) + (*cp - '0');
|
/external/elfutils/libebl/ |
eblmachineflagname.c | 73 char *cp = buf; local 82 if (cp + 1 >= buf + len) 84 *cp++ = ','; 91 snprintf (cp, buf + len - cp, "%#x", flags); 96 if ((size_t) (buf + len - cp) < machstrlen) 98 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; 102 cp = mempcpy (cp, machstr, machstrlen) [all...] |
/external/iproute2/lib/ |
ll_addr.c | 77 char *cp = strchr(arg, ':'); local 78 if (cp) { 79 *cp = 0; 80 cp++; 91 if (!cp) 93 arg = cp;
|
/external/libppp/src/ |
acf.c | 62 const u_char cp[2] = { HDLC_ADDR, HDLC_UI }; local 65 bp = m_prepend(bp, cp, 2, 0); 77 u_char cp[2]; local 84 if (mbuf_View(bp, cp, 2) == 2) { 87 bp = mbuf_Read(bp, cp, 2); 88 if (cp[0] != HDLC_ADDR) { 91 log_Printf(LogDEBUG, "acf_LayerPull: addr 0x%02x\n", cp[0]); 95 if (cp[1] != HDLC_UI) { 98 log_Printf(LogDEBUG, "acf_LayerPull: control 0x%02x\n", cp[1]); 103 } else if (cp[0] == HDLC_ADDR && cp[1] == HDLC_UI) [all...] |
proto.c | 58 u_char cp[2]; local 60 cp[0] = proto >> 8; 61 cp[1] = proto & 0xff; 63 if (comp && cp[0] == 0) 64 bp = m_prepend(bp, cp + 1, 1, extra); 66 bp = m_prepend(bp, cp, 2, extra); 88 u_char cp[2]; local 91 if ((got = mbuf_View(bp, cp, 2)) == 0) { 96 *proto = cp[0]; 102 bp = mbuf_Read(bp, cp, 2) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/ |
stdio_h.pass.cpp | 88 char* cp = 0; local 93 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); 98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); 104 static_assert((std::is_same<decltype(snprintf(cp,0,"p")), int>::value), ""); 105 static_assert((std::is_same<decltype(sprintf(cp," ")), int>::value), ""); 111 static_assert((std::is_same<decltype(vsnprintf(cp,0," ",va)), int>::value), ""); 112 static_assert((std::is_same<decltype(vsprintf(cp," ",va)), int>::value), ""); 115 static_assert((std::is_same<decltype(fgets(cp,0,fp)), char*>::value), ""); 120 static_assert((std::is_same<decltype(gets(cp)), char*>::value), "");
|
string_h.pass.cpp | 24 char* cp = 0; local 28 static_assert((std::is_same<decltype(strcpy(cp, cpc)), char*>::value), ""); 29 static_assert((std::is_same<decltype(strncpy(cp, cpc, s)), char*>::value), ""); 30 static_assert((std::is_same<decltype(strcat(cp, cpc)), char*>::value), ""); 31 static_assert((std::is_same<decltype(strncat(cp, cpc, s)), char*>::value), ""); 36 static_assert((std::is_same<decltype(strxfrm(cp, cpc, s)), size_t>::value), ""); 38 static_assert((std::is_same<decltype(strchr(cp, 0)), char*>::value), ""); 40 static_assert((std::is_same<decltype(strpbrk(cp, cpc)), char*>::value), ""); 41 static_assert((std::is_same<decltype(strrchr(cp, 0)), char*>::value), ""); 43 static_assert((std::is_same<decltype(strstr(cp, cpc)), char*>::value), "") [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/ |
cstdio.pass.cpp | 89 char* cp = 0; local 94 static_assert((std::is_same<decltype(std::tmpnam(cp)), char*>::value), ""); 99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); 105 static_assert((std::is_same<decltype(std::snprintf(cp,0," ")), int>::value), ""); 106 static_assert((std::is_same<decltype(std::sprintf(cp," ")), int>::value), ""); 112 static_assert((std::is_same<decltype(std::vsnprintf(cp,0," ",va)), int>::value), ""); 113 static_assert((std::is_same<decltype(std::vsprintf(cp," ",va)), int>::value), ""); 116 static_assert((std::is_same<decltype(std::fgets(cp,0,fp)), char*>::value), ""); 121 static_assert((std::is_same<decltype(std::gets(cp)), char*>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/ |
cstring.pass.cpp | 24 char* cp = 0; local 28 static_assert((std::is_same<decltype(std::strcpy(cp, cpc)), char*>::value), ""); 29 static_assert((std::is_same<decltype(std::strncpy(cp, cpc, s)), char*>::value), ""); 30 static_assert((std::is_same<decltype(std::strcat(cp, cpc)), char*>::value), ""); 31 static_assert((std::is_same<decltype(std::strncat(cp, cpc, s)), char*>::value), ""); 36 static_assert((std::is_same<decltype(std::strxfrm(cp, cpc, s)), std::size_t>::value), ""); 40 static_assert((std::is_same<decltype(std::strchr(cp, 0)), char*>::value), ""); 43 static_assert((std::is_same<decltype(std::strpbrk(cp, cpc)), char*>::value), ""); 45 static_assert((std::is_same<decltype(std::strrchr(cp, 0)), char*>::value), ""); 48 static_assert((std::is_same<decltype(std::strstr(cp, cpc)), char*>::value), "") [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
rvalue1.cpp | 7 char *cp; member in class:String 16 cp = incp; 27 cp = constStringRef.cp;
|