/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
D | 15.6.2.js | 55 … "(new Boolean(1)).constructor", Boolean.prototype.constructor, (new Boolean(1)).constructor… 62 … "(new Boolean(0)).constructor", Boolean.prototype.constructor, (new Boolean(0)).constructor… 69 …"(new Boolean(-1)).constructor", Boolean.prototype.constructor, (new Boolean(-1)).constructor… 76 …(new Boolean('1')).constructor", Boolean.prototype.constructor, (new Boolean('1')).constructo… 83 …(new Boolean('0')).constructor", Boolean.prototype.constructor, (new Boolean('0')).constructo… 90 …ew Boolean('-1')).constructor", Boolean.prototype.constructor, (new Boolean('-1')).constructo… 97 …ean(true))).constructor", Boolean.prototype.constructor, (new Boolean(new Boolean(true))).con… 104 …n(Number.NaN)).constructor", Boolean.prototype.constructor, (new Boolean(Number.NaN)).constru… 111 …ew Boolean(null)).constructor", Boolean.prototype.constructor, (new Boolean(null)).constructo… 118 …Boolean(void 0)).constructor", Boolean.prototype.constructor, (new Boolean(void 0)).construct… [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
D | 15.7.2.js | 66 …ON, "(new Number()).constructor", Number.prototype.constructor, (new Number()).constructor … 75 …N, "(new Number(0)).constructor", Number.prototype.constructor, (new Number(0)).constructor… 83 …N, "(new Number(1)).constructor", Number.prototype.constructor, (new Number(1)).constructor… 91 … "(new Number(-1)).constructor", Number.prototype.constructor, (new Number(-1)).constructor… 99 …r(Number.NaN)).constructor", Number.prototype.constructor, (new Number(Number.NaN)).constru… 107 …mber('string')).constructor", Number.prototype.constructor, (new Number('string')).construc… 115 …ew String())).constructor", Number.prototype.constructor, (new Number(new String())).constr… 123 … "(new Number('')).constructor", Number.prototype.constructor, (new Number('')).constructor… 131 …INITY)).constructor", Number.prototype.constructor, (new Number(Number.POSITIVE_INFINITY)).… 139 …INITY)).constructor", Number.prototype.constructor, (new Number(Number.NEGATIVE_INFINITY)).… [all …]
|
/external/clang/test/Sema/ |
D | constructor-attribute.c | 3 int x __attribute__((constructor)); // expected-warning {{'constructor' attribute only applies to f… 4 int f() __attribute__((constructor)); 5 int f() __attribute__((constructor(1))); 6 int f() __attribute__((constructor(1,2))); // expected-error {{attribute takes no more than 1 argum… 7 int f() __attribute__((constructor(1.0))); // expected-error {{'constructor' attribute requires par…
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | ConstructorCreationTests.java | 73 Constructor<TestClass> constructor = in hasConstructor() local 75 assertNotNull(constructor); in hasConstructor() 80 Constructor<TestClass> constructor = in doesNotHaveConstructor() local 82 fail("A constructor was found: " + constructor); in doesNotHaveConstructor() 101 Constructor<TestClass> constructor = in checkConstructor() local 103 assertNotNull(constructor); in checkConstructor() 104 Type[] types = constructor.getGenericParameterTypes(); in checkConstructor()
|
/external/v8/test/mjsunit/ |
D | array-functions-prototype.js | 36 function constructor() {}; function 37 constructor.prototype = proto; class 59 var nonArray = new constructor(); 90 var nonArray = new constructor(); 121 var nonArray = new constructor(); 151 var nonArray = new constructor();
|
D | mjsunit.js | 75 var constructor = value.constructor.name; 132 if (a.constructor === RegExp || b.constructor === RegExp) { 133 return (a.constructor === b.constructor) && (a.toString() === b.toString()); 138 if (a.constructor === Array) { 139 if (b.constructor !== Array)
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
D | ConstructorTest.java | 185 Constructor constructor = Vector.class in test_newInstance_IAE() local 189 constructor.newInstance(new Object[] { null }); in test_newInstance_IAE() 197 Constructor constructor = MockObject.class.getConstructor(Class.class); in test_newInstance_InvocationTargetException() local 200 constructor.newInstance(InvocationTargetException.class); in test_newInstance_InvocationTargetException() 207 constructor.newInstance(IllegalAccessException.class); in test_newInstance_InvocationTargetException() 214 constructor.newInstance(IllegalArgumentException.class); in test_newInstance_InvocationTargetException() 221 constructor.newInstance(InvocationTargetException.class); in test_newInstance_InvocationTargetException() 228 constructor.newInstance(Throwable.class); in test_newInstance_InvocationTargetException()
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
D | qscriptoriginalglobalobject_p.h | 52 inline bool isType(JSValueRef value, JSObjectRef constructor, JSValueRef prototype) const; 53 …lobalObject, JSStringRef prototypeName, const char* type, JSObjectRef& constructor, JSValueRef& pr… 105 …lobalObject, JSStringRef prototypeName, const char* type, JSObjectRef& constructor, JSValueRef& pr… in initializeMember() argument 113 constructor = JSValueToObject(m_context, typeConstructor, &exception); in initializeMember() 114 JSValueProtect(m_context, constructor); in initializeMember() 119 prototype = JSObjectGetProperty(m_context, constructor, prototypeName, &exception); in initializeMember() 199 inline bool QScriptOriginalGlobalObject::isType(JSValueRef value, JSObjectRef constructor, JSValueR… in isType() argument 204 …bool result = JSValueIsInstanceOfConstructor(m_context, value, constructor, &exception) || JSValue… in isType()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSDOMGlobalObject.h | 89 …if (JSC::JSObject* constructor = const_cast<JSDOMGlobalObject*>(globalObject)->constructors().get(… in getDOMConstructor() local 90 return constructor; in getDOMConstructor() 91 …JSC::JSObject* constructor = new (exec) ConstructorClass(exec, const_cast<JSDOMGlobalObject*>(glob… in getDOMConstructor() local 94 …(&ConstructorClass::s_info, temp).first->second.set(exec->globalData(), globalObject, constructor); in getDOMConstructor() 95 return constructor; in getDOMConstructor()
|
/external/webkit/Source/JavaScriptCore/API/ |
D | JSCallbackConstructor.cpp | 59 JSObject* constructor = exec->callee(); in constructJSCallback() local 61 JSObjectRef constructorRef = toRef(constructor); in constructJSCallback() 63 …JSObjectCallAsConstructorCallback callback = static_cast<JSCallbackConstructor*>(constructor)->cal… in constructJSCallback() 81 …return JSValue::encode(toJS(JSObjectMake(ctx, static_cast<JSCallbackConstructor*>(constructor)->cl… in constructJSCallback()
|
/external/doclava/src/com/google/doclava/ |
D | SinceTagger.java | 150 for (MethodInfo constructor : doc.constructors()) { in versionConstructors() 151 if (constructor.getSince() == null in versionConstructors() 152 && spec.hasConstructor(constructor)) { in versionConstructors() 153 constructor.setSince(versionName); in versionConstructors() 208 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions() 209 Errors.error(Errors.NO_SINCE_DATA, constructor.position(), "XML missing constructor " in warnForMissingVersions() 210 + claz.qualifiedName() + "#" + constructor.getHashableName()); in warnForMissingVersions()
|
D | FederationTagger.java | 94 for (MethodInfo constructor : localClass.constructors()) { in federateConstructors() 95 if (federatedClass.hasConstructor(constructor)) { in federateConstructors() 96 constructor.addFederatedReference(site); in federateConstructors()
|
/external/webkit/Source/JavaScriptCore/runtime/ |
D | NativeErrorPrototype.cpp | 34 …alObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor) in NativeErrorPrototype() argument 39 putDirect(exec->globalData(), exec->propertyNames().constructor, constructor, DontEnum); in NativeErrorPrototype()
|
D | Executable.h | 102 …llThunk, NativeFunction function, MacroAssemblerCodePtr constructThunk, NativeFunction constructor) in create() argument 105 …return new (&globalData) NativeExecutable(globalData, JITCode(), function, JITCode(), constructor); in create() 106 …a, JITCode::HostFunction(callThunk), function, JITCode::HostFunction(constructThunk), constructor); in create() 109 …veExecutable* create(JSGlobalData& globalData, NativeFunction function, NativeFunction constructor) 111 return new (&globalData) NativeExecutable(globalData, function, constructor); 123 …ta, JITCode callThunk, NativeFunction function, JITCode constructThunk, NativeFunction constructor) in NativeExecutable() argument 126 , m_constructor(constructor) in NativeExecutable() 134 … NativeExecutable(JSGlobalData& globalData, NativeFunction function, NativeFunction constructor) 137 , m_constructor(constructor)
|
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | OutputHLSL.cpp | 108 …for (Constructors::iterator constructor = mConstructors.begin(); constructor != mConstructors.end(… in header() local 110 out << *constructor; in header() 1931 TString constructor; in addConstructor() local 1935 constructor += ctorName + " " + ctorName + "_ctor("; in addConstructor() 1939 constructor += typeString(ctorType) + " " + ctorName + "("; in addConstructor() 1946 constructor += typeString(type) + " x" + str(parameter) + arrayString(type); in addConstructor() 1950 constructor += ", "; in addConstructor() 1954 constructor += ")\n" in addConstructor() 1959 constructor += " " + ctorName + " structure = {"; in addConstructor() 1963 constructor += " return " + typeString(ctorType) + "("; in addConstructor() [all …]
|
/external/v8/src/ |
D | messages.js | 104 var constructor = obj.constructor; 105 if (!constructor) return ToStringCheckErrorObject(obj); 106 var constructorName = constructor.name; 117 function MakeGenericError(constructor, type, args) { argument 121 var e = new constructor(kAddMessageAccessorsMarker); 708 var constructor = this.receiver.constructor; 709 if (!constructor) 711 var constructorName = constructor.name; 822 var constructor = this.receiver ? this.receiver.constructor : null; 823 if (!constructor) [all …]
|
/external/junit/src/junit/framework/ |
D | TestSuite.java | 45 Constructor constructor; in createTest() local 47 constructor= getTestConstructor(theClass); in createTest() 53 if (constructor.getParameterTypes().length == 0) { in createTest() 54 test= constructor.newInstance(new Object[0]); in createTest() 58 test= constructor.newInstance(new Object[]{name}); in createTest()
|
/external/javassist/src/test/test/javassist/proxy/ |
D | ProxySerializationTest.java | 33 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization() local 34 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); in testSerialization() 60 Constructor constructor = proxyClass.getConstructor(new Class[] {String.class}); in testSerialization() local 61 TestClass proxy = (TestClass)constructor.newInstance(new Object[] {name}); in testSerialization()
|
/external/llvm/test/FrontendC/ |
D | 2008-03-03-CtorAttrType.c | 2 int __attribute__((constructor)) foo(void) { in foo() 5 void __attribute__((constructor)) bar(void) {} in bar()
|
/external/v8/test/mjsunit/regress/ |
D | regress-1172.js | 36 assertSame(f, f.prototype.constructor); 39 assertSame(f, o.constructor);
|
/external/clang/test/CodeGenObjCXX/ |
D | arc-special-member-functions.mm | 103 // Implicitly-generated copy constructor for ObjCBlockMember 113 // Implicitly-generated default constructor for ObjCBlockMember 118 // Implicitly-generated copy constructor for ObjCArrayMember 139 // Implicitly-generated default constructor for ObjCArrayMember 144 // Implicitly-generated copy constructor for ObjCMember 156 // Implicitly-generated default constructor for ObjCMember
|
/external/clang/test/CodeGen/ |
D | constructor-attribute.c | 9 void A() __attribute__((constructor)); 20 static void C() __attribute__((constructor));
|
/external/qemu/ |
D | qemu-timer-common.c | 33 static void __attribute__((constructor)) init_get_clock(void) in init_get_clock() 49 static void __attribute__((constructor)) init_get_clock(void) in init_get_clock()
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSemaKinds.td | 180 "can not inherit constructor, already inherited constructor with " 183 "conflicting constructor">; 185 "previous constructor">; 193 "using declaration can not refer to a constructor">; 212 "declaration requires a global constructor">, 551 "must use a qualified name when declaring a %select{constructor|" 635 "calling a %select{private|protected}0 constructor of class %2">, 638 "C++98 requires an accessible copy constructor for class %2 when binding " 646 "|*ERROR*|}2constructor">, AccessControl; 651 "%select{default |copy |move |*ERROR* |*ERROR* |*ERROR* |}1constructor">, [all …]
|
/external/clang/test/SemaObjCXX/ |
D | arc-non-pod.mm | 4 …jectMember0' cannot be shared between ARC and non-ARC code; add a copy constructor, a copy assignm… 8 …jectMember1' cannot be shared between ARC and non-ARC code; add a copy constructor, a copy assignm… 12 …jectMember2' cannot be shared between ARC and non-ARC code; add a copy constructor, a copy assignm… 29 …nterMember0' cannot be shared between ARC and non-ARC code; add a copy constructor, a copy assignm… 33 …nterMember1' cannot be shared between ARC and non-ARC code; add a copy constructor, a copy assignm… 112 } an_object; // expected-error{{union member 'an_object' has a non-trivial copy constructor}}
|