Searched refs:propertyName (Results 51 - 75 of 272) sorted by relevance

1234567891011

/external/webkit/Source/WebCore/bindings/v8/
H A Dnpruntime_impl.h61 bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier propertyName, NPVariant* result);
62 bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier propertyName, const NPVariant* value);
63 bool _NPN_RemoveProperty(NPP, NPObject*, NPIdentifier propertyName);
64 bool _NPN_HasProperty(NPP, NPObject*, NPIdentifier propertyName);
/external/webkit/Source/WebCore/bridge/
H A Druntime_array.h44 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
45 virtual void put(ExecState*, unsigned propertyName, JSValue);
47 virtual bool deleteProperty(ExecState* exec, const Identifier &propertyName);
48 virtual bool deleteProperty(ExecState* exec, unsigned propertyName);
H A Druntime_object.h41 virtual bool getOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&);
42 virtual bool getOwnPropertyDescriptor(ExecState*, const Identifier& propertyName, PropertyDescriptor&);
43 virtual void put(ExecState*, const Identifier& propertyName, JSValue, PutPropertySlot&);
44 virtual bool deleteProperty(ExecState*, const Identifier& propertyName);
H A Druntime_method.cpp67 bool RuntimeMethod::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot &slot) argument
69 if (propertyName == exec->propertyNames().length) {
74 return InternalFunction::getOwnPropertySlot(exec, propertyName, slot);
77 bool RuntimeMethod::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor &descriptor) argument
79 if (propertyName == exec->propertyNames().length) {
82 descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum);
86 return InternalFunction::getOwnPropertyDescriptor(exec, propertyName, descriptor);
/external/webkit/Source/WebCore/plugins/
H A DDOMMimeTypeArray.cpp59 bool DOMMimeTypeArray::canGetItemsForName(const AtomicString& propertyName) argument
66 if (mimes[i].type == propertyName)
72 PassRefPtr<DOMMimeType> DOMMimeTypeArray::namedItem(const AtomicString& propertyName) argument
79 if (mimes[i].type == propertyName)
H A DDOMPluginArray.cpp59 bool DOMPluginArray::canGetItemsForName(const AtomicString& propertyName) argument
66 if (plugins[i].name == propertyName)
72 PassRefPtr<DOMPlugin> DOMPluginArray::namedItem(const AtomicString& propertyName) argument
79 if (plugins[i].name == propertyName)
H A DDOMMimeTypeArray.h44 bool canGetItemsForName(const AtomicString& propertyName);
45 PassRefPtr<DOMMimeType> namedItem(const AtomicString& propertyName);
H A DDOMPlugin.h45 bool canGetItemsForName(const AtomicString& propertyName);
46 PassRefPtr<DOMMimeType> namedItem(const AtomicString& propertyName);
H A DDOMPluginArray.h44 bool canGetItemsForName(const AtomicString& propertyName);
45 PassRefPtr<DOMPlugin> namedItem(const AtomicString& propertyName);
H A DDOMPlugin.cpp78 bool DOMPlugin::canGetItemsForName(const AtomicString& propertyName) argument
82 if (mimes[i].type == propertyName)
87 PassRefPtr<DOMMimeType> DOMPlugin::namedItem(const AtomicString& propertyName) argument
91 if (mimes[i].type == propertyName)
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/
H A DNPRuntimeRemoveProperty.cpp59 NPIdentifier propertyName;
64 propertyName = pluginTest()->NPN_GetStringIdentifier(propertyNameString.c_str());
67 propertyName = pluginTest()->NPN_GetIntIdentifier(number);
70 pluginTest()->NPN_RemoveProperty(NPVARIANT_TO_OBJECT(arguments[0]), propertyName); local
/external/webkit/Source/WebCore/bindings/js/
H A DJSDOMWindowShell.h73 virtual bool getOwnPropertySlot(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
74 virtual bool getOwnPropertyDescriptor(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
75 virtual void put(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
76 virtual void putWithAttributes(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, unsigned attributes);
77 virtual bool deleteProperty(JSC::ExecState*, const JSC::Identifier& propertyName);
80 virtual void defineGetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* getterFunction, unsigned attributes);
81 virtual void defineSetter(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSObject* setterFunction, unsigned attributes);
82 virtual bool defineOwnProperty(JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&, bool shouldThrow);
83 virtual JSC::JSValue lookupGetter(JSC::ExecState*, const JSC::Identifier& propertyName);
84 virtual JSC::JSValue lookupSetter(JSC::ExecState*, const JSC::Identifier& propertyName);
[all...]
H A DJSPluginElementFunctions.cpp103 JSValue runtimeObjectPropertyGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) argument
110 return scriptObject->get(exec, propertyName);
113 bool runtimeObjectCustomGetOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot, JSHTMLElement* element) argument
119 if (!scriptObject->hasProperty(exec, propertyName))
125 bool runtimeObjectCustomGetOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor, JSHTMLElement* element) argument
130 if (!scriptObject->hasProperty(exec, propertyName))
137 descriptor.setDescriptor(slot.getValue(exec, propertyName), DontEnum | DontDelete);
141 bool runtimeObjectCustomPut(ExecState* exec, const Identifier& propertyName, JSValue value, JSHTMLElement* element, PutPropertySlot& slot) argument
146 if (!scriptObject->hasProperty(exec, propertyName))
148 scriptObject->put(exec, propertyName, valu
[all...]
H A DJSDOMWindowCustom.cpp107 JSValue nonCachingStaticFunctionGetter(ExecState* exec, JSValue, const Identifier& propertyName) argument
109 return new (exec) JSFunction(exec, exec->lexicalGlobalObject(), exec->lexicalGlobalObject()->functionStructure(), length, propertyName, nativeFunction);
112 static JSValue childFrameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) argument
114 return toJS(exec, static_cast<JSDOMWindow*>(asObject(slotBase))->impl()->frame()->tree()->child(identifierToAtomicString(propertyName))->domWindow());
122 static JSValue namedItemGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) argument
131 RefPtr<HTMLCollection> collection = document->windowNamedItems(identifierToString(propertyName));
137 bool JSDOMWindow::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) argument
149 entry = s_info.propHashTable(exec)->entry(exec, propertyName);
154 entry = JSDOMWindowPrototype::s_info.propHashTable(exec)->entry(exec, propertyName);
174 if (allowsAccess && JSGlobalObject::getOwnPropertySlot(exec, propertyName, slo
280 getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) argument
352 put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) argument
371 deleteProperty(ExecState* exec, const Identifier& propertyName) argument
395 defineGetter(ExecState* exec, const Identifier& propertyName, JSObject* getterFunction, unsigned attributes) argument
408 defineSetter(ExecState* exec, const Identifier& propertyName, JSObject* setterFunction, unsigned attributes) argument
416 defineOwnProperty(JSC::ExecState* exec, const JSC::Identifier& propertyName, JSC::PropertyDescriptor& descriptor, bool shouldThrow) argument
424 lookupGetter(ExecState* exec, const Identifier& propertyName) argument
432 lookupSetter(ExecState* exec, const Identifier& propertyName) argument
[all...]
H A DJSNamedNodeMapCustom.cpp71 bool JSNamedNodeMap::canGetItemsForName(ExecState*, NamedNodeMap* impl, const Identifier& propertyName) argument
73 return impl->getNamedItem(identifierToString(propertyName));
76 JSValue JSNamedNodeMap::nameGetter(ExecState* exec, JSValue slotBase, const Identifier& propertyName) argument
79 return toJS(exec, thisObj->impl()->getNamedItem(identifierToString(propertyName)));
/external/webkit/Source/JavaScriptCore/runtime/
H A DStructure.h69 static Structure* addPropertyTransition(JSGlobalData&, Structure*, const Identifier& propertyName, unsigned attributes, JSCell* specificValue, size_t& offset);
70 static Structure* addPropertyTransitionToExistingStructure(Structure*, const Identifier& propertyName, unsigned attributes, JSCell* specificValue, size_t& offset);
71 static Structure* removePropertyTransition(JSGlobalData&, Structure*, const Identifier& propertyName, size_t& offset);
90 size_t addPropertyWithoutTransition(JSGlobalData&, const Identifier& propertyName, unsigned attributes, JSCell* specificValue);
91 size_t removePropertyWithoutTransition(JSGlobalData&, const Identifier& propertyName);
111 size_t get(JSGlobalData&, const Identifier& propertyName);
112 size_t get(JSGlobalData&, StringImpl* propertyName, unsigned& attributes, JSCell*& specificValue);
113 size_t get(JSGlobalData& globalData, const Identifier& propertyName, unsigned& attributes, JSCell*& specificValue) argument
115 ASSERT(!propertyName.isNull());
116 return get(globalData, propertyName
250 get(JSGlobalData& globalData, const Identifier& propertyName) argument
[all...]
H A DArguments.cpp181 bool Arguments::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) argument
184 unsigned i = propertyName.toArrayIndex(isArrayIndex);
193 if (propertyName == exec->propertyNames().length && LIKELY(!d->overrodeLength)) {
198 if (propertyName == exec->propertyNames().callee && LIKELY(!d->overrodeCallee)) {
206 if (propertyName == exec->propertyNames().caller && d->isStrictMode)
209 return JSObject::getOwnPropertySlot(exec, propertyName, slot);
212 bool Arguments::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) argument
215 unsigned i = propertyName.toArrayIndex(isArrayIndex);
224 if (propertyName == exec->propertyNames().length && LIKELY(!d->overrodeLength)) {
229 if (propertyName
270 put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot) argument
319 deleteProperty(ExecState* exec, const Identifier& propertyName) argument
[all...]
H A DLookup.cpp71 void setUpStaticFunctionSlot(ExecState* exec, const HashEntry* entry, JSObject* thisObj, const Identifier& propertyName, PropertySlot& slot) argument
76 WriteBarrierBase<Unknown>* location = thisObj->getDirectLocation(exec->globalData(), propertyName);
83 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, exec->globalData().getHostFunction(entry->function(), entry->generator()));
86 function = new (exec) JSFunction(exec, globalObject, globalObject->functionStructure(), entry->functionLength(), propertyName, entry->function());
88 thisObj->putDirectFunction(exec->globalData(), propertyName, function, entry->attributes());
89 location = thisObj->getDirectLocation(exec->globalData(), propertyName);
/external/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptoriginalglobalobject_p.h78 JSRetainPtr<JSStringRef> propertyName; local
80 propertyName.adopt(JSStringCreateWithUTF8CString("prototype"));
81 initializeMember(globalObject, propertyName.get(), "Array", m_arrayConstructor, m_arrayPrototype);
82 initializeMember(globalObject, propertyName.get(), "Error", m_errorConstructor, m_errorPrototype);
83 initializeMember(globalObject, propertyName.get(), "Function", m_functionConstructor, m_functionPrototype);
84 initializeMember(globalObject, propertyName.get(), "Date", m_dateConstructor, m_datePrototype);
86 propertyName.adopt(JSStringCreateWithUTF8CString("hasOwnProperty"));
87 m_hasOwnPropertyFunction = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, globalObject, propertyName.get(), &exception));
93 propertyName.adopt(JSStringCreateWithUTF8CString("Object"));
95 = const_cast<JSObjectRef>(JSObjectGetProperty(m_context, globalObject, propertyName
144 JSValueRef propertyName[] = { JSValueMakeString(m_context, property) }; local
[all...]
/external/v8/test/mjsunit/
H A Dfuzz-accessors.js77 var propertyName = builtInPropertyNames[k];
78 fun(obj, propertyName);
/external/webkit/Source/JavaScriptGlue/
H A DJSObject.h44 JSUserObject* CopyProperty(CFStringRef propertyName);
45 void SetProperty(CFStringRef propertyName, JSUserObject* value);
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/
H A DJSWrapper.h49 inline void setProperty(JSContextRef context, JSObjectRef object, const char* propertyName, JSWrappable* value, JSPropertyAttributes attributes, JSValueRef* exception) argument
51 JSRetainPtr<JSStringRef> propertyNameString(Adopt, JSStringCreateWithUTF8CString(propertyName));
/external/webkit/Source/WebKit/chromium/public/
H A DWebAnimationController.h50 const WebString& propertyName,
/external/webkit/Source/WebKit2/Shared/Plugins/
H A DNPObjectProxy.cpp154 bool NPObjectProxy::hasProperty(NPIdentifier propertyName) argument
159 NPIdentifierData propertyNameData = NPIdentifierData::fromNPIdentifier(propertyName);
169 bool NPObjectProxy::getProperty(NPIdentifier propertyName, NPVariant* result) argument
174 NPIdentifierData propertyNameData = NPIdentifierData::fromNPIdentifier(propertyName);
189 bool NPObjectProxy::setProperty(NPIdentifier propertyName, const NPVariant* value) argument
194 NPIdentifierData propertyNameData = NPIdentifierData::fromNPIdentifier(propertyName);
205 bool NPObjectProxy::removeProperty(NPIdentifier propertyName) argument
210 NPIdentifierData propertyNameData = NPIdentifierData::fromNPIdentifier(propertyName);
315 bool NPObjectProxy::NP_HasProperty(NPObject* npObject, NPIdentifier propertyName) argument
317 return toNPObjectProxy(npObject)->hasProperty(propertyName);
320 NP_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* result) argument
325 NP_SetProperty(NPObject* npObject, NPIdentifier propertyName, const NPVariant* value) argument
330 NP_RemoveProperty(NPObject* npObject, NPIdentifier propertyName) argument
[all...]
/external/webkit/Source/WebCore/bindings/scripts/test/JS/
H A DJSTestMediaQueryListListener.cpp90 bool JSTestMediaQueryListListenerConstructor::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) argument
92 return getStaticValueSlot<JSTestMediaQueryListListenerConstructor, DOMObject>(exec, &JSTestMediaQueryListListenerConstructorTable, this, propertyName, slot);
95 bool JSTestMediaQueryListListenerConstructor::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) argument
97 return getStaticValueDescriptor<JSTestMediaQueryListListenerConstructor, DOMObject>(exec, &JSTestMediaQueryListListenerConstructorTable, this, propertyName, descriptor);
122 bool JSTestMediaQueryListListenerPrototype::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) argument
124 return getStaticFunctionSlot<JSObject>(exec, &JSTestMediaQueryListListenerPrototypeTable, this, propertyName, slot);
127 bool JSTestMediaQueryListListenerPrototype::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) argument
129 return getStaticFunctionDescriptor<JSObject>(exec, &JSTestMediaQueryListListenerPrototypeTable, this, propertyName, descriptor);
146 bool JSTestMediaQueryListListener::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) argument
148 return getStaticValueSlot<JSTestMediaQueryListListener, Base>(exec, &JSTestMediaQueryListListenerTable, this, propertyName, slo
151 getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) argument
[all...]

Completed in 715 milliseconds

1234567891011