Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/io/
DObjectStreamField.java129 boolean thisPrimitive = this.isPrimitive(); in compareTo()
130 boolean fPrimitive = f.isPrimitive(); in compareTo()
181 if (isDeserialized && !cl.isPrimitive()) { in getType()
242 if (isPrimitive()) { in getTypeString()
260 public boolean isPrimitive() { in isPrimitive() method in ObjectStreamField
262 return t != null && t.isPrimitive(); in isPrimitive()
269 return (t != null && t.isPrimitive()); in writeField()
294 if (typeString == null && isPrimitive()) { in resolve()
DEmulatedFields.java145 boolean isPrimitive = fieldType != null && fieldType.isPrimitive(); in findSlot()
149 if (isPrimitive) { in findSlot()
172 if (isPrimitive ? fieldType == field.getType() : fieldType == null || in findSlot()
187 if (slot == null || (type == null && slot.field.getType().isPrimitive())) { in findMandatorySlot()
DObjectStreamClass.java386 if (type.isPrimitive()) { in buildFieldDescriptors()
DObjectOutputStream.java1126 if (componentType.isPrimitive()) { in writeNewArray()
DObjectInputStream.java1438 if (componentType.isPrimitive()) { in readNewArray()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassTest.java516 assertFalse("Interface type claims to be primitive.", Runnable.class.isPrimitive()); in test_isPrimitive()
517 assertFalse("Object type claims to be primitive.", Object.class.isPrimitive()); in test_isPrimitive()
518 assertFalse("Prim Array type claims to be primitive.", int[].class.isPrimitive()); in test_isPrimitive()
519 assertFalse("Array type claims to be primitive.", Object[].class.isPrimitive()); in test_isPrimitive()
520 assertTrue("Prim type claims not to be primitive.", int.class.isPrimitive()); in test_isPrimitive()
521 assertFalse("Object type claims to be primitive.", Object.class.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/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/java/util/support/
DP.java23 if (ret == null && !cls.equals(Object.class) && !cls.isPrimitive()) { in findProp()
/libcore/libart/src/main/java/java/lang/
DClass.java406 if (this.isPrimitive()) { in getClassLoader()
1470 return !c.isPrimitive(); // Can assign any reference to java.lang.Object. in isAssignableFrom()
1549 public boolean isPrimitive() { in isPrimitive() method in Class
1586 if (isPrimitive() || isInterface() || isArray() || Modifier.isAbstract(accessFlags)) { in newInstance()
1654 if (isPrimitive()) { in toString()
/libcore/luni/src/main/java/java/lang/reflect/
DArray.java353 if (!componentType.isPrimitive()) { in newInstance()
/libcore/luni/src/main/java/java/util/
DArrays.java2351 if (elemElemClass.isPrimitive()) { in deepToStringImpl()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...