/external/mockito/src/test/java/org/mockito/internal/util/ |
D | PrimitivesTest.java | 17 assertNotNull(Primitives.defaultValue(Boolean.class)); in should_not_return_null_for_primitives_wrappers() 18 assertNotNull(Primitives.defaultValue(Character.class)); in should_not_return_null_for_primitives_wrappers() 19 assertNotNull(Primitives.defaultValue(Byte.class)); in should_not_return_null_for_primitives_wrappers() 20 assertNotNull(Primitives.defaultValue(Short.class)); in should_not_return_null_for_primitives_wrappers() 21 assertNotNull(Primitives.defaultValue(Integer.class)); in should_not_return_null_for_primitives_wrappers() 22 assertNotNull(Primitives.defaultValue(Long.class)); in should_not_return_null_for_primitives_wrappers() 23 assertNotNull(Primitives.defaultValue(Float.class)); in should_not_return_null_for_primitives_wrappers() 24 assertNotNull(Primitives.defaultValue(Double.class)); in should_not_return_null_for_primitives_wrappers() 29 assertNotNull(Primitives.defaultValue(boolean.class)); in should_not_return_null_for_primitives() 30 assertNotNull(Primitives.defaultValue(char.class)); in should_not_return_null_for_primitives() [all …]
|
/external/guava/android/guava-tests/test/com/google/common/primitives/ |
D | PrimitivesTest.java | 31 assertTrue(Primitives.isWrapperType(Void.class)); in testIsWrapperType() 32 assertFalse(Primitives.isWrapperType(void.class)); in testIsWrapperType() 36 assertSame(Integer.class, Primitives.wrap(int.class)); in testWrap() 37 assertSame(Integer.class, Primitives.wrap(Integer.class)); in testWrap() 38 assertSame(String.class, Primitives.wrap(String.class)); in testWrap() 42 assertSame(int.class, Primitives.unwrap(Integer.class)); in testUnwrap() 43 assertSame(int.class, Primitives.unwrap(int.class)); in testUnwrap() 44 assertSame(String.class, Primitives.unwrap(String.class)); in testUnwrap() 48 Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); in testAllPrimitiveTypes() 70 Set<Class<?>> wrappers = Primitives.allWrapperTypes(); in testAllWrapperTypes() [all …]
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | PrimitivesTest.java | 31 assertTrue(Primitives.isWrapperType(Void.class)); in testIsWrapperType() 32 assertFalse(Primitives.isWrapperType(void.class)); in testIsWrapperType() 36 assertSame(Integer.class, Primitives.wrap(int.class)); in testWrap() 37 assertSame(Integer.class, Primitives.wrap(Integer.class)); in testWrap() 38 assertSame(String.class, Primitives.wrap(String.class)); in testWrap() 42 assertSame(int.class, Primitives.unwrap(Integer.class)); in testUnwrap() 43 assertSame(int.class, Primitives.unwrap(int.class)); in testUnwrap() 44 assertSame(String.class, Primitives.unwrap(String.class)); in testUnwrap() 48 Set<Class<?>> primitives = Primitives.allPrimitiveTypes(); in testAllPrimitiveTypes() 70 Set<Class<?>> wrappers = Primitives.allWrapperTypes(); in testAllWrapperTypes() [all …]
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | InvocationInfo.java | 10 import org.mockito.internal.util.Primitives; 35 … return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType()); in isValidReturnType()
|
/external/escapevelocity/src/test/java/com/google/escapevelocity/ |
D | ReferenceNodeTest.java | 22 import com.google.common.primitives.Primitives; 76 for (Class<?> from : Primitives.allPrimitiveTypes()) { in testPrimitiveTypeIsAssignmentCompatible() 77 for (Class<?> to : Primitives.allPrimitiveTypes()) { in testPrimitiveTypeIsAssignmentCompatible()
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
D | Primitives.java | 11 public class Primitives { class 47 …return Primitives.primitiveTypeOf(valueClass).isAssignableFrom(Primitives.primitiveTypeOf(referenc… in isAssignableFromWrapper()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/ |
D | ReturnsEmptyValues.java | 9 import org.mockito.internal.util.Primitives; 78 if (Primitives.isPrimitiveOrWrapper(type)) { in returnValueFor() 79 return Primitives.defaultValue(type); in returnValueFor()
|
/external/mockito/src/main/java/org/mockito/ |
D | ArgumentMatchers.java | 26 import org.mockito.internal.util.Primitives; 29 import static org.mockito.internal.util.Primitives.defaultValue; 905 return (T) Primitives.defaultValue(value.getClass()); in eq() 952 return (T) Primitives.defaultValue(value.getClass()); in same() 1092 return (T) Primitives.defaultValue(clazz); in nullable()
|
D | ArgumentCaptor.java | 7 import static org.mockito.internal.util.Primitives.defaultValue;
|
/external/mockito/src/main/java/org/mockito/internal/matchers/ |
D | InstanceOf.java | 9 import org.mockito.internal.util.Primitives; 30 (Primitives.isAssignableFromWrapper(actual.getClass(), clazz) in matches()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/ |
D | TestCreators2.java | 41 static class Primitives class in TestCreators2 48 public Primitives(@JsonProperty("x") int x, in Primitives() method in TestCreators2.Primitives 220 Primitives p = MAPPER.readValue("{}", Primitives.class); in testMissingPrimitives()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | GenericTypeHelper.java | 17 import com.google.common.primitives.Primitives; 124 return Primitives.wrap(toClass).equals(from); in isAssignableFrom()
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | Primitives.java | 33 public final class Primitives { class 34 private Primitives() {} in Primitives() method in Primitives
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Primitives.java | 33 public final class Primitives { class 34 private Primitives() {} in Primitives() method in Primitives
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
D | Parsers.java | 20 import com.google.common.primitives.Primitives; 55 final Class<T> wrappedResultType = Primitives.wrap(resultType); in conventionalParser()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | Parameter.java | 26 import com.google.common.primitives.Primitives; 58 Class<?> type = Primitives.wrap(field.getType()); in Parameter()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ImmutableClassToInstanceMap.java | 22 import com.google.common.primitives.Primitives; 120 return Primitives.wrap(type).cast(value); in cast()
|
D | MutableClassToInstanceMap.java | 22 import com.google.common.primitives.Primitives; 149 return Primitives.wrap(type).cast(value);
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableClassToInstanceMap.java | 22 import com.google.common.primitives.Primitives; 120 return Primitives.wrap(type).cast(value); in cast()
|
D | MutableClassToInstanceMap.java | 22 import com.google.common.primitives.Primitives; 160 return Primitives.wrap(type).cast(value);
|
/external/python/cryptography/docs/hazmat/primitives/ |
D | index.rst | 3 Primitives title
|
/external/escapevelocity/src/main/java/com/google/escapevelocity/ |
D | ReferenceNode.java | 24 import com.google.common.primitives.Primitives; 282 if (value == null || !Primitives.isWrapperType(value.getClass())) { in primitiveIsCompatible() 285 return primitiveTypeIsAssignmentCompatible(primitive, Primitives.unwrap(value.getClass())); in primitiveIsCompatible()
|
/external/boringssl/src/third_party/fiat/ |
D | README.chromium | 1 Name: Fiat-Crypto: Synthesizing Correct-by-Construction Code for Cryptographic Primitives
|
D | METADATA | 2 description: "Fiat-Crypto: Synthesizing Correct-by-Construction Code for Cryptographic Primitives."
|
/external/mockito/src/main/java/org/mockito/internal/creation/instance/ |
D | ConstructorInstantiator.java | 15 import org.mockito.internal.util.Primitives; 129 … (types[i].isPrimitive() && !types[i].equals(Primitives.primitiveTypeOf(params[i].getClass())))) { in paramsMatch()
|