Home
last modified time | relevance | path

Searched refs:putInstance (Results 1 – 23 of 23) sorted by relevance

/external/guava/android/guava-tests/test/com/google/common/reflect/
DMutableTypeToInstanceMapTest.java58 map.putInstance(entry.getKey(), entry.getValue()); in suite()
100 map.putInstance(String.class, "test"); in testEntrySetMutationThrows()
111 map.putInstance(String.class, "test"); in testEntrySetToArrayMutationThrows()
124 map.putInstance(String.class, "test"); in testEntrySetToTypedArrayMutationThrows()
137 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
139 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); in testPutAndGetInstance()
151 map.putInstance((TypeToken) null, new Integer(1)); in testNull()
155 map.putInstance(Integer.class, null); in testNull()
161 map.putInstance(Long.class, null); in testNull()
172 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DMutableTypeToInstanceMapTest.java58 map.putInstance(entry.getKey(), entry.getValue()); in suite()
100 map.putInstance(String.class, "test"); in testEntrySetMutationThrows()
111 map.putInstance(String.class, "test"); in testEntrySetToArrayMutationThrows()
124 map.putInstance(String.class, "test"); in testEntrySetToTypedArrayMutationThrows()
137 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
139 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); in testPutAndGetInstance()
151 map.putInstance((TypeToken) null, new Integer(1)); in testNull()
155 map.putInstance(Integer.class, null); in testNull()
161 map.putInstance(Long.class, null); in testNull()
172 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DMutableClassToInstanceMapTest.java52 map.putInstance(entry.getKey(), entry.getValue()); in suite()
95 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
97 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); in testPutAndGetInstance()
112 map.putInstance(Integer.class, null); in testNull()
125 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
126 assertNull(map.putInstance(Integer.class, 1)); in testPrimitiveAndWrapper()
132 assertEquals(0, (int) map.putInstance(int.class, null)); in testPrimitiveAndWrapper()
133 assertEquals(1, (int) map.putInstance(Integer.class, null)); in testPrimitiveAndWrapper()
/external/guava/guava-tests/test/com/google/common/collect/
DMutableClassToInstanceMapTest.java52 map.putInstance(entry.getKey(), entry.getValue()); in suite()
95 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
97 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); in testPutAndGetInstance()
112 map.putInstance(Integer.class, null); in testNull()
125 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
126 assertNull(map.putInstance(Integer.class, 1)); in testPrimitiveAndWrapper()
132 assertEquals(0, (int) map.putInstance(int.class, null)); in testPrimitiveAndWrapper()
133 assertEquals(1, (int) map.putInstance(Integer.class, null)); in testPrimitiveAndWrapper()
/external/guava/guava/src/com/google/common/reflect/
DTypeToInstanceMap.java74 <T extends B> @Nullable T putInstance(Class<T> type, @Nullable T value); in putInstance() method
84 <T extends B> @Nullable T putInstance(TypeToken<T> type, @Nullable T value); in putInstance() method
DImmutableTypeToInstanceMap.java122 public <T extends B> T putInstance(TypeToken<T> type, T value) { in putInstance() method in ImmutableTypeToInstanceMap
135 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in ImmutableTypeToInstanceMap
DMutableTypeToInstanceMap.java56 public <T extends B> @Nullable T putInstance(Class<T> type, @Nullable T value) { in putInstance() method in MutableTypeToInstanceMap
62 public <T extends B> @Nullable T putInstance(TypeToken<T> type, @Nullable T value) { in putInstance() method in MutableTypeToInstanceMap
/external/guava/android/guava/src/com/google/common/reflect/
DTypeToInstanceMap.java77 <T extends B> T putInstance(Class<T> type, @NullableDecl T value); in putInstance() method
88 <T extends B> T putInstance(TypeToken<T> type, @NullableDecl T value); in putInstance() method
DImmutableTypeToInstanceMap.java122 public <T extends B> T putInstance(TypeToken<T> type, T value) { in putInstance() method in ImmutableTypeToInstanceMap
135 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in ImmutableTypeToInstanceMap
DMutableTypeToInstanceMap.java59 public <T extends B> T putInstance(Class<T> type, @NullableDecl T value) { in putInstance() method in MutableTypeToInstanceMap
66 public <T extends B> T putInstance(TypeToken<T> type, @NullableDecl T value) { in putInstance() method in MutableTypeToInstanceMap
/external/guava/android/guava/src/com/google/common/collect/
DClassToInstanceMap.java62 <T extends B> T putInstance(Class<T> type, @NullableDecl T value); in putInstance() method
DImmutableClassToInstanceMap.java187 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in ImmutableClassToInstanceMap
DMutableClassToInstanceMap.java138 public <T extends B> T putInstance(Class<T> type, T value) {
/external/guava/guava/src/com/google/common/collect/
DClassToInstanceMap.java62 <T extends B> T putInstance(Class<T> type, @Nullable T value); in putInstance() method
DImmutableClassToInstanceMap.java186 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in ImmutableClassToInstanceMap
DMutableClassToInstanceMap.java149 public <T extends B> T putInstance(Class<T> type, T value) {
/external/angle/src/libANGLE/
DCompiler.h39 void putInstance(ShCompilerInstance &&instance);
DCompiler.cpp320 void Compiler::putInstance(ShCompilerInstance &&instance) in putInstance() function in gl::Compiler
DShader.cpp403 mBoundCompiler->putInstance(std::move(mCompilingState->shCompilerInstance)); in resolveCompile()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java82 defaults.putInstance(type, checkNotNull(value)); in setDefault()
DClassSanityTester.java138 defaultValues.putInstance(type, value); in setDefault()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java83 defaults.putInstance(type, checkNotNull(value)); in setDefault()
DClassSanityTester.java138 defaultValues.putInstance(type, value); in setDefault()