/third_party/protobuf/java/lite/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 33 import static java.util.Collections.emptyList; 515 assertEquals(emptyList(), message.getRepeatedBoolList()); in testSanityCopyOnWrite() 517 assertEquals(emptyList(), message.getRepeatedBoolList()); in testSanityCopyOnWrite() 520 assertEquals(emptyList(), builder.getRepeatedBoolList()); in testSanityCopyOnWrite() 525 assertEquals(emptyList(), message.getRepeatedBytesList()); in testSanityCopyOnWrite() 527 assertEquals(emptyList(), message.getRepeatedBytesList()); in testSanityCopyOnWrite() 530 assertEquals(emptyList(), builder.getRepeatedBytesList()); in testSanityCopyOnWrite() 536 assertEquals(emptyList(), message.getRepeatedCordList()); in testSanityCopyOnWrite() 538 assertEquals(emptyList(), message.getRepeatedCordList()); in testSanityCopyOnWrite() 541 assertEquals(emptyList(), builder.getRepeatedCordList()); in testSanityCopyOnWrite() [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ProtobufLists.java | 46 return ProtobufArrayList.emptyList(); in emptyProtobufList() 56 return BooleanArrayList.emptyList(); in emptyBooleanList() 64 return IntArrayList.emptyList(); in emptyIntList() 72 return LongArrayList.emptyList(); in emptyLongList() 80 return FloatArrayList.emptyList(); in emptyFloatList() 88 return DoubleArrayList.emptyList(); in emptyDoubleList()
|
D | TextFormatParseInfoTree.java | 99 return (result == null) ? Collections.<TextFormatParseLocation>emptyList() : result; in getLocations() 125 return result == null ? Collections.<TextFormatParseInfoTree>emptyList() : result; in getNestedTrees()
|
D | GeneratedMessageLite.java | 1072 Type emptyList = (Type) Collections.emptyList(); in newRepeatedGeneratedExtension() local 1075 emptyList, in newRepeatedGeneratedExtension() 1434 return IntArrayList.emptyList(); in emptyIntList() 1444 return LongArrayList.emptyList(); in emptyLongList() 1454 return FloatArrayList.emptyList(); in emptyFloatList() 1464 return DoubleArrayList.emptyList(); in emptyDoubleList() 1474 return BooleanArrayList.emptyList(); in emptyBooleanList() 1484 return ProtobufArrayList.emptyList(); in emptyProtobufList()
|
D | UnknownFieldSet.java | 937 built.varint = Collections.emptyList(); in build() 942 built.fixed32 = Collections.emptyList(); in build() 947 built.fixed64 = Collections.emptyList(); in build() 952 built.lengthDelimited = Collections.emptyList(); in build() 958 built.group = Collections.emptyList(); in build()
|
D | ProtobufArrayList.java | 48 public static <E> ProtobufArrayList<E> emptyList() { in emptyList() method in ProtobufArrayList
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | IntArrayListTest.java | 59 assertSame(IntArrayList.emptyList(), IntArrayList.emptyList()); in testEmptyListReturnsSameInstance() 63 assertImmutable(IntArrayList.emptyList()); in testEmptyListIsImmutable() 205 assertEquals(0, IntArrayList.emptyList().size()); in testSize() 327 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll() 328 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll() 367 IntList toRemove = IntArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity() 374 IntList toRemove = IntArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity() 383 IntList toRemove = IntArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity() 409 list.addAll(Collections.<Integer>emptyList()); in assertImmutable() 451 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable() [all …]
|
D | LongArrayListTest.java | 59 assertSame(LongArrayList.emptyList(), LongArrayList.emptyList()); in testEmptyListReturnsSameInstance() 63 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable() 205 assertEquals(0, LongArrayList.emptyList().size()); in testSize() 327 assertFalse(list.addAll(Collections.<Long>emptyList())); in testAddAll() 328 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll() 367 LongList toRemove = LongArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity() 374 LongList toRemove = LongArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity() 383 LongList toRemove = LongArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity() 409 list.addAll(Collections.<Long>emptyList()); in assertImmutable() 451 list.addAll(0, Collections.<Long>emptyList()); in assertImmutable() [all …]
|
D | FloatArrayListTest.java | 59 assertSame(FloatArrayList.emptyList(), FloatArrayList.emptyList()); in testEmptyListReturnsSameInstance() 63 assertImmutable(FloatArrayList.emptyList()); in testEmptyListIsImmutable() 205 assertEquals(0, FloatArrayList.emptyList().size()); in testSize() 327 assertFalse(list.addAll(Collections.<Float>emptyList())); in testAddAll() 328 assertFalse(list.addAll(FloatArrayList.emptyList())); in testAddAll() 369 FloatList toRemove = FloatArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity() 376 FloatList toRemove = FloatArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity() 385 FloatList toRemove = FloatArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity() 411 list.addAll(Collections.<Float>emptyList()); in assertImmutable() 453 list.addAll(0, Collections.<Float>emptyList()); in assertImmutable() [all …]
|
D | DoubleArrayListTest.java | 59 assertSame(DoubleArrayList.emptyList(), DoubleArrayList.emptyList()); in testEmptyListReturnsSameInstance() 63 assertImmutable(DoubleArrayList.emptyList()); in testEmptyListIsImmutable() 205 assertEquals(0, DoubleArrayList.emptyList().size()); in testSize() 327 assertFalse(list.addAll(Collections.<Double>emptyList())); in testAddAll() 328 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll() 369 DoubleList toRemove = DoubleArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity() 376 DoubleList toRemove = DoubleArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity() 385 DoubleList toRemove = DoubleArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity() 411 list.addAll(Collections.<Double>emptyList()); in assertImmutable() 453 list.addAll(0, Collections.<Double>emptyList()); in assertImmutable() [all …]
|
D | BooleanArrayListTest.java | 60 assertSame(BooleanArrayList.emptyList(), BooleanArrayList.emptyList()); in testEmptyListReturnsSameInstance() 64 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable() 206 assertEquals(0, BooleanArrayList.emptyList().size()); in testSize() 329 assertFalse(list.addAll(Collections.<Boolean>emptyList())); in testAddAll() 330 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll() 369 BooleanList toRemove = BooleanArrayList.emptyList().mutableCopyWithCapacity(1); in testRemoveEnd_listAtCapacity() 376 BooleanList toRemove = BooleanArrayList.emptyList().mutableCopyWithCapacity(2); in testRemove_listAtCapacity() 385 BooleanList toRemove = BooleanArrayList.emptyList().mutableCopyWithCapacity(1); in testSublistRemoveEndOfCapacity() 408 list.addAll(Collections.<Boolean>emptyList()); in assertImmutable() 450 list.addAll(0, Collections.<Boolean>emptyList()); in assertImmutable() [all …]
|
D | ProtobufArrayListTest.java | 56 assertSame(ProtobufArrayList.emptyList(), ProtobufArrayList.emptyList()); in testEmptyListReturnsSameInstance() 60 assertImmutable(ProtobufArrayList.<Integer>emptyList()); in testEmptyListIsImmutable() 223 assertFalse(list.addAll(Collections.<Integer>emptyList())); in testAddAll() 224 assertFalse(list.addAll(IntArrayList.emptyList())); in testAddAll() 228 assertEquals(0, ProtobufArrayList.emptyList().size()); in testSize() 265 list.addAll(Collections.<Integer>emptyList()); in assertImmutable() 307 list.addAll(0, Collections.<Integer>emptyList()); in assertImmutable() 335 list.removeAll(Collections.emptyList()); in assertImmutable() 356 list.retainAll(Collections.emptyList()); in assertImmutable()
|
D | AbstractSchemaTest.java | 67 return Collections.emptyList(); in serializedBytesWithInvalidUtf8() 143 return Collections.emptyList(); in newMessagesMissingRequiredFields()
|
D | RepeatedFieldBuilderV3Test.java | 166 if (list == Collections.emptyList()) { in assertIsUnmodifiable() 181 Collections.<TestAllTypes>emptyList(), false, parent, false); in newRepeatedFieldBuilderV3()
|
/third_party/node/test/parallel/ |
D | test-stream-buffer-list.js | 8 const emptyList = new BufferList(); constant 10 emptyList.shift(); 11 assert.deepStrictEqual(emptyList, new BufferList()); 13 assert.strictEqual(emptyList.join(','), ''); 15 assert.deepStrictEqual(emptyList.concat(0), Buffer.alloc(0));
|
/third_party/ejdb/src/bindings/ejdb2_react_native/binding/android/src/main/java/com/softmotions/ejdb2/ |
D | EJDB2Package.java | 30 return Collections.emptyList(); in createJSModules() 35 return Collections.emptyList(); in createViewManagers()
|
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestSelection.java | 130 List emptyList = new ArrayList(); in TestCharsetSelectorCodeCoverage() local 137 sel = new CharsetSelector(emptyList, nonEmptySet, CharsetICU.ROUNDTRIP_SET); in TestCharsetSelectorCodeCoverage()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CurrencyMetaInfo.java | 470 return Collections.emptyList(); in currencyInfo() 482 return Collections.emptyList(); in currencies() 494 return Collections.emptyList(); in regions()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 508 return Collections.emptyList(); in currencyInfo() 521 return Collections.emptyList(); in currencies() 534 return Collections.emptyList(); in regions()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | DataDrivenTestHelper.java | 121 addLine(Collections.<String>emptyList(), ""); in load() 136 addLine(Collections.<String>emptyList(), commentBase); in load()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | DataDrivenTestHelper.java | 122 addLine(Collections.<String>emptyList(), ""); in load() 137 addLine(Collections.<String>emptyList(), commentBase); in load()
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/metadata/init/ |
D | MetadataParser.java | 98 return Collections.emptyList(); in handleNullSource()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
D | LanguageTag.java | 41 private List<String> _extlangs = Collections.emptyList(); // extlang subtags 42 private List<String> _variants = Collections.emptyList(); // variant subtags 43 private List<String> _extensions = Collections.emptyList(); // extensions
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | LanguageTag.java | 37 private List<String> _extlangs = Collections.emptyList(); // extlang subtags 38 private List<String> _variants = Collections.emptyList(); // variant subtags 39 private List<String> _extensions = Collections.emptyList(); // extensions
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | APIStatusConsistencyChecker.java | 30 List<String> skipClasses = Collections.emptyList(); in main()
|