/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarBuilderTest.java | 37 Calendar.Builder builder = new Calendar.Builder(); in test_default_values() 45 Calendar.Builder builder = new Calendar.Builder(); in test_setCalendarType_iso8601() 58 Calendar.Builder builder = new Calendar.Builder(); in test_setCalendarType_invalid() 75 Calendar.Builder builder = new Calendar.Builder(); in test_setCalendarType_reset() 85 Calendar.Builder builder = new Calendar.Builder(); in test_setDate() 95 Calendar.Builder builder = new Calendar.Builder(); in test_setTimeOfDay() 108 Calendar.Builder builder = new Calendar.Builder(); in test_setWeekDate() 118 Calendar.Builder builder = new Calendar.Builder(); in test_setLenient() 135 Calendar.Builder builder = new Calendar.Builder(); in test_setLocale() 145 Calendar.Builder builder = new Calendar.Builder(); in test_setLocale_thTH() [all …]
|
D | LocaleTest.java | 55 Locale.Builder b = new Locale.Builder(); in test_extension_builder() 284 Locale.Builder b = new Locale.Builder(); in test_Builder_setLanguage() 290 b = new Locale.Builder(); in test_Builder_setLanguage() 316 b = new Locale.Builder(); in test_Builder_setLanguage() 321 b = new Locale.Builder(); in test_Builder_setLanguage() 328 Locale.Builder b = new Locale.Builder(); in test_Builder_setRegion() 334 b = new Locale.Builder(); in test_Builder_setRegion() 358 b = new Locale.Builder(); in test_Builder_setRegion() 363 b = new Locale.Builder(); in test_Builder_setRegion() 370 Locale.Builder b = new Locale.Builder(); in test_Builder_setVariant() [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStoreBuilderTest.java | 95 KeyStore.Builder.newInstance((KeyStore) null, null); in testNewInstanceKeyStoreProtectionParameter() 102 KeyStore.Builder.newInstance((KeyStore) null, protPass); in testNewInstanceKeyStoreProtectionParameter() 108 KeyStore.Builder ksB; in testNewInstanceKeyStoreProtectionParameter() 112 KeyStore.Builder.newInstance(ks, null); in testNewInstanceKeyStoreProtectionParameter() 125 KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 132 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 136 ksB = KeyStore.Builder.newInstance(ks, pp[i]); in testNewInstanceKeyStoreProtectionParameter() 210 KeyStore.Builder ksB; in testNewInstanceStringProviderFileProtectionParameter() 211 KeyStore.Builder ksB1; in testNewInstanceStringProviderFileProtectionParameter() 219 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass); in testNewInstanceStringProviderFileProtectionParameter() [all …]
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | KeyStoreBuilderParameters.java | 44 private final List<Builder> parameters; 53 public KeyStoreBuilderParameters(Builder builder) { in KeyStoreBuilderParameters() 66 public KeyStoreBuilderParameters(List<Builder> parameters) { in KeyStoreBuilderParameters() 72 new ArrayList<Builder>(parameters)); in KeyStoreBuilderParameters() 84 public List<Builder> getParameters() { in getParameters()
|
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | NodeBuilderTest.java | 55 List<Function<Integer, Node.Builder<Integer>>> ms = Arrays.asList( in createNodeBuilders() 63 for (Function<Integer, Node.Builder<Integer>> m : ms) { in createNodeBuilders() 72 public void testIteration(List<Integer> l, Function<Integer, Node.Builder<Integer>> m) { in testIteration() 73 Node.Builder<Integer> nb = m.apply(l.size()); in testIteration() 100 List<Function<Integer, Node.Builder<Integer>>> ms = Arrays.asList( in createIntNodeBuilders() 108 for (Function<Integer, Node.Builder<Integer>> m : ms) { in createIntNodeBuilders() 117 public void testIntIteration(List<Integer> l, Function<Integer, Node.Builder.OfInt> m) { in testIntIteration() 118 Node.Builder.OfInt nb = m.apply(l.size()); in testIntIteration() 150 List<Function<Integer, Node.Builder<Long>>> ms = Arrays.asList( in createLongNodeBuilders() 158 for (Function<Integer, Node.Builder<Long>> m : ms) { in createLongNodeBuilders() [all …]
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | AclEntry.java | 98 public static final class Builder { class in AclEntry 104 private Builder(AclEntryType type, in Builder() method in AclEntry.Builder 140 public Builder setType(AclEntryType type) { in setType() 153 public Builder setPrincipal(UserPrincipal who) { in setPrincipal() 180 public Builder setPermissions(Set<AclEntryPermission> perms) { in setPermissions() 202 public Builder setPermissions(AclEntryPermission... perms) { in setPermissions() 225 public Builder setFlags(Set<AclEntryFlag> flags) { in setFlags() 247 public Builder setFlags(AclEntryFlag... flags) { in setFlags() 267 public static Builder newBuilder() { in newBuilder() 270 return new Builder(null, null, perms, flags); in newBuilder() [all …]
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 273 public static class Builder { class in Calendar 275 public Builder() { throw new RuntimeException("Stub!"); } in Builder() method in Calendar.Builder 277 @libcore.util.NonNull public java.util.Calendar.Builder setInstant(long instant) { throw new Runtim… in setInstant() 279 @libcore.util.NonNull public java.util.Calendar.Builder setInstant(@libcore.util.NonNull java.util.… in setInstant() 281 @libcore.util.NonNull public java.util.Calendar.Builder set(int field, int value) { throw new Runti… in set() 283 @libcore.util.NonNull public java.util.Calendar.Builder setFields(int @libcore.util.NonNull ... fie… in setFields() 285 @libcore.util.NonNull public java.util.Calendar.Builder setDate(int year, int month, int dayOfMonth… in setDate() 287 @libcore.util.NonNull public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int… in setTimeOfDay() 289 @libcore.util.NonNull public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int… in setTimeOfDay() 291 @libcore.util.NonNull public java.util.Calendar.Builder setWeekDate(int weekYear, int weekOfYear, i… in setWeekDate() [all …]
|
D | Locale.annotated.java | 216 public static final class Builder { class in Locale 218 public Builder() { throw new RuntimeException("Stub!"); } in Builder() method in Locale.Builder 220 @libcore.util.NonNull public java.util.Locale.Builder setLocale(@libcore.util.NonNull java.util.Loc… in setLocale() 222 @libcore.util.NonNull public java.util.Locale.Builder setLanguageTag(@libcore.util.NonNull java.lan… in setLanguageTag() 224 @libcore.util.NonNull public java.util.Locale.Builder setLanguage(@libcore.util.Nullable java.lang.… in setLanguage() 226 @libcore.util.NonNull public java.util.Locale.Builder setScript(@libcore.util.Nullable java.lang.St… in setScript() 228 @libcore.util.NonNull public java.util.Locale.Builder setRegion(@libcore.util.Nullable java.lang.St… in setRegion() 230 @libcore.util.NonNull public java.util.Locale.Builder setVariant(@libcore.util.Nullable java.lang.S… in setVariant() 232 @libcore.util.NonNull public java.util.Locale.Builder setExtension(char key, @libcore.util.Nullable… in setExtension() 234 @libcore.util.NonNull public java.util.Locale.Builder setUnicodeLocaleKeyword(@libcore.util.NonNull… in setUnicodeLocaleKeyword() [all …]
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | StreamBuilderTest.java | 100 Stream.Builder<Integer> sb = Stream.builder(); in testAfterBuilding() 113 Stream.Builder<Integer> sb = Stream.builder(); in testStreamBuilder() 119 Stream.Builder<Integer> sb = Stream.builder(); in testStreamBuilder() 121 Stream.Builder<Integer> _sb = sb.add(i); in testStreamBuilder() 163 IntStream.Builder sb = IntStream.builder(); in testIntAfterBuilding() 176 IntStream.Builder sb = IntStream.builder(); in testIntStreamBuilder() 182 IntStream.Builder sb = IntStream.builder(); in testIntStreamBuilder() 184 IntStream.Builder _sb = sb.add(i); in testIntStreamBuilder() 226 LongStream.Builder sb = LongStream.builder(); in testLongAfterBuilding() 239 LongStream.Builder sb = LongStream.builder(); in testLongStreamBuilder() [all …]
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | TestFlagExpectedOp.java | 31 static class Builder<T> { class in TestFlagExpectedOp 39 Builder(int flags) { in Builder() method in TestFlagExpectedOp.Builder 43 Builder<T> known(EnumSet<StreamOpFlag> known) { in known() 48 Builder<T> preserve(EnumSet<StreamOpFlag> preserve) { in preserve() 53 Builder<T> notKnown(EnumSet<StreamOpFlag> notKnown) { in notKnown() 58 Builder<T> shape(StreamShape shape) { in shape()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | TestFlagExpectedOp.java | 32 static class Builder<T> { class in TestFlagExpectedOp 40 Builder(int flags) { in Builder() method in TestFlagExpectedOp.Builder 44 Builder<T> known(EnumSet<StreamOpFlag> known) { in known() 49 Builder<T> preserve(EnumSet<StreamOpFlag> preserve) { in preserve() 54 Builder<T> notKnown(EnumSet<StreamOpFlag> notKnown) { in notKnown() 59 Builder<T> shape(StreamShape shape) { in shape()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 612 public static class Builder { class in Calendar 614 public Builder() { in Builder() method in Calendar.Builder 618 public java.util.Calendar.Builder setInstant(long instant) { in setInstant() 622 public java.util.Calendar.Builder setInstant(java.util.Date instant) { in setInstant() 626 public java.util.Calendar.Builder set(int field, int value) { in set() 630 public java.util.Calendar.Builder setFields(int... fieldValuePairs) { in setFields() 634 public java.util.Calendar.Builder setDate(int year, int month, int dayOfMonth) { in setDate() 638 public java.util.Calendar.Builder setTimeOfDay(int hourOfDay, int minute, int second) { in setTimeOfDay() 642 public java.util.Calendar.Builder setTimeOfDay( in setTimeOfDay() 647 public java.util.Calendar.Builder setWeekDate(int weekYear, int weekOfYear, int dayOfWeek) { in setWeekDate() [all …]
|
D | Locale.java | 544 public static final class Builder { class in Locale 546 public Builder() { in Builder() method in Locale.Builder 550 public java.util.Locale.Builder setLocale(java.util.Locale locale) { in setLocale() 554 public java.util.Locale.Builder setLanguageTag(java.lang.String languageTag) { in setLanguageTag() 558 public java.util.Locale.Builder setLanguage(java.lang.String language) { in setLanguage() 562 public java.util.Locale.Builder setScript(java.lang.String script) { in setScript() 566 public java.util.Locale.Builder setRegion(java.lang.String region) { in setRegion() 570 public java.util.Locale.Builder setVariant(java.lang.String variant) { in setVariant() 574 public java.util.Locale.Builder setExtension(char key, java.lang.String value) { in setExtension() 578 public java.util.Locale.Builder setUnicodeLocaleKeyword( in setUnicodeLocaleKeyword() [all …]
|
/libcore/luni/src/main/java/libcore/content/type/ |
D | MimeMap.java | 53 public static @NonNull Builder builder() { in builder() 54 return new Builder(); in builder() 68 public @NonNull Builder buildUpon() { in buildUpon() 69 return new Builder(mimeToExt, extToMime); in buildUpon() 285 public static final class Builder { class in MimeMap 292 Builder() { in Builder() method in MimeMap.Builder 302 Builder(Map<String, String> mimeToExt, Map<String, String> extToMime) { in Builder() method in MimeMap.Builder 389 …public @NonNull Builder addMimeMapping(@NonNull String mimeSpec, @NonNull List<@NonNull String> ex… in addMimeMapping() 410 … public @NonNull Builder addMimeMapping(@NonNull String mimeSpec, @NonNull String extensionSpec) { in addMimeMapping()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 206 ROOT_CA = new Builder() in initCerts() 212 INTERMEDIATE_CA_EC = new Builder() in initCerts() 221 INTERMEDIATE_CA = new Builder() in initCerts() 229 SERVER = new Builder() in initCerts() 237 CLIENT_EC_RSA_CERTIFICATE = new Builder() in initCerts() 244 CLIENT_EC_EC_CERTIFICATE = new Builder() in initCerts() 251 CLIENT_CERTIFICATE = new Builder() in initCerts() 257 TestKeyStore rootCa2 = new Builder() in initCerts() 262 INTERMEDIATE_CA_2 = new Builder() in initCerts() 355 public static class Builder { class in TestKeyStore [all …]
|
/libcore/ojluni/src/test/java/security/KeyStore/ |
D | KeyStoreBuilder.java | 53 Builder builder; in testBuilder() 57 builder = Builder.newInstance("PKCS12", null, new PasswordProtection(password)); in testBuilder() 64 builder = Builder.newInstance("BouncyCastle", null, new PasswordProtection(password)); in testBuilder() 76 builder = Builder.newInstance("My", p, new CallbackHandlerProtection(handler)); in testBuilder() 84 builder = Builder.newInstance("My", p, new CallbackHandlerProtection(handler)); in testBuilder()
|
D | ProbeKeystores.java | 158 Builder builder; in build() 160 builder = Builder.newInstance(file, in build() 163 builder = Builder.newInstance(file, in build()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Node.java | 127 Node.Builder<T> nodeBuilder = Nodes.builder(size, generator); in truncate() 194 interface Builder<T> extends Sink<T> { interface 207 interface OfInt extends Node.Builder<Integer>, Sink.OfInt { 215 interface OfLong extends Node.Builder<Long>, Sink.OfLong { 223 interface OfDouble extends Node.Builder<Double>, Sink.OfDouble { 366 Node.Builder.OfInt nodeBuilder = Nodes.intBuilder(size); in truncate() 443 Node.Builder.OfLong nodeBuilder = Nodes.longBuilder(size); in truncate() 522 Node.Builder.OfDouble nodeBuilder = Nodes.doubleBuilder(size); in truncate()
|
D | Nodes.java | 174 static <T> Node.Builder<T> builder(long exactSizeIfKnown, IntFunction<T[]> generator) { in builder() 186 static <T> Node.Builder<T> builder() { in builder() 212 static Node.Builder.OfInt intBuilder(long exactSizeIfKnown) { in intBuilder() 223 static Node.Builder.OfInt intBuilder() { in intBuilder() 249 static Node.Builder.OfLong longBuilder(long exactSizeIfKnown) { in longBuilder() 260 static Node.Builder.OfLong longBuilder() { in longBuilder() 286 static Node.Builder.OfDouble doubleBuilder(long exactSizeIfKnown) { in doubleBuilder() 297 static Node.Builder.OfDouble doubleBuilder() { in doubleBuilder() 1204 implements Node.Builder<T> { 1256 implements Node<T>, Node.Builder<T> { [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | KeyStoreBuilderParametersTest.java | 34 new KeyStoreBuilderParameters((KeyStore.Builder) null); in test_Constructor01() 41 KeyStore.Builder bld = KeyStore.Builder.newInstance("testType", null, pp); in test_Constructor01()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ForwardBuilder.java | 63 class ForwardBuilder extends Builder { 333 if (!currentState.isInitial() && Builder.USE_AIA) { in getMatchingCACerts() 359 if (Builder.USE_AIA == false) { in getCerts() 535 Builder.distance(tSubjectName, cIssuer1Name, -1); in compare() 537 Builder.distance(tSubjectName, cIssuer2Name, -1); in compare() 566 int distanceTto1 = Builder.distance in compare() 568 int distanceTto2 = Builder.distance in compare() 606 int hopsTto1 = Builder.hops in compare() 608 int hopsTto2 = Builder.hops in compare() 644 int distanceStoI1 = Builder.distance in compare() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 1076 public static class Builder { class in Calendar 1098 public Builder() { in Builder() method in Calendar.Builder 1114 public Builder setInstant(long instant) { in setInstant() 1138 public Builder setInstant(Date instant) { in setInstant() 1159 public Builder set(int field, int value) { in set() 1197 public Builder setFields(int... fieldValuePairs) { in setFields() 1235 public Builder setDate(int year, int month, int dayOfMonth) { in setDate() 1252 public Builder setTimeOfDay(int hourOfDay, int minute, int second) { in setTimeOfDay() 1273 public Builder setTimeOfDay(int hourOfDay, int minute, int second, int millis) { in setTimeOfDay() 1294 public Builder setWeekDate(int weekYear, int weekOfYear, int dayOfWeek) { in setWeekDate() [all …]
|
D | Locale.java | 3030 public static final class Builder { class 3038 public Builder() { in Builder() method in Builder 3062 public Builder setLocale(Locale locale) { in setLocale() 3088 public Builder setLanguageTag(String languageTag) { in setLanguageTag() 3111 public Builder setLanguage(String language) { in setLanguage() 3132 public Builder setScript(String script) { in setScript() 3157 public Builder setRegion(String region) { in setRegion() 3184 public Builder setVariant(String variant) { in setVariant() 3216 public Builder setExtension(char key, String value) { in setExtension() 3246 public Builder setUnicodeLocaleKeyword(String key, String type) { in setUnicodeLocaleKeyword() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStore.java | 1861 public abstract static class Builder { class in KeyStore 1869 protected Builder() { in Builder() method in KeyStore.Builder 1920 public static Builder newInstance(final KeyStore keyStore, in newInstance() 1928 return new Builder() { in newInstance() 1993 public static Builder newInstance(String type, Provider provider, in newInstance() 2051 public static Builder newInstance(File file, in newInstance() 2057 private static final class FileBuilder extends Builder { 2206 public static Builder newInstance(final String type, in newInstance() 2212 return new Builder() { in newInstance()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | KeyStore.java | 201 public abstract static class Builder { class in KeyStore 203 protected Builder() { in Builder() method in KeyStore.Builder 212 public static java.security.KeyStore.Builder newInstance( in newInstance() 218 public static java.security.KeyStore.Builder newInstance( in newInstance() 226 public static java.security.KeyStore.Builder newInstance( in newInstance() 236 private static final class FileBuilder extends java.security.KeyStore.Builder {
|