HomeSort by relevance Sort by last modified time
    Searched refs:propertyNames (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /external/v8/test/mjsunit/
object-get-own-property-names.js 32 var propertyNames = Object.getOwnPropertyNames(obj);
33 propertyNames.sort();
34 assertEquals(2, propertyNames.length);
35 assertEquals("a", propertyNames[0]);
36 assertEquals("b", propertyNames[1]);
39 var propertyNames = Object.getOwnPropertyNames(obj);
40 propertyNames.sort();
41 assertEquals(2, propertyNames.length);
42 assertEquals("a", propertyNames[0]);
43 assertEquals("b", propertyNames[1])
    [all...]
  /external/emma/core/java12/com/vladium/util/
XProperties.java 42 // note: must use propertyNames() because that is the only method that recurses
43 for (Enumeration propertyNames = propertyNames (); propertyNames.hasMoreElements (); )
45 _propertyNames.add (propertyNames.nextElement ());
61 // note: must use propertyNames() because that is the only method that recurses
62 for (Enumeration propertyNames = propertyNames (); propertyNames.hasMoreElements (); )
64 _propertyNames.add (propertyNames.nextElement ())
    [all...]
  /external/webkit/Source/JavaScriptCore/runtime/
NativeErrorPrototype.cpp 37 putDirect(exec->globalData(), exec->propertyNames().name, jsString(exec, nameAndMessage), 0);
38 putDirect(exec->globalData(), exec->propertyNames().message, jsString(exec, nameAndMessage), 0);
39 putDirect(exec->globalData(), exec->propertyNames().constructor, constructor, DontEnum);
JSFunction.cpp 70 putDirect(exec->globalData(), exec->globalData().propertyNames->name, jsString(exec, name.isNull() ? "" : name.ustring()), DontDelete | ReadOnly | DontEnum);
71 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(length), DontDelete | ReadOnly | DontEnum);
83 putDirect(exec->globalData(), exec->globalData().propertyNames->name, jsString(exec, name.isNull() ? "" : name.ustring()), DontDelete | ReadOnly | DontEnum);
84 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(length), DontDelete | ReadOnly | DontEnum);
94 putDirect(exec->globalData(), exec->globalData().propertyNames->name, jsString(exec, name.isNull() ? "" : name.ustring()), DontDelete | ReadOnly | DontEnum);
113 return asString(getDirect(exec->globalData(), exec->globalData().propertyNames->name))->tryGetValue();
118 JSValue displayName = getDirect(exec->globalData(), exec->globalData().propertyNames->displayName);
186 if (propertyName == exec->propertyNames().prototype) {
191 prototype->putDirect(exec->globalData(), exec->propertyNames().constructor, this, DontEnum);
192 putDirect(exec->globalData(), exec->propertyNames().prototype, prototype, DontDelete | DontEnum)
    [all...]
JSVariableObject.cpp 45 void JSVariableObject::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
50 propertyNames.add(Identifier(exec, it->first.get()));
53 JSObject::getOwnPropertyNames(exec, propertyNames, mode);
ErrorPrototype.cpp 43 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().name, jsNontrivialString(exec, "Error"), DontEnum);
44 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, errorProtoFuncToString), DontEnum);
55 JSValue name = thisObj->get(exec, exec->propertyNames().name);
56 JSValue message = thisObj->get(exec, exec->propertyNames().message);
ScopeChain.cpp 39 PropertyNameArray propertyNames(globalObject->globalExec());
40 o->getPropertyNames(globalObject->globalExec(), propertyNames);
41 PropertyNameArray::const_iterator propEnd = propertyNames.end();
44 for (PropertyNameArray::const_iterator propIter = propertyNames.begin(); propIter != propEnd; propIter++) {
StringObject.cpp 76 if (propertyName == exec->propertyNames().length)
83 if (propertyName == exec->propertyNames().length)
92 void StringObject::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
96 propertyNames.add(Identifier(exec, UString::number(i)));
98 propertyNames.add(exec->propertyNames().length);
99 return JSObject::getOwnPropertyNames(exec, propertyNames, mode);
Arguments.cpp 67 unsigned length = min(get(exec, exec->propertyNames().length).toUInt32(exec), maxSize);
102 unsigned length = get(exec, exec->propertyNames().length).toUInt32(exec);
166 defineOwnProperty(exec, exec->propertyNames().caller, descriptor, false);
178 defineOwnProperty(exec, exec->propertyNames().callee, descriptor, false);
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)
224 if (propertyName == exec->propertyNames().length && LIKELY(!d->overrodeLength)) {
229 if (propertyName == exec->propertyNames().callee && LIKELY(!d->overrodeCallee)) {
237 if (propertyName == exec->propertyNames().caller && d->isStrictMode
    [all...]
RegExpPrototype.cpp 53 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().compile, regExpProtoFuncCompile), DontEnum);
54 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().exec, regExpProtoFuncExec), DontEnum);
55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().test, regExpProtoFuncTest), DontEnum);
56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, regExpProtoFuncToString), DontEnum);
132 if (thisObject->get(exec, exec->propertyNames().global).toBoolean(exec))
134 if (thisObject->get(exec, exec->propertyNames().ignoreCase).toBoolean(exec))
136 if (thisObject->get(exec, exec->propertyNames().multiline).toBoolean(exec))
138 UString source = thisObject->get(exec, exec->propertyNames().source).toString(exec);
InternalFunction.cpp 48 putDirect(*globalData, globalData->propertyNames->name, jsString(globalData, name.isNull() ? "" : name.ustring()), DontDelete | ReadOnly | DontEnum);
53 return asString(getDirect(exec->globalData(), exec->globalData().propertyNames->name))->tryGetValue();
58 JSValue displayName = getDirect(exec->globalData(), exec->globalData().propertyNames->displayName);
ObjectPrototype.cpp 47 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, objectProtoFuncToString), DontEnum);
48 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toLocaleString, objectProtoFuncToLocaleString), DontEnum);
49 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, objectProtoFuncValueOf), DontEnum);
50 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().hasOwnProperty, objectProtoFuncHasOwnProperty), DontEnum);
51 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().propertyIsEnumerable, objectProtoFuncPropertyIsEnumerable), DontEnum);
52 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().isPrototypeOf, objectProtoFuncIsPrototypeOf), DontEnum);
55 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().__defineGetter__, objectProtoFuncDefineGetter), DontEnum);
56 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 2, exec->propertyNames().__defineSetter__, objectProtoFuncDefineSetter), DontEnum);
57 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().__lookupGetter__, objectProtoFuncLookupGetter), DontEnum);
58 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().__lookupSetter__, objectProtoFuncLookupSetter), DontEnum)
    [all...]
ObjectConstructor.cpp 82 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, objectPrototype, DontEnum | DontDelete | ReadOnly);
84 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
153 description->putDirect(exec->globalData(), exec->propertyNames().value, descriptor.value() ? descriptor.value() : jsUndefined(), 0);
154 description->putDirect(exec->globalData(), exec->propertyNames().writable, jsBoolean(descriptor.writable()), 0);
156 description->putDirect(exec->globalData(), exec->propertyNames().get, descriptor.getter() ? descriptor.getter() : jsUndefined(), 0);
157 description->putDirect(exec->globalData(), exec->propertyNames().set, descriptor.setter() ? descriptor.setter() : jsUndefined(), 0);
160 description->putDirect(exec->globalData(), exec->propertyNames().enumerable, jsBoolean(descriptor.enumerable()), 0);
161 description->putDirect(exec->globalData(), exec->propertyNames().configurable, jsBoolean(descriptor.configurable()), 0);
204 if (description->getPropertySlot(exec, exec->propertyNames().enumerable, enumerableSlot)) {
205 desc.setEnumerable(enumerableSlot.getValue(exec, exec->propertyNames().enumerable).toBoolean(exec))
    [all...]
ArrayConstructor.cpp 44 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, arrayPrototype, DontEnum | DontDelete | ReadOnly);
47 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
50 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().isArray, arrayConstructorIsArray), DontEnum);
JSByteArray.cpp 42 putDirect(exec->globalData(), exec->globalData().propertyNames->length, jsNumber(m_storage->length()), ReadOnly | DontDelete);
105 void JSByteArray::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
109 propertyNames.add(Identifier::from(exec, i));
110 JSObject::getOwnPropertyNames(exec, propertyNames, mode);
StringConstructor.cpp 55 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, stringPrototype, ReadOnly | DontEnum | DontDelete);
59 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().fromCharCode, exec->globalData().getHostFunction(stringFromCharCode, fromCharCodeThunkGenerator)), DontEnum);
61 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 1, exec->propertyNames().fromCharCode, stringFromCharCode), DontEnum);
64 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontEnum | DontDelete);
BooleanPrototype.cpp 45 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().toString, booleanProtoFuncToString), DontEnum);
46 putDirectFunctionWithoutTransition(exec, new (exec) JSFunction(exec, globalObject, functionStructure, 0, exec->propertyNames().valueOf, booleanProtoFuncValueOf), DontEnum);
ErrorConstructor.cpp 36 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().prototype, errorPrototype, DontEnum | DontDelete | ReadOnly);
37 putDirectWithoutTransition(exec->globalData(), exec->propertyNames().length, jsNumber(1), DontDelete | ReadOnly | DontEnum);
ErrorInstance.cpp 33 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, ""));
41 putDirect(*globalData, globalData->propertyNames->message, jsString(globalData, message));
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
PropertiesHelper.java 42 Enumeration<?> propertyNames = properties.propertyNames();
43 while (propertyNames.hasMoreElements()) {
44 String propertyName = (String) propertyNames.nextElement();
  /external/webkit/Source/WebCore/bridge/
runtime_array.cpp 66 void RuntimeArray::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
70 propertyNames.add(Identifier::from(exec, i));
73 propertyNames.add(exec->propertyNames().length);
75 JSObject::getOwnPropertyNames(exec, propertyNames, mode);
80 if (propertyName == exec->propertyNames().length) {
99 if (propertyName == exec->propertyNames().length) {
132 if (propertyName == exec->propertyNames().length) {
  /external/webkit/Source/WebCore/bindings/js/
JSDOMStringMapCustom.cpp 47 void JSDOMStringMap::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
53 propertyNames.add(Identifier(exec, stringToUString(names[i])));
55 Base::getOwnPropertyNames(exec, propertyNames, mode);
JSStorageCustom.cpp 67 void JSStorage::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
71 propertyNames.add(Identifier(exec, stringToUString(m_impl->key(i))));
73 Base::getOwnPropertyNames(exec, propertyNames, mode);
JSAudioConstructor.cpp 46 putDirect(exec->globalData(), exec->propertyNames().prototype, JSHTMLAudioElementPrototype::self(exec, globalObject), None);
47 putDirect(exec->globalData(), exec->propertyNames().length, jsNumber(1), ReadOnly | DontDelete | DontEnum);
JSLocationCustom.cpp 134 if (propertyName == exec->propertyNames().toString || propertyName == exec->propertyNames().valueOf)
163 void JSLocation::getOwnPropertyNames(ExecState* exec, PropertyNameArray& propertyNames, EnumerationMode mode)
168 Base::getOwnPropertyNames(exec, propertyNames, mode);
173 if (propertyName == exec->propertyNames().toString || propertyName == exec->propertyNames().valueOf)
279 return (propertyName == exec->propertyNames().toString || propertyName == exec->propertyNames().valueOf);
284 if (propertyName == exec->propertyNames().toString || propertyName == exec->propertyNames().valueOf
    [all...]

Completed in 323 milliseconds

1 2 3 4 5 6