/external/webkit/Source/JavaScriptCore/runtime/ |
H A D | JSObjectWithGlobalObject.cpp | 33 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalObject* globalObject, Structure* structure) argument 34 : JSNonFinalObject(globalObject->globalData(), structure) 37 ASSERT(!globalObject || globalObject->isGlobalObject()); 38 if (!globalObject) 41 putAnonymousValue(globalObject->globalData(), GlobalObjectSlot, globalObject); 44 JSObjectWithGlobalObject::JSObjectWithGlobalObject(JSGlobalData& globalData, JSGlobalObject* globalObject, Structure* structure) argument 48 ASSERT(!globalObject || globalObject [all...] |
H A D | NativeErrorPrototype.cpp | 34 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor) argument 35 : JSObjectWithGlobalObject(globalObject, structure)
|
H A D | BooleanPrototype.cpp | 40 BooleanPrototype::BooleanPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) argument 45 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, booleanProtoFuncToString), DontEnum); 46 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, booleanProtoFuncValueOf), DontEnum);
|
H A D | ErrorPrototype.cpp | 38 ErrorPrototype::ErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, Structure* functionStructure) argument 44 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, errorProtoFuncToString), DontEnum);
|
H A D | JSObjectWithGlobalObject.h | 42 JSGlobalObject* globalObject() const function in class:JSC::JSObjectWithGlobalObject
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | JSCDATASectionCustom.cpp | 35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, CDATASection* section) argument 40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, CDATASection, section);
|
H A D | JSCSSValueCustom.cpp | 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSValue* value) argument 58 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSTransformValue, value); 60 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValueList, value); 63 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPaint, value); 65 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGColor, value); 68 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPrimitiveValue, value); 70 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValue, value);
|
H A D | JSCanvasRenderingContextCustom.cpp | 40 JSC::JSValue toJS(JSC::ExecState* exec, JSDOMGlobalObject* globalObject, CanvasRenderingContext* object) argument 47 return wrap<JSWebGLRenderingContext>(exec, globalObject, static_cast<WebGLRenderingContext*>(object)); 50 return wrap<JSCanvasRenderingContext2D>(exec, globalObject, static_cast<CanvasRenderingContext2D*>(object));
|
H A D | JSDOMWrapper.h | 31 explicit JSDOMWrapper(JSC::JSGlobalObject* globalObject, JSC::Structure* structure) argument 32 : JSObjectWithGlobalObject(globalObject, structure)
|
H A D | JSEntryCustom.cpp | 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Entry* entry) argument 53 return getDOMObjectWrapper<JSFileEntry>(exec, globalObject, static_cast<FileEntry*>(entry)); 56 return getDOMObjectWrapper<JSDirectoryEntry>(exec, globalObject, static_cast<DirectoryEntry*>(entry));
|
H A D | JSEntrySyncCustom.cpp | 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, EntrySync* entry) argument 53 return getDOMObjectWrapper<JSFileEntrySync>(exec, globalObject, static_cast<FileEntrySync*>(entry)); 56 return getDOMObjectWrapper<JSDirectoryEntrySync>(exec, globalObject, static_cast<DirectoryEntrySync*>(entry));
|
H A D | JSIDBAnyCustom.cpp | 54 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, IDBAny* idbAny) argument 65 return toJS(exec, globalObject, idbAny->idbCursor()); 67 return toJS(exec, globalObject, idbAny->idbDatabase()); 69 return toJS(exec, globalObject, idbAny->idbFactory()); 71 return toJS(exec, globalObject, idbAny->idbIndex()); 73 return toJS(exec, globalObject, idbAny->idbKey()); 75 return toJS(exec, globalObject, idbAny->idbObjectStore()); 77 return toJS(exec, globalObject, idbAny->idbTransaction()); 79 return idbAny->serializedScriptValue()->deserialize(exec, globalObject);
|
H A D | JSSVGPathSegCustom.cpp | 61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, SVGPathSeg* object) argument 71 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegClosePath, object); 73 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoAbs, object); 75 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegMovetoRel, object); 77 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoAbs, object); 79 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegLinetoRel, object); 81 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicAbs, object); 83 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoCubicRel, object); 85 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticAbs, object); 87 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPathSegCurvetoQuadraticRe [all...] |
H A D | JSTextCustom.cpp | 35 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Text* text) argument 40 return CREATE_DOM_NODE_WRAPPER(exec, globalObject, Text, text);
|
H A D | JSTouchCustom.cpp | 37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, Touch* touch) argument 42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, Touch, touch);
|
H A D | JSTouchListCustom.cpp | 37 JSValue toJSNewlyCreated(ExecState* exec, JSDOMGlobalObject* globalObject, TouchList* touchList) argument 42 return CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchList, touchList);
|
H A D | JSCSSRuleCustom.cpp | 61 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSRule* rule) argument 72 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSStyleRule, rule); 75 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSMediaRule, rule); 78 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSFontFaceRule, rule); 81 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPageRule, rule); 84 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSImportRule, rule); 87 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSCharsetRule, rule); 90 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSKeyframeRule, rule); 93 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSKeyframesRule, rule); 96 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSRul [all...] |
H A D | JSCustomApplicationInstalledCallback.h | 39 static PassRefPtr<JSCustomApplicationInstalledCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument 41 return adoptRef(new JSCustomApplicationInstalledCallback(callback, globalObject)); 47 JSCustomApplicationInstalledCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
|
H A D | JSCustomPositionCallback.h | 40 static PassRefPtr<JSCustomPositionCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument 42 return adoptRef(new JSCustomPositionCallback(callback, globalObject));
|
H A D | JSCustomPositionErrorCallback.h | 39 static PassRefPtr<JSCustomPositionErrorCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument 41 return adoptRef(new JSCustomPositionErrorCallback(callback, globalObject)); 45 JSCustomPositionErrorCallback(JSC::JSObject* callback, JSDOMGlobalObject* globalObject);
|
H A D | JSEventCustom.cpp | 114 return impl()->isClipboardEvent() ? toJS(exec, globalObject(), impl()->clipboardData()) : jsUndefined(); 117 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, Event* event) argument 130 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, KeyboardEvent, event); 132 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TextEvent, event); 134 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, MouseEvent, event); 136 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WheelEvent, event); 139 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGZoomEvent, event); 142 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CompositionEvent, event); 145 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, TouchEvent, event); 148 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, UIEven [all...] |
H A D | JSImageDataCustom.cpp | 39 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, ImageData* imageData) argument 48 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, ImageData, imageData);
|
H A D | JSCustomApplicationInstalledCallback.cpp | 38 JSCustomApplicationInstalledCallback::JSCustomApplicationInstalledCallback(JSObject* callback, JSDOMGlobalObject* globalObject) argument 39 : m_data(callback, globalObject) 48 ExecState* exec = m_data.globalObject()->globalExec();
|
/external/webkit/Source/WebCore/bindings/scripts/test/JS/ |
H A D | JSTestCallback.h | 35 static PassRefPtr<JSTestCallback> create(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) argument 37 return adoptRef(new JSTestCallback(callback, globalObject));
|
/external/webkit/Source/JavaScriptGlue/ |
H A D | testjsglue.cpp | 47 JSObjectRef globalObject = JSRunCopyGlobalObject(jsRun); local 49 JSObjectRef getX = JSObjectCopyProperty(globalObject, CFSTR("getX")); 50 JSObjectRef jsResult = JSObjectCallFunction(getX, globalObject, 0);
|