/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | X509AttributeName.java | 40 private String suffix = null; field in class:X509AttributeName 54 suffix = name.substring(i + 1); 66 * Return the suffix of the name. 69 return (suffix);
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | StringJoiner.java | 30 * and ending with a supplied suffix. 33 * {@code sj.toString()} method will, by default, return {@code prefix + suffix}. 38 * {@code suffix} is <code>"}"</code> and nothing has been added to the 68 private final String suffix; field in class:StringJoiner 73 * suffix, so that we can more easily add elements without having to jigger 74 * the suffix each time. 79 * By default, the string consisting of prefix+suffix, returned by 88 * {@code prefix} or {@code suffix}, and a copy of the supplied 92 * {@code prefix} or {@code suffix} (or properties thereof) in the result, 105 * of the supplied {@code prefix}, {@code delimiter} and {@code suffix} 118 StringJoiner(CharSequence delimiter, CharSequence prefix, CharSequence suffix) argument [all...] |
H A D | ResourceBundle.java | 2771 * same string as its file suffix if it's not one of the default 2926 * <code>'.'</code> and the given file <code>suffix</code>. For 2928 * <code>"foo.bar.MyResources_ja_JP"</code> and <code>suffix</code> 2934 * @param suffix 2935 * the file type suffix 2938 * if <code>bundleName</code> or <code>suffix</code> 2941 public final String toResourceName(String bundleName, String suffix) { argument 2942 StringBuilder sb = new StringBuilder(bundleName.length() + 1 + suffix.length()); 2943 sb.append(bundleName.replace('.', '/')).append('.').append(suffix); 2947 private String toResourceName0(String bundleName, String suffix) { argument [all...] |
/libcore/support/src/test/java/libcore/sun/security/x509/ |
H A D | Utils.java | 31 * @param suffix suffix in all toString results 37 String suffix) { 38 testWithEachSinglePart(parts, objectCreator, prefix, suffix); 39 testWithAllParts(parts, objectCreator, prefix, suffix); 40 testWithNoParts(parts, objectCreator, prefix, suffix); 41 testWithEveryOtherPart(parts, objectCreator, prefix, suffix); 45 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { 56 assertEquals(prefix + parts[i] + suffix, o.toString()); 61 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { 33 test_toString_bitArrayBasedClass( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument 44 testWithEachSinglePart( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument 60 testWithAllParts( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument 73 testWithNoParts( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument 82 testWithEveryOtherPart( String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) argument [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_GetLocal.java | 90 public static File createTempFile(String suffix) throws IOException { argument 91 return File.createTempFile("hyts_", suffix, null);
|
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | TempFileHelper.java | 57 private static Path generatePath(String prefix, String suffix, Path dir) { argument 60 Path name = dir.getFileSystem().getPath(prefix + Long.toString(n) + suffix); 63 throw new IllegalArgumentException("Invalid prefix or suffix"); 82 String suffix, 89 if (suffix == null) 90 suffix = (createDirectory) ? "" : ".tmp"; 127 f = generatePath(prefix, suffix, dir); 131 throw new IllegalArgumentException("Invalid prefix or suffix"); 157 String suffix, 161 return create(dir, prefix, suffix, fals 80 create(Path dir, String prefix, String suffix, boolean createDirectory, FileAttribute<?>[] attrs) argument 155 createTempFile(Path dir, String prefix, String suffix, FileAttribute<?>[] attrs) argument [all...] |
H A D | Files.java | 790 * prefix and suffix strings to generate its name. The resulting 796 * the {@code prefix} and {@code suffix} are used to construct candidate 823 * @param suffix 824 * the suffix string to be used in generating the file's name; 834 * if the prefix or suffix parameters cannot be used to generate 848 String suffix, 853 prefix, suffix, attrs); 858 * the given prefix and suffix to generate its name. The resulting {@code 868 * @param suffix 869 * the suffix strin 846 createTempFile(Path dir, String prefix, String suffix, FileAttribute<?>... attrs) argument 892 createTempFile(String prefix, String suffix, FileAttribute<?>... attrs) argument [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.java | 123 public static File createTempFile(String suffix) throws IOException { argument 124 return File.createTempFile("hyts_", suffix, null);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | Collectors.java | 285 * suffix, in encounter order. 290 * @param suffix the sequence of characters to be used at the end 297 CharSequence suffix) { 299 () -> new StringJoiner(delimiter, prefix, suffix), 295 joining(CharSequence delimiter, CharSequence prefix, CharSequence suffix) argument
|
/libcore/ojluni/src/main/java/java/io/ |
H A D | File.java | 1888 static File generateFile(String prefix, String suffix, File dir) argument 1905 String name = prefix + Long.toString(n) + suffix; 1919 * given prefix and suffix strings to generate its name. If this method 1937 * <code>suffix</code> argument may be <code>null</code>, in which case the 1938 * suffix <code>".tmp"</code> will be used. 1940 * <p> To create the new file, the prefix and the suffix may first be 1943 * characters will always be preserved. If the suffix is too long then it 1948 * prefix, five or more internally-generated characters, and the suffix. 1963 * @param suffix The suffix strin 1986 createTempFile(String prefix, String suffix, File directory) argument 2061 createTempFile(String prefix, String suffix) argument [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
H A D | String.java | 1435 * Tests if this string ends with the specified suffix. 1437 * @param suffix the suffix. 1439 * argument is a suffix of the character sequence represented by 1445 public boolean endsWith(String suffix) { argument 1446 return startsWith(suffix, length() - suffix.length());
|