Home
last modified time | relevance | path

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

12345678910>>...55

/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.cc43 hb_set_t *set; in hb_set_create() local
82 hb_set_reference (hb_set_t *set) in hb_set_reference()
94 hb_set_destroy (hb_set_t *set) in hb_set_destroy()
116 hb_set_set_user_data (hb_set_t *set, in hb_set_set_user_data()
135 hb_set_get_user_data (hb_set_t *set, in hb_set_get_user_data()
167 hb_set_clear (hb_set_t *set) in hb_set_clear()
183 hb_set_is_empty (const hb_set_t *set) in hb_set_is_empty()
200 hb_set_has (const hb_set_t *set, in hb_set_has()
216 hb_set_add (hb_set_t *set, in hb_set_add()
233 hb_set_add_range (hb_set_t *set, in hb_set_add_range()
[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/antlr-3.4/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/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/annotation-tools/asmx/src/org/objectweb/asm/
DItem.java159 void set(final int intVal) { in set() method in Item
170 void set(final long longVal) { in set() method in Item
181 void set(final float floatVal) { in set() method in Item
192 void set(final double doubleVal) { in set() method in Item
211 void set(final int type, final String strVal1, final String strVal2, in set() method in Item
251 void set(String name, String desc, int bsmIndex) { in set() method in Item
270 void set(int position, int hashCode) { in set() method in Item
/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/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/syslinux/gpxe/src/include/gpxe/
Dposix_io.h37 FD_ZERO ( fd_set *set ) { in FD_ZERO()
48 FD_SET ( int fd, fd_set *set ) { in FD_SET()
59 FD_CLR ( int fd, fd_set *set ) { in FD_CLR()
71 FD_ISSET ( int fd, fd_set *set ) { in FD_ISSET()
/external/annotation-tools/asmx/src/org/objectweb/asm/optimizer/
DConstant.java114 void set(final int intVal) { in set() method in Constant
125 void set(final long longVal) { in set() method in Constant
136 void set(final float floatVal) { in set() method in Constant
147 void set(final double doubleVal) { in set() method in Constant
161 void set( in set() method in Constant
/external/google-breakpad/src/client/linux/minidump_writer/
Dcpu_set_unittest.cc59 CpuSet set; in TEST() local
67 CpuSet set; in TEST() local
76 CpuSet set; in TEST() local
85 CpuSet set; in TEST() local
94 CpuSet set; in TEST() local
103 CpuSet set; in TEST() local
112 CpuSet set; in TEST() local
/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 …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DSafeTreeSetTest.java85 SortedSet<String> set = new SafeTreeSet<String>(); in testEmpty_serialization() local
92 SortedSet<String> set = new SafeTreeSet<String>(); in testSingle_serialization() local
100 SortedSet<String> set = new SafeTreeSet<String>(); in testSeveral_serialization() local
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java141 EnumSet<E> set = EnumSet.noneOf(elementType); in newEnumSet() local
178 HashSet<E> set = newHashSetWithExpectedSize(elements.length); in newHashSet() local
233 HashSet<E> set = newHashSet(); in newHashSet() local
269 Set<E> set = newConcurrentHashSet(); in newConcurrentHashSet() local
323 LinkedHashSet<E> set = newLinkedHashSet(); in newLinkedHashSet() local
360 TreeSet<E> set = newTreeSet(); in newTreeSet() local
517 public <S extends Set<E>> S copyInto(S set) { in copyInto()
564 @Override public <S extends Set<E>> S copyInto(S set) { in union()
/external/emma/core/java12/com/vladium/emma/report/html/doc/
DAttributeSet.java37 public abstract AttributeSet set (Attribute attr, String value); in set() method in AttributeSet
38 public abstract AttributeSet set (Attribute attr, int value); in set() method in AttributeSet
88 public AttributeSet set (final Attribute attr, final String value) // null removes? in set() method in AttributeSet.AttributeSetImpl
95 public AttributeSet set (final Attribute attr, final int value) in set() method in AttributeSet.AttributeSetImpl

12345678910>>...55