Home
last modified time | relevance | path

Searched refs:newSet (Results 1 – 16 of 16) sorted by relevance

/external/caliper/examples/src/main/java/examples/
DEnumSetContainsBenchmark.java35 @Override Set<?> newSet() { in newSet() method
44 @Override Set<?> newSet() { in newSet() method
53 abstract Set<?> newSet(); in newSet() method in EnumSetContainsBenchmark.SetMaker
80 this.set = setMaker.newSet(); in setUp()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java377 assertEquals(newSet("c", "e"), newSet(responseHeaders.get("A"))); in createJavaUrlConnection_responseHeadersOk()
379 assertEquals(newSet("c", "e"), newSet(responseHeaders.get("a"))); in createJavaUrlConnection_responseHeadersOk()
430 assertEquals(newSet(expectedValues), newSet(headers.get(expectedKey))); in assertHeadersContainsMapping()
633 private static <T> Set<T> newSet(T... elements) { in newSet() method in JavaApiConverterTest
634 return newSet(Arrays.asList(elements)); in newSet()
637 private static <T> Set<T> newSet(List<T> elements) { in newSet() method in JavaApiConverterTest
/external/deqp/scripts/
Dcaselist_diff.py171 newSet = set(new)
180 if not case in newSet:
/external/mockito/src/main/java/org/mockito/internal/creation/
DMockSettingsImpl.java25 import static org.mockito.internal.util.collections.Sets.newSet;
55 this.extraInterfaces = newSet(extraInterfaces); in extraInterfaces()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelation.java143 data.put(key, set = newSet()); in put()
152 data.put(key, set = newSet()); in putAll()
166 private Set<V> newSet() { in newSet() method in Relation
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelation.java145 data.put(key, set = newSet()); in put()
154 data.put(key, set = newSet()); in putAll()
168 private Set<V> newSet() { in newSet() method in Relation
/external/mockito/src/main/java/org/mockito/internal/util/collections/
DSets.java25 public static <T> Set<T> newSet(T ... elements) { in newSet() method in Sets
/external/skia/src/ports/
DSkFontMgr_android.cpp503 sk_sp<SkFontStyleSet_Android> newSet = in buildNameToFamilyMap() local
505 if (0 == newSet->count()) { in buildNameToFamilyMap()
510 nameToFamily->emplace_back(NameToFamily{name, newSet.get()}); in buildNameToFamilyMap()
512 fStyleSets.emplace_back(std::move(newSet)); in buildNameToFamilyMap()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DRoundTripTest.java92 public void reset(UnicodeSet newSet) { in reset() argument
93 reset(newSet, false); in reset()
96 public void reset(UnicodeSet newSet, boolean abb) { in reset() argument
97 reset(newSet, abb, 100); in reset()
100 public void reset(UnicodeSet newSet, boolean abb, int density) { in reset() argument
101 super.reset(newSet); in reset()
103 perRange = newSet.getRangeCount(); in reset()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DRoundTripTest.java91 public void reset(UnicodeSet newSet) { in reset() argument
92 reset(newSet, false); in reset()
95 public void reset(UnicodeSet newSet, boolean abb) { in reset() argument
96 reset(newSet, abb, 100); in reset()
99 public void reset(UnicodeSet newSet, boolean abb, int density) { in reset() argument
100 super.reset(newSet); in reset()
102 perRange = newSet.getRangeCount(); in reset()
/external/icu/icu4c/source/i18n/
Drepattrn.cpp131 UnicodeSet *newSet = new UnicodeSet(*sourceSet); in operator =() local
132 if (newSet == NULL) { in operator =()
136 fSets->addElement(newSet, fDeferredStatus); in operator =()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c30 USet *newSet = NULL; in createFlattenSet() local
39 newSet = uset_open(1, 0); in createFlattenSet()
51 uset_addAllCodePoints(newSet, graphme, graphmeSize); in createFlattenSet()
54 uset_addRange(newSet, start, end); in createFlattenSet()
57 uset_closeOver(newSet,USET_CASE_INSENSITIVE); in createFlattenSet()
58 return newSet; in createFlattenSet()
/external/icu/icu4c/source/common/
Dunisetspan.cpp439 UnicodeSet *newSet=(UnicodeSet *)spanSet.cloneAsThawed(); in addToSpanNotSet() local
440 if(newSet==NULL) { in addToSpanNotSet()
443 pSpanNotSet=newSet; in addToSpanNotSet()
/external/icu/icu4c/source/test/intltest/
Dtransrt.cpp310 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { in reset() argument
311 UnicodeSetIterator::reset(newSet); in reset()
313 perRange = newSet.getRangeCount(); in reset()
/external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
DInlineByteBuddyMockMakerTest.java136 .setExtraInterfaces(Sets.<Class<?>>newSet(List.class)); in should_fail_at_creating_a_mock_of_a_final_class_with_extra_interfaces()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java141 assertEquals(newSet("e", "f"), new LinkedHashSet<>(requestHeaders.get("D"))); in requestHeaders()
142 assertEquals(newSet("e", "f"), new LinkedHashSet<>(requestHeaders.get("d"))); in requestHeaders()
213 assertEquals(newSet("c", "e"), new LinkedHashSet<>(responseHeaders.get("A"))); in responseHeaders()
214 assertEquals(newSet("c", "e"), new LinkedHashSet<>(responseHeaders.get("a"))); in responseHeaders()
3304 private Set<String> newSet(String... elements) {