Home
last modified time | relevance | path

Searched refs:Constructor (Results 1 – 25 of 92) sorted by relevance

1234

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DConstructorTest.java20 import java.lang.reflect.Constructor;
53 Constructor ctor1 = null, ctor2 = null; in test_equalsLjava_lang_Object()
74 Constructor ctor = pclass.getConstructor(new Class[0]); in test_getDeclaringClass()
86 Constructor ctor = new ConstructorTestHelper().getClass() in test_getExceptionTypes()
102 Constructor ctor = new ConstructorTestHelper().getClass() in test_getModifiers()
113 Constructor ctor = new ConstructorTestHelper().getClass() in test_getModifiers()
124 Constructor ctor = new ConstructorTestHelper().getClass() in test_getModifiers()
139 Constructor ctor = new ConstructorTestHelper().getClass() in test_getName()
154 Constructor ctor = new ConstructorTestHelper().getClass() in test_getParameterTypes()
174 Constructor ctor = new ConstructorTestHelper().getClass() in test_newInstance$Ljava_lang_Object()
[all …]
/external/astl/src/
Dstring.cpp143 void string::Constructor(const value_type *str, size_type n) in Constructor() function in std::string
145 Constructor(str, 0, n); in Constructor()
149 void string::Constructor(const value_type *str, size_type pos, size_type n) in Constructor() function in std::string
162 void string::Constructor(size_type n, char c) in Constructor() function in std::string
183 Constructor(str.mData, str.mLength); in string()
193 Constructor(str.mData + pos , n); in string()
205 Constructor(str.mData, pos, str.mLength - pos); in string()
217 Constructor(str, traits_type::length(str)); in string()
227 Constructor(str, n); in string()
233 Constructor(n, c); in string()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DSecurityActions.java18 import java.lang.reflect.Constructor;
40 static Constructor[] getDeclaredConstructors(final Class clazz) {
44 return (Constructor[]) AccessController
75 static Constructor getDeclaredConstructor(final Class clazz,
83 return (Constructor) AccessController
/external/clang/test/CodeGenCXX/
Dpredefined-expr.cpp250 class Constructor { class
252 Constructor() { in Constructor() function in NS::Constructor
258 Constructor(int) { in Constructor() function in NS::Constructor
264 Constructor(Base *) { in Constructor() function in NS::Constructor
475 NS::Constructor c1; in main()
476 NS::Constructor c2(0); in main()
477 NS::Constructor c3((NS::Base *)0); in main()
/external/android-mock/tests/com/google/android/testing/mocking/
DConstructorCreationTests.java20 import java.lang.reflect.Constructor;
73 Constructor<TestClass> constructor = in hasConstructor()
80 Constructor<TestClass> constructor = in doesNotHaveConstructor()
101 Constructor<TestClass> constructor = in checkConstructor()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DExtensionNamespaceSupport.java23 import java.lang.reflect.Constructor;
77 Constructor con = null; in launch()
83 Constructor[] cons = cl.getConstructors(); in launch()
/external/v8/src/
Dapinatives.js51 var Constructor = %GetTemplateField(data, kApiConstructorOffset);
54 var result = typeof Constructor === 'undefined' ?
55 {} : new (Instantiate(Constructor))();
/external/clang/lib/Sema/
DSemaInit.cpp2573 ::AddConstructorInitializationStep(CXXConstructorDecl *Constructor, in AddConstructorInitializationStep() argument
2583 S.Function.Function = Constructor; in AddConstructorInitializationStep()
2584 S.Function.FoundDecl = DeclAccessPair::make(Constructor, Access); in AddConstructorInitializationStep()
2758 CXXConstructorDecl *Constructor = 0; in ResolveConstructorOverload() local
2761 Constructor = cast<CXXConstructorDecl>( in ResolveConstructorOverload()
2764 Constructor = cast<CXXConstructorDecl>(D); in ResolveConstructorOverload()
2770 Constructor->isCopyOrMoveConstructor()) in ResolveConstructorOverload()
2774 if (!Constructor->isInvalidDecl() && in ResolveConstructorOverload()
2775 (AllowExplicit || !Constructor->isExplicit()) && in ResolveConstructorOverload()
2776 (!OnlyListConstructors || S.isInitListConstructor(Constructor))) { in ResolveConstructorOverload()
[all …]
DSemaDeclCXX.cpp913 if (const CXXConstructorDecl *Constructor in CheckConstexprFunctionBody() local
915 const CXXRecordDecl *RD = Constructor->getParent(); in CheckConstexprFunctionBody()
923 if (Constructor->getNumCtorInitializers() == 0 && !RD->isEmpty()) { in CheckConstexprFunctionBody()
927 } else if (!Constructor->isDependentContext() && in CheckConstexprFunctionBody()
928 !Constructor->isDelegatingConstructor()) { in CheckConstexprFunctionBody()
943 Constructor->getNumCtorInitializers() != RD->getNumBases() + Fields) { in CheckConstexprFunctionBody()
949 I = Constructor->init_begin(), E = Constructor->init_end(); in CheckConstexprFunctionBody()
1862 CXXConstructorDecl *Constructor in BuildMemInitializer() local
1864 if (!Constructor) { in BuildMemInitializer()
1872 CXXRecordDecl *ClassDecl = Constructor->getParent(); in BuildMemInitializer()
[all …]
/external/javassist/src/test/test/javassist/proxy/
DProxySerializationTest.java7 import java.lang.reflect.Constructor;
33 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
60 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization()
/external/junit/src/org/junit/runners/model/
DTestClass.java6 import java.lang.reflect.Constructor;
125 public Constructor<?> getOnlyConstructor() { in getOnlyConstructor()
126 Constructor<?>[] constructors= fClass.getConstructors(); in getOnlyConstructor()
/external/guava/guava/src/com/google/common/util/concurrent/
DFutures.java37 import java.lang.reflect.Constructor;
1215 List<Constructor<X>> constructors =
1217 for (Constructor<X> constructor : preferringStrings(constructors)) {
1231 private static <X extends Exception> List<Constructor<X>>
1232 preferringStrings(List<Constructor<X>> constructors) {
1236 private static final Ordering<Constructor<?>> WITH_STRING_PARAM_FIRST =
1237 Ordering.natural().onResultOf(new Function<Constructor<?>, Boolean>() {
1238 @Override public Boolean apply(Constructor<?> input) {
1244 Constructor<X> constructor, Throwable cause) {
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitBaseTest.java41 import java.lang.reflect.Constructor;
87 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in execLexer()
181 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in execParser()
189 Constructor parConstructor = parser.getConstructor(parArgTypes); in execParser()
326 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in execTreeParser()
334 Constructor parConstructor = parser.getConstructor(parArgTypes); in execTreeParser()
379 Constructor treeParConstructor = treeParser.getConstructor(treeParArgTypes); in execTreeParser()
DgUnitExecutor.java45 import java.lang.reflect.Constructor;
242 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in runLexer()
319 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in runParser()
327 Constructor parConstructor = parser.getConstructor(parArgTypes); in runParser()
460 Constructor lexConstructor = lexer.getConstructor(lexArgTypes); in runTreeParser()
468 Constructor parConstructor = parser.getConstructor(parArgTypes); in runTreeParser()
513 Constructor treeParConstructor = treeParser.getConstructor(treeParArgTypes); in runTreeParser()
/external/jsilver/src/org/clearsilver/
DFactoryLoader.java19 import java.lang.reflect.Constructor;
109 Constructor<ClearsilverFactory> constructor = clazz.getConstructor(); in newDefaultClearsilverFactory()
/external/junit/src/junit/framework/
DTestSuite.java5 import java.lang.reflect.Constructor;
52 Constructor<?> constructor; in createTest()
81 public static Constructor<?> getTestConstructor(Class<?> theClass) throws NoSuchMethodException { in getTestConstructor()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java34 import java.lang.reflect.Constructor;
128 for (Constructor<?> constructor : c.getDeclaredConstructors()) { in testAllPublicConstructors()
181 public void testConstructor(Constructor<?> ctor) throws Exception { in testConstructor()
224 public void testConstructorParameter(final Constructor<?> ctor, in testConstructorParameter()
/external/junit/src/org/junit/experimental/theories/
DParameterSignature.java7 import java.lang.reflect.Constructor;
19 public static List<ParameterSignature> signatures(Constructor<?> constructor) { in signatures()
/external/llvm/test/Feature/
Dmemorymarkers.ll17 ;; Constructor starts here (this isn't needed since it is immediately
26 ;; Constructor has finished here.
/external/apache-http/src/org/apache/commons/logging/
DLogSource.java20 import java.lang.reflect.Constructor;
70 static protected Constructor logImplctor = null;
/external/nist-sip/java/gov/nist/javax/sip/
DSipStackImpl.java47 import java.lang.reflect.Constructor;
564 Constructor<?> cons = stackLoggerClass in SipStackImpl()
593 Constructor<?> cons = serverLoggerClass in SipStackImpl()
631 Constructor<?> cons = routerClass.getConstructor(constructorArgs); in SipStackImpl()
763 Constructor<?> c = clazz.getConstructor(new Class[0]); in SipStackImpl()
779 Constructor<?> c = clazz.getConstructor(new Class[0]); in SipStackImpl()
955 Constructor<?> c = clazz.getConstructor(new Class[0]); in SipStackImpl()
/external/junit/src/org/junit/internal/runners/
DTestClass.java4 import java.lang.reflect.Constructor;
90 public Constructor<?> getConstructor() throws SecurityException, NoSuchMethodException { in getConstructor()
/external/clang/lib/AST/
DDeclCXX.cpp371 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(*Con); in getCopyConstructor() local
372 if (Constructor->isCopyConstructor(FoundTQs)) { in getCopyConstructor()
376 const_cast<CXXConstructorDecl *>(Constructor), in getCopyConstructor()
533 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() local
534 if (Constructor->isDefaultConstructor()) { in addedMember()
536 if (Constructor->isConstexpr()) { in addedMember()
540 } else if (Constructor->isCopyConstructor()) { in addedMember()
542 } else if (Constructor->isMoveConstructor()) { in addedMember()
565 if (CXXConstructorDecl *Constructor = dyn_cast<CXXConstructorDecl>(D)) { in addedMember() local
572 bool UserProvided = Constructor->isUserProvided(); in addedMember()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DConsoleTest.java29 import java.lang.reflect.Constructor;
51 Constructor<Console> constructor = in setUp()
/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMock.java24 import java.lang.reflect.Constructor;
2647 Constructor<T> constructor = getConstructorFor(subclass, args); in getSubclassFor()
2737 static <T> Constructor<T> getConstructorFor(Class<T> clazz, Object... args) in getConstructorFor()
2739 Constructor<T>[] constructors = (Constructor<T>[]) clazz.getConstructors(); in getConstructorFor()
2740 Constructor<T> compatibleConstructor = null; in getConstructorFor()
2741 for (Constructor<T> constructor : constructors) { in getConstructorFor()

1234