Home
last modified time | relevance | path

Searched refs:pathToResource (Results 1 – 5 of 5) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DProviders.java86 …public static Provider resourceProvider(ClassLoader classLoader, String pathToResource, Charset en… in resourceProvider() argument
87 InputStream resourceAsStream = classLoader.getResourceAsStream(pathToResource); in resourceProvider()
89 throw new IOException("Cannot find " + pathToResource); in resourceProvider()
98 …public static Provider resourceProvider(String pathToResource, Charset encoding) throws IOExceptio… in resourceProvider() argument
100 return resourceProvider(classLoader, pathToResource, encoding); in resourceProvider()
107 public static Provider resourceProvider(String pathToResource) throws IOException { in resourceProvider() argument
108 return resourceProvider(pathToResource, UTF8); in resourceProvider()
/external/icu/libicu/cts_headers/
Duresimp.h187 ures_findResource(const char* pathToResource,
207 char* pathToResource,
/external/icu/icu4c/source/common/
Duresimp.h187 ures_findResource(const char* pathToResource,
207 char* pathToResource,
Duresbund.cpp1719 char *pathToResource = NULL, *save = NULL; in ures_findResource() local
1728 save = pathToResource = (char *)uprv_malloc(length*sizeof(char)); in ures_findResource()
1730 if(pathToResource == NULL) { in ures_findResource()
1734 uprv_memcpy(pathToResource, path, length); in ures_findResource()
1736 locale = pathToResource; in ures_findResource()
1737 if(*pathToResource == RES_PATH_SEPARATOR) { /* there is a path specification */ in ures_findResource()
1738 pathToResource++; in ures_findResource()
1739 packageName = pathToResource; in ures_findResource()
1740 pathToResource = uprv_strchr(pathToResource, RES_PATH_SEPARATOR); in ures_findResource()
1741 if(pathToResource == NULL) { in ures_findResource()
[all …]
/external/javaparser/javaparser-core-testing/src/test/resources/com/github/javaparser/lexical_preservation_samples/
DExample4_original.java.txt209 * accessed through a class loader, a leading "/" is not allowed in pathToResource
223 * accessed through a class loader, a leading "/" is not allowed in pathToResource
239 * accessed through a class loader, a leading "/" is not allowed in pathToResource