Home
last modified time | relevance | path

Searched refs:resPath (Results 1 – 8 of 8) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java227 String resPath = resources.toString(); in test_findClassLjava_lang_String() local
228 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { in test_findClassLjava_lang_String()
229 resPath = resPath.substring(1); in test_findClassLjava_lang_String()
237 urls[0] = new URL("file:/" + resPath + "/JarIndex/hyts_11.jar"); in test_findClassLjava_lang_String()
241 URL reference = new URL("jar:file:/" + resPath.replace('\\', '/') in test_findClassLjava_lang_String()
251 urls[0] = new URL("file:/" + resPath + "/JarIndex/hyts_21.jar"); in test_findClassLjava_lang_String()
262 + resPath.replace('\\', '/') in test_findClassLjava_lang_String()
266 + resPath.replace('\\', '/') in test_findClassLjava_lang_String()
293 urls[0] = new URL("file:/" + resPath + "/JarIndex/hyts_22-new.jar"); in test_findClassLjava_lang_String()
297 urls[0] = new URL("file:/" + resPath + "/JarIndex/hyts_31.jar"); in test_findClassLjava_lang_String()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DPackageTest.java30 private String resPath; field in PackageTest
35 URL resourceURL = new URL("file:/" + resPath + "/Package/" in getTestPackage()
45 resPath = resources.toString(); in setUp()
46 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') in setUp()
47 resPath = resPath.substring(1); in setUp()
280 .isSealed(new URL("file:/" + resPath + "/"))); in test_isSealedLjava_net_URL()
282 .isSealed(new URL("file:/" + resPath + "/Package/hyts_c.jar"))); in test_isSealedLjava_net_URL()
300 URL resourceURL1 = new URL("file:/" + resPath + "/Package/hyts_c.jar"); in test_SealedPackage_forName()
301 URL resourceURL2 = new URL("file:/" + resPath + "/Package/hyts_d.jar"); in test_SealedPackage_forName()
302 URL resourceURL3 = new URL("file:/" + resPath + "/Package/hyts_d1.jar"); in test_SealedPackage_forName()
[all …]
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DGZIPInputStreamTest.java130 String resPath = resources.toString(); in test_read$BII() local
131 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { in test_read$BII()
132 resPath = resPath.substring(1); in test_read$BII()
134 final URL gInput = new URL("file:/" + resPath in test_read$BII()
249 String resPath = resources.toString(); in test_close() local
250 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { in test_close()
251 resPath = resPath.substring(1); in test_close()
253 final URL gInput = new URL("file:/" + resPath in test_close()
/external/apache-harmony/support/src/test/java/tests/support/resource/
DSupport_Resources.java53 String resPath = resources.toString(); in getURL() local
54 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { in getURL()
55 resPath = resPath.substring(1); in getURL()
58 url = new URL("file:/" + resPath + "/" + fileName); in getURL()
/external/icu4c/samples/uresb/
Duresb.c48 static const char *resPath = NULL; variable
119 resPath = options[4].value; /* we'll use users resources */ in main()
121 resPath = NULL; /* we'll use ICU system resources for dumping */ in main()
127 resPath = resPathBuffer; /* we'll just dump uresb samples resources */ in main()
152 u_fprintf(out, "uresb: processing file \"%s\" in path \"%s\"\n", arg, resPath); in main()
153 bundle = ures_open(resPath, arg, &status); in main()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherTest.java276 String resPath = "hyts_" + "des-ede3-cbc.test" + index in test_update$BII() local
278 InputStream is = Support_Resources.getResourceStream(resPath); in test_update$BII()
325 String resPath = "hyts_" + "des-ede3-cbc.test" + index in test_doFinal() local
327 InputStream is = Support_Resources.getResourceStream(resPath); in test_doFinal()
351 private byte[] loadBytes(String resPath) { in loadBytes() argument
353 InputStream is = Support_Resources.getResourceStream(resPath); in loadBytes()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DServiceLoaderTest.java385 String resPath = resources.toString(); in prepairJar() local
386 if (resPath.charAt(0) == '/' || resPath.charAt(0) == '\\') { in prepairJar()
387 resPath = resPath.substring(1); in prepairJar()
390 URL resourceURL = new URL("file:/" + resPath + "/ServiceLoader/" in prepairJar()
/external/icu4c/common/
Duresbund.c1712 const char* resPath = resB->fResPath; in ures_getByKeyWithFallback() local
1720 uprv_strncpy(path, resPath, len); in ures_getByKeyWithFallback()
1733 resPath = helper->fResPath; in ures_getByKeyWithFallback()