Home
last modified time | relevance | path

Searched refs:BooleanArrayList (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DBooleanArrayListTest.java48 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/
DBooleanArrayList.java45 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()
DProtobufLists.java56 return BooleanArrayList.emptyList(); in emptyBooleanList()
60 return new BooleanArrayList(); in newBooleanList()
DArrayDecoders.java374 final BooleanArrayList output = (BooleanArrayList) list; in decodeBoolList()
521 final BooleanArrayList output = (BooleanArrayList) list; in decodePackedBoolList()
830 BooleanArrayList list = new BooleanArrayList(); in decodeExtension()
DCodedInputStreamReader.java693 if (target instanceof BooleanArrayList) { in readBoolList()
694 BooleanArrayList plist = (BooleanArrayList) target; in readBoolList()
DBinaryReader.java812 if (target instanceof BooleanArrayList) { in readBoolList()
813 BooleanArrayList plist = (BooleanArrayList) target; in readBoolList()
DBinaryWriter.java491 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()
DGeneratedMessageV3.java451 return BooleanArrayList.emptyList(); in emptyBooleanList()
455 return new BooleanArrayList(); in newBooleanList()
DGeneratedMessageLite.java1474 return BooleanArrayList.emptyList(); in emptyBooleanList()
/third_party/protobuf/java/core/
DBUILD14 "src/main/java/com/google/protobuf/BooleanArrayList.java",
/third_party/protobuf/
DMakefile.am291 java/core/src/main/java/com/google/protobuf/BooleanArrayList.java \