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

1 2 3 4 5

  /external/webkit/LayoutTests/fast/js/resources/
js-constructors-use-correct-global.js 1 description("Test to ensure that js constructors create objects with the correct constructor");
4 var constructors = ["Object", "Function", "Array", "Number", "String", "Boolean", "RegExp", "Date", "Error", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError", "Image"]; variable
6 for (var i = 0; i < constructors.length; i++) {
7 shouldBeTrue("new otherGlobal." + constructors[i] + "() instanceof otherGlobal." + constructors[i]);
9 if ((typeof (otherGlobal[constructors[i]]())) === "object" || (typeof (otherGlobal[constructors[i]]())) === "function")
10 shouldBeTrue("otherGlobal." + constructors[i] + "() instanceof otherGlobal." + constructors[i]);
  /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;
  /bionic/libc/arch-mips/bionic/
__dso_handle.S 30 # C++ constructors and destructors in the binary.
__dso_handle_so.S 30 # C++ constructors and destructors in the binary.
  /development/ndk/platforms/android-9/arch-mips/src/
__dso_handle.S 30 # C++ constructors and destructors in the binary.
  /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 35 // Tests that we can define constructors outside the class (PR12784).
127 namespace constructors { namespace
139 // CHECK: define x86_thiscallcc %"struct.constructors::B"* @"\01??0B@constructors@@QAE@XZ"(%"struct.constructors::B"* %this)
140 // CHECK: call x86_thiscallcc %"struct.constructors::A"* @"\01??0A@constructors@@QAE@XZ"(%"struct.constructors::A"* %{{.*}})
149 // CHECK: define x86_thiscallcc %"struct.constructors::C"* @"\01??0C@constructors@@QAE@XZ"(%"struct.constructors::C"* %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/webkit/Source/WebCore/bindings/js/
JSDOMGlobalObject.h 53 JSDOMConstructorMap& constructors() { return m_constructors; } function in class:WebCore::JSDOMGlobalObject
89 if (JSC::JSObject* constructor = const_cast<JSDOMGlobalObject*>(globalObject)->constructors().get(&ConstructorClass::s_info).get())
92 ASSERT(!const_cast<JSDOMGlobalObject*>(globalObject)->constructors().contains(&ConstructorClass::s_info));
94 const_cast<JSDOMGlobalObject*>(globalObject)->constructors().add(&ConstructorClass::s_info, temp).first->second.set(exec->globalData(), globalObject, constructor);
JSDOMGlobalObject.cpp 61 JSDOMConstructorMap::iterator end2 = constructors().end();
62 for (JSDOMConstructorMap::iterator it2 = constructors().begin(); it2 != end2; ++it2)
  /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/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
tst_qscriptvalue.h 51 void constructors();
  /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 324 static struct { Method** method; const char* name; const char* descriptor; } constructors[] = { local
343 for (i = 0; constructors[i].method != NULL; i++) {
344 if (!initDirectMethodReference(constructors[i].method, constructors[i].name,
345 "<init>", constructors[i].descriptor)) {
  /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/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()) {
249 for (MethodInfo constructor : missingVersions(claz.constructors())) {

Completed in 3525 milliseconds

1 2 3 4 5