Home
last modified time | relevance | path

Searched refs:Object (Results 1 – 25 of 7256) sorted by relevance

12345678910>>...291

/external/guava/guava-tests/test/com/google/common/collect/
DMapMakerInternalMapTest.java77 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker()); in testDefaults()
107 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetKeyEquivalence()
109 protected boolean doEquivalent(Object a, Object b) { in testSetKeyEquivalence()
114 protected int doHash(Object t) { in testSetKeyEquivalence()
119 MapMakerInternalMap<Object, Object> map = in testSetKeyEquivalence()
139 MapMakerInternalMap<Object, Object> map = in checkConcurrencyLevel()
180 MapMakerInternalMap<Object, Object> map = makeMap( in checkInitialCapacity()
213 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker() in checkMaximumSize()
225 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakKeys()); in testSetWeakKeys()
231 MapMakerInternalMap<Object, Object> map = makeMap(createMapMaker().weakValues()); in testSetWeakValues()
[all …]
DComputingConcurrentHashMapTest.java75 Function<Object, Object> computingFunction = Functions.identity(); in testComputingFunction()
76 ComputingConcurrentHashMap<Object, Object> map = in testComputingFunction()
85 ComputingConcurrentHashMap<Object, Object> map = in testCompute()
89 Object key = new Object(); in testCompute()
90 Object value = map.getOrCompute(key); in testCompute()
97 Function<Object, Object> computingFunction = new ConstantLoader<Object, Object>(null); in testComputeNull()
98 ComputingMapAdapter<Object, Object> map = makeAdaptedMap(createMapMaker(), computingFunction); in testComputeNull()
100 map.get(new Object()); in testComputeNull()
108 ComputingConcurrentHashMap<Object, Object> map = in testRecordReadOnCompute()
110 Segment<Object, Object> segment = map.segments[0]; in testRecordReadOnCompute()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DLocalCacheTest.java145 private static CacheBuilder<Object, Object> createCacheBuilder() { in createCacheBuilder()
146 return new CacheBuilder<Object, Object>(); in createCacheBuilder()
152 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); in testDefaults()
184 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetKeyEquivalence()
186 protected boolean doEquivalent(Object a, Object b) { in testSetKeyEquivalence()
191 protected int doHash(Object t) { in testSetKeyEquivalence()
196 LocalCache<Object, Object> map = in testSetKeyEquivalence()
203 Equivalence<Object> testEquivalence = new Equivalence<Object>() { in testSetValueEquivalence()
205 protected boolean doEquivalent(Object a, Object b) { in testSetValueEquivalence()
210 protected int doHash(Object t) { in testSetValueEquivalence()
[all …]
DAbstractLoadingCacheTest.java36 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_checked()
37 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_checked()
39 public Object get(Object key) throws ExecutionException { in testGetUnchecked_checked()
40 Object v = valueRef.get(); in testGetUnchecked_checked()
48 public Object getIfPresent(Object key) { in testGetUnchecked_checked()
54 cache.getUnchecked(new Object()); in testGetUnchecked_checked()
60 Object newValue = new Object(); in testGetUnchecked_checked()
62 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_checked()
67 final AtomicReference<Object> valueRef = new AtomicReference<Object>(); in testGetUnchecked_unchecked()
68 LoadingCache<Object, Object> cache = new AbstractLoadingCache<Object, Object>() { in testGetUnchecked_unchecked()
[all …]
DPopulatedCachesTest.java57 for (LoadingCache<Object, Object> cache : caches()) { in testSize_populated()
59 List<Entry<Object, Object>> warmed = warmUp(cache); in testSize_populated()
67 for (LoadingCache<Object, Object> cache : caches()) { in testContainsKey_found()
69 List<Entry<Object, Object>> warmed = warmUp(cache); in testContainsKey_found()
71 Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); in testContainsKey_found()
83 for (LoadingCache<Object, Object> cache : caches()) { in testPut_populated()
85 List<Entry<Object, Object>> warmed = warmUp(cache); in testPut_populated()
87 Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN); in testPut_populated()
88 Object newValue = new Object(); in testPut_populated()
92 Object newKey = new Object(); in testPut_populated()
[all …]
DCacheLoadingTest.java103 LoadingCache<Object, Object> cache = CacheBuilder.newBuilder() in testLoad()
112 Object key = new Object(); in testLoad()
120 key = new Object(); in testLoad()
128 key = new Object(); in testLoad()
144 Object value = new Object(); in testLoad()
153 key = new Object(); in testLoad()
163 final Object one = new Object(); in testReload()
164 final Object two = new Object(); in testReload()
165 CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { in testReload()
167 public Object load(Object key) { in testReload()
[all …]
DCacheBuilderTest.java56 CacheLoader<Object, Integer> loader = constantLoader(1); in testNewBuilder()
67 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testInitialCapacity_negative()
75 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().initialCapacity(16); in testInitialCapacity_setTwice()
119 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testConcurrencyLevel_zero()
127 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().concurrencyLevel(16); in testConcurrencyLevel_setTwice()
150 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testMaximumSize_negative()
158 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); in testMaximumSize_setTwice()
168 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); in testMaximumSize_andWeight()
177 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testMaximumWeight_negative()
186 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumWeight(16); in testMaximumWeight_setTwice()
[all …]
DEmptyCachesTest.java47 for (LoadingCache<Object, Object> cache : caches()) { in testEmpty()
53 for (LoadingCache<Object, Object> cache : caches()) { in testInvalidate_empty()
64 for (LoadingCache<Object, Object> cache : caches()) { in testInvalidateAll_empty()
74 for (LoadingCache<Object, Object> cache : caches()) { in testEquals_null()
80 for (CacheBuilder<Object, Object> builder : cacheFactory().buildAllPermutations()) { in testEqualsAndHashCode_different()
91 for (LoadingCache<Object, Object> cache : caches()) { in testGet_null()
103 for (LoadingCache<Object, Object> cache : caches()) { in testGetUnchecked_null()
117 for (LoadingCache<Object, Object> cache : caches()) { in testKeySet_nullToArray()
118 Set<Object> keys = cache.asMap().keySet(); in testKeySet_nullToArray()
130 for (LoadingCache<Object, Object> cache : caches()) { in testKeySet_addNotSupported()
[all …]
DLocalLoadingCacheTest.java50 private CacheBuilder<Object, Object> createCacheBuilder() { in createCacheBuilder()
57 CacheLoader<Object, Object> loader = new CacheLoader<Object, Object>() { in testComputingFunction()
59 public Object load(Object from) { in testComputingFunction()
60 return new Object(); in testComputingFunction()
63 LocalLoadingCache<Object, Object> cache = makeCache(createCacheBuilder(), loader); in testComputingFunction()
71 CacheLoader<Object, Object> loader = identityLoader(); in testNullParameters()
78 CacheBuilder<Object, Object> builder = createCacheBuilder() in testStats()
81 LocalLoadingCache<Object, Object> cache = makeCache(builder, identityLoader()); in testStats()
84 Object one = new Object(); in testStats()
108 Object two = new Object(); in testStats()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreeAdaptor.java52 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/guava/guava-gwt/test-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilderTest.java38 CacheLoader<Object, Integer> loader = constantLoader(1); in testNewBuilder()
49 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testInitialCapacity_negative()
57 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().initialCapacity(16); in testInitialCapacity_setTwice()
72 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testConcurrencyLevel_zero()
80 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().concurrencyLevel(16); in testConcurrencyLevel_setTwice()
94 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testMaximumSize_negative()
102 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); in testMaximumSize_setTwice()
111 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); in testTimeToLive_negative()
126 CacheBuilder<Object, Object> builder = in testTimeToLive_setTwice()
127 new CacheBuilder<Object, Object>().expireAfterWrite(3600, SECONDS); in testTimeToLive_setTwice()
[all …]
/external/deqp/framework/delibs/decpp/
DdeSharedPtr.cpp41 class Object class
44 Object (bool& exists) in Object() function in de::__anon14593d0b0111::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 …]
DdeUniquePtr.cpp34 class Object class
37 Object (bool& exists) in Object() function in de::__anon33af7e2b0111::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/
Dfloats4 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 …]
Dcompare4 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 …]
Dfunctions4 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/
DDebugTreeAdaptor.java57 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/guava/guava-tests/test/com/google/common/eventbus/outside/
DAnnotatedSubscriberFinderTests.java37 private static final Object EVENT = new Object();
68 final List<Object> nonSubscriberEvents = Lists.newArrayList();
69 final List<Object> subscriberEvents = Lists.newArrayList();
71 public void notASubscriber(Object o) { in notASubscriber()
76 public void subscriber(Object o) { in subscriber()
99 public abstract void overriddenAndAnnotatedInSubclass(Object o); in overriddenAndAnnotatedInSubclass()
102 public abstract void overriddenInSubclass(Object o); in overriddenInSubclass()
106 final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList();
107 final List<Object> overriddenInSubclassEvents = Lists.newArrayList();
111 public void overriddenAndAnnotatedInSubclass(Object o) { in overriddenAndAnnotatedInSubclass()
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DPersistentHashArrayMappedTrieTest.java36 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/test/java/org/yaml/snakeyaml/types/
DMergeTagTest.java31 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/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DBaseConstructor.java64 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 …]
/external/libchrome/base/android/java/src/org/chromium/base/
DLog.java50 private static String formatLog(String messageTemplate, Object... params) { in formatLog()
80 private static String formatLogWithStack(String messageTemplate, Object... params) { in formatLogWithStack()
108 private static void verbose(String tag, String messageTemplate, Object... args) { in verbose()
128 public static void v(String tag, String messageTemplate, Object arg1) { in v()
135 public static void v(String tag, String messageTemplate, Object arg1, Object arg2) { in v()
143 String tag, String messageTemplate, Object arg1, Object arg2, Object arg3) { in v()
150 public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, in v()
151 Object arg4) { in v()
158 public static void v(String tag, String messageTemplate, Object arg1, Object arg2, Object arg3, in v()
159 Object arg4, Object arg5) { in v()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DChainedMap.java23 private M3(Map<K2, Object> map2, Map<K1, Object> map1, Class<V> valueClass) { in M3()
27 … private M3(Map<?, ?> map2, Constructor<Map<Object, Object>>[] constructors, int indexStart) { in M3() argument
56 for (Entry<Object, Object> entry0 : super.mapBase.entrySet()) { in rows()
57 … for (Entry<Object, Object> entry1 : ((Map<Object, Object>) entry0.getValue()).entrySet()) { in rows()
73 …private M4(Map<K3, Object> map3, Map<K2, Object> map2, Map<K1, Object> map1, Class<V> valueClass) { in M4()
77 … private M4(Map<?, ?> map2, Constructor<Map<Object, Object>>[] constructors, int indexStart) { in M4() argument
105 for (Entry<Object, Object> entry0 : super.mapBase.entrySet()) { in rows()
106 … for (Entry<Object, Object> entry1 : ((Map<Object, Object>) entry0.getValue()).entrySet()) { in rows()
107 … for (Entry<Object, Object> entry2 : ((Map<Object, Object>) entry1.getValue()).entrySet()) { in rows()
124 …private M5(Map<K4, Object> map4, Map<K3, Object> map3, Map<K2, Object> map2, Map<K1, Object> map1,… in M5()
[all …]
/external/slf4j/slf4j-api/src/main/java/org/slf4j/
DLogger.java107 public void trace(String format, Object arg); in trace()
121 public void trace(String format, Object arg1, Object arg2); in trace()
137 public void trace(String format, Object... arguments); in trace()
179 public void trace(Marker marker, String format, Object arg); in trace()
192 public void trace(Marker marker, String format, Object arg1, Object arg2); in trace()
204 public void trace(Marker marker, String format, Object... argArray); in trace()
242 public void debug(String format, Object arg); in debug()
255 public void debug(String format, Object arg1, Object arg2); in debug()
271 public void debug(String format, Object... arguments); in debug()
308 public void debug(Marker marker, String format, Object arg); in debug()
[all …]
/external/caliper/caliper/src/test/java/com/google/caliper/memory/
DObjectGraphMeasurerTest.java36 static final Object oneEnumField = new Object() {
46 static final Object oneClassField = new Object() {
47 @SuppressWarnings("unused") Class<?> clazz = Object.class;
56 static final Object oneObjectField = new Object() {
57 @SuppressWarnings("unused") Object objectField = new Object();
65 static final Object withCycle = new Object() {
66 Object[] array = new Object[1];
77 static final Object multiplePathsToObject = new Object() {
78 Object object = new Object();
79 @SuppressWarnings("unused") Object ref1 = object;
[all …]

12345678910>>...291