Searched refs:BooleanArrayList (Results 1 – 11 of 11) sorted by relevance
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BooleanArrayListTest.java | 48 private static final BooleanArrayList UNARY_LIST = newImmutableBooleanArrayList(true); 49 private static final BooleanArrayList TERTIARY_LIST = 52 private BooleanArrayList list; 56 list = new BooleanArrayList(); in setUp() 60 assertSame(BooleanArrayList.emptyList(), BooleanArrayList.emptyList()); in testEmptyListReturnsSameInstance() 64 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable() 156 BooleanArrayList listWithDupes = newImmutableBooleanArrayList(true, true); in testIndexOf_notInListWithDuplicates() 165 BooleanArrayList listWithDupes = newImmutableBooleanArrayList(true, true, false); in testIndexOf_inListWithDuplicates_matchAtHead() 170 BooleanArrayList listWithDupes = newImmutableBooleanArrayList(false, true, true, false); in testIndexOf_inListWithDuplicates_matchMidList() 187 BooleanArrayList listWithDupes = newImmutableBooleanArrayList(true, true); in testContains_notInListWithDuplicates() [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | BooleanArrayList.java | 45 final class BooleanArrayList extends AbstractProtobufList<Boolean> class 48 private static final BooleanArrayList EMPTY_LIST = new BooleanArrayList(new boolean[0], 0); 53 public static BooleanArrayList emptyList() { in emptyList() 67 BooleanArrayList() { in BooleanArrayList() method in BooleanArrayList 75 private BooleanArrayList(boolean[] other, int size) { in BooleanArrayList() method in BooleanArrayList 97 if (!(o instanceof BooleanArrayList)) { in equals() 100 BooleanArrayList other = (BooleanArrayList) o; in equals() 129 return new BooleanArrayList(Arrays.copyOf(array, capacity), size); in mutableCopyWithCapacity() 244 if (!(collection instanceof BooleanArrayList)) { in addAll() 248 BooleanArrayList list = (BooleanArrayList) collection; in addAll()
|
D | ProtobufLists.java | 56 return BooleanArrayList.emptyList(); in emptyBooleanList() 60 return new BooleanArrayList(); in newBooleanList()
|
D | ArrayDecoders.java | 374 final BooleanArrayList output = (BooleanArrayList) list; in decodeBoolList() 521 final BooleanArrayList output = (BooleanArrayList) list; in decodePackedBoolList() 830 BooleanArrayList list = new BooleanArrayList(); in decodeExtension()
|
D | CodedInputStreamReader.java | 693 if (target instanceof BooleanArrayList) { in readBoolList() 694 BooleanArrayList plist = (BooleanArrayList) target; in readBoolList()
|
D | BinaryReader.java | 812 if (target instanceof BooleanArrayList) { in readBoolList() 813 BooleanArrayList plist = (BooleanArrayList) target; in readBoolList()
|
D | BinaryWriter.java | 491 if (list instanceof BooleanArrayList) { in writeBoolList() 492 writeBoolList_Internal(fieldNumber, (BooleanArrayList) list, packed); in writeBoolList() 516 private final void writeBoolList_Internal(int fieldNumber, BooleanArrayList list, boolean packed) in writeBoolList_Internal()
|
D | GeneratedMessageV3.java | 451 return BooleanArrayList.emptyList(); in emptyBooleanList() 455 return new BooleanArrayList(); in newBooleanList()
|
D | GeneratedMessageLite.java | 1474 return BooleanArrayList.emptyList(); in emptyBooleanList()
|
/third_party/protobuf/java/core/ |
D | BUILD | 14 "src/main/java/com/google/protobuf/BooleanArrayList.java",
|
/third_party/protobuf/ |
D | Makefile.am | 291 java/core/src/main/java/com/google/protobuf/BooleanArrayList.java \
|