Home
last modified time | relevance | path

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

/external/qemu/android/utils/
Drefset.c87 ARefSet newSet; in _arefSet_resize() local
90 AVECTOR_INIT_ALLOC(&newSet,buckets, newSize); in _arefSet_resize()
95 void** lookup = _arefSet_lookup(&newSet, item); in _arefSet_resize()
101 s->buckets = newSet.buckets; in _arefSet_resize()
103 s->max_buckets = newSet.max_buckets; in _arefSet_resize()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXParameters_ImplTest.java145 HashSet newSet = new HashSet(p.getTrustAnchors()); in testSetTrustAnchors05() local
146 HashSet newSetCopy = (HashSet)newSet.clone(); in testSetTrustAnchors05()
153 assertEquals("isCopied", newSet, p.getTrustAnchors()); in testSetTrustAnchors05()
/external/mockito/src/org/mockito/internal/creation/
DMockSettingsImpl.java25 import static org.mockito.internal.util.collections.Sets.newSet;
49 this.extraInterfaces = newSet(extraInterfaces); in extraInterfaces()
/external/mockito/src/org/mockito/internal/util/collections/
DSets.java27 public static <T> Set<T> newSet(T ... elements) { in newSet() method in Sets
/external/icu4c/i18n/
Drepattrn.cpp119 UnicodeSet *newSet = new UnicodeSet(*sourceSet); in operator =() local
120 if (newSet == NULL) { in operator =()
124 fSets->addElement(newSet, fDeferredStatus); in operator =()
Ducol_tok.cpp2190 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList() local
2193 src->copySet = newSet; in ucol_tok_initTokenList()
2195 uset_addAll(src->copySet, newSet); in ucol_tok_initTokenList()
2196 uset_close(newSet); in ucol_tok_initTokenList()
2202 … USet *newSet = ucol_uprv_tok_readAndSetUnicodeSet(setStart, rules+rulesLength, status); in ucol_tok_initTokenList() local
2205 src->removeSet = newSet; in ucol_tok_initTokenList()
2207 uset_addAll(src->removeSet, newSet); in ucol_tok_initTokenList()
2208 uset_close(newSet); in ucol_tok_initTokenList()
/external/icu4c/test/cintltst/
Dcldrtest.c27 USet *newSet = NULL; in createFlattenSet() local
36 newSet = uset_open(1, 0); in createFlattenSet()
48 uset_addAllCodePoints(newSet, graphme, graphmeSize); in createFlattenSet()
51 uset_addRange(newSet, start, end); in createFlattenSet()
54 uset_closeOver(newSet,USET_CASE_INSENSITIVE); in createFlattenSet()
55 return newSet; in createFlattenSet()
/external/icu4c/common/
Dunisetspan.cpp437 UnicodeSet *newSet=(UnicodeSet *)spanSet.cloneAsThawed(); in addToSpanNotSet() local
438 if(newSet==NULL) { in addToSpanNotSet()
441 pSpanNotSet=newSet; in addToSpanNotSet()
/external/icu4c/test/intltest/
Dtransrt.cpp308 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { in reset() argument
309 UnicodeSetIterator::reset(newSet); in reset()
311 perRange = newSet.getRangeCount(); in reset()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DURLConnectionTest.java134 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("D"))); in requestHeaders()
135 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("d"))); in requestHeaders()
209 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("A"))); in responseHeaders()
210 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("a"))); in responseHeaders()
2298 private Set<String> newSet(String... elements) { in newSet() method in URLConnectionTest