Searched refs:constructors (Results 1 - 25 of 107) sorted by relevance

12345

/external/v8/test/mjsunit/regress/
H A Dregress-crbug-477924.js7 constructors = [ ReferenceError, TypeError];
9 for (var i in constructors) {
10 constructors[i].prototype.__defineGetter__("stack", function() {});
13 for (var i in constructors) {
14 var obj = new constructors[i];
H A Dregress-447756.js21 var constructors = variable
26 for (var i = 0; i < constructors.length; i++) {
27 TestConstructor(constructors[i]);
/external/compiler-rt/test/BlocksRuntime/
H A Dcopyconstructor.C13 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);
H A Dreference.C17 int constructors = 0; variable
41 ++constructors;
49 _version = ++constructors;
/external/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-methods.cpp70 void constructors() { function
H A Dmicrosoft-abi-structors.cpp42 // Tests that we can define constructors outside the class (PR12784).
219 namespace constructors { namespace
231 // CHECK: define x86_thiscallcc %"struct.constructors::B"* @"\01??0B@constructors@@QAE@XZ"(%"struct.constructors::B"* returned %this)
232 // CHECK: call x86_thiscallcc %"struct.constructors::A"* @"\01??0A@constructors@@QAE@XZ"(%"struct.constructors::A"* %{{.*}})
241 // CHECK: define x86_thiscallcc %"struct.constructors::C"* @"\01??0C@constructors
[all...]
/external/javassist/sample/evolve/
H A DVersionManager.java68 Constructor[] constructors = clazz.getConstructors();
69 int n = constructors.length;
72 return constructors[i].newInstance(args);
/external/v8/test/mjsunit/es6/
H A Dtyped-array-iterator.js6 var constructors = [Uint8Array, Int8Array, variable
38 constructors.forEach(TestTypedArrayValues);
/external/javassist/src/main/javassist/tools/reflect/
H A DClassMetaobject.java51 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);
/external/junit/src/org/junit/runners/model/
H A DTestClass.java126 Constructor<?>[] constructors= fClass.getConstructors();
127 Assert.assertEquals(1, constructors.length);
128 return constructors[0];
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
H A DFactoryProvider.java156 * This class implements the old @AssistedInject implementation that manually matches constructors
254 List<AssistedConstructor<?>> constructors = Lists.newArrayList();
260 constructors.add(assistedConstructor);
264 if (constructors.isEmpty()) {
270 if (constructors.size() != factoryMethods.length) {
272 + "constructors, factory %s has %s creation methods", implementationType,
273 constructors.size(), factoryType, factoryMethods.length);
278 for (AssistedConstructor<?> c : constructors) {
300 + "@Assisted parameters %s in that order. @AssistInject constructors are %s",
/external/javassist/src/main/javassist/
H A DSerialVersionUID.java134 // constructors.
135 CtConstructor[] constructors = clazz.getDeclaredConstructors();
136 Arrays.sort(constructors, new Comparator() {
145 for (int i = 0; i < constructors.length; i++) {
146 CtConstructor constructor = constructors[i];
/external/chromium-trace/catapult/third_party/Paste/paste/
H A Durlparser.py92 constructors=None,
126 self.constructors = self.global_constructors.copy()
127 if constructors:
128 self.constructors.update(constructors)
129 # @@: Should we also check the global options for constructors?
139 self.constructors[ext] = value
277 constructor = self.constructors.get(t, self.constructors.get('*'))
292 Register a function as a constructor. Registered constructors
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/
H A DFastClassEmitter.java71 List constructors = new ArrayList(Arrays.asList(type.getDeclaredConstructors()));
72 CollectionUtils.filter(constructors, vp);
83 List info = CollectionUtils.transform(constructors, MethodInfoTransformer.getInstance());
100 invokeSwitchHelper(e, constructors, 1, base);
/external/mockito/src/org/mockito/internal/util/reflection/
H A DFieldInitializer.java202 * Constructor instantiating strategy for parameterized constructors.
265 final List<Constructor<?>> constructors = Arrays.asList(clazz.getDeclaredConstructors());
266 Collections.sort(constructors, byParameterNumber);
268 Constructor<?> constructor = constructors.get(0);
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
H A DEnhancer.java446 List constructors = new ArrayList(Arrays.asList(sc.getDeclaredConstructors()));
447 filterConstructors(sc, constructors);
481 List constructorInfo = CollectionUtils.transform(constructors, MethodInfoTransformer.getInstance());
518 * Filter the list of constructors from the superclass. The
519 * constructors which remain will be included in the generated
521 * constructors, but subclasses may extend Enhancer to override this
524 * @param constructors the list of all declared constructors from the superclass
525 * @throws IllegalArgumentException if there are no non-private constructors
527 protected void filterConstructors(Class sc, List constructors) { argument
699 emitConstructors(ClassEmitter ce, List constructors) argument
841 emitNewInstanceMultiarg(ClassEmitter ce, List constructors) argument
[all...]
/external/doclava/src/com/google/doclava/
H A DStubs.java592 for (MethodInfo method : cl.constructors()) {
612 // default constructor in the case where there are no written constructors.
613 // So, if we hide all the constructors, java may put in a constructor
614 // that calls a nonexistent super class constructor. So, if there are no constructors,
618 if ((cl.constructors().isEmpty() && (!cl.getNonWrittenConstructors().isEmpty() ||
621 // cl.position(), "No constructors " +
855 ArrayList<MethodInfo> ctors = base.constructors();
901 // to avoid collisions with other constructors. If the type is generic
1043 ArrayList<MethodInfo> constructors = cl.constructors();
[all...]
H A DSinceTagger.java157 for (MethodInfo constructor : doc.constructors()) {
250 for (MethodInfo constructor : missingVersions(claz.constructors())) {
H A DFederationTagger.java129 for (MethodInfo constructor : localClass.constructors()) {
H A DProofread.java147 // constructors
148 for (MethodInfo m : cl.constructors()) {
H A DTodoFile.java93 for (MethodInfo m : cl.constructors()) {
H A DPackageInfo.java403 * constructors and methods.
406 ArrayList<MethodInfo> constructors, ArrayList<MethodInfo> methods) {
440 constructors, methods, annotationElements,
496 // generate a "delta" class with only added methods and constructors, but no fields etc
405 createDeltaClass(ClassInfo original, ArrayList<MethodInfo> constructors, ArrayList<MethodInfo> methods) argument
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
H A DInjectBindingRegistry.java51 * Maintains the collection of provision bindings from {@link Inject} constructors and members
210 List<ExecutableElement> constructors =
212 ImmutableSet<ExecutableElement> injectConstructors = FluentIterable.from(constructors)
227 throw new IllegalStateException("Found multiple @Inject constructors: "
/external/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp40 const ConstructorMap &constructors() const { return Constructors; } function in class:clang::ast_matchers::dynamic::__anon1040::RegistryMaps
393 RegistryData->constructors().find(MatcherName);
394 return it == RegistryData->constructors().end()
454 for (const auto &M : RegistryData->constructors()) {
/external/mockito/src/org/mockito/internal/creation/jmock/
H A DClassImposterizer.java92 protected void filterConstructors(Class sc, List constructors) {

Completed in 1134 milliseconds

12345