Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DConstructorTest.java169 Constructor<GenericConstructorTestHelper> ctor = GenericConstructorTestHelper.class in test_toGenericString() local
174 ctor.toGenericString()); in test_toGenericString()
193 Constructor<? extends ConstructorTestHelper> ctor = pclass.getConstructor(new Class[0]); in test_getDeclaringClass() local
194 val = ctor.getDeclaringClass().equals(pclass); in test_getDeclaringClass()
207 … Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() in test_getExceptionTypes() local
209 exceptions = ctor.getExceptionTypes(); in test_getExceptionTypes()
223 … Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() in test_getModifiers() local
225 mod = ctor.getModifiers(); in test_getModifiers()
234 … Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() in test_getModifiers() local
236 mod = ctor.getModifiers(); in test_getModifiers()
[all …]
DMalformedParameterizedTypeExceptionTests.java13 … Constructor<MalformedParameterizedTypeException> ctor = MalformedParameterizedTypeException.class in test_Constructor() local
15 assertNotNull("Parameterless constructor does not exist.", ctor); in test_Constructor()
16 assertTrue("Constructor is not protected", Modifier.isPublic(ctor in test_Constructor()
18 assertNotNull(ctor.newInstance()); in test_Constructor()
DInvocationTargetExceptionTest.java118 Constructor<InvocationTargetException> ctor = InvocationTargetException.class in test_Constructor() local
120 assertNotNull("Parameterless constructor does not exist.", ctor); in test_Constructor()
121 assertTrue("Constructor is not protected", Modifier.isProtected(ctor in test_Constructor()
/libcore/mmodules/intracoreapi/api/intra/
Dcurrent-api.txt13 ctor @libcore.api.IntraCoreApi public DESEDESecretKeyFactory();
17ctor @libcore.api.IntraCoreApi public DefaultSSLContextImpl() throws java.security.GeneralSecurity…
21 ctor @libcore.api.IntraCoreApi public ECParameters();
25 ctor @libcore.api.IntraCoreApi public GCMParameters();
29 ctor @libcore.api.IntraCoreApi public IvParameters();
33 ctor @libcore.api.IntraCoreApi public IvParameters.AES();
37 ctor @libcore.api.IntraCoreApi public IvParameters.ChaCha20();
41 ctor @libcore.api.IntraCoreApi public IvParameters.DESEDE();
48 ctor @libcore.api.IntraCoreApi public KeyGeneratorImpl.AES();
52 ctor @libcore.api.IntraCoreApi public KeyGeneratorImpl.ARC4();
[all …]
/libcore/benchmarks/src/benchmarks/
DXmlSerializeBenchmark.java40 private void serializeRandomXml(Constructor<? extends XmlSerializer> ctor, long seed) in serializeRandomXml() argument
49 XmlSerializer serializer = (XmlSerializer) ctor.newInstance(); in serializeRandomXml()
95 private void internalTimeSerializer(Constructor<? extends XmlSerializer> ctor, int reps) in internalTimeSerializer() argument
98 serializeRandomXml(ctor, seed); in internalTimeSerializer()
/libcore/mmodules/core_platform_api/api/platform/
Dcurrent-api.txt5 ctor public CalendarAstronomer(double, double);
26 ctor public StringPrepParseException(String, int);
27 ctor public StringPrepParseException(String, int, String, int);
28 ctor public StringPrepParseException(String, int, String, int, int);
80 ctor public Int32Ref(int);
85 ctor @dalvik.annotation.compat.UnsupportedAppUsage public NetlinkSocketAddress(int, int);
132 ctor @dalvik.annotation.compat.UnsupportedAppUsage public PacketSocketAddress(short, int);
133 ctor @dalvik.annotation.compat.UnsupportedAppUsage public PacketSocketAddress(int, byte[]);
137 ctor public StructCapUserData(int, int, int);
144 ctor public StructCapUserHeader(int, int);
[all …]
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp391 static jmethodID ctor = env->GetMethodID(JniConstants::GetInetSocketAddressClass(env), in makeSocketAddress() local
393 if (ctor == NULL) { in makeSocketAddress()
396 … return env->NewObject(JniConstants::GetInetSocketAddressClass(env), ctor, inetAddress, port); in makeSocketAddress()
398 static jmethodID ctor = env->GetMethodID(JniConstants::GetUnixSocketAddressClass(env), in makeSocketAddress() local
400 if (ctor == NULL) { in makeSocketAddress()
407 return env->NewObject(JniConstants::GetUnixSocketAddressClass(env), ctor, javaSunPath); in makeSocketAddress()
410 static jmethodID ctor = env->GetMethodID(JniConstants::GetNetlinkSocketAddressClass(env), in makeSocketAddress() local
412 if (ctor == NULL) { in makeSocketAddress()
415 return env->NewObject(JniConstants::GetNetlinkSocketAddressClass(env), ctor, in makeSocketAddress()
420 static jmethodID ctor = env->GetMethodID(JniConstants::GetPacketSocketAddressClass(env), in makeSocketAddress() local
[all …]
/libcore/ojluni/src/main/java/java/lang/reflect/
DConstructor.java80 public Constructor<T> serializationCopy(Class<?> ctor, Class<?> cl) { in serializationCopy() argument
81 return new Constructor<T>(ctor, cl); in serializationCopy()
/libcore/ojluni/src/main/java/java/nio/file/
DFileSystems.java119 Constructor<?> ctor = c in getDefaultProvider() local
121 provider = (FileSystemProvider)ctor.newInstance(provider); in getDefaultProvider()
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DConstructor.java45 java.lang.Class<?> ctor, java.lang.Class<?> cl) { in serializationCopy() argument
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
DSerializedLambdaTest.java275 Supplier<ForCtorRef> ctor = (Supplier<ForCtorRef> & Serializable) ForCtorRef::new; in testCtorRef() local
282 assertSerial(ctor, b); in testCtorRef()