Searched refs:empty (Results 1 - 25 of 68) sorted by last modified time

123

/libcore/support/src/test/java/tests/resources/x509/
H A Dcreate.sh94 openssl ca -gencrl -crlhours 70 -keyfile /tmp/cakey.pem -cert /tmp/cacert.pem -out /tmp/crl-empty.pem -config "$DIR/default.cnf"
95 openssl crl -in /tmp/crl-empty.pem -outform d -out "$DIR/crl-empty.der"
120 rm /tmp/cert-rsa.pem /tmp/cert-dsa.pem /tmp/cacert.pem /tmp/cakey.pem /tmp/crl-rsa.pem /tmp/crl-rsa-dsa.pem /tmp/crl-unsupported.pem /tmp/crl-empty.pem
/libcore/ojluni/src/main/java/java/security/
H A DProvider.java1632 Class<?>[] empty = {};
1633 Constructor<?> con = clazz.getConstructor(empty);
1703 Class<?>[] empty = {};
1704 Constructor<?> con = clazz.getConstructor(empty);
/libcore/ojluni/src/main/java/java/text/
H A DMessageFormat.java950 * If the source is null, return an empty array.
958 Object[] empty = {};
959 return empty;
/libcore/ojluni/src/main/java/java/util/
H A DOptional.java48 * Common instance for {@code empty()}.
58 * Constructs an empty instance.
60 * @implNote Generally only one empty instance, {@link Optional#EMPTY},
68 * Returns an empty {@code Optional} instance. No value is present for this
72 * is empty by comparing with {@code ==} against instances returned by
73 * {@code Option.empty()}. There is no guarantee that it is a singleton.
77 * @return an empty {@code Optional}
79 public static<T> Optional<T> empty() { method in class:Optional
109 * otherwise returns an empty {@code Optional}.
114 * is non-null, otherwise an empty {
[all...]
H A DOptionalDouble.java47 * Common instance for {@code empty()}.
58 * Construct an empty instance.
60 * @implNote generally only one empty instance, {@link OptionalDouble#EMPTY},
69 * Returns an empty {@code OptionalDouble} instance. No value is present for this
73 * is empty by comparing with {@code ==} against instances returned by
74 * {@code Option.empty()}. There is no guarantee that it is a singleton.
77 * @return an empty {@code OptionalDouble}.
79 public static OptionalDouble empty() { method in class:OptionalDouble
169 * @apiNote A method reference to the exception constructor with an empty
232 * Returns a non-empty strin
[all...]
H A DOptionalInt.java47 * Common instance for {@code empty()}.
58 * Construct an empty instance.
60 * @implNote Generally only one empty instance, {@link OptionalInt#EMPTY},
69 * Returns an empty {@code OptionalInt} instance. No value is present for this
73 * is empty by comparing with {@code ==} against instances returned by
74 * {@code Option.empty()}. There is no guarantee that it is a singleton.
77 * @return an empty {@code OptionalInt}
79 public static OptionalInt empty() { method in class:OptionalInt
170 * @apiNote A method reference to the exception constructor with an empty
233 * Returns a non-empty strin
[all...]
H A DOptionalLong.java47 * Common instance for {@code empty()}.
58 * Construct an empty instance.
60 * @implNote generally only one empty instance, {@link OptionalLong#EMPTY},
69 * Returns an empty {@code OptionalLong} instance. No value is present for this
73 * is empty by comparing with {@code ==} against instances returned by
74 * {@code Option.empty()}. There is no guarantee that it is a singleton.
77 * @return an empty {@code OptionalLong}.
79 public static OptionalLong empty() { method in class:OptionalLong
169 * @apiNote A method reference to the exception constructor with an empty
232 * Returns a non-empty strin
[all...]
H A DStack.java34 * for whether the stack is <tt>empty</tt>, and a method to <tt>search</tt>
51 * Creates an empty Stack.
78 * @throws EmptyStackException if this stack is empty.
96 * @throws EmptyStackException if this stack is empty.
107 * Tests if this stack is empty.
112 public boolean empty() { method in class:Stack
/libcore/ojluni/src/main/java/java/util/stream/
H A DDoublePipeline.java445 : OptionalDouble.empty();
H A DDoubleStream.java155 * an empty stream is used, instead.)
255 * empty stream will be returned.
394 * return foundAny ? OptionalDouble.of(result) : OptionalDouble.empty();
498 * stream, or an empty OptionalDouble if this stream is empty. The minimum
512 * stream, or an empty optional if the stream is empty
518 * stream, or an empty OptionalDouble if this stream is empty. The maximum
533 * stream, or an empty optiona
733 public static DoubleStream empty() { method in interface:DoubleStream
[all...]
H A DFindOps.java58 return new FindOp<>(mustFindFirst, StreamShape.REFERENCE, Optional.empty(),
70 return new FindOp<>(mustFindFirst, StreamShape.INT_VALUE, OptionalInt.empty(),
82 return new FindOp<>(mustFindFirst, StreamShape.LONG_VALUE, OptionalLong.empty(),
94 return new FindOp<>(mustFindFirst, StreamShape.DOUBLE_VALUE, OptionalDouble.empty(),
H A DIntPipeline.java446 : OptionalDouble.empty();
H A DIntStream.java153 * an empty stream is used, instead.)
250 * empty stream will be returned.
389 * return foundAny ? OptionalInt.of(result) : OptionalInt.empty();
466 * stream, or an empty optional if this stream is empty. This is a special
476 * stream, or an empty {@code OptionalInt} if the stream is empty
482 * stream, or an empty optional if this stream is empty. This is a special
493 * stream, or an empty {
701 public static IntStream empty() { method in interface:IntStream
[all...]
H A DLongPipeline.java423 : OptionalDouble.empty();
H A DLongStream.java157 * an empty stream is used, instead.)
254 * empty stream will be returned.
393 * return foundAny ? OptionalLong.of(result) : OptionalLong.empty();
470 * stream, or an empty optional if this stream is empty. This is a special
480 * stream, or an empty {@code OptionalLong} if the stream is empty
486 * stream, or an empty optional if this stream is empty. This is a special
497 * stream, or an empty {
693 public static LongStream empty() { method in interface:LongStream
[all...]
H A DReduceOps.java109 private boolean empty;
113 empty = true;
119 if (empty) {
120 empty = false;
129 return empty ? Optional.empty() : Optional.of(state);
134 if (!other.empty)
291 private boolean empty;
295 empty = true;
301 if (empty) {
[all...]
H A DStream.java231 * an empty stream is used, instead.)
275 * {@code null} an empty stream is used, instead.)
295 * {@code null} an empty stream is used, instead.)
315 * {@code null} an empty stream is used, instead.)
453 * empty stream will be returned.
623 * return foundAny ? Optional.of(result) : Optional.empty();
817 * or an empty {@code Optional} if the stream is empty
834 * or an empty {@code Optional} if the stream is empty
972 public static<T> Stream<T> empty() { method in interface:Stream
[all...]
/libcore/ojluni/src/main/java/sun/misc/
H A DURLClassPath.java401 * This method returns an empty array if the specified resource
517 // or the URL stack is empty.
522 if (urls.empty()) {
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DLambdaTestHelpers.java142 public static List<Integer> empty() { method in class:LambdaTestHelpers
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DConcatTest.java56 List<Integer> empty = new LinkedList<>(); // To be ordered
57 assertTrue(empty.isEmpty());
73 { "empty something", empty, part1, part1 },
74 { "something empty", part1, empty, part1 },
75 { "empty empty", empty, empty, empt
[all...]
H A DExplodeOpTest.java79 result = exerciseOps(data, s-> s.flatMap(e -> Stream.empty()));
95 result = exerciseOps(data, s -> s.flatMap(i -> IntStream.empty()));
110 result = exerciseOps(data, s -> LongStream.empty());
125 result = exerciseOps(data, s -> DoubleStream.empty());
H A DIntReduceTest.java46 assertEquals(0, IntStream.empty().reduce(0, irPlus));
47 assertFalse(IntStream.empty().reduce(irPlus).isPresent());
H A DMinMaxTest.java68 assertEquals(IntStream.empty().min(), OptionalInt.empty());
69 assertEquals(IntStream.empty().max(), OptionalInt.empty());
81 assertEquals(LongStream.empty().min(), OptionalLong.empty());
82 assertEquals(LongStream.empty().max(), OptionalLong.empty());
94 assertEquals(DoubleStream.empty().min(), OptionalDouble.empty());
[all...]
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DLambdaTestHelpers.java143 public static List<Integer> empty() { method in class:LambdaTestHelpers
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp500 * Possibly empty.
507 * Returns the element or attribute local name, like "h1". Never empty. When
509 * local name like "html:h1". In such cases, the qName will always be empty.
516 * Returns the namespace prefix, like "html". Possibly empty.
1295 static void ExpatParser_staticInitialize(JNIEnv* env, jobject classObject, jstring empty) { argument
1353 emptyString = reinterpret_cast<jstring>(env->NewGlobalRef(empty));

Completed in 667 milliseconds

123