Searched refs:singleton (Results 51 - 75 of 120) sorted by relevance

12345

/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingListTest.java198 forward.addAll(0, Collections.singleton("asdf"));
H A DImmutableSetTest.java114 assertEquals(Collections.singleton(array), set);
H A DSetsTest.java28 import static java.util.Collections.singleton;
733 assertFalse(powerSet.contains(singleton(null)));
816 powerSet(singleton(null));
H A DAbstractMultimapTest.java261 assertEquals(Collections.singleton("foo"), multimap.keySet());
274 assertEquals(Collections.singleton("foo"), multimap.keySet());
1086 Collections.singleton(Maps.immutableEntry("foo", 3))));
1297 Maps.immutableEntry("foo", Collections.singleton(2))));
H A DConstraintsTest.java339 return Collections.singleton(element).iterator();
H A DIteratorsTest.java26 import static java.util.Collections.singleton;
97 Iterator<Integer> iterator = Collections.singleton(0).iterator();
763 super(3, MODIFIABLE, singleton(1), IteratorTester.KnownOrder.KNOWN_ORDER);
1384 3, UNMODIFIABLE, singleton(1), IteratorTester.KnownOrder.KNOWN_ORDER) {
H A DOrderingTest.java424 assertTrue(numberOrdering.isOrdered(Collections.singleton(1)));
434 assertTrue(numberOrdering.isStrictlyOrdered(Collections.singleton(1)));
H A DTreeMultimapNaturalTest.java285 assertTrue(subSet.containsAll(Collections.singleton("google")));
286 assertFalse(subSet.containsAll(Collections.singleton("foo")));
H A DIterablesTest.java68 Iterable<String> iterable = Collections.singleton("a");
430 Iterable<Integer> source = Collections.singleton(1);
445 Iterable<Integer> source = Collections.singleton(1);
H A DAbstractListMultimapTest.java322 sublist.removeAll(Collections.singleton(4));
/external/guava/guava-tests/test/com/google/common/hash/
H A DAbstractStreamingHasherTest.java134 sinks, Collections.singleton(controlSink));
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
H A Dpep8.py926 singleton = match.group(2)
927 msg = "'if cond is %s:'" % (('' if same else 'not ') + singleton)
928 if singleton in ('None',):
932 nonzero = ((singleton == 'True' and same) or
933 (singleton == 'False' and not same))
936 (code, singleton, msg))
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DTestsForSetsInJavaUtil.java123 return Collections.singleton(elements[0]);
126 .named("singleton")
H A DAbstractIteratorTester.java120 this(Collections.singleton(exceptionClass));
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DUnmodifiableCollectionTests.java276 Collection<V> sampleValueAsCollection = Collections.singleton(sampleValue);
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionRetainAllTester.java101 = new Target(Collections.<E>singleton(null), "nullSingleton");
/external/chromium_org/v8/src/
H A Di18n.js835 var singleton = '(' + digit + '|[A-WY-Za-wy-z])';
836 LANGUAGE_SINGLETON_RE = new $RegExp('^' + singleton + '$', 'i');
838 var extension = '(' + singleton + '(-' + alphanum + '{2,8})+)';
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp654 bool singleton = NULL == fNext; local
655 if (singleton) {
663 if (singleton || angle->after(this)) {
/external/skia/src/pathops/
H A DSkOpAngle.cpp657 bool singleton = NULL == fNext; local
658 if (singleton) {
666 if (singleton || angle->after(this)) {
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
H A DGUnitExecuteMojo.java116 ? Collections.singleton( "**/*.testsuite" )
/external/chromium_org/content/renderer/
H A Drender_widget.cc14 #include "base/memory/singleton.h"
146 static TextInputModeMapSingleton* singleton = local
149 singleton->map().find(input_mode.utf8());
150 if (it == singleton->map().end())
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dinput.py2025 singleton = False
2034 # Any string that doesn't begin with a "-" is a singleton - it can
2037 singleton = True
2058 # If appending a singleton that's already in the list, don't append.
2060 if not singleton or not is_in_set_or_list(to_item, hashable_to_set, to):
2065 # If prepending a singleton that's already in the list, remove the
2068 while singleton and to_item in to:
/external/chromium_org/base/
H A Dbase.target.darwin-arm.mk141 base/memory/singleton.cc \
H A Dbase.target.darwin-arm64.mk141 base/memory/singleton.cc \
H A Dbase.target.darwin-mips.mk141 base/memory/singleton.cc \

Completed in 494 milliseconds

12345