/libcore/luni/src/test/java/libcore/sun/security/x509/ |
D | Utils.java | 37 String suffix) { in test_toString_bitArrayBasedClass() argument 38 testWithEachSinglePart(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass() 39 testWithAllParts(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass() 40 testWithNoParts(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass() 41 testWithEveryOtherPart(parts, objectCreator, prefix, suffix); in test_toString_bitArrayBasedClass() 45 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithEachSinglePart() argument 56 assertEquals(prefix + parts[i] + suffix, o.toString()); in testWithEachSinglePart() 61 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithAllParts() argument 70 + suffix, objectCreator.apply(allOnes).toString()); in testWithAllParts() 74 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { in testWithNoParts() argument [all …]
|
D | ReasonFlagsTest.java | 44 String suffix = "]\n"; in testToString() local 46 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix); in testToString()
|
D | NetscapeCertTypeExtensionTest.java | 62 String suffix = "]\n"; in testToString() local 70 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix); in testToString()
|
D | KeyUsageExtensionTest.java | 48 String suffix = "]\n"; in testToString() local 56 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix); in testToString()
|
/libcore/ojluni/src/main/java/java/util/ |
D | StringJoiner.java | 68 private final String suffix; field in StringJoiner 120 CharSequence suffix) { in StringJoiner() argument 123 Objects.requireNonNull(suffix, "The suffix must not be null"); in StringJoiner() 127 this.suffix = suffix.toString(); in StringJoiner() 128 this.emptyValue = this.prefix + this.suffix; in StringJoiner() 164 if (suffix.equals("")) { in toString() 168 String result = value.append(suffix).toString(); in toString() 244 return (value != null ? value.length() + suffix.length() : in length()
|
D | ResourceBundle.java | 2942 public final String toResourceName(String bundleName, String suffix) { in toResourceName() argument 2943 StringBuilder sb = new StringBuilder(bundleName.length() + 1 + suffix.length()); in toResourceName() 2944 sb.append(bundleName.replace('.', '/')).append('.').append(suffix); in toResourceName() 2948 private String toResourceName0(String bundleName, String suffix) { in toResourceName0() argument 2953 return toResourceName(bundleName, suffix); in toResourceName0()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CertInfo.java | 375 String suffix = attrName.getSuffix(); in set() local 379 if (suffix == null) { in set() 382 version.set(suffix, val); in set() 387 if (suffix == null) { in set() 390 serialNum.set(suffix, val); in set() 395 if (suffix == null) { in set() 398 algId.set(suffix, val); in set() 407 if (suffix == null) { in set() 410 interval.set(suffix, val); in set() 419 if (suffix == null) { in set() [all …]
|
D | X509AttributeName.java | 40 private String suffix = null; field in X509AttributeName 54 suffix = name.substring(i + 1); in X509AttributeName() 69 return (suffix); in getSuffix()
|
D | AlgorithmId.java | 618 String suffix = alias.substring(sep + 1); in reinitializeMappingTableLocked() local 622 oid = new ObjectIdentifier(suffix); in reinitializeMappingTableLocked()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | TempFileHelper.java | 57 private static Path generatePath(String prefix, String suffix, Path dir) { in generatePath() argument 60 Path name = dir.getFileSystem().getPath(prefix + Long.toString(n) + suffix); in generatePath() 82 String suffix, in create() argument 89 if (suffix == null) in create() 90 suffix = (createDirectory) ? "" : ".tmp"; in create() 127 f = generatePath(prefix, suffix, dir); in create() 157 String suffix, in createTempFile() argument 161 return create(dir, prefix, suffix, false, attrs); in createTempFile()
|
D | Files.java | 848 String suffix, 853 prefix, suffix, attrs); 893 String suffix, 897 return TempFileHelper.createTempFile(null, prefix, suffix, attrs);
|
/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/tools/upstream/src/main/java/libcore/ |
D | StandardRepositories.java | 109 String suffix = ".java"; in isJsr166() local 112 if (name.endsWith(suffix)) { in isJsr166() 113 name = name.substring(0, name.length() - suffix.length()); in isJsr166()
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 1888 static File generateFile(String prefix, String suffix, File dir) in generateFile() argument 1905 String name = prefix + Long.toString(n) + suffix; in generateFile() 1986 public static File createTempFile(String prefix, String suffix, in createTempFile() argument 1992 if (suffix == null) in createTempFile() 1993 suffix = ".tmp"; in createTempFile() 2001 f = TempDirectory.generateFile(prefix, suffix, tmpdir); in createTempFile() 2061 public static File createTempFile(String prefix, String suffix) in createTempFile() argument 2064 return createTempFile(prefix, suffix, null); in createTempFile()
|
/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/ojluni/annotations/hiddenapi/java/io/ |
D | File.java | 244 java.lang.String prefix, java.lang.String suffix, java.io.File directory) in createTempFile() argument 249 public static java.io.File createTempFile(java.lang.String prefix, java.lang.String suffix) in createTempFile() argument 372 java.lang.String prefix, java.lang.String suffix, java.io.File dir) in generateFile() argument
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 854 String suffix = ""; 860 suffix = suffix + ResourcesMgr.getString(".Principal.") + 869 suffix = suffix + 881 suffix += ResourcesMgr.getString 886 suffix += ResourcesMgr.getString 893 return s + suffix;
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 123 public static File createTempFile(String suffix) throws IOException { in createTempFile() argument 124 return File.createTempFile("hyts_", suffix, null); in createTempFile()
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | File.annotated.java | 134 …NonNull java.lang.String prefix, @libcore.util.Nullable java.lang.String suffix, @libcore.util.Nul… in createTempFile() argument 136 …NonNull java.lang.String prefix, @libcore.util.Nullable java.lang.String suffix) throws java.io.IO… in createTempFile() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 1445 public boolean endsWith(String suffix) { in endsWith() argument 1446 return startsWith(suffix, length() - suffix.length()); in endsWith()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | String.java | 205 public boolean endsWith(java.lang.String suffix) { in endsWith() argument
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 297 CharSequence suffix) { 299 () -> new StringJoiner(delimiter, prefix, suffix),
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | String.annotated.java | 116 public boolean endsWith(@libcore.util.NonNull java.lang.String suffix) { throw new RuntimeException… in endsWith() argument
|