Home
last modified time | relevance | path

Searched refs:JSObject (Results 1 – 25 of 395) sorted by relevance

12345678910>>...16

/external/webkit/Source/JavaScriptCore/runtime/
DError.h34 class JSObject; variable
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&);
49 JSObject* createEvalError(ExecState*, const UString&);
[all …]
DExceptionHelpers.h42 class JSObject; variable
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 …]
DJSObject.cpp44 ASSERT_CLASS_FITS_IN_CELL(JSObject);
50 const ClassInfo JSObject::s_info = { "Object", 0, 0, 0 };
71 void JSObject::markChildren(MarkStack& markStack) in markChildren()
85 UString JSObject::className() const in className()
92 bool JSObject::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) in getOwnPropertySlot()
103 void JSObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot&… in put()
119 …for (JSObject* obj = this; !obj->structure()->hasGetterSetterProperties(); obj = asObject(prototyp… in put()
136 for (JSObject* obj = this; ; obj = asObject(prototype)) { in put()
139 JSObject* setterFunc = asGetterSetter(gs)->setter(); in put()
168 void JSObject::put(ExecState* exec, unsigned propertyName, JSValue value) in put()
[all …]
DExceptionHelpers.cpp56 JSObject* createInterruptedExecutionException(JSGlobalData* globalData) in createInterruptedExecutionException()
73 JSObject* createTerminatedExecutionException(JSGlobalData* globalData) in createTerminatedExecutionException()
78 JSObject* createStackOverflowError(ExecState* exec) in createStackOverflowError()
83 JSObject* createStackOverflowError(JSGlobalObject* globalObject) in createStackOverflowError()
88 JSObject* createUndefinedVariableError(ExecState* exec, const Identifier& ident) in createUndefinedVariableError()
94 JSObject* createInvalidParamError(ExecState* exec, const char* op, JSValue value) in createInvalidParamError()
97 JSObject* exception = createTypeError(exec, errorMessage); in createInvalidParamError()
103 JSObject* createNotAConstructorError(ExecState* exec, JSValue value) in createNotAConstructorError()
106 JSObject* exception = createTypeError(exec, errorMessage); in createNotAConstructorError()
112 JSObject* createNotAFunctionError(ExecState* exec, JSValue value) in createNotAFunctionError()
[all …]
DError.cpp42 JSObject* createError(JSGlobalObject* globalObject, const UString& message) in createError()
48 JSObject* createEvalError(JSGlobalObject* globalObject, const UString& message) in createEvalError()
54 JSObject* createRangeError(JSGlobalObject* globalObject, const UString& message) in createRangeError()
60 JSObject* createReferenceError(JSGlobalObject* globalObject, const UString& message) in createReferenceError()
66 JSObject* createSyntaxError(JSGlobalObject* globalObject, const UString& message) in createSyntaxError()
72 JSObject* createTypeError(JSGlobalObject* globalObject, const UString& message) in createTypeError()
78 JSObject* createURIError(JSGlobalObject* globalObject, const UString& message) in createURIError()
84 JSObject* createError(ExecState* exec, const UString& message) in createError()
89 JSObject* createEvalError(ExecState* exec, const UString& message) in createEvalError()
94 JSObject* createRangeError(ExecState* exec, const UString& message) in createRangeError()
[all …]
DJSObject.h57 JSObject* throwTypeError(ExecState*, const UString&);
75 class JSObject : public JSCell {
79 …friend void setUpStaticFunctionSlot(ExecState* exec, const HashEntry* entry, JSObject* thisObj, co…
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, un…
201 …virtual void defineSetter(ExecState*, const Identifier& propertyName, JSObject* setterFunction, un…
266 JSObject(JSGlobalData&, Structure*, PropertyStorage inlineStorage);
[all …]
DScopeChain.h32 class JSObject; variable
38 …opeChainNode(ScopeChainNode* next, JSObject* object, JSGlobalData* globalData, JSGlobalObject* glo… in ScopeChainNode()
52 WriteBarrier<JSObject> object;
54 WriteBarrier<JSObject> globalThis;
56 ScopeChainNode* push(JSObject*);
75 inline ScopeChainNode* ScopeChainNode::push(JSObject* o) in push()
94 WriteBarrier<JSObject> const & operator*() const { return m_node->object; }
95 WriteBarrier<JSObject> const * operator->() const { return &(operator*()); }
129 ALWAYS_INLINE JSObject* ExecState::globalThisValue() const in globalThisValue()
DGetterSetter.h33 class JSObject; variable
47 JSObject* getter() const { return m_getter.get(); } in getter()
48 …void setGetter(JSGlobalData& globalData, JSObject* getter) { m_getter.set(globalData, this, getter… in setGetter()
49 JSObject* setter() const { return m_setter.get(); } in setter()
50 …void setSetter(JSGlobalData& globalData, JSObject* setter) { m_setter.set(globalData, this, setter… in setSetter()
58 WriteBarrier<JSObject> m_getter;
59 WriteBarrier<JSObject> m_setter;
DPutPropertySlot.h34 class JSObject; variable
48 void setExistingProperty(JSObject* base, size_t offset) in setExistingProperty()
55 void setNewProperty(JSObject* base, size_t offset) in setNewProperty()
63 JSObject* base() const { return m_base; } in base()
74 JSObject* m_base;
/external/v8/src/
Dstub-cache.h81 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 …]
Dliveobjectlist.h96 Handle<JSObject> filter_obj);
98 static MaybeObject* Summarize(int id1, int id2, Handle<JSObject> filter_obj);
105 Handle<JSObject> instance_filter,
109 Handle<JSObject> filter_obj);
113 Handle<JSObject> instance_filter);
135 Handle<JSObject> instance_filter,
280 Handle<JSObject> filter_obj) {
288 Handle<JSObject> filter_obj) {
298 Handle<JSObject> instance_filter,
302 Handle<JSObject> filter_obj) {
[all …]
Dbootstrapper.cc237 bool ConfigureApiObject(Handle<JSObject> object,
244 void TransferObject(Handle<JSObject> from, Handle<JSObject> to);
245 void TransferNamedProperties(Handle<JSObject> from, Handle<JSObject> to);
246 void TransferIndexedProperties(Handle<JSObject> from, Handle<JSObject> to);
316 static void SetObjectPrototype(Handle<JSObject> object, Handle<Object> proto) { in SetObjectPrototype()
329 SetObjectPrototype(Handle<JSObject>(env->global_proxy()), in DetachGlobal()
342 SetObjectPrototype(global, Handle<JSObject>(env->global())); in ReattachGlobal()
347 static Handle<JSFunction> InstallFunction(Handle<JSObject> target, in InstallFunction()
351 Handle<JSObject> prototype, in InstallFunction()
374 JSObject::SetLocalPropertyIgnoreAttributes( in InstallFunction()
[all …]
Dhandles.h185 Handle<Object> ForceSetProperty(Handle<JSObject> object,
190 Handle<Object> ForceDeleteProperty(Handle<JSObject> object,
199 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver,
200 Handle<JSObject> holder,
204 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
208 Handle<JSObject> Copy(Handle<JSObject> obj);
210 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info);
234 Handle<JSObject> object);
236 Handle<JSObject> object);
246 Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object,
[all …]
Dstub-cache.cc103 Handle<JSObject> receiver) { in ComputeLoadNonexistent()
113 Handle<JSObject> last = receiver; in ComputeLoadNonexistent()
115 last = Handle<JSObject>(JSObject::cast(last->GetPrototype())); in ComputeLoadNonexistent()
130 JSObject::UpdateMapCodeCache(receiver, cache_name, code); in ComputeLoadNonexistent()
136 Handle<JSObject> receiver, in ComputeLoadField()
137 Handle<JSObject> holder, in ComputeLoadField()
149 JSObject::UpdateMapCodeCache(receiver, name, code); in ComputeLoadField()
155 Handle<JSObject> receiver, in ComputeLoadCallback()
156 Handle<JSObject> holder, in ComputeLoadCallback()
169 JSObject::UpdateMapCodeCache(receiver, name, code); in ComputeLoadCallback()
[all …]
/external/webkit/Source/WebCore/bindings/js/
DJSEventListener.h33 …static PassRefPtr<JSEventListener> create(JSC::JSObject* listener, JSC::JSObject* wrapper, bool is… in create()
52 JSC::JSObject* jsFunction(ScriptExecutionContext*) const;
55 JSC::JSObject* wrapper() const { return m_wrapper.get(); } in wrapper()
56 …void setWrapper(JSC::JSGlobalData& globalData, JSC::JSObject* wrapper) const { m_wrapper.set(globa… in setWrapper()
59 virtual JSC::JSObject* initializeJSFunction(ScriptExecutionContext*) const;
64 …JSEventListener(JSC::JSObject* function, JSC::JSObject* wrapper, bool isAttribute, DOMWrapperWorld…
68 mutable JSC::WriteBarrier<JSC::JSObject> m_jsFunction;
69 mutable JSC::Weak<JSC::JSObject> m_wrapper;
75 …inline JSC::JSObject* JSEventListener::jsFunction(ScriptExecutionContext* scriptExecutionContext) … in jsFunction()
94 …createJSAttributeEventListener(JSC::ExecState* exec, JSC::JSValue listener, JSC::JSObject* wrapper) in createJSAttributeEventListener()
DJSDOMGlobalObject.h42 typedef HashMap<const JSC::ClassInfo*, JSC::WriteBarrier<JSC::JSObject> > JSDOMConstructorMap;
49 …Object(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* globalObjec… in getDOMConstructor()
89 …if (JSC::JSObject* constructor = const_cast<JSDOMGlobalObject*>(globalObject)->constructors().get(… in getDOMConstructor()
91 …JSC::JSObject* constructor = new (exec) ConstructorClass(exec, const_cast<JSDOMGlobalObject*>(glob… in getDOMConstructor()
93 JSC::WriteBarrier<JSC::JSObject> temp; in getDOMConstructor()
DJSPluginElementFunctions.cpp58 static JSObject* pluginScriptObjectFromPluginViewBase(HTMLPlugInElement* pluginElement, JSGlobalObj… in pluginScriptObjectFromPluginViewBase()
71 static JSObject* pluginScriptObjectFromPluginViewBase(JSHTMLElement* jsHTMLElement) in pluginScriptObjectFromPluginViewBase()
81 JSObject* pluginScriptObject(ExecState* exec, JSHTMLElement* jsHTMLElement) in pluginScriptObject()
90 …if (JSObject* scriptObject = pluginScriptObjectFromPluginViewBase(pluginElement, jsHTMLElement->gl… in pluginScriptObject()
106 JSObject* scriptObject = pluginScriptObject(exec, element); in runtimeObjectPropertyGetter()
115 JSObject* scriptObject = pluginScriptObject(exec, element); in runtimeObjectCustomGetOwnPropertySlot()
127 JSObject* scriptObject = pluginScriptObject(exec, element); in runtimeObjectCustomGetOwnPropertyDescriptor()
143 JSObject* scriptObject = pluginScriptObject(exec, element); in runtimeObjectCustomPut()
157 JSObject* scriptObject = pluginScriptObject(exec, element); in callPlugin()
177 if (JSObject* scriptObject = pluginScriptObjectFromPluginViewBase(element)) { in runtimeObjectGetCallData()
DJSErrorHandler.h40 …static PassRefPtr<JSErrorHandler> create(JSC::JSObject* listener, JSC::JSObject* wrapper, bool isA… in create()
48 …JSErrorHandler(JSC::JSObject* function, JSC::JSObject* wrapper, bool isAttribute, DOMWrapperWorld*…
54 …rHandler> createJSErrorHandler(JSC::ExecState* exec, JSC::JSValue listener, JSC::JSObject* wrapper) in createJSErrorHandler()
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
DJSTestObj.h37 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/WebCore/bindings/objc/
DWebScriptObjectPrivate.h35 class JSObject; variable
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::B…
52 - (id)_initWithJSObject:(JSC::JSObject*)imp originRootObject:(PassRefPtr<JSC::Bindings::RootObject>…
53 - (void)_setImp:(JSC::JSObject*)imp originRootObject:(PassRefPtr<JSC::Bindings::RootObject>)originR…
56 - (JSC::JSObject *)_imp;
75 JSC::JSObject *imp;
/external/v8/test/cctest/
Dtest-weakmaps.cc39 Handle<JSObject> weakmap_obj = FACTORY->NewJSObjectFromMap(map); in AllocateJSWeakMap()
50 Handle<JSObject> key, in PutIntoWeakMap()
54 Handle<JSObject>(JSObject::cast(*key)), in PutIntoWeakMap()
77 Handle<Map> map = FACTORY->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
78 Handle<JSObject> object = FACTORY->NewJSObjectFromMap(map); in TEST()
86 PutIntoWeakMap(weakmap, Handle<JSObject>(JSObject::cast(*key)), 23); in TEST()
133 Handle<Map> map = FACTORY->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST()
135 Handle<JSObject> object = FACTORY->NewJSObjectFromMap(map); in TEST()
Dtest-dictionary.cc46 Handle<JSObject> a = FACTORY->NewJSArray(7); in TEST()
47 Handle<JSObject> b = FACTORY->NewJSArray(11); in TEST()
73 Handle<JSObject> key = FACTORY->NewJSArray(7); in TEST()
74 Handle<JSObject> value = FACTORY->NewJSArray(11); in TEST()
85 Handle<JSObject> key = FACTORY->NewJSArray(7); in TEST()
95 Handle<JSObject> key = FACTORY->NewJSArray(7); in TEST()
107 Handle<JSObject> key = FACTORY->NewJSArray(0); in TEST()
130 Handle<JSObject> key = FACTORY->NewJSArray(0); in TEST()
/external/skia/include/xml/
DSkJS.h19 typedef struct JSObject JSObject; typedef
34 void InitializeDisplayables(const SkBitmap& , JSContext *, JSObject *, JSObject *);
38 JSObject *fGlobal;
/external/webkit/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/
DJavaScriptCore.def61 ?allocatePropertyStorage@JSObject@JSC@@QAEXII@Z
86 ?className@JSObject@JSC@@UBE?AVUString@2@XZ
129 ?defaultValue@JSObject@JSC@@UBE?AVJSValue@2@PAVExecState@2@W4PreferredPrimitiveType@2@@Z
131 ?defineGetter@JSObject@JSC@@UAEXPAVExecState@2@ABVIdentifier@2@PAV12@I@Z
132 … ?defineOwnProperty@JSObject@JSC@@UAE_NPAVExecState@2@ABVIdentifier@2@AAVPropertyDescriptor@2@_N@Z
134 ?defineSetter@JSObject@JSC@@UAEXPAVExecState@2@ABVIdentifier@2@PAV12@I@Z
142 ?deleteProperty@JSObject@JSC@@UAE_NPAVExecState@2@ABVIdentifier@2@@Z
143 ?deleteProperty@JSObject@JSC@@UAE_NPAVExecState@2@I@Z
169 …?fillGetterPropertySlot@JSObject@JSC@@QAEXAAVPropertySlot@2@PAV?$WriteBarrierBase@W4Unknown@JSC@@@…
182 …?getOwnPropertyDescriptor@JSObject@JSC@@UAE_NPAVExecState@2@ABVIdentifier@2@AAVPropertyDescriptor@…
[all …]
/external/webkit/Source/JavaScriptCore/API/
DJSObjectRef.cpp85 if (JSObject* prototype = jsClass->prototype(exec)) in JSObjectMake()
127JSObject* result = constructFunction(exec, exec->lexicalGlobalObject(), args, nameID, sourceURL->u… in JSObjectMakeFunction()
142 JSObject* result; in JSObjectMakeArray()
171 JSObject* result = constructDate(exec, exec->lexicalGlobalObject(), argList); in JSObjectMakeDate()
189 JSObject* result = ErrorInstance::create(exec, errorStructure, message); in JSObjectMakeError()
210 JSObject* result = constructRegExp(exec, exec->lexicalGlobalObject(), argList); in JSObjectMakeRegExp()
226 JSObject* jsObject = toJS(object); in JSObjectGetPrototype()
235 JSObject* jsObject = toJS(object); in JSObjectSetPrototype()
246 JSObject* jsObject = toJS(object); in JSObjectHasProperty()
256 JSObject* jsObject = toJS(object); in JSObjectGetProperty()
[all …]

12345678910>>...16