HomeSort by relevance Sort by last modified time
    Searched refs:Constructor (Results 126 - 150 of 239) sorted by null

1 2 3 4 56 7 8 910

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
SuggestionSpanUtils.java 30 import java.lang.reflect.Constructor;
49 private static final Constructor<?> CONSTRUCTOR_SuggestionSpan = CompatUtils
  /external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java 34 import java.lang.reflect.Constructor;
115 * Ignore a member (constructor or method) in testAllXxx methods. Returns
124 * Runs {@link #testConstructor} on every public constructor in class {@code
128 for (Constructor<?> constructor : c.getDeclaredConstructors()) {
129 if (isPublic(constructor) && !isStatic(constructor)
130 && !isIgnored(constructor)) {
131 testConstructor(constructor);
181 public void testConstructor(Constructor<?> ctor) throws Exception
    [all...]
  /external/nist-sip/java/javax/sip/
SipFactory.java 3 import java.lang.reflect.Constructor;
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldGenericTypesTest.java 19 import java.lang.reflect.Constructor;
68 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); local
69 Type[] genericParameterTypes = constructor.getGenericParameterTypes();
192 //constructor
193 Constructor<?>[] declaredConstructors = innerClazz.getDeclaredConstructors();
195 Constructor<?> declaredConstructor = declaredConstructors[0];
ClassLoaderReflectionTest.java 19 import java.lang.reflect.Constructor;
108 Constructor<?> constructor = fClass.getDeclaredConstructors()[0]; local
109 Type[] parameters = constructor.getGenericParameterTypes();
  /external/junit/src/junit/framework/
TestSuite.java 5 import java.lang.reflect.Constructor;
27 * TestSuite constructor.
33 * <p>This constructor creates a suite with all the methods
52 Constructor<?> constructor; local
54 constructor= getTestConstructor(theClass);
56 return warning("Class "+theClass.getName()+" has no public constructor TestCase(String name) or TestCase()");
60 if (constructor.getParameterTypes().length == 0) {
61 test= constructor.newInstance(new Object[0]);
65 test= constructor.newInstance(new Object[]{name})
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
XercesHTML2DocumentBuilderFactory.java 15 import java.lang.reflect.Constructor;
39 private Constructor htmlBuilderConstructor;
122 Constructor htmlBuilderConstructor,
XercesHTMLDocumentBuilderFactory.java 15 import java.lang.reflect.Constructor;
39 private Constructor htmlBuilderConstructor;
122 Constructor htmlBuilderConstructor,
  /external/clang/lib/Sema/
SemaDeclCXX.cpp 680 // constructor definition. If so, return true. If not, produce appropriate
688 // The definition of a constexpr constructor shall satisfy the following
746 // The definition of a constexpr function(p3) or constructor(p4) [...] shall
804 /// Check that the given field is initialized within a constexpr constructor.
806 /// \param Dcl The constexpr constructor being checked.
    [all...]
  /external/clang/lib/AST/
DeclCXX.cpp 195 // A default constructor is trivial [...] if:
200 // A copy/move constructor for class X is trivial if it is neither
219 // In the definition of a constexpr constructor [...]
226 // A default constructor is trivial [...] if:
233 // A copy/move constructor for class X is trivial if [...]
235 // -- the constructor selected to copy/move each direct base class
237 // FIXME: C++0x: We need to only consider the selected constructor
257 // If that user-written default constructor would satisfy the
258 // requirements of a constexpr constructor, the implicitly-defined
259 // default constructor is constexpr
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
gUnitBaseTest.java 41 import java.lang.reflect.Constructor;
87 Constructor lexConstructor = lexer.getConstructor(lexArgTypes);
181 Constructor lexConstructor = lexer.getConstructor(lexArgTypes);
189 Constructor parConstructor = parser.getConstructor(parArgTypes);
326 Constructor lexConstructor = lexer.getConstructor(lexArgTypes);
334 Constructor parConstructor = parser.getConstructor(parArgTypes);
379 Constructor treeParConstructor = treeParser.getConstructor(treeParArgTypes);
  /external/nist-sip/java/gov/nist/javax/sip/
SipStackImpl.java 47 import java.lang.reflect.Constructor;
113 * log stream. The log factory must have a default constructor.</li>
143 * a no arg constructor. This allows to use different logging implementations
151 * a no arg constructor. This allows to use different logging implementations
525 * Constructor for the stack.
564 Constructor<?> cons = stackLoggerClass
574 + "- check that it is present on the classpath and that there is a no-args constructor defined",
580 + "- check that it is present on the classpath and that there is a no-args constructor defined",
593 Constructor<?> cons = serverLoggerClass
603 + "- check that it is present on the classpath and that there is a no-args constructor defined"
    [all...]
  /external/astl/include/
string 309 void Constructor(const value_type *str, size_type n);
310 void Constructor(const value_type *str, size_type pos, size_type n);
311 void Constructor(size_type num, char c);
  /external/v8/src/
apinatives.js 51 var Constructor = %GetTemplateField(data, kApiConstructorOffset);
54 var result = typeof Constructor === 'undefined' ?
55 {} : new (Instantiate(Constructor))();
87 %SetProperty(fun.prototype, "constructor", fun, DONT_ENUM);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
SerializationStressTest5.java 24 import java.lang.reflect.Constructor;
190 Constructor[] cons = thrC.getConstructors();
268 Constructor con = null;
  /frameworks/base/core/java/android/preference/
GenericInflater.java 20 import java.lang.reflect.Constructor;
369 Constructor constructor = (Constructor) sConstructorMap.get(name); local
372 if (null == constructor) {
377 constructor = clazz.getConstructor(mConstructorSignature);
378 sConstructorMap.put(name, constructor);
383 return (T) constructor.newInstance(args);
400 + constructor.getClass().getName());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
ClassTest.java 25 import java.lang.reflect.Constructor;
236 fail("Found private constructor");
238 // Correct - constructor with obj is private
246 Constructor[] c = TestClass.class.getConstructors();
261 Constructor<TestClass> c = TestClass.class.getDeclaredConstructor(new Class[0]);
262 assertNull("Incorrect constructor returned", c.newInstance().cValue());
270 Constructor[] c = TestClass.class.getDeclaredConstructors();
554 fail("Exception for instantiating a newInstance with no default constructor is not thrown");
  /external/clang/test/SemaCXX/
explicit.cpp 2 namespace Constructor {
43 class Y { }; // expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
44 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}} \
45 expected-note {{candidate constructor (the implicit copy constructor) not viable: no known conversion from 'Conversion::Z' to 'const Conversion::Y &' for 1st argument}} \
46 expected-note {{candidate constructor (the implicit move constructor) not viable: no known conversion from 'Conversion::Z' to 'Conversion::Y &&' for 1st argument}}
  /external/guava/guava/src/com/google/common/util/concurrent/
Futures.java 37 import java.lang.reflect.Constructor;
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SimpleFrame.java 27 import java.lang.reflect.Constructor;
  /libcore/luni/src/main/java/java/io/
ObjectStreamClass.java 21 import java.lang.reflect.Constructor;
177 // MethodID for deserialization constructor
178 private transient long constructor = CONSTRUCTOR_IS_NOT_RESOLVED; field in class:ObjectStreamClass
181 constructor = newConstructor;
185 return constructor;
509 // Constructor information
510 Constructor<?>[] constructors = cl.getDeclaredConstructors();
514 Comparator<Constructor<?>> constructorComparator = new Comparator<Constructor<?>>() {
515 public int compare(Constructor<?> ctr1, Constructor<?> ctr2)
527 Constructor<?> constructor = constructors[i]; local
683 Constructor<?> constructor = null; local
    [all...]
  /cts/tools/signature-tools/test/signature/converter/doclet/
DocletTestConverter.java 24 import java.lang.reflect.Constructor;
159 Constructor<Messager> c;
  /dalvik/tests/031-class-attributes/src/
ClassAttrs.java 4 import java.lang.reflect.Constructor;
50 Constructor cons;
53 System.out.println("constructor signature: "
  /dalvik/tests/044-proxy/src/
BasicTest.java 20 import java.lang.reflect.Constructor;
94 Constructor<Class> cons;
97 //System.out.println("Constructor is " + cons);
  /libcore/luni/src/test/java/tests/api/java/lang/reflect/
InvocationTargetExceptionTest.java 24 import java.lang.reflect.Constructor;
118 Constructor<InvocationTargetException> ctor = InvocationTargetException.class
120 assertNotNull("Parameterless constructor does not exist.", ctor);
121 assertTrue("Constructor is not protected", Modifier.isProtected(ctor
123 //create an instance of a subtype using this constructor
187 fail("Exception during constructor test : " + e.getMessage());

Completed in 4175 milliseconds

1 2 3 4 56 7 8 910