/external/webkit/Source/WebKit/mac/ForwardingHeaders/runtime/ |
JSObject.h | 1 #import <JavaScriptCore/JSObject.h>
|
/external/webkit/Source/WebCore/ForwardingHeaders/runtime/ |
JSObject.h | 3 #include <JavaScriptCore/JSObject.h>
|
/external/webkit/Source/JavaScriptCore/runtime/ |
Error.h | 26 #include "JSObject.h" 34 class JSObject; 40 JSObject* createError(JSGlobalObject*, const UString&); 41 JSObject* createEvalError(JSGlobalObject*, const UString&); 42 JSObject* createRangeError(JSGlobalObject*, const UString&); 43 JSObject* createReferenceError(JSGlobalObject*, const UString&); 44 JSObject* createSyntaxError(JSGlobalObject*, const UString&); 45 JSObject* createTypeError(JSGlobalObject*, const UString&); 46 JSObject* createURIError(JSGlobalObject*, const UString&); 48 JSObject* createError(ExecState*, const UString&) [all...] |
ExceptionHelpers.h | 42 class JSObject; 46 JSObject* createInterruptedExecutionException(JSGlobalData*); 47 JSObject* createTerminatedExecutionException(JSGlobalData*); 48 JSObject* createStackOverflowError(ExecState*); 49 JSObject* createStackOverflowError(JSGlobalObject*); 50 JSObject* createOutOfMemoryError(JSGlobalObject*); 51 JSObject* createUndefinedVariableError(ExecState*, const Identifier&); 52 JSObject* createNotAnObjectError(ExecState*, JSValue); 53 JSObject* createInvalidParamError(ExecState*, const char* op, JSValue); 54 JSObject* createNotAConstructorError(ExecState*, JSValue) [all...] |
ExceptionHelpers.cpp | 36 #include "JSObject.h" 56 JSObject* createInterruptedExecutionException(JSGlobalData* globalData) 73 JSObject* createTerminatedExecutionException(JSGlobalData* globalData) 78 JSObject* createStackOverflowError(ExecState* exec) 83 JSObject* createStackOverflowError(JSGlobalObject* globalObject) 88 JSObject* createUndefinedVariableError(ExecState* exec, const Identifier& ident) 94 JSObject* createInvalidParamError(ExecState* exec, const char* op, JSValue value) 97 JSObject* exception = createTypeError(exec, errorMessage); 103 JSObject* createNotAConstructorError(ExecState* exec, JSValue value) 106 JSObject* exception = createTypeError(exec, errorMessage) [all...] |
Error.cpp | 31 #include "JSObject.h" 42 JSObject* createError(JSGlobalObject* globalObject, const UString& message) 48 JSObject* createEvalError(JSGlobalObject* globalObject, const UString& message) 54 JSObject* createRangeError(JSGlobalObject* globalObject, const UString& message) 60 JSObject* createReferenceError(JSGlobalObject* globalObject, const UString& message) 66 JSObject* createSyntaxError(JSGlobalObject* globalObject, const UString& message) 72 JSObject* createTypeError(JSGlobalObject* globalObject, const UString& message) 78 JSObject* createURIError(JSGlobalObject* globalObject, const UString& message) 84 JSObject* createError(ExecState* exec, const UString& message) 89 JSObject* createEvalError(ExecState* exec, const UString& message [all...] |
GetterSetter.h | 33 class JSObject; 47 JSObject* getter() const { return m_getter.get(); } 48 void setGetter(JSGlobalData& globalData, JSObject* getter) { m_getter.set(globalData, this, getter); } 49 JSObject* setter() const { return m_setter.get(); } 50 void setSetter(JSGlobalData& globalData, JSObject* setter) { m_setter.set(globalData, this, setter); } 58 WriteBarrier<JSObject> m_getter; 59 WriteBarrier<JSObject> m_setter;
|
JSObject.cpp | 25 #include "JSObject.h" 44 ASSERT_CLASS_FITS_IN_CELL(JSObject); 50 const ClassInfo JSObject::s_info = { "Object", 0, 0, 0 }; 71 void JSObject::markChildren(MarkStack& markStack) 85 UString JSObject::className() const 92 bool JSObject::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) 103 void JSObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) 119 for (JSObject* obj = this; !obj->structure()->hasGetterSetterProperties(); obj = asObject(prototype)) { 136 for (JSObject* obj = this; ; obj = asObject(prototype)) { 139 JSObject* setterFunc = asGetterSetter(gs)->setter(); [all...] |
JSObject.h | 57 JSObject* throwTypeError(ExecState*, const UString&); 75 class JSObject : public JSCell { 79 friend void setUpStaticFunctionSlot(ExecState* exec, const HashEntry* entry, JSObject* thisObj, const Identifier& propertyName, PropertySlot& slot); 87 virtual ~JSObject(); 140 virtual JSObject* toObject(ExecState*, JSGlobalObject*) const; 142 virtual JSObject* toThisObject(ExecState*) const; 144 virtual JSObject* unwrappedObject(); 200 virtual void defineGetter(ExecState*, const Identifier& propertyName, JSObject* getterFunction, unsigned attributes = 0); 201 virtual void defineSetter(ExecState*, const Identifier& propertyName, JSObject* setterFunction, unsigned attributes = 0); 266 JSObject(JSGlobalData&, Structure*, PropertyStorage inlineStorage) [all...] |
ScopeChain.h | 32 class JSObject; 38 ScopeChainNode(ScopeChainNode* next, JSObject* object, JSGlobalData* globalData, JSGlobalObject* globalObject, JSObject* globalThis) 52 WriteBarrier<JSObject> object; 54 WriteBarrier<JSObject> globalThis; 56 ScopeChainNode* push(JSObject*); 75 inline ScopeChainNode* ScopeChainNode::push(JSObject* o) 94 WriteBarrier<JSObject> const & operator*() const { return m_node->object; } 95 WriteBarrier<JSObject> const * operator->() const { return &(operator*()); } 129 ALWAYS_INLINE JSObject* ExecState::globalThisValue() cons [all...] |
PutPropertySlot.h | 34 class JSObject; 48 void setExistingProperty(JSObject* base, size_t offset) 55 void setNewProperty(JSObject* base, size_t offset) 63 JSObject* base() const { return m_base; } 74 JSObject* m_base;
|
/external/skia/include/xml/ |
SkJS.h | 19 typedef struct JSObject JSObject; 34 void InitializeDisplayables(const SkBitmap& , JSContext *, JSObject *, JSObject *); 38 JSObject *fGlobal;
|
/external/skia/legacy/include/xml/ |
SkJS.h | 19 typedef struct JSObject JSObject; 34 void InitializeDisplayables(const SkBitmap& , JSContext *, JSObject *, JSObject *); 38 JSObject *fGlobal;
|
/external/webkit/Source/JavaScriptCore/API/ |
JSObjectRef.cpp | 45 #include "JSObject.h" 85 if (JSObject* prototype = jsClass->prototype(exec)) 127 JSObject* result = constructFunction(exec, exec->lexicalGlobalObject(), args, nameID, sourceURL->ustring(), startingLineNumber); 142 JSObject* result; 171 JSObject* result = constructDate(exec, exec->lexicalGlobalObject(), argList); 189 JSObject* result = ErrorInstance::create(exec, errorStructure, message); 210 JSObject* result = constructRegExp(exec, exec->lexicalGlobalObject(), argList); 226 JSObject* jsObject = toJS(object); 227 return toRef(exec, jsObject->prototype()) [all...] |
/external/webkit/Source/WebCore/bridge/ |
testM.js | 5 myInterface.jsobject = new Function ("arg1","arg2","return arg1 + arg2;"); 6 myInterface.logMessage ("myInterface.jsobject =" + myInterface.jsobject); 11 myInterface.logMessage ("myInterface.jsobject =" + myInterface.jsobject);
|
runtime_root.cpp | 52 // fix them by adding a JSObject to RootObject dictionary. 54 RootObject* findProtectingRootObject(JSObject* jsObject) 58 if ((*it)->gcIsProtected(jsObject)) 133 void RootObject::gcProtect(JSObject* jsObject) 137 if (!m_protectCountSet.contains(jsObject)) 138 JSC::gcProtect(jsObject); 139 m_protectCountSet.add(jsObject); 142 void RootObject::gcUnprotect(JSObject* jsObject [all...] |
/external/v8/src/ |
stub-cache.h | 81 Handle<JSObject> receiver); 84 Handle<JSObject> receiver, 85 Handle<JSObject> holder, 89 Handle<JSObject> receiver, 90 Handle<JSObject> holder, 94 Handle<JSObject> receiver, 95 Handle<JSObject> holder, 99 Handle<JSObject> receiver, 100 Handle<JSObject> holder); 105 Handle<JSObject> receiver [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSEventListener.h | 33 static PassRefPtr<JSEventListener> create(JSC::JSObject* listener, JSC::JSObject* wrapper, bool isAttribute, DOMWrapperWorld* isolatedWorld) 52 JSC::JSObject* jsFunction(ScriptExecutionContext*) const; 55 JSC::JSObject* wrapper() const { return m_wrapper.get(); } 56 void setWrapper(JSC::JSGlobalData& globalData, JSC::JSObject* wrapper) const { m_wrapper.set(globalData, wrapper, 0); } 59 virtual JSC::JSObject* initializeJSFunction(ScriptExecutionContext*) const; 64 JSEventListener(JSC::JSObject* function, JSC::JSObject* wrapper, bool isAttribute, DOMWrapperWorld* isolatedWorld); 68 mutable JSC::WriteBarrier<JSC::JSObject> m_jsFunction; 69 mutable JSC::Weak<JSC::JSObject> m_wrapper [all...] |
JSDOMGlobalObject.h | 42 typedef HashMap<const JSC::ClassInfo*, JSC::WriteBarrier<JSC::JSObject> > JSDOMConstructorMap; 49 JSDOMGlobalObject(JSC::JSGlobalData&, JSC::Structure*, PassRefPtr<DOMWrapperWorld>, JSC::JSObject* thisValue); 63 void setInjectedScript(JSObject*); 64 JSObject* injectedScript() const; 83 JSC::WriteBarrier<JSObject> m_injectedScript; 87 inline JSC::JSObject* getDOMConstructor(JSC::ExecState* exec, const JSDOMGlobalObject* globalObject) 89 if (JSC::JSObject* constructor = const_cast<JSDOMGlobalObject*>(globalObject)->constructors().get(&ConstructorClass::s_info).get()) 91 JSC::JSObject* constructor = new (exec) ConstructorClass(exec, const_cast<JSDOMGlobalObject*>(globalObject)); 93 JSC::WriteBarrier<JSC::JSObject> temp;
|
JSCallbackData.h | 36 #include <runtime/JSObject.h> 42 // JSObject on the wrong thread without synchronization would corrupt the heap 49 JSCallbackData(JSC::JSObject* callback, JSDOMGlobalObject* globalObject) 63 JSC::JSObject* callback() { return m_callback.get(); } 69 JSC::Strong<JSC::JSObject> m_callback;
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NPRuntimeObjectMap.h | 39 class JSObject; 63 // Returns an NPObject that wraps the given JSObject object. If there is already an NPObject that wraps this JSObject, it will 65 NPObject* getOrCreateNPObject(JSC::JSGlobalData&, JSC::JSObject*); 68 // Returns a JSObject object that wraps the given NPObject. 69 JSC::JSObject* getOrCreateJSObject(JSC::JSGlobalObject*, NPObject*); 89 HashMap<JSC::JSObject*, NPJSObject*> m_npJSObjects;
|
NPRuntimeObjectMap.cpp | 62 NPObject* NPRuntimeObjectMap::getOrCreateNPObject(JSGlobalData& globalData, JSObject* jsObject) 65 if (jsObject->classInfo() == &JSNPObject::s_info) { 66 JSNPObject* jsNPObject = static_cast<JSNPObject*>(jsObject); 74 if (NPJSObject* npJSObject = m_npJSObjects.get(jsObject)) { 79 NPJSObject* npJSObject = NPJSObject::create(globalData, this, jsObject); 80 m_npJSObjects.set(jsObject, npJSObject); 88 ASSERT(m_npJSObjects.contains(npJSObject->jsObject())); 89 m_npJSObjects.remove(npJSObject->jsObject()); 92 JSObject* NPRuntimeObjectMap::getOrCreateJSObject(JSGlobalObject* globalObject, NPObject* npObject [all...] |
/external/webkit/Source/WebCore/bindings/objc/ |
WebScriptObjectPrivate.h | 35 class JSObject; 42 NSObject* getJSWrapper(JSC::JSObject*); 43 void addJSWrapper(NSObject* wrapper, JSC::JSObject*); 44 void removeJSWrapper(JSC::JSObject*); 45 id createJSWrapper(JSC::JSObject*, PassRefPtr<JSC::Bindings::RootObject> origin, PassRefPtr<JSC::Bindings::RootObject> root); 50 + (id)scriptObjectForJSObject:(JSObjectRef)jsObject originRootObject:(JSC::Bindings::RootObject*)originRootObject rootObject:(JSC::Bindings::RootObject*)rootObject; 52 - (id)_initWithJSObject:(JSC::JSObject*)imp originRootObject:(PassRefPtr<JSC::Bindings::RootObject>)originRootObject rootObject:(PassRefPtr<JSC::Bindings::RootObject>)rootObject; 53 - (void)_setImp:(JSC::JSObject*)imp originRootObject:(PassRefPtr<JSC::Bindings::RootObject>)originRootObject rootObject:(PassRefPtr<JSC::Bindings::RootObject>)rootObject; 56 - (JSC::JSObject *)_imp; 75 JSC::JSObject *imp [all...] |
/external/webkit/Source/WebCore/bindings/scripts/test/JS/ |
JSTestObj.h | 37 static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*); 71 static JSC::JSObject* self(JSC::ExecState*, JSC::JSGlobalObject*); 128 void setJSTestObjShortAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 130 void setJSTestObjUnsignedShortAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 132 void setJSTestObjIntAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 134 void setJSTestObjLongLongAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 136 void setJSTestObjUnsignedLongLongAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 138 void setJSTestObjStringAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 140 void setJSTestObjTestObjAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue); 142 void setJSTestObjXMLObjAttr(JSC::ExecState*, JSC::JSObject*, JSC::JSValue) [all...] |
/external/webkit/Source/JavaScriptCore/debugger/ |
DebuggerActivation.h | 29 #include "JSObject.h" 37 DebuggerActivation(JSGlobalData&, JSObject*); 47 virtual void defineGetter(ExecState*, const Identifier& propertyName, JSObject* getterFunction, unsigned attributes); 48 virtual void defineSetter(ExecState*, const Identifier& propertyName, JSObject* setterFunction, unsigned attributes); 58 static const unsigned StructureFlags = OverridesGetOwnPropertySlot | OverridesMarkChildren | JSObject::StructureFlags;
|