/libcore/ojluni/src/test/java/util/StringJoiner/ |
D | StringJoinerTest.java | 41 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/ |
D | Phaser.java | 312 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/ |
D | GenericSignatureParser.java | 134 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()
|
D | ListOfTypes.java | 25 public static final ListOfTypes EMPTY = new ListOfTypes(0); field in ListOfTypes
|
/libcore/ojluni/src/main/java/java/util/ |
D | Optional.java | 66 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()
|
D | OptionalLong.java | 63 private static final OptionalLong EMPTY = new OptionalLong(); field in OptionalLong 95 return EMPTY; in empty()
|
D | OptionalInt.java | 63 private static final OptionalInt EMPTY = new OptionalInt(); field in OptionalInt 95 return EMPTY; in empty()
|
D | OptionalDouble.java | 63 private static final OptionalDouble EMPTY = new OptionalDouble(); field in OptionalDouble 95 return EMPTY; in empty()
|
D | ImmutableCollections.java | 99 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/ |
D | StringBenchmark.java | 23 EMPTY(""), enumConstant
|
D | StringReplaceAllBenchmark.java | 27 EMPTY(""), enumConstant
|
D | StringReplaceBenchmark.java | 23 EMPTY(""), enumConstant
|
D | StringToBytesBenchmark.java | 25 EMPTY(""), enumConstant
|
D | BreakIteratorBenchmark.java | 35 EMPTY(Locale.US, ""), enumConstant
|
/libcore/luni/src/test/resources/ |
D | recipt.dtd | 12 <!ELEMENT nutrition EMPTY>
|
/libcore/luni/src/test/resources/systemid/ |
D | recipt.dtd | 12 <!ELEMENT nutrition EMPTY>
|
/libcore/tools/upstream/src/main/java/libcore/ |
D | Lines.java | 31 public static Lines EMPTY = new Lines(Collections.emptyList()); field in Lines
|
/libcore/dom/src/test/resources/ |
D | staff2.dtd | 14 <!ELEMENT rect EMPTY>
|
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/ |
D | ProviderList.java | 130 static final sun.security.jca.ProviderList EMPTY; field in ProviderList 133 EMPTY = null;
|
/libcore/ojluni/src/main/java/java/beans/ |
D | PropertyChangeSupport.java | 507 private static final PropertyChangeListener[] EMPTY = {}; field in PropertyChangeSupport.PropertyChangeListenerMap 521 : EMPTY; in newArray()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | Providers.java | 64 providerList = ProviderList.EMPTY;
|
D | ProviderList.java | 66 static final ProviderList EMPTY = new ProviderList(PC0, true); field in ProviderList
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 622 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/ |
D | CompactString.java | 42 EMPTY(STRING_EMPTY, BYTE_ARRAY_EMTPY, CHAR_ARRAY_EMPTY, enumConstant
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlParser.java | 76 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()
|