/external/libcxx/test/std/depr/depr.c.headers/ |
stdio_h.pass.cpp | 90 char* cp = 0; local 96 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); 101 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); 107 static_assert((std::is_same<decltype(snprintf(cp,0,"p")), int>::value), ""); 108 static_assert((std::is_same<decltype(sprintf(cp," ")), int>::value), ""); 114 static_assert((std::is_same<decltype(vsnprintf(cp,0," ",va)), int>::value), ""); 115 static_assert((std::is_same<decltype(vsprintf(cp," ",va)), int>::value), ""); 118 static_assert((std::is_same<decltype(fgets(cp,0,fp)), char*>::value), ""); 124 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...] |
/external/libcxx/test/std/input.output/file.streams/c.files/ |
cstdio.pass.cpp | 89 char* cp = 0; local 93 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); 97 static_assert((std::is_same<decltype(std::snprintf(cp,0," ")), int>::value), ""); 98 static_assert((std::is_same<decltype(std::sprintf(cp," ")), int>::value), ""); 102 static_assert((std::is_same<decltype(std::vsnprintf(cp,0," ",va)), int>::value), ""); 103 static_assert((std::is_same<decltype(std::vsprintf(cp," ",va)), int>::value), ""); 106 static_assert((std::is_same<decltype(std::fgets(cp,0,fp)), char*>::value), ""); 130 static_assert((std::is_same<decltype(std::tmpnam(cp)), char*>::value), ""); 136 static_assert((std::is_same<decltype(std::gets(cp)), char*>::value), "");
|
/external/libcxx/test/std/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/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), ""); 122 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;
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
rvalue1.cpp | 7 char *cp; member in class:String 16 cp = incp; 27 cp = constStringRef.cp;
|
/external/e2fsprogs/intl/ |
explodename.c | 59 char *cp; local 75 *language = cp = name; 76 cp = _nl_find_language (*language); 78 if (*language == cp) 81 cp = strchr (*language, '\0'); 82 else if (cp[0] == '_') 85 cp[0] = '\0'; 86 *territory = ++cp; 88 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@ [all...] |
/external/e2fsprogs/lib/ss/ |
error.c | 38 register char *cp; local 44 cp = ret_val; 47 *cp++ = *cp1++; 48 *cp++ = ' '; 49 *cp++ = '('; 52 *cp++ = *cp1++; 53 *cp++ = ')'; 54 *cp = '\0';
|
parse.c | 47 register char **argv, *cp; local 62 cp = line_ptr; /* cp is for output */ 79 cp = line_ptr++; 81 argv[argc++] = cp; 87 cp = line_ptr; 99 *cp++ = '\0'; 103 *cp++ = '\0'; 112 *cp++ = *line_ptr++; 125 *cp++ = '"' [all...] |
/external/e2fsprogs/misc/ |
base_device.c | 43 char *str, *cp; local 51 cp = str; 54 if (strncmp(cp, "/dev/", 5) != 0) 56 cp += 5; 59 if (strncmp(cp, "dsk/", 4) == 0) 60 cp += 4; 66 if (cp[0] == 'm' && cp[1] == 'd') { 67 *(cp+2) = 0; 72 if (strncmp(cp, "rd/", 3) == 0) 153 char buf[256], *cp; local [all...] |
/external/icu/icu4c/source/samples/layout/ |
UnicodeReader.cpp | 35 const char *cp = ""; local 53 cp = "UTF-16BE"; 57 cp = "UTF-32LE"; 60 cp = "UTF-16LE"; 64 cp = "UTF-8"; 67 cp = "SCSU"; 71 cp = "UTF-32BE"; 102 UnicodeString myText(byteBuffer, fileSize, cp);
|
/external/opencv3/3rdparty/libjasper/ |
jas_getopt.c | 106 char *cp; local 116 s = cp = argv[jas_optind]; 117 if (*cp == '-') { 120 if (*++cp == '-') { 122 ++cp; 123 if (*cp == '\0') { 127 if (!(opt = jas_optlookup(opts, cp))) { 137 if (strlen(cp) != 1 || 138 !(opt = jas_optlookup(opts, cp))) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
ContactsDictionaryUtils.java | 34 int cp = 0; local 35 for (end = startIndex + 1; end < len; end += Character.charCount(cp)) { 36 cp = string.codePointAt(end); 37 if (cp != Constants.CODE_DASH && cp != Constants.CODE_SINGLE_QUOTE 38 && !Character.isLetter(cp)) {
|
/toolchain/binutils/binutils-2.25/intl/ |
explodename.c | 66 char *cp; local 82 *language = cp = name; 83 cp = _nl_find_language (*language); 85 if (*language == cp) 88 cp = strchr (*language, '\0'); 89 else if (cp[0] == '_') 92 cp[0] = '\0'; 93 *territory = ++cp; 95 while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@ [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CollectionCertStoreParametersTest.java | 57 CertStoreParameters cp = new CollectionCertStoreParameters(); local 59 cp instanceof CollectionCertStoreParameters); 68 CollectionCertStoreParameters cp = new CollectionCertStoreParameters(); local 69 Collection c = cp.getCollection(); 120 CollectionCertStoreParameters cp = local 123 assertTrue("isRefUsed_1", certificates == cp.getCollection()); 125 assertTrue("isEmpty", cp.getCollection().isEmpty()); 130 assertTrue("isRefUsed_2", certificates.equals(cp.getCollection())); 200 CollectionCertStoreParameters cp = local 202 String s = cp.toString() 213 CollectionCertStoreParameters cp = local 224 CollectionCertStoreParameters cp = new CollectionCertStoreParameters(); local 234 CollectionCertStoreParameters cp = local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CollectionCertStoreParametersTest.java | 48 CertStoreParameters cp = new CollectionCertStoreParameters(); local 50 cp instanceof CollectionCertStoreParameters); 58 CollectionCertStoreParameters cp = new CollectionCertStoreParameters(); local 59 Collection c = cp.getCollection(); 101 CollectionCertStoreParameters cp = local 104 assertTrue("isRefUsed_1", certificates == cp.getCollection()); 106 assertTrue("isEmpty", cp.getCollection().isEmpty()); 111 assertTrue("isRefUsed_2", certificates.equals(cp.getCollection())); 173 CollectionCertStoreParameters cp = local 175 String s = cp.toString() 185 CollectionCertStoreParameters cp = local 195 CollectionCertStoreParameters cp = new CollectionCertStoreParameters(); local 204 CollectionCertStoreParameters cp = local [all...] |
LDAPCertStoreParametersTest.java | 47 CertStoreParameters cp = new LDAPCertStoreParameters(); local 49 cp instanceof LDAPCertStoreParameters); 58 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(); local 59 assertEquals("host", "localhost", cp.getServerName()); 60 assertEquals("port", 389, cp.getPort()); 69 CertStoreParameters cp = new LDAPCertStoreParameters("myhost"); local 71 cp instanceof LDAPCertStoreParameters); 81 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(serverName); local 82 assertTrue("host", serverName.equals(cp.getServerName())); 83 assertEquals("port", 389, cp.getPort()) 105 CertStoreParameters cp = new LDAPCertStoreParameters("myhost", 1098); local 118 LDAPCertStoreParameters cp = local 179 LDAPCertStoreParameters cp = local 189 LDAPCertStoreParameters cp = local [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
DepFind.java | 38 ClassPathIterator cp = new ClassPathIterator(curDir, to, null); local 40 while (cp.hasNext()) { 41 ClassPathEntry entry = cp.next(); 53 cp.close(); 57 cp = new ClassPathIterator(curDir, from, null); 59 while (cp.hasNext()) { 60 ClassPathEntry entry = cp.next(); 73 cp.close();
|
StringDumper.java | 30 ClassPathIterator cp = new ClassPathIterator(classPath); local 32 while (cp.hasNext()) { 33 ClassPathEntry entry = cp.next(); 47 cp.close();
|
/art/test/142-classloader2/src/ |
Main.java | 43 String cp = System.getProperty("java.class.path"); local 44 if (cp.split(System.getProperty("path.separator")).length != 1) { 45 throw new IllegalStateException("Didn't find exactly one classpath element in " + cp); 47 if (!cp.endsWith("classloader2.jar")) { 48 throw new IllegalStateException("Don't understand classpath " + cp); 50 cp = cp.replace("classloader2.jar", "classloader2-ex.jar"); 53 cp, ClassLoader.getSystemClassLoader().getParent());
|
/bionic/libc/dns/nameser/ |
ns_samedomain.c | 58 const char *cp; local 144 cp = a + diff; 145 return (strncasecmp(cp, b, lb) == 0);
|