Home
last modified time | relevance | path

Searched refs:propertyName (Results 1 – 25 of 169) sorted by relevance

1234567

/external/webkit/JavaScriptCore/runtime/
DJSObject.h94 JSValue get(ExecState*, const Identifier& propertyName) const;
95 JSValue get(ExecState*, unsigned propertyName) const;
97 bool getPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&);
98 bool getPropertySlot(ExecState*, unsigned propertyName, PropertySlot&);
99 bool getPropertyDescriptor(ExecState*, const Identifier& propertyName, PropertyDescriptor&);
101 virtual bool getOwnPropertySlot(ExecState*, const Identifier& propertyName, PropertySlot&);
102 virtual bool getOwnPropertySlot(ExecState*, unsigned propertyName, PropertySlot&);
105 … virtual void put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot&);
106 virtual void put(ExecState*, unsigned propertyName, JSValue value);
108 …virtual void putWithAttributes(ExecState*, const Identifier& propertyName, JSValue value, unsigned…
[all …]
DJSObject.cpp86 bool JSObject::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) in getOwnPropertySlot() argument
88 return getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); in getOwnPropertySlot()
97 void JSObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot&… in put() argument
102 if (propertyName == exec->propertyNames().underscoreProto) { in put()
126 putDirectInternal(exec->globalData(), propertyName, value, 0, true, slot); in put()
133 …if ((m_structure->get(propertyName, attributes, specificValue) != WTF::notFound) && attributes & R… in put()
137 if (JSValue gs = obj->getDirect(propertyName)) { in put()
163 putDirectInternal(exec->globalData(), propertyName, value, 0, true, slot); in put()
167 void JSObject::put(ExecState* exec, unsigned propertyName, JSValue value) in put() argument
170 put(exec, Identifier::from(exec, propertyName), value, slot); in put()
[all …]
DLookup.h165 …ExecState*, const HashEntry*, JSObject* thisObject, const Identifier& propertyName, PropertySlot&);
174 …te* exec, const HashTable* table, ThisImp* thisObj, const Identifier& propertyName, PropertySlot& … in getStaticPropertySlot() argument
176 const HashEntry* entry = table->entry(exec, propertyName); in getStaticPropertySlot()
179 return thisObj->ParentImp::getOwnPropertySlot(exec, propertyName, slot); in getStaticPropertySlot()
182 setUpStaticFunctionSlot(exec, entry, thisObj, propertyName, slot); in getStaticPropertySlot()
190 …te* exec, const HashTable* table, ThisImp* thisObj, const Identifier& propertyName, PropertyDescri… in getStaticPropertyDescriptor() argument
192 const HashEntry* entry = table->entry(exec, propertyName); in getStaticPropertyDescriptor()
195 return thisObj->ParentImp::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getStaticPropertyDescriptor()
199 setUpStaticFunctionSlot(exec, entry, thisObj, propertyName, slot); in getStaticPropertyDescriptor()
203 descriptor.setDescriptor(slot.getValue(exec, propertyName), entry->attributes()); in getStaticPropertyDescriptor()
[all …]
DJSFunction.cpp146 bool JSFunction::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& … in getOwnPropertySlot() argument
149 return Base::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
151 if (propertyName == exec->propertyNames().prototype) { in getOwnPropertySlot()
152 JSValue* location = getDirectLocation(propertyName); in getOwnPropertySlot()
158 location = getDirectLocation(propertyName); in getOwnPropertySlot()
164 if (propertyName == exec->propertyNames().arguments) { in getOwnPropertySlot()
169 if (propertyName == exec->propertyNames().length) { in getOwnPropertySlot()
174 if (propertyName == exec->propertyNames().caller) { in getOwnPropertySlot()
179 return Base::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
182 …bool JSFunction::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, Propert… in getOwnPropertyDescriptor() argument
[all …]
DStringObject.cpp50 bool StringObject::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot… in getOwnPropertySlot() argument
52 if (internalValue()->getStringPropertySlot(exec, propertyName, slot)) in getOwnPropertySlot()
54 return JSObject::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
57 bool StringObject::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) in getOwnPropertySlot() argument
59 if (internalValue()->getStringPropertySlot(exec, propertyName, slot)) in getOwnPropertySlot()
61 return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); in getOwnPropertySlot()
64 bool StringObject::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, Proper… in getOwnPropertyDescriptor() argument
66 if (internalValue()->getStringPropertyDescriptor(exec, propertyName, descriptor)) in getOwnPropertyDescriptor()
68 return JSObject::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
71 void StringObject::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertyS… in put() argument
[all …]
DRegExpMatchesArray.h33 …virtual bool getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slo… in getOwnPropertySlot() argument
37 return JSArray::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
40 virtual bool getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) in getOwnPropertySlot() argument
44 return JSArray::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
47 …virtual bool getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDes… in getOwnPropertyDescriptor() argument
51 return JSArray::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
54 …virtual void put(ExecState* exec, const Identifier& propertyName, JSValue v, PutPropertySlot& slot) in put() argument
58 JSArray::put(exec, propertyName, v, slot); in put()
61 virtual void put(ExecState* exec, unsigned propertyName, JSValue v) in put() argument
65 JSArray::put(exec, propertyName, v); in put()
[all …]
DJSByteArray.cpp60 bool JSByteArray::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot&… in getOwnPropertySlot() argument
63 unsigned index = propertyName.toUInt32(&ok, false); in getOwnPropertySlot()
68 return JSObject::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
71 bool JSByteArray::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, Propert… in getOwnPropertyDescriptor() argument
74 unsigned index = propertyName.toUInt32(&ok, false); in getOwnPropertyDescriptor()
79 return JSObject::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
82 bool JSByteArray::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) in getOwnPropertySlot() argument
84 if (canAccessIndex(propertyName)) { in getOwnPropertySlot()
85 slot.setValue(getIndex(exec, propertyName)); in getOwnPropertySlot()
88 return JSObject::getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); in getOwnPropertySlot()
[all …]
DJSActivation.cpp71 bool JSActivation::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot… in getOwnPropertySlot() argument
73 if (symbolTableGet(propertyName, slot)) in getOwnPropertySlot()
76 if (JSValue* location = getDirectLocation(propertyName)) { in getOwnPropertySlot()
82 if (propertyName == exec->propertyNames().arguments) { in getOwnPropertySlot()
94 void JSActivation::put(ExecState*, const Identifier& propertyName, JSValue value, PutPropertySlot& … in put() argument
98 if (symbolTablePut(propertyName, value)) in put()
105 putDirect(propertyName, value, 0, true, slot); in put()
109 void JSActivation::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue value… in putWithAttributes() argument
113 if (symbolTablePutWithAttributes(propertyName, value, attributes)) in putWithAttributes()
121 JSObject::putWithAttributes(exec, propertyName, value, attributes, true, slot); in putWithAttributes()
[all …]
DArguments.cpp157 bool Arguments::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& s… in getOwnPropertySlot() argument
160 unsigned i = propertyName.toArrayIndex(&isArrayIndex); in getOwnPropertySlot()
169 if (propertyName == exec->propertyNames().length && LIKELY(!d->overrodeLength)) { in getOwnPropertySlot()
174 if (propertyName == exec->propertyNames().callee && LIKELY(!d->overrodeCallee)) { in getOwnPropertySlot()
179 return JSObject::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
182 bool Arguments::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyD… in getOwnPropertyDescriptor() argument
185 unsigned i = propertyName.toArrayIndex(&isArrayIndex); in getOwnPropertyDescriptor()
194 if (propertyName == exec->propertyNames().length && LIKELY(!d->overrodeLength)) { in getOwnPropertyDescriptor()
199 if (propertyName == exec->propertyNames().callee && LIKELY(!d->overrodeCallee)) { in getOwnPropertyDescriptor()
204 return JSObject::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
[all …]
/external/webkit/WebCore/bindings/js/
DJSCSSStyleDeclarationCustom.cpp63 static bool hasCSSPropertyNamePrefix(const Identifier& propertyName, const char* prefix) in hasCSSPropertyNamePrefix() argument
69 ASSERT(propertyName.size()); in hasCSSPropertyNamePrefix()
72 if (toASCIILower(propertyName.data()[0]) != prefix[0]) in hasCSSPropertyNamePrefix()
75 unsigned length = propertyName.size(); in hasCSSPropertyNamePrefix()
78 return isASCIIUpper(propertyName.data()[i]); in hasCSSPropertyNamePrefix()
79 if (propertyName.data()[i] != prefix[i]) in hasCSSPropertyNamePrefix()
85 static String cssPropertyName(const Identifier& propertyName, bool* hadPixelOrPosPrefix = 0) in cssPropertyName() argument
90 unsigned length = propertyName.size(); in cssPropertyName()
99 if (hasCSSPropertyNamePrefix(propertyName, "css")) in cssPropertyName()
101 else if (hasCSSPropertyNamePrefix(propertyName, "pixel")) { in cssPropertyName()
[all …]
DJSDOMWindowShell.cpp87 bool JSDOMWindowShell::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, Property… in getOwnPropertySlot() argument
89 return m_window->getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
92 bool JSDOMWindowShell::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, Pr… in getOwnPropertyDescriptor() argument
94 return m_window->getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
97 void JSDOMWindowShell::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPrope… in put() argument
99 m_window->put(exec, propertyName, value, slot); in put()
102 void JSDOMWindowShell::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue v… in putWithAttributes() argument
104 m_window->putWithAttributes(exec, propertyName, value, attributes); in putWithAttributes()
107 bool JSDOMWindowShell::defineOwnProperty(JSC::ExecState* exec, const JSC::Identifier& propertyName,… in defineOwnProperty() argument
109 return m_window->defineOwnProperty(exec, propertyName, descriptor, shouldThrow); in defineOwnProperty()
[all …]
DJSLocationCustom.cpp42 …CachingStaticReplaceFunctionGetter(ExecState* exec, const Identifier& propertyName, const Property… in nonCachingStaticReplaceFunctionGetter() argument
44 …r(exec, exec->lexicalGlobalObject()->prototypeFunctionStructure(), 1, propertyName, jsLocationProt… in nonCachingStaticReplaceFunctionGetter()
47 static JSValue nonCachingStaticReloadFunctionGetter(ExecState* exec, const Identifier& propertyName in nonCachingStaticReloadFunctionGetter() argument
49 …r(exec, exec->lexicalGlobalObject()->prototypeFunctionStructure(), 0, propertyName, jsLocationProt… in nonCachingStaticReloadFunctionGetter()
52 static JSValue nonCachingStaticAssignFunctionGetter(ExecState* exec, const Identifier& propertyName in nonCachingStaticAssignFunctionGetter() argument
54 …r(exec, exec->lexicalGlobalObject()->prototypeFunctionStructure(), 1, propertyName, jsLocationProt… in nonCachingStaticAssignFunctionGetter()
57 bool JSLocation::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, Proper… in getOwnPropertySlotDelegate() argument
75 …onst HashEntry* entry = JSLocationPrototype::s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertySlotDelegate()
98 bool JSLocation::getOwnPropertyDescriptorDelegate(ExecState* exec, const Identifier& propertyName, … in getOwnPropertyDescriptorDelegate() argument
111 …onst HashEntry* entry = JSLocationPrototype::s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertyDescriptorDelegate()
[all …]
DJSHistoryCustom.cpp41 static JSValue nonCachingStaticBackFunctionGetter(ExecState* exec, const Identifier& propertyName, … in nonCachingStaticBackFunctionGetter() argument
43 …r(exec, exec->lexicalGlobalObject()->prototypeFunctionStructure(), 0, propertyName, jsHistoryProto… in nonCachingStaticBackFunctionGetter()
46 …CachingStaticForwardFunctionGetter(ExecState* exec, const Identifier& propertyName, const Property… in nonCachingStaticForwardFunctionGetter() argument
48 …r(exec, exec->lexicalGlobalObject()->prototypeFunctionStructure(), 0, propertyName, jsHistoryProto… in nonCachingStaticForwardFunctionGetter()
51 static JSValue nonCachingStaticGoFunctionGetter(ExecState* exec, const Identifier& propertyName, co… in nonCachingStaticGoFunctionGetter() argument
53 …r(exec, exec->lexicalGlobalObject()->prototypeFunctionStructure(), 1, propertyName, jsHistoryProto… in nonCachingStaticGoFunctionGetter()
56 bool JSHistory::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, Propert… in getOwnPropertySlotDelegate() argument
68 …const HashEntry* entry = JSHistoryPrototype::s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertySlotDelegate()
85 if (propertyName == exec->propertyNames().toString) { in getOwnPropertySlotDelegate()
96 bool JSHistory::getOwnPropertyDescriptorDelegate(ExecState* exec, const Identifier& propertyName, P… in getOwnPropertyDescriptorDelegate() argument
[all …]
DJSStorageCustom.cpp39 bool JSStorage::canGetItemsForName(ExecState*, Storage* impl, const Identifier& propertyName) in canGetItemsForName() argument
41 return impl->contains(propertyName); in canGetItemsForName()
44 JSValue JSStorage::nameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot& … in nameGetter() argument
47 return jsStringOrNull(exec, thisObj->impl()->getItem(propertyName)); in nameGetter()
50 bool JSStorage::deleteProperty(ExecState* exec, const Identifier& propertyName) in deleteProperty() argument
56 …if (getStaticValueSlot<JSStorage, Base>(exec, s_info.propHashTable(exec), this, propertyName, slot… in deleteProperty()
60 if (prototype.isObject() && asObject(prototype)->hasProperty(exec, propertyName)) in deleteProperty()
63 m_impl->removeItem(propertyName); in deleteProperty()
76 bool JSStorage::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value, PutProp… in putDelegate() argument
82 …if (getStaticValueSlot<JSStorage, Base>(exec, s_info.propHashTable(exec), this, propertyName, slot… in putDelegate()
[all …]
DJSHTMLObjectElementCustom.cpp36 …lement::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, PropertySlot& … in getOwnPropertySlotDelegate() argument
38 return runtimeObjectCustomGetOwnPropertySlot(exec, propertyName, slot, this); in getOwnPropertySlotDelegate()
41 …::getOwnPropertyDescriptorDelegate(ExecState* exec, const Identifier& propertyName, PropertyDescri… in getOwnPropertyDescriptorDelegate() argument
43 return runtimeObjectCustomGetOwnPropertyDescriptor(exec, propertyName, descriptor, this); in getOwnPropertyDescriptorDelegate()
46 bool JSHTMLObjectElement::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue valu… in putDelegate() argument
48 return runtimeObjectCustomPut(exec, propertyName, value, impl(), slot); in putDelegate()
56 …MLObjectElement::canGetItemsForName(ExecState*, HTMLObjectElement*, const Identifier& propertyName) in canGetItemsForName() argument
58 return propertyName == "__apple_runtime_object"; in canGetItemsForName()
61 JSValue JSHTMLObjectElement::nameGetter(ExecState* exec, const Identifier& propertyName, const Prop… in nameGetter() argument
63 return runtimeObjectGetter(exec, propertyName, slot); in nameGetter()
DJSHTMLEmbedElementCustom.cpp36 bool JSHTMLEmbedElement::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName in getOwnPropertySlotDelegate() argument
38 return runtimeObjectCustomGetOwnPropertySlot(exec, propertyName, slot, this); in getOwnPropertySlotDelegate()
41 …::getOwnPropertyDescriptorDelegate(ExecState* exec, const Identifier& propertyName, PropertyDescri… in getOwnPropertyDescriptorDelegate() argument
43 return runtimeObjectCustomGetOwnPropertyDescriptor(exec, propertyName, descriptor, this); in getOwnPropertyDescriptorDelegate()
46 bool JSHTMLEmbedElement::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue value… in putDelegate() argument
48 return runtimeObjectCustomPut(exec, propertyName, value, impl(), slot); in putDelegate()
56 …HTMLEmbedElement::canGetItemsForName(ExecState*, HTMLEmbedElement*, const Identifier& propertyName) in canGetItemsForName() argument
58 return propertyName == "__apple_runtime_object"; in canGetItemsForName()
61 JSValue JSHTMLEmbedElement::nameGetter(ExecState* exec, const Identifier& propertyName, const Prope… in nameGetter() argument
63 return runtimeObjectGetter(exec, propertyName, slot); in nameGetter()
DJSHTMLAppletElementCustom.cpp36 …lement::getOwnPropertySlotDelegate(ExecState* exec, const Identifier& propertyName, PropertySlot& … in getOwnPropertySlotDelegate() argument
38 return runtimeObjectCustomGetOwnPropertySlot(exec, propertyName, slot, this); in getOwnPropertySlotDelegate()
41 …::getOwnPropertyDescriptorDelegate(ExecState* exec, const Identifier& propertyName, PropertyDescri… in getOwnPropertyDescriptorDelegate() argument
43 return runtimeObjectCustomGetOwnPropertyDescriptor(exec, propertyName, descriptor, this); in getOwnPropertyDescriptorDelegate()
46 bool JSHTMLAppletElement::putDelegate(ExecState* exec, const Identifier& propertyName, JSValue valu… in putDelegate() argument
48 return runtimeObjectCustomPut(exec, propertyName, value, impl(), slot); in putDelegate()
56 …MLAppletElement::canGetItemsForName(ExecState*, HTMLAppletElement*, const Identifier& propertyName) in canGetItemsForName() argument
58 return propertyName == "__apple_runtime_object"; in canGetItemsForName()
61 JSValue JSHTMLAppletElement::nameGetter(ExecState* exec, const Identifier& propertyName, const Prop… in nameGetter() argument
63 return runtimeObjectGetter(exec, propertyName, slot); in nameGetter()
DJSDOMWindowCustom.cpp127 JSValue nonCachingStaticFunctionGetter(ExecState* exec, const Identifier& propertyName, const Prope… in nonCachingStaticFunctionGetter() argument
129 …c, exec->lexicalGlobalObject()->prototypeFunctionStructure(), length, propertyName, nativeFunction… in nonCachingStaticFunctionGetter()
132 static JSValue childFrameGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot… in childFrameGetter() argument
134 …Object(slot.slotBase()))->impl()->frame()->tree()->child(AtomicString(propertyName))->domWindow()); in childFrameGetter()
142 static JSValue namedItemGetter(ExecState* exec, const Identifier& propertyName, const PropertySlot&… in namedItemGetter() argument
151 RefPtr<HTMLCollection> collection = document->windowNamedItems(propertyName); in namedItemGetter()
157 bool JSDOMWindow::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot&… in getOwnPropertySlot() argument
169 entry = s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertySlot()
174 entry = JSDOMWindowPrototype::s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertySlot()
194 if (allowsAccess && JSGlobalObject::getOwnPropertySlot(exec, propertyName, slot)) in getOwnPropertySlot()
[all …]
/external/webkit/JavaScriptCore/debugger/
DDebuggerActivation.cpp54 bool DebuggerActivation::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, Proper… in getOwnPropertySlot() argument
56 return m_activation->getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
59 void DebuggerActivation::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPro… in put() argument
61 m_activation->put(exec, propertyName, value, slot); in put()
64 void DebuggerActivation::putWithAttributes(ExecState* exec, const Identifier& propertyName, JSValue… in putWithAttributes() argument
66 m_activation->putWithAttributes(exec, propertyName, value, attributes); in putWithAttributes()
69 bool DebuggerActivation::deleteProperty(ExecState* exec, const Identifier& propertyName) in deleteProperty() argument
71 return m_activation->deleteProperty(exec, propertyName); in deleteProperty()
79 bool DebuggerActivation::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, … in getOwnPropertyDescriptor() argument
81 return m_activation->getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
[all …]
/external/webkit/WebCore/css/
DCSSStyleDeclaration.cpp40 PassRefPtr<CSSValue> CSSStyleDeclaration::getPropertyCSSValue(const String& propertyName) in getPropertyCSSValue() argument
42 int propID = cssPropertyID(propertyName); in getPropertyCSSValue()
48 String CSSStyleDeclaration::getPropertyValue(const String &propertyName) in getPropertyValue() argument
50 int propID = cssPropertyID(propertyName); in getPropertyValue()
56 String CSSStyleDeclaration::getPropertyPriority(const String& propertyName) in getPropertyPriority() argument
58 int propID = cssPropertyID(propertyName); in getPropertyPriority()
64 String CSSStyleDeclaration::getPropertyShorthand(const String& propertyName) in getPropertyShorthand() argument
66 int propID = cssPropertyID(propertyName); in getPropertyShorthand()
75 bool CSSStyleDeclaration::isPropertyImplicit(const String& propertyName) in isPropertyImplicit() argument
77 int propID = cssPropertyID(propertyName); in isPropertyImplicit()
[all …]
/external/webkit/WebCore/bindings/v8/custom/
DV8CSSStyleDeclarationCustom.cpp58 static bool hasCSSPropertyNamePrefix(const String& propertyName, const char* prefix) in hasCSSPropertyNamePrefix() argument
64 ASSERT(propertyName.length()); in hasCSSPropertyNamePrefix()
67 if (WTF::toASCIILower(propertyName[0]) != prefix[0]) in hasCSSPropertyNamePrefix()
70 unsigned length = propertyName.length(); in hasCSSPropertyNamePrefix()
73 return WTF::isASCIIUpper(propertyName[i]); in hasCSSPropertyNamePrefix()
74 if (propertyName[i] != prefix[i]) in hasCSSPropertyNamePrefix()
100 String propertyName = toWebCoreString(v8PropertyName); in cssPropertyInfo() local
103 CSSPropertyInfo* propInfo = map.get(propertyName); in cssPropertyInfo()
105 unsigned length = propertyName.length(); in cssPropertyInfo()
115 if (hasCSSPropertyNamePrefix(propertyName, "css")) in cssPropertyInfo()
[all …]
/external/webkit/WebCore/bridge/
Druntime_object.cpp70 JSValue RuntimeObjectImp::fallbackObjectGetter(ExecState* exec, const Identifier& propertyName, con… in fallbackObjectGetter() argument
81 JSValue result = aClass->fallbackObject(exec, instance.get(), propertyName); in fallbackObjectGetter()
88 JSValue RuntimeObjectImp::fieldGetter(ExecState* exec, const Identifier& propertyName, const Proper… in fieldGetter() argument
99 Field* aField = aClass->fieldNamed(propertyName, instance.get()); in fieldGetter()
107 JSValue RuntimeObjectImp::methodGetter(ExecState* exec, const Identifier& propertyName, const Prope… in methodGetter() argument
118 MethodList methodList = aClass->methodsNamed(propertyName, instance.get()); in methodGetter()
119 JSValue result = new (exec) RuntimeMethod(exec, propertyName, methodList); in methodGetter()
126 bool RuntimeObjectImp::getOwnPropertySlot(ExecState *exec, const Identifier& propertyName, Property… in getOwnPropertySlot() argument
141 Field *aField = aClass->fieldNamed(propertyName, instance.get()); in getOwnPropertySlot()
149 MethodList methodList = aClass->methodsNamed(propertyName, instance.get()); in getOwnPropertySlot()
[all …]
Druntime_array.cpp72 bool RuntimeArray::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot… in getOwnPropertySlot() argument
74 if (propertyName == exec->propertyNames().length) { in getOwnPropertySlot()
80 unsigned index = propertyName.toArrayIndex(&ok); in getOwnPropertySlot()
88 return JSObject::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
91 bool RuntimeArray::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, Proper… in getOwnPropertyDescriptor() argument
93 if (propertyName == exec->propertyNames().length) { in getOwnPropertyDescriptor()
96 … descriptor.setDescriptor(slot.getValue(exec, propertyName), ReadOnly | DontDelete | DontEnum); in getOwnPropertyDescriptor()
101 unsigned index = propertyName.toArrayIndex(&ok); in getOwnPropertyDescriptor()
106 descriptor.setDescriptor(slot.getValue(exec, propertyName), DontDelete | DontEnum); in getOwnPropertyDescriptor()
111 return JSObject::getOwnPropertyDescriptor(exec, propertyName, descriptor); in getOwnPropertyDescriptor()
[all …]
/external/webkit/WebCore/inspector/front-end/
DSettings.js74 _installSetting: function(name, propertyName, defaultValue) argument
76 this.__defineGetter__(name, this._get.bind(this, propertyName));
77 this.__defineSetter__(name, this._set.bind(this, propertyName));
78 if (!(propertyName in this._store)) {
79 this._store[propertyName] = defaultValue;
83 _get: function(propertyName) argument
85 return this._store[propertyName];
88 _set: function(propertyName, newValue) argument
90 this._store[propertyName] = newValue;
/external/webkit/JavaScriptCore/API/
DJSCallbackObjectFunctions.h110 bool JSCallbackObject<Base>::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, Pr… in getOwnPropertySlot() argument
120 propertyNameRef = OpaqueJSString::create(propertyName.ustring()); in getOwnPropertySlot()
128 propertyNameRef = OpaqueJSString::create(propertyName.ustring()); in getOwnPropertySlot()
147 if (staticValues->contains(propertyName.ustring().rep())) { in getOwnPropertySlot()
154 if (staticFunctions->contains(propertyName.ustring().rep())) { in getOwnPropertySlot()
161 return Base::getOwnPropertySlot(exec, propertyName, slot); in getOwnPropertySlot()
165 bool JSCallbackObject<Base>::getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlo… in getOwnPropertySlot() argument
167 return getOwnPropertySlot(exec, Identifier::from(exec, propertyName), slot); in getOwnPropertySlot()
171 …ct<Base>::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescri… in getOwnPropertyDescriptor() argument
174 if (getOwnPropertySlot(exec, propertyName, slot)) { in getOwnPropertyDescriptor()
[all …]

1234567