Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/io/
DObjectStreamField.java139 type = (showType || ftype.isPrimitive()) ? ftype : Object.class; in ObjectStreamField()
207 return isPrimitive() ? null : signature; in getTypeString()
238 public boolean isPrimitive() { in isPrimitive() method in ObjectStreamField
264 boolean isPrim = isPrimitive(); in compareTo()
265 if (isPrim != other.isPrimitive()) { in compareTo()
303 if (cl.isPrimitive()) { in getClassSignature()
DObjectStreamClass.java768 if (!f.isPrimitive()) { in writeNonProxy()
870 (type == Object.class && !f.isPrimitive())) in getField()
1540 if (cl.isPrimitive()) { in getClassSignature()
2031 if (!f.isPrimitive()) { in FieldReflector()
DObjectOutputStream.java1382 if (ccl.isPrimitive()) { in writeArray()
DObjectInputStream.java1782 } else if (ccl.isPrimitive()) { in readArray()
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java134 if (!cl.isPrimitive()) { in of()
143 if (!cl.isPrimitive()) { in of()
161 if (!ptype.isPrimitive()) { in create()
169 if (!rtype.isPrimitive()) { in create()
230 if (!returnType.isPrimitive()) { in copyReturnValueTo()
243 if (returnType.isPrimitive()) { in setReturnValueTo()
267 if (!type.isPrimitive()) { in getSize()
374 if (rtype.isPrimitive()) { in makeReturnValueAccessor()
383 if (!type.isPrimitive()) { in copyNext()
/libcore/ojluni/src/main/java/sun/invoke/util/
DWrapper.java241 if (type.isPrimitive()) in forPrimitiveType()
296 if (type.isPrimitive()) in forBasicType()
371 if (type.isPrimitive()) { in asWrapperType()
395 return type.isPrimitive(); in isPrimitiveType()
402 if (!type.isPrimitive()) in basicTypeChar()
457 assert(!type.isPrimitive()); in convert()
492 type.isPrimitive() && forPrimitiveType(type) == findWrapperType(exampleType) || in forceType()
493 … exampleType.isPrimitive() && forPrimitiveType(exampleType) == findWrapperType(type) || in forceType()
494 type == Object.class && !exampleType.isPrimitive()); in forceType()
498 type.isPrimitive() && forPrimitiveType(type) == findWrapperType(exampleType) || in forceType()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java523 assertFalse("Interface type claims to be primitive.", Runnable.class.isPrimitive()); in test_isPrimitive()
524 assertFalse("Object type claims to be primitive.", Object.class.isPrimitive()); in test_isPrimitive()
525 assertFalse("Prim Array type claims to be primitive.", int[].class.isPrimitive()); in test_isPrimitive()
526 assertFalse("Array type claims to be primitive.", Object[].class.isPrimitive()); in test_isPrimitive()
527 assertTrue("Prim type claims not to be primitive.", int.class.isPrimitive()); in test_isPrimitive()
528 assertFalse("Object type claims to be primitive.", Object.class.isPrimitive()); in test_isPrimitive()
/libcore/luni/src/test/java/libcore/java/io/
DOldObjectStreamFieldTest.java165 osfArray[i].isPrimitive()); in test_isPrimitive()
169 osfArray[(osfArray.length - 1)].isPrimitive()); in test_isPrimitive()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/support/
DP.java40 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/support/
DP.java23 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodType.java512 (ptype = ptypes[0]).isPrimitive()) in leadingReferenceParameter()
919 if (src.isPrimitive() && src != void.class) { in explicitCastEquivalentToAsType()
923 } else if (dst.isPrimitive()) { in explicitCastEquivalentToAsType()
946 if (src.isPrimitive()) { in canConvert()
951 if (dst.isPrimitive()) { in canConvert()
958 } else if (dst.isPrimitive()) { in canConvert()
DTransformers.java339 if (!type.isPrimitive()) { in Constant()
518 if (!returnType.isPrimitive()) { in transform()
574 if (!ptype.isPrimitive()) { in transform()
606 if (!ptype.isPrimitive()) { in transform()
1580 } else if (collectorRType.isPrimitive()) { in CollectArguments()
1646 } else if (combinerRType.isPrimitive()) { in FoldArguments()
1729 if (ptype.isPrimitive()) { in transform()
1812 if (to.isPrimitive()) { in explicitCastReturnValue()
2143 } else if (!from.isPrimitive()) { in explicitCast()
2149 } else if (!to.isPrimitive()) { in explicitCast()
[all …]
DMethodHandles.java2024 if (componentType.isPrimitive()) { in arrayElementGetter()
2060 if (componentType.isPrimitive()) { in arrayElementSetter()
2714 if (type.isPrimitive()) { in constant()
2737 if (type.isPrimitive()) { in identity()
2800 if (!ptype.isPrimitive()) { in insertArguments()
DMethodTypeForm.java372 } else if (!t.isPrimitive()) { in canonicalize()
/libcore/ojluni/annotations/hiddenapi/java/io/
DObjectStreamField.java73 public boolean isPrimitive() { in isPrimitive() method in ObjectStreamField
/libcore/ojluni/src/main/java/java/lang/
DClass.java270 return (isInterface() ? "interface " : (isPrimitive() ? "" : "class ")) in toString()
301 if (isPrimitive()) { in toGenericString()
574 return !cls.isPrimitive(); // Can assign any reference to java.lang.Object. in isAssignableFrom()
650 public boolean isPrimitive() { in isPrimitive() method in Class
779 if (isPrimitive()) { in getClassLoader()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicReferenceFieldUpdater.java353 if (vclass.isPrimitive()) in AtomicReferenceFieldUpdaterImpl()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java66 public boolean isPrimitive() { throw new RuntimeException("Stub!"); } in isPrimitive() method in Class
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java171 assertTrue(clazz.isPrimitive()); in checkPrimitiveType()
DLambdaImplementationTest.java348 assertFalse(lambdaClass.isPrimitive()); in assertGeneralLambdaClassCharacteristics()
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java775 if (!componentType.isPrimitive()) { in newArray()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java66 public boolean isPrimitive() { throw new RuntimeException("Stub!"); } in isPrimitive() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java85 public boolean isPrimitive() { in isPrimitive() method in Class