Home
last modified time | relevance | path

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

12345678910>>...49

/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
DImmutableSetTest.java138 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); in testCreation_allDuplicates() local
145 ImmutableSet<String> set = ImmutableSet.of( in testCreation_oneDuplicate() local
154 ImmutableSet<String> set = ImmutableSet.of( in testCreation_manyDuplicates() local
161 Set<String[]> set = ImmutableSet.<String[]>of(array); in testCreation_arrayOfArray() local
162 assertEquals(Collections.singleton(array), set); in testCreation_arrayOfArray() local
201 ImmutableSet<Integer> set = builder.build(); in verifyTableSize() local
DFluentIterableTest.java102 Iterable<String> set = Sets.newHashSet("a", null, "b"); in testContains_nullSetYes() local
107 Iterable<String> set = ImmutableSortedSet.of("a", "b"); in testContains_nullSetNo() local
122 Iterable<String> set = Sets.newHashSet("a", null, "b"); in testContains_nonNullSetYes() local
127 Iterable<String> set = Sets.newHashSet("a", "b"); in testContains_nonNullSetNo() local
132 Iterable<String> set = iterable("a", null, "b"); in testContains_nonNullIterableYes() local
365 Set<String> set = ImmutableSet.of("a", "b", "c"); in testFirst_iterable() local
370 Set<String> set = Sets.newHashSet(); in testFirst_emptyIterable() local
404 Set<String> set = ImmutableSet.of("a", "b", "c"); in testLast_iterable() local
409 Set<String> set = Sets.newHashSet(); in testLast_emptyIterable() local
414 Collection<String> set = ImmutableSet.of("a", "b", "c", "d", "e"); in testSkip_simple() local
[all …]
/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/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/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/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/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/bison/lib/
Dsigprocmask.c114 sigismember (const sigset_t *set, int sig) in sigismember()
130 sigemptyset (sigset_t *set) in sigemptyset()
137 sigaddset (sigset_t *set, int sig) in sigaddset()
157 sigdelset (sigset_t *set, int sig) in sigdelset()
178 sigfillset (sigset_t *set) in sigfillset()
205 sigpending (sigset_t *set) in sigpending()
222 sigprocmask (int operation, const sigset_t *set, sigset_t *old_set) in sigprocmask()
/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/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/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/icu/icu4c/source/test/perf/unisetperf/
Dunisetperf.cpp131 UnicodeSet set; member in UnicodeSetPerformanceTest
162 UnicodeSet set; in Contains() local
179 const UnicodeSet &set=testcase.set; in call() local
195 static int32_t span(const UnicodeSet &set, const UChar *s, int32_t length, UBool tf) { in span()
212 UnicodeSet set; in SpanUTF16() local
241 const UnicodeSet &set=testcase.set; in call() local
263 UnicodeSet set; in SpanBackUTF16() local
292 const UnicodeSet &set=testcase.set; in call() local
318 UnicodeSet set; in SpanUTF8() local
342 const UnicodeSet &set=testcase.set; in call() local
[all …]
/external/icu/icu4c/source/i18n/
DdecNumber.c403 U_CAPI Int U_EXPORT2 uprv_decNumberToInt32(const decNumber *dn, decContext *set) { in uprv_decNumberToInt32()
439 U_CAPI uInt U_EXPORT2 uprv_decNumberToUInt32(const decNumber *dn, decContext *set) { in uprv_decNumberToUInt32()
513 decContext *set) { in uprv_decNumberFromString()
762 decContext *set) { in uprv_decNumberAbs()
794 const decNumber *rhs, decContext *set) { in uprv_decNumberAdd()
820 const decNumber *rhs, decContext *set) { in uprv_decNumberAnd()
888 const decNumber *rhs, decContext *set) { in uprv_decNumberCompare()
908 const decNumber *rhs, decContext *set) { in uprv_decNumberCompareSignal()
929 const decNumber *rhs, decContext *set) { in uprv_decNumberCompareTotal()
950 const decNumber *rhs, decContext *set) { in uprv_decNumberCompareTotalMag()
[all …]
/external/guava/guava/src/com/google/common/collect/
DSets.java145 EnumSet<E> set = EnumSet.noneOf(elementType); in newEnumSet() local
182 HashSet<E> set = newHashSetWithExpectedSize(elements.length); in newHashSet() local
237 HashSet<E> set = newHashSet(); in newHashSet() local
273 Set<E> set = newConcurrentHashSet(); in newConcurrentHashSet() local
327 LinkedHashSet<E> set = newLinkedHashSet(); in newLinkedHashSet() local
364 TreeSet<E> set = newTreeSet(); in newTreeSet() local
553 public <S extends Set<E>> S copyInto(S set) { in copyInto()
600 @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
/external/mesa3d/src/gallium/auxiliary/util/
Du_linkage.c35 util_semantic_set_test_and_set(struct util_semantic_set *set, unsigned value) in util_semantic_set_test_and_set()
45 util_semantic_set_from_program_file(struct util_semantic_set *set, const struct tgsi_token *tokens,… in util_semantic_set_from_program_file()
115 #define UTIL_SEMANTIC_SET_FOR_EACH(i, set) for(i = 0; i < 256; ++i) if(set->masks[i / (sizeof(long)… argument
118 util_semantic_layout_from_set(unsigned char *layout, const struct util_semantic_set *set, unsigned … in util_semantic_layout_from_set()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/
DRecursiveSortedSetTest.java29 SortedSet<Object> set = new TreeSet<Object>(); in testDumpException() local
62 Set<Object> set = beanWithSet.getSet(); in testLoadRecursiveTest() local
84 private SortedSet<Object> set; field in RecursiveSortedSetTest.Bean11
91 public void setSet(SortedSet<Object> set) { in setSet()

12345678910>>...49