/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;
|
/development/ndk/platforms/android-9/arch-x86/src/ |
__dso_handle.S | 30 # C++ constructors and destructors in the binary.
|
__dso_handle_so.S | 30 # C++ constructors and destructors in the binary.
|
/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);
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
v8_interface.py | 95 # Constructors 96 constructors = [generate_constructor(interface, constructor) 97 for constructor in interface.constructors 98 # FIXME: shouldn't put named constructors with constructors 100 # Handle named constructors separately 102 generate_constructor_overloads(constructors) 119 # included in constructors (and only name stored in extended attribute) 125 if (constructors or has_custom_constructor or has_event_constructor or 132 'constructors': constructors [all...] |
idl_definitions_builder.py | 86 # Constructors for Interface definitions and interface members 92 constructors = None 111 constructors, custom_constructors = extended_attributes_to_constructors(extended_attributes) 120 return IdlInterface(name=name, attributes=attributes, constants=constants, constructors=constructors, custom_constructors=custom_constructors, extended_attributes=extended_attributes, operations=operations, is_callback=is_callback, is_partial=is_partial, parent=parent) 247 # Constructors for for non-interface definitions 342 Constructors: value is a list of Arguments nodes, corresponding to 350 # The only complexity is handling various types of constructors: 351 # Constructors and Custom Constructors can have duplicate entries due t [all...] |
idl_definitions.py | 78 # Constructors don't have their own return type, because it's the 172 def __init__(self, attributes=None, constants=None, constructors=None, custom_constructors=None, extended_attributes=None, operations=None, is_callback=False, is_partial=False, name=None, parent=None): 175 self.constructors = constructors or [] 189 for constructor in self.constructors: 200 'domInterface::constructors': self.constructors, 237 'domInterface::constructors': [],
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_hashlib.py | 62 for algorithm, constructors in self.constructors_to_test.items(): 63 constructors.add(getattr(hashlib, algorithm)) 68 constructors.add(_test_algorithm_via_hashlib_new) 76 for algorithm, constructors in self.constructors_to_test.items(): 79 constructors.add(constructor) 100 constructors = self.constructors_to_test.itervalues() 101 for cons in itertools.chain.from_iterable(constructors): 158 constructors = self.constructors_to_test[name] 160 self.assertGreaterEqual(len(constructors), 2) 161 for hash_object_constructor in constructors [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_hashlib.py | 62 for algorithm, constructors in self.constructors_to_test.items(): 63 constructors.add(getattr(hashlib, algorithm)) 68 constructors.add(_test_algorithm_via_hashlib_new) 76 for algorithm, constructors in self.constructors_to_test.items(): 79 constructors.add(constructor) 100 constructors = self.constructors_to_test.itervalues() 101 for cons in itertools.chain.from_iterable(constructors): 158 constructors = self.constructors_to_test[name] 160 self.assertGreaterEqual(len(constructors), 2) 161 for hash_object_constructor in constructors [all...] |
/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) {
|
/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;
|
/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);
|
/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) {
|
/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/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/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);
|
/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)) {
|
/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...] |
/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);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2225.js | 51 // Test inline constructors with proxy as prototype. 59 // Test inline constructors with proxy in prototype chain.
|
/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...] |
SinceTagger.java | 157 for (MethodInfo constructor : doc.constructors()) { 250 for (MethodInfo constructor : missingVersions(claz.constructors())) {
|