/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | LDAPCertStoreParametersTest.java | 59 CertStoreParameters cp = new LDAPCertStoreParameters(); 61 cp instanceof LDAPCertStoreParameters); 76 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(); 77 assertEquals("host", "localhost", cp.getServerName()); 78 assertEquals("port", 389, cp.getPort()); 93 CertStoreParameters cp = new LDAPCertStoreParameters("myhost"); 95 cp instanceof LDAPCertStoreParameters); 111 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(serverName); 112 assertTrue("host", serverName.equals(cp.getServerName())); 113 assertEquals("port", 389, cp [all...] |
H A D | CertPathCertPathRepTest.java | 40 MyCertPath cp = new MyCertPath(testEncoding); 41 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); 46 cp.new MyCertPathRep(null, null); 60 MyCertPath cp = new MyCertPath(testEncoding); 61 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); 70 rep = cp.new MyCertPathRep("MyEncoding", new byte[] {(byte) 1, (byte) 2, (byte) 3 });
|
H A D | CollectionCertStoreParametersTest.java | 62 CertStoreParameters cp = new CollectionCertStoreParameters(); 64 cp instanceof CollectionCertStoreParameters); 80 CollectionCertStoreParameters cp = new CollectionCertStoreParameters(); 81 Collection c = cp.getCollection(); 150 CollectionCertStoreParameters cp = 153 assertTrue("isRefUsed_1", certificates == cp.getCollection()); 155 assertTrue("isEmpty", cp.getCollection().isEmpty()); 160 assertTrue("isRefUsed_2", certificates.equals(cp.getCollection())); 260 CollectionCertStoreParameters cp = 262 String s = cp [all...] |
H A D | CertPathValidatorExceptionTest.java | 358 CertPath cp = mcp.get("X.509"); 364 new CertPathValidatorException(msgs[i], tCause, cp, indx[j]); 392 CertPath cp = mcp.get("X.509"); 395 tE = new CertPathValidatorException(msgs[i], tCause, cp, -1); 412 "getCertPath() must return ".concat(cp.toString()), tE 413 .getCertPath(), cp); 467 CertPath cp = mcp.get("X.509"); 470 tE = new CertPathValidatorException(msgs[i], tCause, cp, -1); 474 "getCertPath() must return ".concat(cp.toString()), tE 475 .getCertPath(), cp); [all...] |
/dalvik/tools/dmtracedump/ |
H A D | CreateTestTrace.c | 140 char *cp = buf; local 141 if (*cp == '#') 144 if (isdigit(*cp)) { 145 int time = strtoul(cp, &cp, 0); 146 while (isspace(*cp)) 147 cp += 1; 148 int threadId = strtoul(cp, &cp, 0); 152 indentEnd = cp; 177 char *cp = buf; local [all...] |
/dalvik/hit/test/ |
H A D | testparser | 6 #java -Djava.compiler=NONE -Xdebug -Xrunjdwp:transport=dt_socket,address=53635,server=y,suspend=y -cp build com.android.hit.Main ../samples/android.hprof 8 java -cp build com.android.hit.Main ../samples/android.hprof
|
/dalvik/libdex/ |
H A D | OptInvocation.c | 52 char* cp; local 85 cp = absoluteFile + 1; 86 while (*cp != '\0') { 87 if (*cp == '/') { 88 *cp = '@'; 90 cp++;
|
/dalvik/libcore/ |
H A D | run-core-tests-on-ri | 21 java -cp $top/cts/tools/utils/lib/junit.jar:$top/out/host/common/core-tests.jar \
|
/dalvik/vm/hprof/ |
H A D | HprofString.c | 44 const char *cp; local 47 cp = str; 48 while ((c = *cp++) != '\0') {
|
H A D | HprofClass.c | 46 const char *cp; local 49 cp = clazz->descriptor; 51 while ((c = *cp++) != '\0') {
|
/dalvik/vm/ |
H A D | Native.c | 278 char* cp; 287 start = cp = javaLibraryPath; 288 while (cp != NULL) { 292 cp = strchr(start, ':'); 293 if (cp != NULL) 294 *cp = '\0'; 309 start = cp +1; 677 char* cp; local 683 for (i = 0, cp = mangle; i < charLen; i++) { 687 sprintf(cp, "_ [all...] |
H A D | Ddm.c | 424 char* cp = lineBuf; local 426 cp += strcspn(cp, kWhitespace); // skip token 427 cp += strspn(cp, kWhitespace); // skip whitespace 434 *pUtime = strtoul(cp, &endp, 10); 435 if (endp == cp) 436 LOGI("Warning: strtoul failed on utime ('%.30s...')\n", cp); 438 cp += strcspn(cp, kWhitespac [all...] |
H A D | StdioConverter.c | 252 char* cp = data->buf; local 255 for (i = data->count; i > 0; i--, cp++) { 256 if (*cp == '\n' || (*cp == '\r' && i != 0 && *(cp+1) != '\n')) { 257 *cp = '\0'; 258 //LOGW("GOT %d at %d '%s'\n", cp - start, start - data->buf, start); 260 start = cp+1; 270 start = cp + kMaxLine;
|
H A D | 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 [all...] |
/dalvik/dx/etc/ |
H A D | opcode-gen | 140 cp "$tmpfile" "$file"
|
/dalvik/tests/ |
H A D | run-test | 185 cp -Rp "$test_dir" "$tmp_dir" 189 cp "${progdir}/etc/default-build" build 193 cp "${progdir}/etc/default-run" run 223 cp "$build_output" "$output"
|
/dalvik/libcore/dalvik/src/main/native/ |
H A D | dalvik_system_TouchDex.cpp | 162 const char* cp; local 183 cp = dexFiles; 184 while (*++cp != '\0') { 185 if (*cp == ':')
|
/dalvik/vm/reflect/ |
H A D | Reflect.c | 245 char* cp; local 253 cp = signature; 254 while (*cp != ')') { 257 if (*cp == '[') { 258 while (*++cp == '[') 261 if (*cp == 'L') { 262 while (*++cp != ';') 265 cp++; 277 cp = signature; 281 clazz = convertSignaturePartToClass(&cp, defClas 350 char* cp; local 516 char* cp; local 662 char* cp; local [all...] |
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/ |
H A D | Charset.java | 237 private static void addCharsets(CharsetProvider cp, argument 239 Iterator<Charset> it = cp.charsets(); 282 Object cp = null; 286 cp = c.newInstance(); 294 cp = c.newInstance(); 300 addCharsets((CharsetProvider) cp, charsets); 396 Object cp = null; 400 cp = c.newInstance(); 408 cp = c.newInstance(); 418 if (cp ! [all...] |
/dalvik/dalvikvm/ |
H A D | Main.c | 184 strcmp(argv[argIdx], "-cp") == 0) 241 char* cp; local 245 for (cp = slashClass; *cp != '\0'; cp++) 246 if (*cp == '.') 247 *cp = '/';
|
/dalvik/dexopt/ |
H A D | OptMain.c | 362 char* cp; local 371 cp = bootClassPath = (char*) malloc(bcpLen +1); 378 *cp++ = ':'; 379 memcpy(cp, *argp, strLen); 380 cp += strLen; 382 *cp = '\0';
|
/dalvik/dexdump/ |
H A D | DexDump.c | 184 char* cp; local 195 for (cp = newStr; *cp != '\0'; cp++) { 196 if (*cp == '$') 197 *cp = '.'; 331 char* cp; local 339 cp = str = (char*) malloc(count * (kLongest+1) +1); 345 if (cp != str) 346 *cp 1111 char* cp = tmpBuf; local 1268 char* cp; local [all...] |
/dalvik/tests/etc/ |
H A D | default-build | 33 ${JAVAC} -d classes-ex -cp classes `find src-ex -name '*.java'`
|
H A D | local-run-test-jar | 153 -cp test.jar Main "$@"
|
H A D | push-and-run-test-jar | 129 $GC_OPTS -cp test.jar "-Xint:${INTERP}" -ea Main "$@"
|