HomeSort by relevance Sort by last modified time
    Searched defs:constructors (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/compiler-rt/BlocksRuntime/tests/
copyconstructor.C 13 int constructors = 0; variable
36 ++constructors;
44 _version = ++constructors;
75 if (constructors == 0) {
76 printf("No copy constructors!!!\n");
79 if (constructors != destructors) {
80 printf("%d constructors but only %d destructors\n", constructors, destructors);
reference.C 17 int constructors = 0; variable
41 ++constructors;
49 _version = ++constructors;
  /external/clang/test/CodeGenCXX/
microsoft-abi-methods.cpp 70 void constructors() { function
microsoft-abi-structors.cpp 37 // Tests that we can define constructors outside the class (PR12784).
121 namespace constructors { namespace
133 // CHECK: define x86_thiscallcc %"struct.constructors::B"* @"\01??0B@constructors@@QAE@XZ"(%"struct.constructors::B"* returned %this)
134 // CHECK: call x86_thiscallcc %"struct.constructors::A"* @"\01??0A@constructors@@QAE@XZ"(%"struct.constructors::A"* %{{.*}})
143 // CHECK: define x86_thiscallcc %"struct.constructors::C"* @"\01??0C@constructors@@QAE@XZ"(%"struct.constructors::C"* returned %this, i32 %is_most_derived
    [all...]
  /external/javassist/sample/evolve/
VersionManager.java 68 Constructor[] constructors = clazz.getConstructors(); local
69 int n = constructors.length;
72 return constructors[i].newInstance(args);
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
TextReport.java 57 List<ApiConstructor> constructors = local
59 Collections.sort(constructors);
60 for (ApiConstructor constructor : constructors) {
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PrintCustomContent.java 492 String[] constructors = getResources().getStringArray(R.array.motogp_constructors); local
501 item.constructor = constructors[i];
  /external/clang/lib/ASTMatchers/Dynamic/
Registry.cpp 38 const ConstructorMap &constructors() const { return Constructors; } function in class:clang::ast_matchers::dynamic::__anon15745::RegistryMaps
42 ConstructorMap Constructors;
47 assert(Constructors.find(MatcherName) == Constructors.end());
48 Constructors[MatcherName] = Callback;
396 for (ConstructorMap::iterator it = Constructors.begin(),
397 end = Constructors.end();
413 RegistryData->constructors().find(MatcherName);
414 if (it == RegistryData->constructors().end())
    [all...]
  /external/javassist/src/main/javassist/
SerialVersionUID.java 134 // constructors.
135 CtConstructor[] constructors = clazz.getDeclaredConstructors(); local
136 Arrays.sort(constructors, new Comparator() {
145 for (int i = 0; i < constructors.length; i++) {
146 CtConstructor constructor = constructors[i];
  /external/junit/src/org/junit/runners/model/
TestClass.java 126 Constructor<?>[] constructors= fClass.getConstructors(); local
127 Assert.assertEquals(1, constructors.length);
128 return constructors[0];
  /external/mockito/src/org/mockito/internal/util/reflection/
FieldInitializer.java 202 * Constructor instantiating strategy for parameterized constructors.
265 final List<Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors()); local
266 Collections.sort(constructors, byParameterNumber);
268 Constructor<?> constructor = constructors.get(0);
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 79 Constructor[] constructors = testCaseClass.getConstructors(); local
81 if (constructors.length == 0) {
84 for (Constructor constructor : constructors) {
TestGrouping.java 228 Constructor<? extends TestCase>[] constructors local
230 for (Constructor<? extends TestCase> constructor : constructors) {
  /cts/tools/signature-tools/src/signature/model/impl/
SigClassDefinition.java 46 private Set<IConstructor> constructors = Uninitialized.unset(); field in class:SigClassDefinition
118 return constructors;
121 public void setConstructors(Set<IConstructor> constructors) {
122 this.constructors = constructors;
  /dalvik/vm/
InitRefs.cpp 321 static struct { Method** method; const char* name; const char* descriptor; } constructors[] = { local
340 for (i = 0; constructors[i].method != NULL; i++) {
341 if (!initDirectMethodReference(constructors[i].method, constructors[i].name,
342 "<init>", constructors[i].descriptor)) {
  /external/javassist/src/main/javassist/tools/reflect/
ClassMetaobject.java 51 private Constructor[] constructors; field in class:ClassMetaobject
81 constructors = javaClass.getConstructors();
93 constructors = javaClass.getConstructors();
134 int n = constructors.length;
137 return constructors[i].newInstance(args);
  /dalvik/vm/native/
java_lang_Class.cpp 235 ArrayObject* constructors; local
237 constructors = dvmGetDeclaredConstructors(clazz, publicOnly);
238 dvmReleaseTrackedAlloc((Object*) constructors, NULL);
240 RETURN_PTR(constructors);
  /external/android-mock/src/com/google/android/testing/mocking/
AndroidMockGenerator.java 123 reason = "Cannot mock a class with no public constructors";
134 Constructor<?>[] constructors = clazz.getDeclaredConstructors(); local
135 for (Constructor<?> constructor : constructors) {
263 CtConstructor[] constructors = superCtClass.getDeclaredConstructors(); local
264 for (CtConstructor constructor : constructors) {
273 throw new RuntimeException("Internal Error - Could not add constructors.", e);
AndroidMock.java 2739 Constructor<T>[] constructors = (Constructor<T>[]) clazz.getConstructors(); local
    [all...]
  /cts/tools/signature-tools/src/signature/converter/doclet/
DocletToSigConverter.java 178 Set<IConstructor> constructors = new HashSet<IConstructor>(); local
179 for (ConstructorDoc constructor : classDoc.constructors()) {
180 constructors.add(convertConstructor(constructor));
182 c.setConstructors(constructors);
  /cts/tools/signature-tools/test/signature/converter/
ConvertClassTest.java 606 Set<IConstructor> constructors = innerClass.getConstructors(); local
607 assertEquals(1, constructors.size());
640 Set<IConstructor> constructors = innerClass.getConstructors(); local
641 IConstructor first = constructors.iterator().next();
660 Set<IConstructor> constructors = innerClass.getConstructors(); local
    [all...]
  /libcore/libart/src/main/java/java/lang/
Class.java 561 * constructors for this {@code Class}. If there
562 * are no public constructors or if this {@code Class} represents an array
568 ArrayList<Constructor<T>> constructors = new ArrayList(); local
569 getDeclaredConstructors(true, constructors);
570 return constructors.toArray(new Constructor[constructors.size()]);
575 * constructors declared in the class represented by this {@code Class}. If
576 * there are no constructors or if this {@code Class} represents an array
582 ArrayList<Constructor<T>> constructors = new ArrayList(); local
583 getDeclaredConstructors(false, constructors);
    [all...]
  /cts/tools/signature-tools/src/signature/converter/dex/
DexToSigConverter.java 361 // constructors
362 Set<SigConstructor> constructors = convertConstructors(dexClass local
364 for (SigConstructor constructor : constructors) {
367 sigClass.setConstructors(new HashSet<IConstructor>(constructors));
556 * constructors.
563 Set<SigConstructor> constructors = new HashSet<SigConstructor>(); local
566 constructors.add(convertConstructor(method));
569 return constructors;
574 * {@link DexMethod}. This method ignores methods which are constructors.
649 // remove first parameter of non static inner class constructors
    [all...]
  /external/doclava/src/com/google/doclava/
Stubs.java 422 for (MethodInfo method : cl.constructors()) {
442 // default constructor in the case where there are no written constructors.
443 // So, if we hide all the constructors, java may put in a constructor
444 // that calls a nonexistent super class constructor. So, if there are no constructors,
448 if ((cl.constructors().isEmpty() && (!cl.getNonWrittenConstructors().isEmpty() || fieldNeedsInitialization))
451 // cl.position(), "No constructors " +
673 ArrayList<MethodInfo> ctors = base.constructors();
719 // to avoid collisions with other constructors. If the type is generic
861 ArrayList<MethodInfo> constructors = cl.constructors(); local
1090 ArrayList<MethodInfo> constructors = cl.constructors(); local
1289 ArrayList<MethodInfo> constructors = cl.constructors(); local
    [all...]
  /libcore/luni/src/main/java/java/io/
ObjectStreamClass.java 496 * Normally constructors come before methods (because <init> <
508 Constructor<?>[] constructors = cl.getDeclaredConstructors(); local
509 if (constructors.length > 1) {
514 // All constructors have same name, so we sort based on
520 Arrays.sort(constructors, constructorComparator);
524 for (int i = 0; i < constructors.length; i++) {
525 Constructor<?> constructor = constructors[i];
    [all...]

Completed in 1764 milliseconds

1 2 3