Searched refs:propertyNames (Results 26 - 50 of 112) sorted by relevance

12345

/external/webkit/Source/WebCore/bindings/js/
H A DJSDOMWindowShell.cpp118 void JSDOMWindowShell::getPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
120 m_window->getPropertyNames(exec, propertyNames, mode);
123 void JSDOMWindowShell::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
125 m_window->getOwnPropertyNames(exec, propertyNames, mode);
H A DScriptValue.cpp148 PropertyNameArray propertyNames(scriptState);
149 object->getOwnPropertyNames(scriptState, propertyNames);
150 for (size_t i = 0; i < propertyNames.size(); i++) {
151 const Identifier& name = propertyNames[i];
H A DJSOptionConstructor.cpp42 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLOptionElementPrototype::self(exec, globalObject), None);
43 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(4), ReadOnly | DontDelete | DontEnum);
H A DJSHistoryCustom.cpp84 if (propertyName == exec->propertyNames().toString) {
128 if (propertyName == exec->propertyNames().toString) {
156 void JSHistory::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
161 Base::getOwnPropertyNames(exec, propertyNames, mode);
H A DJSImageConstructor.cpp41 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLImageElementPrototype::self(exec, globalObject), None);
H A DJSSQLTransactionSyncCustom.cpp64 JSValue lengthValue = object->get(exec, exec->propertyNames().length);
/external/webkit/Source/JavaScriptCore/runtime/
H A DBooleanConstructor.cpp34 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, booleanPrototype, DontEnum | DontDelete | ReadOnly);
37 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
H A DNativeErrorConstructor.cpp42 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(1), DontDelete | ReadOnly | DontEnum); // ECMA 15.11.7.5
43 putDirect(exec->globalData(), exec->propertyNames().prototype, prototype, DontDelete | ReadOnly | DontEnum);
H A DFunctionPrototype.cpp41 : InternalFunction(&exec->globalData(), globalObject, structure, exec->propertyNames().nullIdentifier)
43 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(0), DontDelete | ReadOnly | DontEnum);
48 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, functionProtoFuncToString), DontEnum);
49 *applyFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().apply, functionProtoFuncApply);
51 *callFunction = new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().call, functionProtoFuncCall);
125 unsigned length = asArray(array)->get(exec, exec->propertyNames().length).toUInt32(exec);
H A DDateConstructor.cpp63 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, datePrototype, DontEnum | DontDelete | ReadOnly);
65 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().parse, dateParse), DontEnum);
66 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 7, exec->propertyNames().UTC, dateUTC), DontEnum);
67 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().now, dateNow), DontEnum);
69 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(7), ReadOnly | DontEnum | DontDelete);
H A DJSActivation.cpp104 void JSActivation::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
112 propertyNames.add(Identifier(exec, it->first.get()));
115 JSObject::getOwnPropertyNames(exec, propertyNames, mode);
137 if (propertyName == exec->propertyNames().arguments) {
189 if (propertyName == exec->propertyNames().arguments)
H A DNumberPrototype.cpp55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().toString, numberProtoFuncToString), DontEnum);
56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toLocaleString, numberProtoFuncToLocaleString), DontEnum);
57 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, numberProtoFuncValueOf), DontEnum);
58 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().toFixed, numberProtoFuncToFixed), DontEnum);
59 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().toExponential, numberProtoFuncToExponential), DontEnum);
60 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().toPrecision, numberProtoFuncToPrecision), DontEnum);
H A DFunctionConstructor.cpp43 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, functionPrototype, DontEnum | DontDelete | ReadOnly);
46 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
H A DNumberConstructor.cpp63 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, numberPrototype, DontEnum | DontDelete | ReadOnly);
66 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
H A DArrayPrototype.cpp174 unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
237 unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
253 JSValue conversionFunction = o->get(exec, exec->propertyNames().toLocaleString);
271 unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
345 unsigned length = curArg.get(exec, exec->propertyNames().length).toUInt32(exec);
373 unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
379 putProperty(exec, thisObj, exec->propertyNames().length, jsNumber(length));
384 putProperty(exec, thisObj, exec->propertyNames().length, jsNumber(length - 1));
400 unsigned length = thisObj->get(exec, exec->propertyNames().length).toUInt32(exec);
407 putProperty(exec, thisObj, exec->propertyNames()
[all...]
H A DJSObject.cpp52 static inline void getClassPropertyNames(ExecState* exec, const ClassInfo* classInfo, PropertyNameArray& propertyNames, EnumerationMode mode) argument
66 propertyNames.add(entry->key());
108 if (propertyName == exec->propertyNames().underscoreProto) {
282 JSValue value = callDefaultValueFunction(exec, this, exec->propertyNames().toString);
285 value = callDefaultValueFunction(exec, this, exec->propertyNames().valueOf);
289 JSValue value = callDefaultValueFunction(exec, this, exec->propertyNames().valueOf);
292 value = callDefaultValueFunction(exec, this, exec->propertyNames().toString);
441 void JSObject::getPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
443 getOwnPropertyNames(exec, propertyNames, mode);
451 prototype->getPropertyNames(exec, propertyNames, mod
462 getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
[all...]
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalueiterator/
H A Dtst_qscriptvalueiterator.cpp62 QTest::addColumn<QStringList>("propertyNames");
80 QFETCH(QStringList, propertyNames);
83 Q_ASSERT(propertyNames.size() == propertyValues.size());
87 for (int i = 0; i < propertyNames.size(); ++i) {
88 QString name = propertyNames.at(i);
139 QFETCH(QStringList, propertyNames);
142 Q_ASSERT(propertyNames.size() == propertyValues.size());
146 for (int i = 0; i < propertyNames.size(); ++i) {
147 QString name = propertyNames.at(i);
191 QTest::addColumn<QStringList>("propertyNames");
[all...]
/external/webkit/Source/WebCore/bindings/v8/
H A DScriptValue.cpp108 v8::Local<v8::Array> propertyNames = object->GetPropertyNames(); local
109 uint32_t length = propertyNames->Length();
111 v8::Local<v8::Value> name = propertyNames->Get(v8::Int32::New(i));
/external/webkit/Source/JavaScriptCore/debugger/
H A DDebuggerActivation.cpp74 void DebuggerActivation::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) argument
76 m_activation->getPropertyNames(exec, propertyNames, mode);
/external/webkit/Source/WebCore/bridge/
H A Druntime_method.cpp69 if (propertyName == exec->propertyNames().length) {
79 if (propertyName == exec->propertyNames().length) {
/external/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptoriginalglobalobject_p.h156 JSObjectRef propertyNames local
163 Q_ASSERT(JSValueIsObject(m_context, propertyNames));
166 int count = JSValueToNumber(m_context, JSObjectGetProperty(m_context, propertyNames, lengthName, &exception), &exception);
172 JSValueRef tmp = JSObjectGetPropertyAtIndex(m_context, propertyNames, i, &exception);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DPropertiesTest.java87 Enumeration<?> propertyNames = systemProperties.propertyNames();
89 while (propertyNames.hasMoreElements()) {
90 propertyName = (String) propertyNames.nextElement();
457 * @tests java.util.Properties#propertyNames()
461 Enumeration names = myPro.propertyNames();
486 Enumeration<?> names = parent.propertyNames();
495 names = current.propertyNames();
506 names = child.propertyNames();
583 Enumeration<?> nameEnum = properties.propertyNames();
[all...]
/external/webkit/Source/JavaScriptCore/API/
H A DJSObjectRef.cpp111 constructor->putDirect(exec->globalData(), exec->propertyNames().prototype, jsPrototype, DontEnum | DontDelete | ReadOnly);
506 JSPropertyNameArrayRef propertyNames = new OpaqueJSPropertyNameArray(globalData); local
511 propertyNames->array.reserveInitialCapacity(size);
513 propertyNames->array.append(JSRetainPtr<JSStringRef>(Adopt, OpaqueJSString::create(array[i].ustring()).leakRef()));
515 return JSPropertyNameArrayRetain(propertyNames);
544 PropertyNameArray* propertyNames = toJS(array); local
545 APIEntryShim entryShim(propertyNames->globalData());
546 propertyNames->add(propertyName->identifier(propertyNames->globalData()));
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DNPJSObject.cpp239 PropertyNameArray propertyNames(exec);
240 m_jsObject->getPropertyNames(exec, propertyNames);
242 NPIdentifier* nameIdentifiers = npnMemNewArray<NPIdentifier>(propertyNames.size());
244 for (size_t i = 0; i < propertyNames.size(); ++i)
245 nameIdentifiers[i] = static_cast<NPIdentifier>(IdentifierRep::get(propertyNames[i].ustring().utf8().data()));
248 *identifierCount = propertyNames.size();
/external/v8/src/
H A Dmirror-debugger.js621 ObjectMirror.prototype.propertyNames = function(kind, limit) {
625 var propertyNames;
632 propertyNames = %GetLocalPropertyNames(this.value_);
633 total += propertyNames.length;
640 propertyNames = propertyNames.concat(namedInterceptorNames);
669 for (var i = 0; index < limit && i < propertyNames.length; i++) {
670 names[index++] = propertyNames[i];
694 var names = this.propertyNames(kind, limit);
952 UnresolvedFunctionMirror.prototype.propertyNames
[all...]

Completed in 242 milliseconds

12345