Searched refs:suffix (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/main/java/java/io/ |
D | File.java | 209 private static String join(String prefix, String suffix) { in join() argument 213 haveSlash = (suffix.length() > 0 && suffix.charAt(0) == separatorChar); in join() 215 return haveSlash ? (prefix + suffix) : (prefix + separatorChar + suffix); in join() 962 public static File createTempFile(String prefix, String suffix) throws IOException { in createTempFile() argument 963 return createTempFile(prefix, suffix, null); in createTempFile() 989 public static File createTempFile(String prefix, String suffix, File directory) in createTempFile() argument 995 if (suffix == null) { in createTempFile() 996 suffix = ".tmp"; in createTempFile() 1005 result = new File(tmpDirFile, prefix + tempFileRandom.nextInt() + suffix); in createTempFile()
|
/libcore/support/src/test/java/tests/util/ |
D | ClassLoaderBuilder.java | 126 String suffix = "!/" + manifestFile; in getApplicationClassPath() local 131 if (manifestString.endsWith(suffix)) { in getApplicationClassPath() 132 return manifestString.substring(0, manifestString.length() - suffix.length()); in getApplicationClassPath()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | JarFile.java | 359 private static boolean endsWithIgnoreCase(String s, String suffix) { in endsWithIgnoreCase() argument 360 return s.regionMatches(true, s.length() - suffix.length(), suffix, 0, suffix.length()); in endsWithIgnoreCase()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 90 public static File createTempFile(String suffix) throws IOException { in createTempFile() argument 91 return File.createTempFile("hyts_", suffix, null); in createTempFile()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldInputStreamReaderTest.java | 247 final byte[] suffix = { in test_readWhenCharacterSpansBuffer() 260 System.arraycopy(suffix, 0, bytes, prefixLength, suffix.length); in test_readWhenCharacterSpansBuffer()
|
/libcore/luni/src/main/java/java/util/ |
D | ResourceBundle.java | 983 String suffix = format; in needsReload() local 985 suffix = "class"; in needsReload() 988 suffix = "properties"; in needsReload() 990 String urlname = toResourceName(bundleName, suffix); in needsReload() 1056 public final String toResourceName(String bundleName, String suffix) { in toResourceName() argument 1057 if (suffix == null) { in toResourceName() 1062 ret.append(suffix); in toResourceName()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 127 public static File createTempFile(String suffix) throws IOException { in createTempFile() argument 128 return File.createTempFile("hyts_", suffix, null); in createTempFile()
|
/libcore/luni/src/main/java/java/net/ |
D | NetworkInterface.java | 159 final String suffix = " " + interfaceName; in collectIpv6Addresses() local 162 if (!line.endsWith(suffix)) { in collectIpv6Addresses()
|
/libcore/libart/src/main/java/java/lang/ |
D | String.java | 629 public boolean endsWith(String suffix) { in endsWith() argument 630 return regionMatches(count - suffix.count, suffix, 0, suffix.count); in endsWith()
|