Searched refs:asObject (Results 51 - 75 of 139) sorted by relevance

123456

/external/webkit/Source/JavaScriptCore/runtime/
H A DJSFunction.h114 ASSERT(asObject(value)->inherits(&JSFunction::s_info));
115 return static_cast<JSFunction*>(asObject(value));
H A DRegExpConstructor.h103 ASSERT(asObject(value)->inherits(&RegExpConstructor::s_info));
104 return static_cast<RegExpConstructor*>(asObject(value));
H A DJSONObject.cpp135 JSObject* object = asObject(value);
211 if (m_replacer.asObject()->inherits(&JSArray::s_info)) {
213 Handle<JSObject> array = m_replacer.asObject();
233 if (!asObject(name)->inherits(&NumberObject::s_info) && !asObject(name)->inherits(&StringObject::s_info))
244 m_replacerCallType = m_replacer.asObject()->getCallData(m_replacerCallData);
323 if (!value.isObject() || !asObject(value)->hasProperty(m_exec, m_exec->globalData().propertyNames->toJSON))
326 JSValue toJSONFunction = asObject(value)->get(m_exec, m_exec->globalData().propertyNames->toJSON);
333 JSObject* object = asObject(toJSONFunction);
396 JSObject* object = asObject(valu
[all...]
H A DCompletion.cpp72 exceptionType = asObject(exception)->exceptionType();
H A DObjectPrototype.cpp103 JSValue v = asObject(exec->argument(0))->prototype();
110 v = asObject(v)->prototype();
120 thisValue.toThisObject(exec)->defineGetter(exec, Identifier(exec, exec->argument(0).toString(exec)), asObject(exec->argument(1)));
130 thisValue.toThisObject(exec)->defineSetter(exec, Identifier(exec, exec->argument(0).toString(exec)), asObject(exec->argument(1)));
H A DJSObject.cpp119 for (JSObject* obj = this; !obj->structure()->hasGetterSetterProperties(); obj = asObject(prototype)) {
136 for (JSObject* obj = this; ; obj = asObject(prototype)) {
379 object = asObject(object->prototype());
398 object = asObject(object->prototype());
412 JSObject* object = asObject(value);
448 JSObject* prototype = asObject(this->prototype());
458 prototype = asObject(nextProto);
618 object = asObject(prototype);
629 accessor->setGetter(exec->globalData(), asObject(oldDescriptor.getter()));
633 accessor->setSetter(exec->globalData(), asObject(oldDescripto
[all...]
H A DJSObject.h394 inline JSObject* asObject(JSCell* cell) function in namespace:JSC
400 inline JSObject* asObject(JSValue value) function in namespace:JSC
402 return asObject(value.asCell());
432 JSObject* nextPrototype = asObject(nextPrototypeValue)->unwrappedObject();
511 return asObject(this)->inlineGetOwnPropertySlot(exec, propertyName, slot);
526 object = asObject(prototype);
539 object = asObject(prototype);
766 JSValue prototype = asObject(cell)->prototype();
769 cell = asObject(prototype);
791 JSValue prototype = asObject(cel
[all...]
H A DJSValue.cpp194 return asObject(asObject(asCell())->getAnonymousValue(0))->isGlobalObject();
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerCallFrame.cpp83 return asObject(thisValue);
/external/webkit/Source/WebCore/bindings/js/
H A DJSAudioConstructor.cpp69 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(),
H A DJSImageConstructor.cpp68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(),
H A DJSSharedWorkerCustom.cpp78 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release())));
H A DJSArrayBufferViewHelper.h62 JSC::JSObject* array = JSC::asObject(exec->argument(0));
136 JSC::JSObject* srcArray = asObject(exec->argument(0));
H A DJSEventTarget.cpp200 return static_cast<JS##type*>(asObject(value))->impl();
208 return static_cast<JSDOMWindowShell*>(asObject(value))->impl();
H A DJSHTMLOptionsCollectionCustom.cpp94 JSHTMLSelectElement* base = static_cast<JSHTMLSelectElement*>(asObject(toJS(exec, globalObject(), imp->base())));
H A DJSLazyEventListener.cpp112 setWrapper(exec->globalData(), asObject(toJS(exec, globalObject, m_originalNode)));
H A DJSNamedNodeMapCustom.cpp78 JSNamedNodeMap* thisObj = static_cast<JSNamedNodeMap*>(asObject(slotBase));
H A DJSOptionConstructor.cpp70 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), element.release())));
H A DScriptObject.cpp97 value = ScriptObject(scriptState, asObject(jsValue));
/external/webkit/Source/WebCore/bindings/objc/
H A DDOMInternal.mm120 JSC::JSObject *scriptImp = asObject(WebCore::toJS(exec, globalObject, nodeImpl));
/external/webkit/Source/WebCore/bridge/
H A Druntime_array.cpp56 RuntimeArray* thisObj = static_cast<RuntimeArray*>(asObject(slotBase));
62 RuntimeArray* thisObj = static_cast<RuntimeArray*>(asObject(slotBase));
/external/webkit/Source/WebCore/inspector/
H A DInjectedScriptManager.cpp89 bool success = parsedObjectId->asObject()->getNumber("injectedScriptId", &injectedScriptId);
H A DInspectorValues.h80 virtual bool asObject(RefPtr<InspectorObject>* output);
82 virtual PassRefPtr<InspectorObject> asObject();
173 virtual bool asObject(RefPtr<InspectorObject>* output);
174 virtual PassRefPtr<InspectorObject> asObject();
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
H A DJSTestInterface.cpp106 return JSValue::encode(asObject(toJS(exec, static_cast<JSTestInterfaceConstructor*>(exec->callee())->globalObject(), TestInterface::create(context))));
162 JSTestInterface* domObject = static_cast<JSTestInterface*>(asObject(slotBase));
177 return value.inherits(&JSTestInterface::s_info) ? static_cast<JSTestInterface*>(asObject(value))->impl() : 0;
H A DJSTestMediaQueryListListener.cpp158 JSTestMediaQueryListListener* domObject = static_cast<JSTestMediaQueryListListener*>(asObject(slotBase));
172 JSTestMediaQueryListListener* castedThis = static_cast<JSTestMediaQueryListListener*>(asObject(thisValue));
188 return value.inherits(&JSTestMediaQueryListListener::s_info) ? static_cast<JSTestMediaQueryListListener*>(asObject(value))->impl() : 0;

Completed in 248 milliseconds

123456