Home
last modified time | relevance | path

Searched refs:fromClass (Results 1 – 16 of 16) sorted by relevance

/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/internal/
DReflectiveTypeFinder.java41 public Class<?> findExpectedType(Class<?> fromClass) { in findExpectedType() argument
42 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { in findExpectedType()
/external/junit/src/main/java/org/junit/internal/matchers/
DTypeSafeMatcher.java30 private static Class<?> findExpectedType(Class<?> fromClass) { in findExpectedType() argument
31 for (Class<?> c = fromClass; c != Object.class; c = c.getSuperclass()) { in findExpectedType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DEnumSerializer.java207 JsonFormat.Value format, boolean fromClass, in _isShapeWrittenUsingIndex() argument
229 shape, enumClass.getName(), (fromClass? "class" : "property"))); in _isShapeWrittenUsingIndex()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DLogicalType.java113 public static LogicalType fromClass(Class<?> raw, in fromClass() method in LogicalType
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/core/
DZeros.java50 int zeroSize = DataType.fromClass(type).byteSize(); in create()
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/
DDataType.java96 public static DataType fromClass(Class<?> c) { in fromClass() method in DataType
DTensor.java106 DataType dtype = DataType.fromClass(type); in create()
246 Tensor<T> ret = (Tensor<T>) create(DataType.fromClass(type), shape, data); in create()
279 DataType dt = DataType.fromClass(type); in expect()
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/
DLabelImage.java185 DataType dtype = DataType.fromClass(type); in cast()
204 .setAttr("dtype", DataType.fromClass(type)) in constant()
/external/tensorflow/tensorflow/java/src/test/java/org/tensorflow/
DTestUtil.java65 .setAttr("dtype", DataType.fromClass(type)) in placeholder()
/external/guava/guava/src/com/google/common/reflect/
DTypeResolver.java198 void visitClass(Class<?> fromClass) { in populateTypeMappings() argument
205 throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to); in populateTypeMappings()
DTypeToken.java913 Class<?> fromClass = (Class<?>) runtimeType;
914 if (!fromClass.isArray()) {
917 return of(fromClass.getComponentType()).isSubtypeOf(supertype.getGenericComponentType());
/external/guava/android/guava/src/com/google/common/reflect/
DTypeResolver.java198 void visitClass(Class<?> fromClass) { in populateTypeMappings() argument
205 throw new IllegalArgumentException("No type mapping from " + fromClass + " to " + to); in populateTypeMappings()
DTypeToken.java916 Class<?> fromClass = (Class<?>) runtimeType;
917 if (!fromClass.isArray()) {
920 return of(fromClass.getComponentType()).isSubtypeOf(supertype.getGenericComponentType());
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DClassUtil.java1281 private static Field locateField(Class<?> fromClass, String expectedName, Class<?> type) in locateField() argument
1285 Field[] fields = fromClass.getDeclaredFields(); in locateField()
/external/python/cpython3/Lib/
Dturtle.py309 def __forwardmethods(fromClass, toClass, toPart, exclude = ()): argument
314 mfc = __methods(fromClass)
327 setattr(fromClass, method, d[method]) ### NEWU!
/external/python/cpython2/Lib/lib-tk/
Dturtle.py328 def __forwardmethods(fromClass, toClass, toPart, exclude = ()): argument
340 for ex in __methods(fromClass):
350 fromClass.__dict__[method] = d[method]