Home
last modified time | relevance | path

Searched refs:newSet (Results 1 – 18 of 18) 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/deqp/scripts/
Dcaselist_diff.py151 newSet = set(new)
160 if not case in newSet:
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXParameters_ImplTest.java150 HashSet newSet = new HashSet(p.getTrustAnchors()); in testSetTrustAnchors05() local
151 HashSet newSetCopy = (HashSet) newSet.clone(); in testSetTrustAnchors05()
158 assertEquals("isCopied", newSet, p.getTrustAnchors()); in testSetTrustAnchors05()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DJavaApiConverterTest.java455 assertEquals(newSet("c", "e"), newSet(responseHeaders.get("A"))); in createJavaUrlConnection_responseHeadersOk()
457 assertEquals(newSet("c", "e"), newSet(responseHeaders.get("a"))); in createJavaUrlConnection_responseHeadersOk()
508 assertEquals(newSet(expectedValues), newSet(headers.get(expectedKey))); in assertHeadersContainsMapping()
740 private static <T> Set<T> newSet(T... elements) { in newSet() method in JavaApiConverterTest
741 return newSet(Arrays.asList(elements)); in newSet()
744 private static <T> Set<T> newSet(List<T> elements) { in newSet() method in JavaApiConverterTest
DURLConnectionTest.java144 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("D"))); in requestHeaders()
145 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("d"))); in requestHeaders()
219 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("A"))); in responseHeaders()
220 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("a"))); in responseHeaders()
3050 private Set<String> newSet(String... elements) {
/external/chromium_org/third_party/skia/src/ports/
DSkFontMgr_android.cpp491 SkFontStyleSet_Android* newSet = SkNEW_ARGS(SkFontStyleSet_Android, (family, basePath)); in onMatchFamilyStyleCharacter() local
492 if (0 == newSet->count()) { in onMatchFamilyStyleCharacter()
493 SkDELETE(newSet); in onMatchFamilyStyleCharacter()
496 fFontStyleSets.push_back().reset(newSet); in onMatchFamilyStyleCharacter()
501 nextEntry->styleSet = newSet; in onMatchFamilyStyleCharacter()
/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/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMultiColumnFlowThread.cpp81 …RenderMultiColumnSet* newSet = RenderMultiColumnSet::createAnonymous(this, multiColumnBlockFlow()-… in addChild() local
85 multiColumnBlockFlow()->RenderBlock::addChild(newSet); in addChild()
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/i18n/
Drepattrn.cpp119 UnicodeSet *newSet = new UnicodeSet(*sourceSet); in operator =() local
120 if (newSet == NULL) { in operator =()
124 fSets->addElement(newSet, fDeferredStatus); in operator =()
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/icu/source/common/
Dunisetspan.cpp437 UnicodeSet *newSet=(UnicodeSet *)spanSet.cloneAsThawed(); in addToSpanNotSet() local
438 if(newSet==NULL) { in addToSpanNotSet()
441 pSpanNotSet=newSet; in addToSpanNotSet()
/external/icu/icu4c/source/common/
Dunisetspan.cpp437 UnicodeSet *newSet=(UnicodeSet *)spanSet.cloneAsThawed(); in addToSpanNotSet() local
438 if(newSet==NULL) { in addToSpanNotSet()
441 pSpanNotSet=newSet; in addToSpanNotSet()
/external/icu/icu4c/source/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/chromium_org/third_party/icu/source/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()