Home
last modified time | relevance | path

Searched refs:constructor (Results 1 – 25 of 217) sorted by relevance

123456789

/external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
D15.6.2.js55 … "(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/JavaScriptCore/tests/mozilla/ecma/Number/
D15.7.2.js66 …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/webkit/JavaScriptCore/runtime/
DError.cpp43 JSObject* constructor; in create() local
47 constructor = exec->lexicalGlobalObject()->evalErrorConstructor(); in create()
51 constructor = exec->lexicalGlobalObject()->rangeErrorConstructor(); in create()
55 constructor = exec->lexicalGlobalObject()->referenceErrorConstructor(); in create()
59 constructor = exec->lexicalGlobalObject()->syntaxErrorConstructor(); in create()
63 constructor = exec->lexicalGlobalObject()->typeErrorConstructor(); in create()
67 constructor = exec->lexicalGlobalObject()->URIErrorConstructor(); in create()
71 constructor = exec->lexicalGlobalObject()->errorConstructor(); in create()
82 ConstructType constructType = constructor->getConstructData(constructData); in create()
83 JSObject* error = construct(exec, constructor, constructType, constructData, args); in create()
DNativeErrorConstructor.cpp51 static JSObject* constructWithNativeErrorConstructor(ExecState* exec, JSObject* constructor, const … in constructWithNativeErrorConstructor() argument
53 return static_cast<NativeErrorConstructor*>(constructor)->construct(exec, args); in constructWithNativeErrorConstructor()
62 static JSValue JSC_HOST_CALL callNativeErrorConstructor(ExecState* exec, JSObject* constructor, JSV… in callNativeErrorConstructor() argument
64 return static_cast<NativeErrorConstructor*>(constructor)->construct(exec, args); in callNativeErrorConstructor()
DJSGlobalObject.cpp282 …d()->objectPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, object… in reset()
283 …d()->functionPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, func… in reset()
284 …d()->arrayPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, arrayCo… in reset()
285 …d()->booleanPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, boole… in reset()
286 …d()->stringPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, string… in reset()
287 …d()->numberPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, number… in reset()
288 …d()->datePrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, dateCons… in reset()
289 …d()->regExpPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, d()->r… in reset()
290 …errorPrototype->putDirectFunctionWithoutTransition(exec->propertyNames().constructor, d()->errorCo… in reset()
292 …evalErrorPrototype->putDirect(exec->propertyNames().constructor, d()->evalErrorConstructor, DontEn… in reset()
[all …]
/external/v8/test/mjsunit/
Darray-functions-prototype.js36 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();
Dmjsunit.js79 if (a.constructor === RegExp || b.constructor === RegExp) {
80 return (a.constructor === b.constructor) && (a.toString === b.toString);
85 if (a.constructor === Array) {
86 if (b.constructor !== Array)
/external/v8/src/
Dmessages.js92 var constructor = obj.constructor;
93 if (!constructor) return ToString(obj);
94 var constructorName = constructor.name;
103 function MakeGenericError(constructor, type, args) { argument
107 var e = new constructor(kAddMessageAccessorsMarker);
628 var constructor = this.receiver.constructor;
629 if (!constructor)
631 var constructorName = constructor.name;
731 var constructor = this.receiver ? this.receiver.constructor : null;
732 if (!constructor)
[all …]
Dheap-profiler.h62 explicit JSObjectsCluster(String* constructor) in JSObjectsCluster() argument
63 : constructor_(constructor), instance_(NULL) {} in JSObjectsCluster()
66 JSObjectsCluster(String* constructor, Object* instance) in JSObjectsCluster() argument
67 : constructor_(constructor), instance_(instance) {} in JSObjectsCluster()
88 String* constructor() const { return constructor_; } in constructor() function
/external/webkit/WebCore/bindings/js/
DJSDOMGlobalObject.h100 … if (JSC::JSObject* constructor = globalObject->constructors().get(&ConstructorClass::s_info)) in getDOMConstructor() local
101 return constructor; in getDOMConstructor()
102 …JSC::JSObject* constructor = new (exec) ConstructorClass(exec, const_cast<JSDOMGlobalObject*>(glob… in getDOMConstructor() local
104 globalObject->constructors().set(&ConstructorClass::s_info, constructor); in getDOMConstructor()
105 return constructor; in getDOMConstructor()
DJSXSLTProcessorConstructor.cpp50 static JSObject* constructXSLTProcessor(ExecState* exec, JSObject* constructor, const ArgList&) in constructXSLTProcessor() argument
52 … JSXSLTProcessorConstructor* jsConstructor = static_cast<JSXSLTProcessorConstructor*>(constructor); in constructXSLTProcessor()
DJSMessageChannelConstructor.cpp57 JSObject* JSMessageChannelConstructor::construct(ExecState* exec, JSObject* constructor, const ArgL… in construct() argument
59 …SMessageChannelConstructor* jsConstructor = static_cast<JSMessageChannelConstructor*>(constructor); in construct()
DJSXMLHttpRequestConstructor.cpp42 static JSObject* constructXMLHttpRequest(ExecState* exec, JSObject* constructor, const ArgList&) in constructXMLHttpRequest() argument
44 …SXMLHttpRequestConstructor* jsConstructor = static_cast<JSXMLHttpRequestConstructor*>(constructor); in constructXMLHttpRequest()
DScriptFunctionCall.cpp173 JSObject* constructor = asObject(thisObject->get(m_exec, Identifier(m_exec, m_name))); in construct() local
183 ConstructType constructType = constructor->getConstructData(constructData); in construct()
187 JSValue result = JSC::construct(m_exec, constructor, constructType, constructData, m_arguments); in construct()
DJSWebGLIntArrayConstructor.cpp52 static JSObject* constructCanvasIntArray(ExecState* exec, JSObject* constructor, const ArgList& arg… in constructCanvasIntArray() argument
54 … JSWebGLIntArrayConstructor* jsConstructor = static_cast<JSWebGLIntArrayConstructor*>(constructor); in constructCanvasIntArray()
DJSWebGLShortArrayConstructor.cpp53 static JSObject* constructCanvasShortArray(ExecState* exec, JSObject* constructor, const ArgList& a… in constructCanvasShortArray() argument
55 …ebGLShortArrayConstructor* jsConstructor = static_cast<JSWebGLShortArrayConstructor*>(constructor); in constructCanvasShortArray()
DJSWebGLByteArrayConstructor.cpp52 static JSObject* constructCanvasByteArray(ExecState* exec, JSObject* constructor, const ArgList& ar… in constructCanvasByteArray() argument
54 …SWebGLByteArrayConstructor* jsConstructor = static_cast<JSWebGLByteArrayConstructor*>(constructor); in constructCanvasByteArray()
DJSWebGLUnsignedIntArrayConstructor.cpp52 static JSObject* constructCanvasUnsignedIntArray(ExecState* exec, JSObject* constructor, const ArgL… in constructCanvasUnsignedIntArray() argument
54 …IntArrayConstructor* jsConstructor = static_cast<JSWebGLUnsignedIntArrayConstructor*>(constructor); in constructCanvasUnsignedIntArray()
DJSWebGLFloatArrayConstructor.cpp52 static JSObject* constructCanvasFloatArray(ExecState* exec, JSObject* constructor, const ArgList& a… in constructCanvasFloatArray() argument
54 …ebGLFloatArrayConstructor* jsConstructor = static_cast<JSWebGLFloatArrayConstructor*>(constructor); in constructCanvasFloatArray()
/external/webkit/JavaScriptCore/API/
DJSCallbackConstructor.cpp55 static JSObject* constructJSCallback(ExecState* exec, JSObject* constructor, const ArgList& args) in constructJSCallback() argument
58 JSObjectRef constructorRef = toRef(constructor); in constructJSCallback()
60 …JSObjectCallAsConstructorCallback callback = static_cast<JSCallbackConstructor*>(constructor)->cal… in constructJSCallback()
78 return toJS(JSObjectMake(ctx, static_cast<JSCallbackConstructor*>(constructor)->classRef(), 0)); in constructJSCallback()
/external/webkit/WebCore/platform/graphics/
DMediaPlayer.cpp131 …MediaPlayerFactory(CreateMediaEnginePlayer constructor, MediaEngineSupportedTypes getSupportedType… in MediaPlayerFactory()
132 : constructor(constructor) in MediaPlayerFactory()
138 CreateMediaEnginePlayer constructor; member
161 static void addMediaEngine(CreateMediaEnginePlayer constructor, MediaEngineSupportedTypes getSuppor… in addMediaEngine() argument
163 ASSERT(constructor); in addMediaEngine()
166 …installedMediaEngines().append(new MediaPlayerFactory(constructor, getSupportedTypes, supportsType… in addMediaEngine()
216 m_private.set(engines[0]->constructor(this)); in MediaPlayer()
253 m_private.set(engine->constructor(this)); in load()
/external/webkit/JavaScriptCore/wrec/
DWRECParser.cpp282 CharacterClassConstructor constructor(m_ignoreCase); in parseCharacterClass() local
299 constructor.flushBeforeEscapedHyphen(); in parseCharacterClass()
300 constructor.put(character); in parseCharacterClass()
306 constructor.append(characterClassEscape.characterClass()); in parseCharacterClass()
322 constructor.put(ch); in parseCharacterClass()
328 if (constructor.isUpsideDown()) { in parseCharacterClass()
333 constructor.flush(); in parseCharacterClass()
334 CharacterClass charClass = constructor.charClass(); in parseCharacterClass()
/external/junit/src/junit/framework/
DTestSuite.java45 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/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
D15.3.1.1-2.js69 …yfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
83 …func2.prototype.constructor", myfunc2, myfunc2.prototype.constructor );
97 …func3.prototype.constructor", myfunc3, myfunc3.prototype.constructor );
D15.3.2.1-2.js62 …yfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor );
76 …func2.prototype.constructor", myfunc2, myfunc2.prototype.constructor );
90 …func3.prototype.constructor", myfunc3, myfunc3.prototype.constructor );

123456789