Home
last modified time | relevance | path

Searched refs:jsConstructor (Results 1 – 24 of 24) sorted by relevance

/external/webkit/Source/WebCore/bindings/js/
DJSAudioConstructor.cpp52 JSAudioConstructor* jsConstructor = static_cast<JSAudioConstructor*>(exec->callee()); in constructAudio() local
54 Document* document = jsConstructor->document(); in constructAudio()
61 toJS(exec, jsConstructor->globalObject(), document); in constructAudio()
69 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), in constructAudio()
DJSImageConstructor.cpp46 JSImageConstructor* jsConstructor = static_cast<JSImageConstructor*>(exec->callee()); in constructImage() local
47 Document* document = jsConstructor->document(); in constructImage()
54 toJS(exec, jsConstructor->globalObject(), document); in constructImage()
68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), in constructImage()
DJSMessageChannelCustom.cpp49 …JSMessageChannelConstructor* jsConstructor = static_cast<JSMessageChannelConstructor*>(exec->calle… in constructJSMessageChannel() local
50 ScriptExecutionContext* context = jsConstructor->scriptExecutionContext(); in constructJSMessageChannel()
54 …return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), MessageChannel::create(c… in constructJSMessageChannel()
DJSEventSourceCustom.cpp56 … JSEventSourceConstructor* jsConstructor = static_cast<JSEventSourceConstructor*>(exec->callee()); in constructJSEventSource() local
57 ScriptExecutionContext* context = jsConstructor->scriptExecutionContext(); in constructJSEventSource()
68 …return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), eventSource.release()))); in constructJSEventSource()
DJSAudioContextCustom.cpp44 …JSAudioContextConstructor* jsConstructor = static_cast<JSAudioContextConstructor*>(exec->callee()); in constructJSAudioContext() local
45 if (!jsConstructor) in constructJSAudioContext()
48 ScriptExecutionContext* scriptExecutionContext = jsConstructor->scriptExecutionContext(); in constructJSAudioContext()
78 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), audioContext.get()))); in constructJSAudioContext()
DJSWebSocketCustom.cpp49 JSWebSocketConstructor* jsConstructor = static_cast<JSWebSocketConstructor*>(exec->callee()); in constructJSWebSocket() local
50 ScriptExecutionContext* context = jsConstructor->scriptExecutionContext(); in constructJSWebSocket()
72 …return JSValue::encode(CREATE_DOM_OBJECT_WRAPPER(exec, jsConstructor->globalObject(), WebSocket, w… in constructJSWebSocket()
DJSOptionConstructor.cpp48 JSOptionConstructor* jsConstructor = static_cast<JSOptionConstructor*>(exec->callee()); in constructHTMLOptionElement() local
49 Document* document = jsConstructor->document(); in constructHTMLOptionElement()
70 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), element.release()))); in constructHTMLOptionElement()
DJSArrayBufferCustom.cpp39 … JSArrayBufferConstructor* jsConstructor = static_cast<JSArrayBufferConstructor*>(exec->callee()); in constructJSArrayBuffer() local
49 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), buffer.get()))); in constructJSArrayBuffer()
DJSWebKitPointCustom.cpp37 … JSWebKitPointConstructor* jsConstructor = static_cast<JSWebKitPointConstructor*>(exec->callee()); in constructJSWebKitPoint() local
49 …return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), WebKitPoint::create(x, y… in constructJSWebKitPoint()
DJSWebKitCSSMatrixCustom.cpp37 …JSWebKitCSSMatrixConstructor* jsConstructor = static_cast<JSWebKitCSSMatrixConstructor*>(exec->cal… in constructJSWebKitCSSMatrix() local
45 …return JSValue::encode(CREATE_DOM_OBJECT_WRAPPER(exec, jsConstructor->globalObject(), WebKitCSSMat… in constructJSWebKitCSSMatrix()
DJSFloat32ArrayCustom.cpp53 …JSFloat32ArrayConstructor* jsConstructor = static_cast<JSFloat32ArrayConstructor*>(exec->callee()); in constructJSFloat32Array() local
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSFloat32Array()
DJSInt16ArrayCustom.cpp53 JSInt16ArrayConstructor* jsConstructor = static_cast<JSInt16ArrayConstructor*>(exec->callee()); in constructJSInt16Array() local
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSInt16Array()
DJSUint16ArrayCustom.cpp53 … JSUint16ArrayConstructor* jsConstructor = static_cast<JSUint16ArrayConstructor*>(exec->callee()); in constructJSUint16Array() local
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSUint16Array()
DJSInt32ArrayCustom.cpp53 JSInt32ArrayConstructor* jsConstructor = static_cast<JSInt32ArrayConstructor*>(exec->callee()); in constructJSInt32Array() local
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSInt32Array()
DJSInt8ArrayCustom.cpp54 JSInt8ArrayConstructor* jsConstructor = static_cast<JSInt8ArrayConstructor*>(exec->callee()); in constructJSInt8Array() local
59 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSInt8Array()
DJSUint32ArrayCustom.cpp53 … JSUint32ArrayConstructor* jsConstructor = static_cast<JSUint32ArrayConstructor*>(exec->callee()); in constructJSUint32Array() local
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSUint32Array()
DJSUint8ArrayCustom.cpp53 JSUint8ArrayConstructor* jsConstructor = static_cast<JSUint8ArrayConstructor*>(exec->callee()); in constructJSUint8Array() local
58 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), array.get()))); in constructJSUint8Array()
DJSWorkerCustom.cpp49 JSWorkerConstructor* jsConstructor = static_cast<JSWorkerConstructor*>(exec->callee()); in constructJSWorker() local
68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release()))); in constructJSWorker()
DJSDOMFormDataCustom.cpp51 … JSDOMFormDataConstructor* jsConstructor = static_cast<JSDOMFormDataConstructor*>(exec->callee()); in constructJSDOMFormData() local
57 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), domFormData.get()))); in constructJSDOMFormData()
DJSSharedWorkerCustom.cpp56 …JSSharedWorkerConstructor* jsConstructor = static_cast<JSSharedWorkerConstructor*>(exec->callee()); in constructJSSharedWorker() local
78 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release()))); in constructJSSharedWorker()
DJSXMLHttpRequestCustom.cpp204 …JSXMLHttpRequestConstructor* jsConstructor = static_cast<JSXMLHttpRequestConstructor*>(exec->calle… in constructJSXMLHttpRequest() local
205 ScriptExecutionContext* context = jsConstructor->scriptExecutionContext(); in constructJSXMLHttpRequest()
210 …return JSValue::encode(CREATE_DOM_OBJECT_WRAPPER(exec, jsConstructor->globalObject(), XMLHttpReque… in constructJSXMLHttpRequest()
DJSXSLTProcessorCustom.cpp121 …JSXSLTProcessorConstructor* jsConstructor = static_cast<JSXSLTProcessorConstructor*>(exec->callee(… in constructJSXSLTProcessor() local
122 …return JSValue::encode(CREATE_DOM_OBJECT_WRAPPER(exec, jsConstructor->globalObject(), XSLTProcesso… in constructJSXSLTProcessor()
DJSDataViewCustom.cpp61 JSDataViewConstructor* jsConstructor = static_cast<JSDataViewConstructor*>(exec->callee()); in constructJSDataView() local
62 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), view.get()))); in constructJSDataView()
/external/webkit/Source/JavaScriptCore/API/
DJSValueRef.cpp175 JSObject* jsConstructor = toJS(constructor); in JSValueIsInstanceOfConstructor() local
176 if (!jsConstructor->structure()->typeInfo().implementsHasInstance()) in JSValueIsInstanceOfConstructor()
178 …bool result = jsConstructor->hasInstance(exec, jsValue, jsConstructor->get(exec, exec->propertyNam… in JSValueIsInstanceOfConstructor()