Home
last modified time | relevance | path

Searched defs:set (Results 1 – 25 of 1576) sorted by relevance

12345678910>>...64

/external/guava/guava-tests/test/com/google/common/collect/
DImmutableSortedSetTest.java215 SortedSet<String> set = of(); in testEmpty_comparator() local
220 SortedSet<String> set = of(); in testEmpty_headSet() local
225 SortedSet<String> set = of(); in testEmpty_tailSet() local
230 SortedSet<String> set = of(); in testEmpty_subSet() local
235 SortedSet<String> set = of(); in testEmpty_first() local
244 SortedSet<String> set = of(); in testEmpty_last() local
254 SortedSet<String> set = of(); in testEmpty_serialization() local
260 SortedSet<String> set = of("e"); in testSingle_comparator() local
265 SortedSet<String> set = of("e"); in testSingle_headSet() local
273 SortedSet<String> set = of("e"); in testSingle_tailSet() local
[all …]
DAbstractImmutableSetTest.java62 Set<String> set = of(); in testCreation_noArgs() local
63 assertEquals(Collections.<String>emptySet(), set); in testCreation_noArgs() local
64 assertSame(of(), set); in testCreation_noArgs() local
68 Set<String> set = of("a"); in testCreation_oneElement() local
73 Set<String> set = of("a", "b"); in testCreation_twoElements() local
78 Set<String> set = of("a", "b", "c"); in testCreation_threeElements() local
83 Set<String> set = of("a", "b", "c", "d"); in testCreation_fourElements() local
88 Set<String> set = of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
93 Set<String> set = of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local
98 Set<String> set = of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local
[all …]
DContiguousSetTest.java147 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testHeadSet() local
165 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testTailSet() local
181 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet() local
198 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet_outOfOrder() local
228 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContains() local
244 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContainsAll() local
303 ContiguousSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testIntersection_empty() local
313 ContiguousSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testIntersection() local
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSetTest.java103 SortedSet<String> set = of(); in testEmpty_comparator() local
108 SortedSet<String> set = of(); in testEmpty_headSet() local
113 SortedSet<String> set = of(); in testEmpty_tailSet() local
118 SortedSet<String> set = of(); in testEmpty_subSet() local
123 SortedSet<String> set = of(); in testEmpty_first() local
132 SortedSet<String> set = of(); in testEmpty_last() local
141 SortedSet<String> set = of("e"); in testSingle_comparator() local
146 SortedSet<String> set = of("e"); in testSingle_headSet() local
154 SortedSet<String> set = of("e"); in testSingle_tailSet() local
162 SortedSet<String> set = of("e"); in testSingle_subSet() local
[all …]
DAbstractImmutableSetTest.java58 Set<String> set = of(); in testCreation_noArgs() local
59 assertEquals(Collections.<String>emptySet(), set); in testCreation_noArgs() local
60 assertSame(of(), set); in testCreation_noArgs() local
64 Set<String> set = of("a"); in testCreation_oneElement() local
69 Set<String> set = of("a", "b"); in testCreation_twoElements() local
74 Set<String> set = of("a", "b", "c"); in testCreation_threeElements() local
79 Set<String> set = of("a", "b", "c", "d"); in testCreation_fourElements() local
84 Set<String> set = of("a", "b", "c", "d", "e"); in testCreation_fiveElements() local
89 Set<String> set = of("a", "b", "c", "d", "e", "f"); in testCreation_sixElements() local
94 Set<String> set = of("a", "b", "c", "d", "e", "f", "g"); in testCreation_sevenElements() local
[all …]
DSetsTest.java133 EnumSet<SomeEnum> set = EnumSet.of(SomeEnum.A, SomeEnum.D); in testNewEnumSet_enumSet() local
138 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.B, SomeEnum.C); in testNewEnumSet_collection() local
143 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.A, SomeEnum.B, SomeEnum.C); in testNewEnumSet_iterable() local
148 HashSet<Integer> set = Sets.newHashSet(); in testNewHashSetEmpty() local
153 HashSet<Integer> set = Sets.newHashSet(0, 1, 1); in testNewHashSetVarArgs() local
158 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION); in testNewHashSetFromCollection() local
163 HashSet<Integer> set = Sets.newHashSet(SOME_ITERABLE); in testNewHashSetFromIterable() local
168 HashSet<Integer> set = Sets.newHashSetWithExpectedSize(0); in testNewHashSetWithExpectedSizeSmall() local
173 HashSet<Integer> set = Sets.newHashSetWithExpectedSize(1000); in testNewHashSetWithExpectedSizeLarge() local
178 HashSet<Integer> set = Sets.newHashSet(SOME_COLLECTION.iterator()); in testNewHashSetFromIterator() local
[all …]
DContiguousSetTest.java109 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testHeadSet() local
127 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testTailSet() local
143 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet() local
160 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testSubSet_outOfOrder() local
190 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContains() local
206 ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testContainsAll() local
265 ContiguousSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testIntersection_empty() local
275 ContiguousSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers()); in testIntersection() local
/external/harfbuzz_ng/src/
Dhb-set.cc52 hb_set_t *set; in hb_set_create() local
84 hb_set_reference (hb_set_t *set) in hb_set_reference()
96 hb_set_destroy (hb_set_t *set) in hb_set_destroy()
118 hb_set_set_user_data (hb_set_t *set, in hb_set_set_user_data()
137 hb_set_get_user_data (hb_set_t *set, in hb_set_get_user_data()
155 hb_set_allocation_successful (const hb_set_t *set) in hb_set_allocation_successful()
169 hb_set_clear (hb_set_t *set) in hb_set_clear()
185 hb_set_is_empty (const hb_set_t *set) in hb_set_is_empty()
202 hb_set_has (const hb_set_t *set, in hb_set_has()
218 hb_set_add (hb_set_t *set, in hb_set_add()
[all …]
/external/mesa3d/src/util/
Dset.h43 struct set { struct
45 struct set_entry *table; argument
56 struct set * argument
91 #define set_foreach(set, entry) \ argument
/external/icu/icu4c/source/common/
Duset.cpp44 uset_close(USet* set) { in uset_close()
49 uset_clone(const USet *set) { in uset_clone()
54 uset_isFrozen(const USet *set) { in uset_isFrozen()
59 uset_freeze(USet *set) { in uset_freeze()
64 uset_cloneAsThawed(const USet *set) { in uset_cloneAsThawed()
69 uset_set(USet* set, in uset_set()
75 uset_addAll(USet* set, const USet *additionalSet) { in uset_addAll()
80 uset_add(USet* set, UChar32 c) { in uset_add()
85 uset_addRange(USet* set, UChar32 start, UChar32 end) { in uset_addRange()
90 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString()
[all …]
Duset_props.cpp37 UnicodeSet* set = new UnicodeSet(pat, *ec); in uset_openPattern() local
57 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); in uset_openPatternOptions() local
73 uset_applyPattern(USet *set, in uset_applyPattern()
102 uset_applyIntPropertyValue(USet* set, in uset_applyIntPropertyValue()
108 uset_applyPropertyAlias(USet* set, in uset_applyPropertyAlias()
131 uset_toPattern(const USet* set, in uset_toPattern()
141 uset_closeOver(USet* set, int32_t attributes) { in uset_closeOver()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
DVisitorSetTest.java44 Set<CompilationUnit> set = new HashSet<>(); in normalEqualsDoesDeepCompare() local
52 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in objectIdentityEqualsDoesShallowCompare() local
62 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetContains() local
73 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetContainsAll() local
81 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetIterator() local
99 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetRemove() local
110 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetRemoveAll() local
122 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetRetainAll() local
135 Set<CompilationUnit> set = new VisitorSet<>(new ObjectIdentityHashCodeVisitor(), in visitorSetToArray() local
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSetExtensions.cs45 public static bool add<T>( this HashSet<T> set, T item ) in add()
51 public static void addAll<T>( this HashSet<T> set, IEnumerable<T> items ) in addAll()
59 public static void clear<T>( this HashSet<T> set ) in clear()
65 public static bool contains<T>( this HashSet<T> set, T value ) in contains()
71 public static bool remove<T>( this HashSet<T> set, T item ) in remove()
77 public static int size<T>( this HashSet<T> set ) in size()
83 public static T[] toArray<T>( this HashSet<T> set ) in toArray()
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnmodifiableBitSet.java23 public void and(BitSet set) { in and()
28 public void andNot(BitSet set) { in andNot()
58 public void set(int bitIndex) { in set() method in UnmodifiableBitSet
63 public void set(int bitIndex, boolean value) { in set() method in UnmodifiableBitSet
68 public void set(int fromIndex, int toIndex) { in set() method in UnmodifiableBitSet
73 public void set(int fromIndex, int toIndex, boolean value) { in set() method in UnmodifiableBitSet
78 public void or(BitSet set) { in or()
83 public void xor(BitSet set) { in xor()
/external/strace/
Dnumber_set.c60 reallocate_number_set(struct number_set *const set, const unsigned int new_nslots) in reallocate_number_set()
71 number_set_array_is_empty(const struct number_set *const set, in number_set_array_is_empty()
78 is_number_in_set(const unsigned int number, const struct number_set *const set) in is_number_in_set()
85 is_number_in_set_array(const unsigned int number, const struct number_set *const set, in is_number_in_set_array()
93 add_number_to_set(const unsigned int number, struct number_set *const set) in add_number_to_set()
100 add_number_to_set_array(const unsigned int number, struct number_set *const set, in add_number_to_set_array()
107 clear_number_set_array(struct number_set *const set, const unsigned int nmemb) in clear_number_set_array()
120 invert_number_set_array(struct number_set *const set, const unsigned int nmemb) in invert_number_set_array()
135 free_number_set_array(struct number_set *const set, unsigned int nmemb) in free_number_set_array()
Dpathtrace.c43 pathmatch(const char *path, struct path_set *set) in pathmatch()
59 struct path_set *set) in upathmatch()
71 fdmatch(struct tcb *tcp, int fd, struct path_set *set) in fdmatch()
84 storepath(const char *path, struct path_set *set) in storepath()
125 pathtrace_select_set(const char *path, struct path_set *set) in pathtrace_select_set()
148 struct path_set *set) in match_xselect_args()
186 pathtrace_match_set(struct tcb *tcp, struct path_set *set) in pathtrace_match_set()
/external/libchrome/ipc/
Dipc_message_attachment_set_posix_unittest.cc37 int GetFdAt(MessageAttachmentSet* set, int id) { in GetFdAt()
49 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
64 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
79 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
92 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
110 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
131 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
141 scoped_refptr<MessageAttachmentSet> set(new MessageAttachmentSet); in TEST() local
/external/swiftshader/third_party/SPIRV-Tools/test/
Denum_set_test.cpp31 EnumSet<uint32_t> set; in TEST() local
38 EnumSet<uint32_t> set; in TEST() local
45 EnumSet<uint32_t> set(4); in TEST() local
50 EnumSet<uint32_t> set(300); in TEST() local
55 const EnumSet<uint32_t> set; in TEST() local
62 EnumSet<uint32_t> set; in TEST() local
70 EnumSet<uint32_t> set; in TEST() local
78 EnumSet<uint32_t> set; in TEST() local
88 EnumSet<uint32_t> set; in TEST() local
98 EnumSet<uint32_t> set(3); in TEST() local
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Denum_set_test.cpp31 EnumSet<uint32_t> set; in TEST() local
38 EnumSet<uint32_t> set; in TEST() local
45 EnumSet<uint32_t> set(4); in TEST() local
50 EnumSet<uint32_t> set(300); in TEST() local
55 const EnumSet<uint32_t> set; in TEST() local
62 EnumSet<uint32_t> set; in TEST() local
70 EnumSet<uint32_t> set; in TEST() local
78 EnumSet<uint32_t> set; in TEST() local
88 EnumSet<uint32_t> set; in TEST() local
98 EnumSet<uint32_t> set(3); in TEST() local
[all …]
/external/tensorflow/tensorflow/core/lib/gtl/
Dflatset_test.cc33 bool Has(const NumSet& set, int64 k) { in Has()
47 NumSetContents Contents(const NumSet& set) { in Contents()
54 void Fill(NumSet* set, int64 start, int64 limit) { in Fill()
61 NumSet set; in TEST() local
71 NumSet set; in TEST() local
88 NumSet set; in TEST() local
98 NumSet set; in TEST() local
120 NumSet set; in TEST() local
129 NumSet set; in TEST() local
138 NumSet set; in TEST() local
[all …]
/external/libchrome/base/task/sequence_manager/
Dwork_queue_sets_unittest.cc67 size_t set = TaskQueue::kNormalPriority; in TEST_F() local
75 size_t set = TaskQueue::kNormalPriority; in TEST_F() local
85 size_t set = TaskQueue::kNormalPriority; in TEST_F() local
102 size_t set = 1; in TEST_F() local
113 size_t set = 1; in TEST_F() local
131 size_t set = 2; in TEST_F() local
149 size_t set = 3; in TEST_F() local
172 size_t set = 4; in TEST_F() local
196 size_t set = 1; in TEST_F() local
213 size_t set = 1; in TEST_F() local
[all …]
/external/mockito/src/test/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSetTest.java133 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(mock1); in isEmptyAfterClear() local
141 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(mock1); in isEqualToItself() local
147 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(); in isNotEqualToAnOtherTypeOfSetWithSameContent() local
154 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(mock1); in isNotEqualWhenContentIsDifferent() local
160 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(mock1); in hashCodeIsEqualIfContentIsEqual() local
166 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(mock1); in toStringIsNotNullOrEmpty() local
172 HashCodeAndEqualsSafeSet set = HashCodeAndEqualsSafeSet.of(mock1); in removeByIterator() local
/external/u-boot/arch/sandbox/include/asm/
Dio.h86 #define setbits(type, addr, set) \ argument
89 #define clrsetbits(type, addr, clear, set) \ argument
93 #define setbits_be32(addr, set) setbits(be32, addr, set) argument
94 #define clrsetbits_be32(addr, clear, set) clrsetbits(be32, addr, clear, set) argument
97 #define setbits_le32(addr, set) setbits(le32, addr, set) argument
98 #define clrsetbits_le32(addr, clear, set) clrsetbits(le32, addr, clear, set) argument
101 #define setbits_be16(addr, set) setbits(be16, addr, set) argument
102 #define clrsetbits_be16(addr, clear, set) clrsetbits(be16, addr, clear, set) argument
105 #define setbits_le16(addr, set) setbits(le16, addr, set) argument
106 #define clrsetbits_le16(addr, clear, set) clrsetbits(le16, addr, clear, set) argument
[all …]
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Dhardware.h9 #define RK_CLRSETBITS(clr, set) ((((clr) | (set)) << 16) | (set)) argument
10 #define RK_SETBITS(set) RK_CLRSETBITS(0, set) argument
15 #define rk_clrsetreg(addr, clr, set) \ argument
18 #define rk_setreg(addr, set) writel((set) << 16 | (set), addr) argument
/external/protobuf/src/google/protobuf/
Dextension_set.h834 static inline const string& Get(int number, const ExtensionSet& set, in Get()
839 const string& value, ExtensionSet* set) { in Set()
842 static inline string* Mutable(int number, int index, ExtensionSet* set) { in Mutable()
847 ExtensionSet* set) { in Add()
851 ExtensionSet* set) { in Add()
855 GetRepeated(int number, const ExtensionSet& set) { in GetRepeated()
862 bool is_packed, ExtensionSet* set) { in MutableRepeated()
892 static inline ConstType Get(int number, const ExtensionSet& set, in Get()
897 ConstType value, ExtensionSet* set) { in Set()
912 static inline ConstType Get(int number, const ExtensionSet& set, int index) { in Get()
[all …]

12345678910>>...64