/bootable/recovery/minzip/ |
DirUtil.c | 73 char *cpath = (char *)malloc(pathLen + 2); local 74 if (cpath == NULL) { 78 memcpy(cpath, path, pathLen); 82 char *c = cpath + pathLen - 1; 83 while (c != cpath && *c != '/') { 86 if (c == cpath) { 91 free(cpath); 98 cpath[pathLen] = '/'; 99 cpath[pathLen + 1] = '\0'; 104 ds = getPathDirStatus(cpath); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
CodeSignerTest.java | 44 private CertPath cpath = TestCertUtils.genCertPath(3, 0); field in class:CodeSignerTest 47 private Timestamp ts = new Timestamp(now, cpath); 78 CodeSigner cs = new CodeSigner(cpath, null); 96 CodeSigner cs = new CodeSigner(cpath, ts); 114 CodeSigner one = new CodeSigner(cpath, ts); 115 CodeSigner two = new CodeSigner(cpath, ts); 116 CodeSigner three = new CodeSigner(cpath, null); 144 assertSame(new CodeSigner(cpath, null).getSignerCertPath(), cpath); 157 assertNull(new CodeSigner(cpath, null).getTimestamp()) [all...] |
TimestampTest.java | 48 private CertPath cpath = new MyCertPath(encoding); field in class:TimestampTest 58 new Timestamp(null, cpath); 70 Timestamp timestamp = new Timestamp(now, cpath); 72 assertEquals("not expected cert path", cpath, timestamp.getSignerCertPath()); 85 Timestamp one = new Timestamp(now, cpath); 86 Timestamp two = new Timestamp(now, cpath); 94 Timestamp two1 = new Timestamp(new Date(9999), cpath); 106 assertSame(new Timestamp(now, cpath).getSignerCertPath(), cpath); 116 Timestamp t = new Timestamp(now, cpath); [all...] |
CodeSource2Test.java | 84 CertPath cpath = TestCertUtils.genCertPath(3, 0); local 87 Timestamp ts = new Timestamp(now, cpath); 88 CodeSigner cs = new CodeSigner(cpath, ts);
|
CodeSourceTest.java | 284 CertPath cpath = TestCertUtils.getCertPath(); local 285 Certificate[] certs = (Certificate[]) cpath.getCertificates().toArray(); 286 CodeSigner[] signers = { new CodeSigner(cpath, null) };
|
/external/webkit/WebCore/platform/android/ |
FileSystemAndroid.cpp | 108 CString cpath = path.utf8(); local 110 DIR* dir = opendir(cpath.data()); 121 sizeof(filePath), "%s/%s", cpath.data(), name)) {
|
/libcore/luni/src/main/java/java/security/ |
CodeSource.java | 247 CertPath cpath = makeCertPath(list); local 248 if (cpath != null) { 249 asigners.add(new CodeSigner(cpath, null)); 259 CertPath cpath = makeCertPath(list); local 260 if (cpath != null) { 261 asigners.add(new CodeSigner(cpath, null));
|
/external/dbus/dbus/ |
dbus-sysdeps-unix.c | 2572 char *cpath; local [all...] |