Home
last modified time | relevance | path

Searched refs:jsObject (Results 1 – 19 of 19) sorted by relevance

/external/webkit/Source/JavaScriptCore/API/
DJSObjectRef.cpp226 JSObject* jsObject = toJS(object); in JSObjectGetPrototype() local
227 return toRef(exec, jsObject->prototype()); in JSObjectGetPrototype()
235 JSObject* jsObject = toJS(object); in JSObjectSetPrototype() local
238jsObject->setPrototypeWithCycleCheck(exec->globalData(), jsValue.isObject() ? jsValue : jsNull()); in JSObjectSetPrototype()
246 JSObject* jsObject = toJS(object); in JSObjectHasProperty() local
248 return jsObject->hasProperty(exec, propertyName->identifier(&exec->globalData())); in JSObjectHasProperty()
256 JSObject* jsObject = toJS(object); in JSObjectGetProperty() local
258 JSValue jsValue = jsObject->get(exec, propertyName->identifier(&exec->globalData())); in JSObjectGetProperty()
272 JSObject* jsObject = toJS(object); in JSObjectSetProperty() local
276 if (attributes && !jsObject->hasProperty(exec, name)) in JSObjectSetProperty()
[all …]
/external/webkit/Source/WebCore/bridge/
Druntime_root.cpp54 RootObject* findProtectingRootObject(JSObject* jsObject) in findProtectingRootObject() argument
58 if ((*it)->gcIsProtected(jsObject)) in findProtectingRootObject()
133 void RootObject::gcProtect(JSObject* jsObject) in gcProtect() argument
137 if (!m_protectCountSet.contains(jsObject)) in gcProtect()
138 JSC::gcProtect(jsObject); in gcProtect()
139 m_protectCountSet.add(jsObject); in gcProtect()
142 void RootObject::gcUnprotect(JSObject* jsObject) in gcUnprotect() argument
146 if (!jsObject) in gcUnprotect()
149 if (m_protectCountSet.count(jsObject) == 1) in gcUnprotect()
150 JSC::gcUnprotect(jsObject); in gcUnprotect()
[all …]
DNP_jsobject.cpp56 NPObject* get(RootObject* rootObject, JSObject* jsObject) in get() argument
58 return m_map.get(rootObject).get(jsObject); in get()
61 void add(RootObject* rootObject, JSObject* jsObject, NPObject* npObject) in add() argument
69 ASSERT(iter->second.find(jsObject) == iter->second.end()); in add()
70 iter->second.add(jsObject, npObject); in add()
80 void remove(RootObject* rootObject, JSObject* jsObject) in remove() argument
84 ASSERT(iter->second.find(jsObject) != iter->second.end()); in remove()
86 iter->second.remove(jsObject); in remove()
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
DNPRuntimeObjectMap.cpp62 NPObject* NPRuntimeObjectMap::getOrCreateNPObject(JSGlobalData& globalData, JSObject* jsObject) in getOrCreateNPObject() argument
65 if (jsObject->classInfo() == &JSNPObject::s_info) { in getOrCreateNPObject()
66 JSNPObject* jsNPObject = static_cast<JSNPObject*>(jsObject); in getOrCreateNPObject()
74 if (NPJSObject* npJSObject = m_npJSObjects.get(jsObject)) { in getOrCreateNPObject()
79 NPJSObject* npJSObject = NPJSObject::create(globalData, this, jsObject); in getOrCreateNPObject()
80 m_npJSObjects.set(jsObject, npJSObject); in getOrCreateNPObject()
88 ASSERT(m_npJSObjects.contains(npJSObject->jsObject())); in npJSObjectDestroyed()
89 m_npJSObjects.remove(npJSObject->jsObject()); in npJSObjectDestroyed()
96 return NPJSObject::toNPJSObject(npObject)->jsObject(); in getOrCreateJSObject()
DNPJSObject.cpp45 …ct* NPJSObject::create(JSGlobalData& globalData, NPRuntimeObjectMap* objectMap, JSObject* jsObject) in create() argument
48 ASSERT(!jsObject->inherits(&JSNPObject::s_info)); in create()
51 npJSObject->initialize(globalData, objectMap, jsObject); in create()
71 …NPJSObject::initialize(JSGlobalData& globalData, NPRuntimeObjectMap* objectMap, JSObject* jsObject) in initialize() argument
77 m_jsObject.set(globalData, jsObject); in initialize()
DNPJSObject.h51 JSC::JSObject* jsObject() const { return m_jsObject.get(); } in jsObject() function
/external/webkit/Source/WebCore/bindings/js/
DScriptFunctionCall.cpp51 m_arguments.append(argument.jsObject()); in appendArgument()
126 JSObject* thisObject = m_thisObject.jsObject(); in call()
164 JSObject* thisObject = m_thisObject.jsObject(); in construct()
DScriptObject.h48 JSC::JSObject* jsObject() const { return asObject(jsValue()); } in jsObject() function
DScriptObject.cpp65 …balObject()->putDirect(scriptState->globalData(), Identifier(scriptState, name), value.jsObject()); in set()
DJSInjectedScriptManager.cpp94 globalObject->setInjectedScript(injectedScriptObject.second.jsObject()); in injectedScriptFor()
/external/webkit/Tools/DumpRenderTree/mac/
DObjCController.m192 JSObjectRef jsObject = [webScriptObject JSObject];
194 if (!jsObject)
233 JSObjectRef jsObject = [storedWebScriptObject JSObject];
234 ASSERT((jsObject && isWindowObject) || (!jsObject && !isWindowObject));
/external/webkit/Source/WebCore/bindings/objc/
DWebScriptObjectPrivate.h50 + (id)scriptObjectForJSObject:(JSObjectRef)jsObject originRootObject:(JSC::Bindings::RootObject*)or…
DWebScriptObject.mm120 + (id)scriptObjectForJSObject:(JSObjectRef)jsObject originRootObject:(RootObject*)originRootObject …
122 if (id domWrapper = createDOMWrapper(toJS(jsObject), originRootObject, rootObject))
125 return WebCore::createJSWrapper(toJS(jsObject), originRootObject, rootObject);
/external/webkit/Source/WebCore/bindings/v8/
DV8DOMWrapper.cpp195 …pper::setNamedHiddenWindowReference(Frame* frame, const char* name, v8::Handle<v8::Value> jsObject) in setNamedHiddenWindowReference() argument
209 setNamedHiddenReference(global, name, jsObject); in setNamedHiddenWindowReference()
/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginView.cpp488 JSObject* jsObject = m_npRuntimeObjectMap.getOrCreateJSObject(globalObject, scriptableNPObject); in scriptObject() local
491 return jsObject; in scriptObject()
/external/webkit/Source/JavaScriptCore/jit/
DJITStubs.h68 JSObject* jsObject() { return static_cast<JSObject*>(asPointer); } in jsObject() function
DJITStubs.cpp1685 GetterSetter* getterSetter = asGetterSetter(stackFrame.args[0].jsObject()); in DEFINE_STUB_FUNCTION()
1691 …JSValue result = call(callFrame, getter, callType, callData, stackFrame.args[1].jsObject(), ArgLis… in DEFINE_STUB_FUNCTION()
1702 JSObject* slotBase = stackFrame.args[0].jsObject(); in DEFINE_STUB_FUNCTION()
3230 JSObject* o = stackFrame.args[0].jsObject(); in DEFINE_STUB_FUNCTION()
3242 JSObject* base = stackFrame.args[0].jsObject(); in DEFINE_STUB_FUNCTION()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2007-10-145430 imp => jsObject
/external/webkit/Source/WebKit2/
DChangeLog-2011-02-1637787 (WebKit::NPJSObject::jsObject):