/external/webkit/Source/WebCore/bindings/js/ |
JSDOMWindowShell.cpp | 118 void JSDOMWindowShell::getPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) 120 m_window->getPropertyNames(exec, propertyNames, mode); 123 void JSDOMWindowShell::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) 125 m_window->getOwnPropertyNames(exec, propertyNames, mode);
|
ScriptValue.cpp | 148 PropertyNameArray propertyNames(scriptState); 149 object->getOwnPropertyNames(scriptState, propertyNames); 150 for (size_t i = 0; i < propertyNames.size(); i++) { 151 const Identifier& name = propertyNames[i];
|
JSOptionConstructor.cpp | 42 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLOptionElementPrototype::self(exec, globalObject), None); 43 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(4), ReadOnly | DontDelete | DontEnum);
|
JSHistoryCustom.cpp | 84 if (propertyName == exec->propertyNames().toString) { 128 if (propertyName == exec->propertyNames().toString) { 156 void JSHistory::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) 161 Base::getOwnPropertyNames(exec, propertyNames, mode);
|
JSImageConstructor.cpp | 41 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLImageElementPrototype::self(exec, globalObject), None);
|
JSSQLTransactionSyncCustom.cpp | 64 JSValue lengthValue = object->get(exec, exec->propertyNames().length);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
BooleanConstructor.cpp | 34 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, booleanPrototype, DontEnum | DontDelete | ReadOnly); 37 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
|
NativeErrorConstructor.cpp | 42 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);
|
FunctionPrototype.cpp | 41 : 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);
|
DateConstructor.cpp | 63 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);
|
JSActivation.cpp | 104 void JSActivation::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) 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)
|
NumberPrototype.cpp | 55 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);
|
FunctionConstructor.cpp | 43 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, functionPrototype, DontEnum | DontDelete | ReadOnly); 46 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
|
NumberConstructor.cpp | 63 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, numberPrototype, DontEnum | DontDelete | ReadOnly); 66 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
|
ArrayPrototype.cpp | 174 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().length, jsNumber(length)) [all...] |
JSObject.cpp | 52 static inline void getClassPropertyNames(ExecState* exec, const ClassInfo* classInfo, PropertyNameArray& propertyNames, EnumerationMode mode) 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) 443 getOwnPropertyNames(exec, propertyNames, mode); 451 prototype->getPropertyNames(exec, propertyNames, mode) [all...] |
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalueiterator/ |
tst_qscriptvalueiterator.cpp | 62 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/ |
ScriptValue.cpp | 108 v8::Local<v8::Array> propertyNames = object->GetPropertyNames(); 109 uint32_t length = propertyNames->Length(); 111 v8::Local<v8::Value> name = propertyNames->Get(v8::Int32::New(i));
|
/external/webkit/Source/JavaScriptCore/debugger/ |
DebuggerActivation.cpp | 74 void DebuggerActivation::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode) 76 m_activation->getPropertyNames(exec, propertyNames, mode);
|
/external/webkit/Source/WebCore/bridge/ |
runtime_method.cpp | 69 if (propertyName == exec->propertyNames().length) { 79 if (propertyName == exec->propertyNames().length) {
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
qscriptoriginalglobalobject_p.h | 156 JSObjectRef propertyNames 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);
|
/libcore/luni/src/main/java/java/util/ |
PropertyResourceBundle.java | 73 return (Enumeration<String>) resources.propertyNames();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
PropertiesTest.java | 87 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/ |
JSObjectRef.cpp | 111 constructor->putDirect(exec->globalData(), exec->propertyNames().prototype, jsPrototype, DontEnum | DontDelete | ReadOnly); 506 JSPropertyNameArrayRef propertyNames = new OpaqueJSPropertyNameArray(globalData); 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); 545 APIEntryShim entryShim(propertyNames->globalData()); 546 propertyNames->add(propertyName->identifier(propertyNames->globalData()));
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NPJSObject.cpp | 239 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();
|