Home
last modified time | relevance | path

Searched refs:components (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/crossvmtest/java/lang/
DRecordComponentTest.java61 RecordComponent[] components = RecordInteger.class.getRecordComponents(); in testBasic() local
62 assertEquals(Arrays.deepToString(components), 1, components.length); in testBasic()
67 RecordComponent[] components = RecordInteger.class.getRecordComponents(); in testGetAccessor() local
68 Method getter = components[0].getAccessor(); in testGetAccessor()
76 RecordComponent[] components = RecordInteger.class.getRecordComponents(); in testGetAnnotation() local
80 assertEquals("b", components[0] in testGetAnnotation()
87 RecordComponent[] components = RecordInteger.class.getRecordComponents(); in testGetRecordComponentAnnotation() local
90 assertEquals(1, components.length); in testGetRecordComponentAnnotation()
93 CustomAnnotation2 customAnnotation2 = components[0].getAnnotation(CustomAnnotation2.class); in testGetRecordComponentAnnotation()
101 RecordComponent[] components = RecordInteger.class.getRecordComponents(); in testGetAnnotations() local
[all …]
/libcore/ojluni/src/main/java/java/util/
DUUID.java335 String[] components = name.split("-"); in fromStringJava8() local
336 if (components.length != 5) in fromStringJava8()
339 components[i] = "0x"+components[i]; in fromStringJava8()
341 long mostSigBits = Long.decode(components[0]).longValue(); in fromStringJava8()
343 mostSigBits |= Long.decode(components[1]).longValue(); in fromStringJava8()
345 mostSigBits |= Long.decode(components[2]).longValue(); in fromStringJava8()
347 long leastSigBits = Long.decode(components[3]).longValue(); in fromStringJava8()
349 leastSigBits |= Long.decode(components[4]).longValue(); in fromStringJava8()
/libcore/ojluni/src/main/java/sun/security/util/
DObjectIdentifier.java99 private Object components = null; // path from root field in ObjectIdentifier
113 init((int[])components, componentLen); in readObject()
122 components = comps; in writeObject()
125 components = HugeOidNotSupportedByOldJDK.theOne; in writeObject()
281 private void init(int[] components, int length) { in init() argument
285 if (components[1] < Integer.MAX_VALUE - components[0]*40) in init()
286 pos += pack7Oid(components[0]*40+components[1], tmp, pos); in init()
288 BigInteger big = BigInteger.valueOf(components[1]); in init()
289 big = big.add(BigInteger.valueOf(components[0]*40)); in init()
294 pos += pack7Oid(components[i], tmp, pos); in init()
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java617 RecordComponent[] components = recordClassA.getRecordComponents(); in recordClass() local
618 assertNotNull(components); in recordClass()
619 assertEquals(2, components.length); in recordClass()
620 assertEquals("x", components[0].getName()); in recordClass()
621 assertEquals(int.class, components[0].getType()); in recordClass()
622 assertEquals("y", components[1].getName()); in recordClass()
623 assertEquals(Integer.class, components[1].getType()); in recordClass()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DObjectIdentifier.java60 private void init(int[] components, int length) { in init() argument
151 private java.lang.Object components; field in ObjectIdentifier
/libcore/ojluni/src/main/java/java/lang/
DClass.java3938 RecordComponent[] components = new RecordComponent[size]; in getRecordComponents0() local
3942 components[i] = new RecordComponent(this, name, type, libcoreComponents, i); in getRecordComponents0()
3944 return components; in getRecordComponents0()
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt184 # WINS Server - Tells the NMBD components of Samba to be a WINS Client
/libcore/ojluni/src/test/
DLICENSE162 form) with the major components (compiler, kernel, and so on) of the
/libcore/ojluni/src/tools/
DLICENSE162 form) with the major components (compiler, kernel, and so on) of the
/libcore/
DLICENSE154 source or binary form) with the major components (compiler, kernel, and so on)
/libcore/ojluni/src/main/
DLICENSE162 source or binary form) with the major components (compiler, kernel, and so on)