Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 30) sorted by relevance

12

/libcore/ojluni/src/test/java/util/StringJoiner/
DStringJoinerTest.java41 private static final String EMPTY = "EMPTY"; field in StringJoinerTest
128 StringJoiner sj = new StringJoiner(",").setEmptyValue(EMPTY); in addCharSequenceWithEmptyValue()
148 sj = new StringJoiner(DASH, "{", "}").setEmptyValue(EMPTY); in addCharSequenceWithEmptyValue()
149 assertEquals(sj.toString(), EMPTY); in addCharSequenceWithEmptyValue() local
170 StringJoiner sj = new StringJoiner(DASH, "<", ">").setEmptyValue(EMPTY); in lengthWithCustomEmptyValue()
171 assertEquals(sj.length(), EMPTY.length()); in lengthWithCustomEmptyValue()
194 StringJoiner sj = new StringJoiner(DASH, "", "").setEmptyValue(EMPTY); in noAddAndEmptyValue()
195 assertEquals(sj.toString(), EMPTY); in noAddAndEmptyValue() local
278 StringJoiner sj = new StringJoiner(DASH, "<", ">").setEmptyValue(EMPTY); in toStringWithCustomEmptyValue()
279 assertEquals(sj.toString(), EMPTY); in toStringWithCustomEmptyValue() local
/libcore/ojluni/src/main/java/java/util/concurrent/
DPhaser.java312 private static final int EMPTY = 1; field in Phaser
318 return (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in unarrivedOf()
331 return (counts == EMPTY) ? 0 : in arrivedOf()
387 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in doArrive()
398 n |= EMPTY; in doArrive()
408 STATE.compareAndSet(this, s, s | EMPTY); in doArrive()
439 if (counts != EMPTY) { // not 1st registration in doRegister()
497 (((p = (int)s >>> PARTIES_SHIFT) == 0) ? EMPTY : in reconcileState()
565 this.state = (parties == 0) ? (long)EMPTY : in Phaser()
680 int unarrived = (counts == EMPTY) ? 0 : (counts & UNARRIVED_MASK); in arriveAndAwaitAdvance()
[all …]
/libcore/luni/src/main/java/libcore/reflect/
DGenericSignatureParser.java134 this.interfaceTypes = ListOfTypes.EMPTY; in parseForClass()
141 this.interfaceTypes = ListOfTypes.EMPTY; in parseForClass()
163 this.parameterTypes = ListOfTypes.EMPTY; in parseForMethod()
169 this.exceptionTypes = ListOfTypes.EMPTY; in parseForMethod()
194 this.parameterTypes = ListOfTypes.EMPTY; in parseForConstructor()
200 this.exceptionTypes = ListOfTypes.EMPTY; in parseForConstructor()
DListOfTypes.java25 public static final ListOfTypes EMPTY = new ListOfTypes(0); field in ListOfTypes
/libcore/ojluni/src/main/java/java/util/
DOptional.java66 private static final Optional<?> EMPTY = new Optional<>(null); field in Optional
88 Optional<T> t = (Optional<T>) EMPTY; in empty()
127 return value == null ? (Optional<T>) EMPTY in ofNullable()
DOptionalLong.java63 private static final OptionalLong EMPTY = new OptionalLong(); field in OptionalLong
95 return EMPTY; in empty()
DOptionalInt.java63 private static final OptionalInt EMPTY = new OptionalInt(); field in OptionalInt
95 return EMPTY; in empty()
DOptionalDouble.java63 private static final OptionalDouble EMPTY = new OptionalDouble(); field in OptionalDouble
95 return EMPTY; in empty()
DImmutableCollections.java99 private static final Object EMPTY = new Object(); field in ImmutableCollections
566 this.e1 = EMPTY; in List12()
576 return e1 != EMPTY ? 2 : 1; in size()
589 } else if (index == 1 && e1 != EMPTY) { in get()
600 } else if (e1 != EMPTY && o.equals(e1)) { in indexOf()
610 if (e1 != EMPTY && o.equals(e1)) { in lastIndexOf()
626 if (e1 == EMPTY) { in writeReplace()
635 if (e1 == EMPTY) { in toArray()
793 this.e1 = EMPTY; in Set12()
807 return (e1 == EMPTY) ? 1 : 2; in size()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DStringBenchmark.java23 EMPTY(""), enumConstant
DStringReplaceAllBenchmark.java27 EMPTY(""), enumConstant
DStringReplaceBenchmark.java23 EMPTY(""), enumConstant
DStringToBytesBenchmark.java25 EMPTY(""), enumConstant
DBreakIteratorBenchmark.java35 EMPTY(Locale.US, ""), enumConstant
/libcore/luni/src/test/resources/
Drecipt.dtd12 <!ELEMENT nutrition EMPTY>
/libcore/luni/src/test/resources/systemid/
Drecipt.dtd12 <!ELEMENT nutrition EMPTY>
/libcore/tools/upstream/src/main/java/libcore/
DLines.java31 public static Lines EMPTY = new Lines(Collections.emptyList()); field in Lines
/libcore/dom/src/test/resources/
Dstaff2.dtd14 <!ELEMENT rect EMPTY>
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviderList.java130 static final sun.security.jca.ProviderList EMPTY; field in ProviderList
133 EMPTY = null;
/libcore/ojluni/src/main/java/java/beans/
DPropertyChangeSupport.java507 private static final PropertyChangeListener[] EMPTY = {}; field in PropertyChangeSupport.PropertyChangeListenerMap
521 : EMPTY; in newArray()
/libcore/ojluni/src/main/java/sun/security/jca/
DProviders.java64 providerList = ProviderList.EMPTY;
DProviderList.java66 static final ProviderList EMPTY = new ProviderList(PC0, true); field in ProviderList
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java622 return ClonedAttributes.EMPTY; in cloneAttributes()
640 private static final Attributes EMPTY = new ClonedAttributes(0, 0, 0); field in ExpatParser.ClonedAttributes
/libcore/ojluni/src/test/java/lang/String/CompactString/
DCompactString.java42 EMPTY(STRING_EMPTY, BYTE_ARRAY_EMTPY, CHAR_ARRAY_EMPTY, enumConstant
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlParser.java76 private static final char[] EMPTY = new char[] { 'E', 'M', 'P', 'T', 'Y' }; field in KXmlParser
777 } else if (c == EMPTY[0]) { in readContentSpec()
778 read(EMPTY); in readContentSpec()

12