/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 54 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker()); in testDefaults() 73 Equivalence<Object> testEquivalence = in testSetKeyEquivalence() 74 new Equivalence<Object>() { in testSetKeyEquivalence() 76 protected boolean doEquivalent(Object a, Object b) { in testSetKeyEquivalence() 81 protected int doHash(Object t) { in testSetKeyEquivalence() 86 MapMakerInternalMap<Object, Object, ?, ?> map = in testSetKeyEquivalence() 106 MapMakerInternalMap<Object, Object, ?, ?> map = in checkConcurrencyLevel() 147 MapMakerInternalMap<Object, Object, ?, ?> map = in checkInitialCapacity() 181 MapMakerInternalMap<Object, Object, ?, ?> map = in checkMaximumSize() 192 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 54 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker()); in testDefaults() 73 Equivalence<Object> testEquivalence = in testSetKeyEquivalence() 74 new Equivalence<Object>() { in testSetKeyEquivalence() 76 protected boolean doEquivalent(Object a, Object b) { in testSetKeyEquivalence() 81 protected int doHash(Object t) { in testSetKeyEquivalence() 86 MapMakerInternalMap<Object, Object, ?, ?> map = in testSetKeyEquivalence() 106 MapMakerInternalMap<Object, Object, ?, ?> map = in checkConcurrencyLevel() 147 MapMakerInternalMap<Object, Object, ?, ?> map = in checkInitialCapacity() 181 MapMakerInternalMap<Object, Object, ?, ?> map = in checkMaximumSize() 192 MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 250 private static CacheBuilder<Object, Object> createCacheBuilder() { in createCacheBuilder() 257 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); in testDefaults() 289 Equivalence<Object> testEquivalence = in testSetKeyEquivalence() 290 new Equivalence<Object>() { in testSetKeyEquivalence() 292 protected boolean doEquivalent(Object a, Object b) { in testSetKeyEquivalence() 297 protected int doHash(Object t) { in testSetKeyEquivalence() 302 LocalCache<Object, Object> map = in testSetKeyEquivalence() 309 Equivalence<Object> testEquivalence = in testSetValueEquivalence() 310 new Equivalence<Object>() { in testSetValueEquivalence() 312 protected boolean doEquivalent(Object a, Object b) { in testSetValueEquivalence() [all …]
|
D | AbstractLoadingCacheTest.java | 36 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_checked() 37 LoadingCache<Object, Object> cache = in testGetUnchecked_checked() 38 new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_checked() 40 public Object get(Object key) throws ExecutionException { in testGetUnchecked_checked() 41 Object v = valueRef.get(); in testGetUnchecked_checked() 49 public Object getIfPresent(Object key) { in testGetUnchecked_checked() 55 cache.getUnchecked(new Object()); in testGetUnchecked_checked() 61 Object newValue = new Object(); in testGetUnchecked_checked() 63 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_checked() 68 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_unchecked() [all …]
|
D | PopulatedCachesTest.java | 55 for (LoadingCache<Object, Object> cache : caches()) { in testSize_populated() 57 List<Entry<Object, Object>> warmed = warmUp(cache); in testSize_populated() 65 for (LoadingCache<Object, Object> cache : caches()) { in testContainsKey_found() 67 List<Entry<Object, Object>> warmed = warmUp(cache); in testContainsKey_found() 69 Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); in testContainsKey_found() 81 for (LoadingCache<Object, Object> cache : caches()) { in testPut_populated() 83 List<Entry<Object, Object>> warmed = warmUp(cache); in testPut_populated() 85 Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); in testPut_populated() 86 Object newValue = new Object(); in testPut_populated() 90 Object newKey = new Object(); in testPut_populated() [all …]
|
D | CacheLoadingTest.java | 102 LoadingCache<Object, Object> cache = in testLoad() 110 Object key = new Object(); in testLoad() 118 key = new Object(); in testLoad() 126 key = new Object(); in testLoad() 142 Object value = new Object(); in testLoad() 151 key = new Object(); in testLoad() 161 final Object one = new Object(); in testReload() 162 final Object two = new Object(); in testReload() 163 CacheLoader<Object, Object> loader = in testReload() 164 new CacheLoader<Object, Object>() { in testReload() [all …]
|
D | EmptyCachesTest.java | 45 for (LoadingCache<Object, Object> cache : caches()) { in testEmpty() 51 for (LoadingCache<Object, Object> cache : caches()) { in testInvalidate_empty() 62 for (LoadingCache<Object, Object> cache : caches()) { in testInvalidateAll_empty() 72 for (LoadingCache<Object, Object> cache : caches()) { in testEquals_null() 78 for (CacheBuilder<Object, Object> builder : cacheFactory().buildAllPermutations()) { in testEqualsAndHashCode_different() 89 for (LoadingCache<Object, Object> cache : caches()) { in testGet_null() 100 for (LoadingCache<Object, Object> cache : caches()) { in testGetUnchecked_null() 113 for (LoadingCache<Object, Object> cache : caches()) { in testKeySet_nullToArray() 114 Set<Object> keys = cache.asMap().keySet(); in testKeySet_nullToArray() 116 keys.toArray((Object[]) null); in testKeySet_nullToArray() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/cache/ |
D | LocalCacheTest.java | 253 private static CacheBuilder<Object, Object> createCacheBuilder() { in createCacheBuilder() 260 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); in testDefaults() 292 Equivalence<Object> testEquivalence = in testSetKeyEquivalence() 293 new Equivalence<Object>() { in testSetKeyEquivalence() 295 protected boolean doEquivalent(Object a, Object b) { in testSetKeyEquivalence() 300 protected int doHash(Object t) { in testSetKeyEquivalence() 305 LocalCache<Object, Object> map = in testSetKeyEquivalence() 312 Equivalence<Object> testEquivalence = in testSetValueEquivalence() 313 new Equivalence<Object>() { in testSetValueEquivalence() 315 protected boolean doEquivalent(Object a, Object b) { in testSetValueEquivalence() [all …]
|
D | AbstractLoadingCacheTest.java | 36 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_checked() 37 LoadingCache<Object, Object> cache = in testGetUnchecked_checked() 38 new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_checked() 40 public Object get(Object key) throws ExecutionException { in testGetUnchecked_checked() 41 Object v = valueRef.get(); in testGetUnchecked_checked() 49 public Object getIfPresent(Object key) { in testGetUnchecked_checked() 55 cache.getUnchecked(new Object()); in testGetUnchecked_checked() 61 Object newValue = new Object(); in testGetUnchecked_checked() 63 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_checked() 68 final AtomicReference<Object> valueRef = new AtomicReference<>(); in testGetUnchecked_unchecked() [all …]
|
D | PopulatedCachesTest.java | 55 for (LoadingCache<Object, Object> cache : caches()) { in testSize_populated() 57 List<Entry<Object, Object>> warmed = warmUp(cache); in testSize_populated() 65 for (LoadingCache<Object, Object> cache : caches()) { in testContainsKey_found() 67 List<Entry<Object, Object>> warmed = warmUp(cache); in testContainsKey_found() 69 Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); in testContainsKey_found() 81 for (LoadingCache<Object, Object> cache : caches()) { in testPut_populated() 83 List<Entry<Object, Object>> warmed = warmUp(cache); in testPut_populated() 85 Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); in testPut_populated() 86 Object newValue = new Object(); in testPut_populated() 90 Object newKey = new Object(); in testPut_populated() [all …]
|
D | CacheLoadingTest.java | 102 LoadingCache<Object, Object> cache = in testLoad() 110 Object key = new Object(); in testLoad() 118 key = new Object(); in testLoad() 126 key = new Object(); in testLoad() 142 Object value = new Object(); in testLoad() 151 key = new Object(); in testLoad() 161 final Object one = new Object(); in testReload() 162 final Object two = new Object(); in testReload() 163 CacheLoader<Object, Object> loader = in testReload() 164 new CacheLoader<Object, Object>() { in testReload() [all …]
|
D | EmptyCachesTest.java | 45 for (LoadingCache<Object, Object> cache : caches()) { in testEmpty() 51 for (LoadingCache<Object, Object> cache : caches()) { in testInvalidate_empty() 62 for (LoadingCache<Object, Object> cache : caches()) { in testInvalidateAll_empty() 72 for (LoadingCache<Object, Object> cache : caches()) { in testEquals_null() 78 for (CacheBuilder<Object, Object> builder : cacheFactory().buildAllPermutations()) { in testEqualsAndHashCode_different() 89 for (LoadingCache<Object, Object> cache : caches()) { in testGet_null() 100 for (LoadingCache<Object, Object> cache : caches()) { in testGetUnchecked_null() 113 for (LoadingCache<Object, Object> cache : caches()) { in testKeySet_nullToArray() 114 Set<Object> keys = cache.asMap().keySet(); in testKeySet_nullToArray() 116 keys.toArray((Object[]) null); in testKeySet_nullToArray() [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | TreeAdaptor.java | 52 public Object create(Token payload); in create() 57 public Object dupNode(Object treeNode); in dupNode() 60 public Object dupTree(Object tree); in dupTree() 66 public Object nil(); in nil() 82 public Object errorNode(TokenStream input, Token start, Token stop, RecognitionException e); in errorNode() 85 public boolean isNil(Object tree); in isNil() 94 public void addChild(Object t, Object child); in addChild() 122 public Object becomeRoot(Object newRoot, Object oldRoot); in becomeRoot() 137 public Object rulePostProcessing(Object root); in rulePostProcessing() 145 public int getUniqueID(Object node); in getUniqueID() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deSharedPtr.cpp | 41 class Object class 44 Object (bool& exists) in Object() function in de::__anon7b9d57720111::Object 50 virtual ~Object (void) in ~Object() 59 class DerivedObject : public Object 63 : Object(exists) in DerivedObject() 71 SharedPtrTestThread (const SharedPtr<Object>& ptr, const bool& exists) in SharedPtrTestThread() 88 SharedPtr<Object> ptrA(m_ptr); in run() 90 SharedPtr<Object> ptrB; in run() 92 ptrA = SharedPtr<Object>(); in run() 100 SharedPtr<Object> m_ptr; [all …]
|
D | deUniquePtr.cpp | 34 class Object class 37 Object (bool& exists) in Object() function in de::__anon9af398920111::Object 43 ~Object (void) in ~Object() 56 void operator() (Object* ptr) in operator ()() 66 MovePtr<Object> createObject (bool& exists) in createObject() 68 UniquePtr<Object> objectPtr(new Object(exists)); in createObject() 80 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest() 92 UniquePtr<Object> ptr(new Object(exists)); in UniquePtr_selfTest() 107 bool test = (UniquePtr<Object>(new Object(exists))).get() != DE_NULL && exists; in UniquePtr_selfTest() 117 UniquePtr<Object, CustomDeleter> ptr(new Object(exists), CustomDeleter(&deleterCalled)); in UniquePtr_selfTest() [all …]
|
/external/libxml2/result/XPath/expr/ |
D | floats | 4 Object is a number : 1 8 Object is a number : 123 12 Object is a number : 1.23 16 Object is a number : 0.123 20 Object is a number : 4 24 Object is a number : 0.4 28 Object is a number : 1230 32 Object is a number : 0.00123 36 Object is a number : Infinity 40 Object is a number : -Infinity [all …]
|
D | compare | 4 Object is a Boolean : false 8 Object is a Boolean : true 12 Object is a Boolean : false 16 Object is a Boolean : true 20 Object is a Boolean : true 24 Object is a Boolean : true 28 Object is a Boolean : false 32 Object is a Boolean : false 36 Object is a Boolean : false 40 Object is a Boolean : false [all …]
|
D | functions | 4 Object is a Boolean : true 8 Object is a Boolean : false 12 Object is a number : 1.5 16 Object is a number : NaN 20 Object is a number : NaN 24 Object is a number : 0 28 Object is a number : -1 32 Object is a number : 0 36 Object is a number : 0 40 Object is a number : 5 [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugTreeAdaptor.java | 57 public Object create(Token payload) { in create() 62 Object node = adaptor.create(payload); in create() 68 public Object errorNode(TokenStream input, Token start, Token stop, in errorNode() 71 Object node = adaptor.errorNode(input, start, stop, e); in errorNode() 79 public Object dupTree(Object tree) { in dupTree() 80 Object t = adaptor.dupTree(tree); in dupTree() 89 protected void simulateTreeConstruction(Object t) { in simulateTreeConstruction() 93 Object child = adaptor.getChild(t, i); in simulateTreeConstruction() 100 public Object dupNode(Object treeNode) { in dupNode() 101 Object d = adaptor.dupNode(treeNode); in dupNode() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
D | MergeTagTest.java | 31 List<Object> list = (List<Object>) document.getNativeData(); in testMerge() 33 Map<Object, Object> center = (Map<Object, Object>) list.get(0); in testMerge() 38 Map<Object, Object> left = (Map<Object, Object>) list.get(1); in testMerge() 43 Map<Object, Object> big = (Map<Object, Object>) list.get(2); in testMerge() 47 Map<Object, Object> small = (Map<Object, Object>) list.get(3); in testMerge() 51 Map<Object, Object> explicit = (Map<Object, Object>) list.get(4); in testMerge() 58 Map<Object, Object> merged1 = (Map<Object, Object>) list.get(5); in testMerge() 62 Map<Object, Object> merged2 = (Map<Object, Object>) list.get(6); in testMerge() 66 Map<Object, Object> merged3 = (Map<Object, Object>) list.get(7); in testMerge()
|
/external/guava/android/guava-tests/test/com/google/common/eventbus/outside/ |
D | AnnotatedSubscriberFinderTests.java | 36 private static final Object EVENT = new Object(); 67 final List<Object> nonSubscriberEvents = Lists.newArrayList(); 68 final List<Object> subscriberEvents = Lists.newArrayList(); 70 public void notASubscriber(Object o) { in notASubscriber() 75 public void subscriber(Object o) { in subscriber() 98 public abstract void overriddenAndAnnotatedInSubclass(Object o); in overriddenAndAnnotatedInSubclass() 101 public abstract void overriddenInSubclass(Object o); in overriddenInSubclass() 105 final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); 106 final List<Object> overriddenInSubclassEvents = Lists.newArrayList(); 110 public void overriddenAndAnnotatedInSubclass(Object o) { in overriddenAndAnnotatedInSubclass() [all …]
|
/external/guava/guava-tests/test/com/google/common/eventbus/outside/ |
D | AnnotatedSubscriberFinderTests.java | 36 private static final Object EVENT = new Object(); 67 final List<Object> nonSubscriberEvents = Lists.newArrayList(); 68 final List<Object> subscriberEvents = Lists.newArrayList(); 70 public void notASubscriber(Object o) { in notASubscriber() 75 public void subscriber(Object o) { in subscriber() 98 public abstract void overriddenAndAnnotatedInSubclass(Object o); in overriddenAndAnnotatedInSubclass() 101 public abstract void overriddenInSubclass(Object o); in overriddenInSubclass() 105 final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); 106 final List<Object> overriddenInSubclassEvents = Lists.newArrayList(); 110 public void overriddenAndAnnotatedInSubclass(Object o) { in overriddenAndAnnotatedInSubclass() [all …]
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | ContextAttributes.java | 33 public abstract ContextAttributes withSharedAttribute(Object key, Object value); in withSharedAttribute() 37 public abstract ContextAttributes withoutSharedAttribute(Object key); in withoutSharedAttribute() 48 public abstract Object getAttribute(Object key); in getAttribute() 54 public abstract ContextAttributes withPerCallAttribute(Object key, Object value); in withPerCallAttribute() 69 protected final static Object NULL_SURROGATE = new Object(); 84 protected transient Map<Object,Object> _nonShared; 97 protected Impl(Map<?,?> shared, Map<Object,Object> nonShared) { in Impl() argument 113 public ContextAttributes withSharedAttribute(Object key, Object value) in withSharedAttribute() 115 Map<Object,Object> m; in withSharedAttribute() 118 m = new HashMap<Object,Object>(8); in withSharedAttribute() [all …]
|
/external/grpc-grpc-java/context/src/test/java/io/grpc/ |
D | PersistentHashArrayMappedTrieTest.java | 36 Object value1 = new Object(); in leaf_replace() 37 Object value2 = new Object(); in leaf_replace() 38 Leaf<Key, Object> leaf = new Leaf<Key, Object>(key, value1); in leaf_replace() 39 Node<Key, Object> ret = leaf.put(key, value2, key.hashCode(), 0); in leaf_replace() 53 Object value1 = new Object(); in leaf_collision() 54 Object value2 = new Object(); in leaf_collision() 55 Leaf<Key, Object> leaf = new Leaf<Key, Object>(key1, value1); in leaf_collision() 56 Node<Key, Object> ret = leaf.put(key2, value2, key2.hashCode(), 0); in leaf_collision() 72 Object value1 = new Object(); in leaf_insert() 73 Object value2 = new Object(); in leaf_insert() [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
D | BaseConstructor.java | 64 private final Map<Node, Object> constructedObjects; 66 …private final ArrayList<RecursiveTuple<Map<Object, Object>, RecursiveTuple<Object, Object>>> maps2… 67 private final ArrayList<RecursiveTuple<Set<Object>, Object>> sets2fill; 74 constructedObjects = new HashMap<Node, Object>(); in BaseConstructor() 76 … maps2fill = new ArrayList<RecursiveTuple<Map<Object, Object>, RecursiveTuple<Object, Object>>>(); in BaseConstructor() 77 sets2fill = new ArrayList<RecursiveTuple<Set<Object>, Object>>(); in BaseConstructor() 101 public Object getData() { in getData() 118 public Object getSingleData(Class<?> type) { in getSingleData() 122 if (Object.class != type) { in getSingleData() 140 protected final Object constructDocument(Node node) { in constructDocument() [all …]
|