/external/mockito/src/org/mockito/internal/util/collections/ |
Sets.java | 27 public static <T> Set<T> newSet(T ... elements) {
|
/external/qemu/android/utils/ |
refset.c | 87 ARefSet newSet; 90 AVECTOR_INIT_ALLOC(&newSet,buckets, newSize); 95 void** lookup = _arefSet_lookup(&newSet, item); 101 s->buckets = newSet.buckets; 103 s->max_buckets = newSet.max_buckets;
|
/external/deqp/scripts/ |
caselist_diff.py | 151 newSet = set(new) 160 if not case in newSet:
|
/external/mockito/src/org/mockito/internal/creation/ |
MockSettingsImpl.java | 25 import static org.mockito.internal.util.collections.Sets.newSet;
49 this.extraInterfaces = newSet(extraInterfaces);
|
/frameworks/base/core/java/android/animation/ |
FloatKeyframeSet.java | 57 FloatKeyframeSet newSet = new FloatKeyframeSet(newKeyframes); 58 return newSet;
|
IntKeyframeSet.java | 57 IntKeyframeSet newSet = new IntKeyframeSet(newKeyframes); 58 return newSet;
|
KeyframeSet.java | 188 KeyframeSet newSet = new KeyframeSet(newKeyframes); 189 return newSet;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXParameters_ImplTest.java | 150 HashSet newSet = new HashSet(p.getTrustAnchors()); 151 HashSet newSetCopy = (HashSet) newSet.clone(); 158 assertEquals("isCopied", newSet, p.getTrustAnchors());
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ArrayMapTests.java | 437 ArraySet newSet = new ArraySet<Integer>(); 439 newSet.add(i); 441 ArraySet setCopy = new ArraySet(newSet); 442 if (!compare(setCopy, newSet)) { 444 newSet + ", got " + setCopy); 445 dump(newSet, setCopy);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
JavaApiConverterTest.java | 455 assertEquals(newSet("c", "e"), newSet(responseHeaders.get("A"))); 457 assertEquals(newSet("c", "e"), newSet(responseHeaders.get("a"))); 508 assertEquals(newSet(expectedValues), newSet(headers.get(expectedKey))); 740 private static <T> Set<T> newSet(T... elements) { 741 return newSet(Arrays.asList(elements)); 744 private static <T> Set<T> newSet(List<T> elements) {
|
URLConnectionTest.java | 144 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("D"))); 145 assertEquals(newSet("e", "f"), new HashSet<String>(requestHeaders.get("d"))); 219 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("A"))); 220 assertEquals(newSet("c", "e"), new HashSet<String>(responseHeaders.get("a"))); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMultiColumnFlowThread.cpp | 81 RenderMultiColumnSet* newSet = RenderMultiColumnSet::createAnonymous(this, multiColumnBlockFlow()->style()); 85 multiColumnBlockFlow()->RenderBlock::addChild(newSet);
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontMgr_android.cpp | 491 SkFontStyleSet_Android* newSet = SkNEW_ARGS(SkFontStyleSet_Android, (family, basePath)); 492 if (0 == newSet->count()) { 493 SkDELETE(newSet); 496 fFontStyleSets.push_back().reset(newSet); 501 nextEntry->styleSet = newSet;
|
/frameworks/base/core/java/android/content/ |
IntentFilter.java | 289 String[] newSet = new String[(N*3)/2 + 2]; 290 System.arraycopy(set, 0, newSet, 0, N); 291 set = newSet; 312 String[] newSet = new String[set.length/3]; 313 if (pos > 0) System.arraycopy(set, 0, newSet, 0, pos); 314 if ((pos+1) < N) System.arraycopy(set, pos+1, newSet, pos, N-(pos+1)); 315 return newSet; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
repattrn.cpp | 119 UnicodeSet *newSet = new UnicodeSet(*sourceSet); 120 if (newSet == NULL) { 124 fSets->addElement(newSet, fDeferredStatus);
|
ucol_tok.cpp | [all...] |
/external/icu/icu4c/source/i18n/ |
repattrn.cpp | 119 UnicodeSet *newSet = new UnicodeSet(*sourceSet); 120 if (newSet == NULL) { 124 fSets->addElement(newSet, fDeferredStatus);
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cldrtest.c | 27 USet *newSet = NULL; 36 newSet = uset_open(1, 0); 48 uset_addAllCodePoints(newSet, graphme, graphmeSize); 51 uset_addRange(newSet, start, end); 54 uset_closeOver(newSet,USET_CASE_INSENSITIVE); 55 return newSet; [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cldrtest.c | 27 USet *newSet = NULL; 36 newSet = uset_open(1, 0); 48 uset_addAllCodePoints(newSet, graphme, graphmeSize); 51 uset_addRange(newSet, start, end); 54 uset_closeOver(newSet,USET_CASE_INSENSITIVE); 55 return newSet; [all...] |
/external/chromium_org/third_party/icu/source/common/ |
unisetspan.cpp | 437 UnicodeSet *newSet=(UnicodeSet *)spanSet.cloneAsThawed(); 438 if(newSet==NULL) { 441 pSpanNotSet=newSet; [all...] |
/external/icu/icu4c/source/common/ |
unisetspan.cpp | 437 UnicodeSet *newSet=(UnicodeSet *)spanSet.cloneAsThawed(); 438 if(newSet==NULL) { 441 pSpanNotSet=newSet; [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
transrt.cpp | 308 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { 309 UnicodeSetIterator::reset(newSet); 311 perRange = newSet.getRangeCount(); [all...] |
/external/icu/icu4c/source/test/intltest/ |
transrt.cpp | 308 void AbbreviatedUnicodeSetIterator::reset(UnicodeSet& newSet, UBool abb, int32_t density) { 309 UnicodeSetIterator::reset(newSet); 311 perRange = newSet.getRangeCount(); [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentSkipListSetTest.java | 669 NavigableSet<Integer> set = newSet(cl); 695 static NavigableSet<Integer> newSet(Class cl) throws Exception {
|
TreeSetTest.java | 675 NavigableSet<Integer> set = newSet(cl); 701 static NavigableSet<Integer> newSet(Class cl) throws Exception {
|