HomeSort by relevance Sort by last modified time
    Searched full:getter (Results 1 - 25 of 234) sorted by null

1 2 3 4 5 6 7 8 910

  /libcore/luni/src/main/native/
java_io_ObjectOutputStream.cpp 24 #define GETTER(FUNCTION_NAME, JNI_C_TYPE, JNI_TYPE_STRING, JNI_GETTER_FUNCTION) \
41 GETTER(ObjectOutputStream_getFieldBool, jboolean, "Z", GetBooleanField)
42 GETTER(ObjectOutputStream_getFieldByte, jbyte, "B", GetByteField)
43 GETTER(ObjectOutputStream_getFieldChar, jchar, "C", GetCharField)
44 GETTER(ObjectOutputStream_getFieldDouble, jdouble, "D", GetDoubleField)
45 GETTER(ObjectOutputStream_getFieldFloat, jfloat, "F", GetFloatField)
46 GETTER(ObjectOutputStream_getFieldInt, jint, "I", GetIntField)
47 GETTER(ObjectOutputStream_getFieldLong, jlong, "J", GetLongField)
48 GETTER(ObjectOutputStream_getFieldShort, jshort, "S", GetShortField)
  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/GetSet/
getset-001.js 32 TestObject.prototype.y getter =
57 printStatus ("Basic Getter/ Setter test");
60 reportCompare ("got <initial y>", t.y, "y getter, before set");
63 reportCompare ("got new y", t.y, "y getter, after set");
66 reportCompare (2, t.y, "y getter, after numeric set");
70 reportCompare (d, t.y, "y getter, after date set");
getset-002.js 28 y getter: function get_y ()
52 printStatus ("Basic Getter/ Setter test (object literal notation)");
56 reportCompare ("got <initial y>", t.y, "y getter, before set");
59 reportCompare ("got new y", t.y, "y getter, after set");
62 reportCompare (2, t.y, "y getter, after numeric set");
66 reportCompare (d, t.y, "y getter, after date set");
getset-006.js 26 * o.__lookupGetter__('p') returns the getter function for o.p,
27 * or undefined if o.p has no getter. Users can wrap and layer."
51 // The only setter and getter functions we'll use in the three sections below -
57 // SECTION1: define getter/setter directly on an object (not its prototype)
66 status ='In SECTION1 of test; looking up extant getter/setter';
71 status = 'In SECTION1 of test; looking up nonexistent getter/setter';
76 status = 'In SECTION1 of test; looking up getter/setter on nonexistent property';
83 // SECTION2: define getter/setter in Object.prototype
93 status = 'In SECTION2 of test looking up extant getter/setter';
98 status = 'In SECTION2 of test; looking up nonexistent getter/setter'
    [all...]
getset-003.js 22 * SUMMARY: Testing obj.prop getter/setter
28 var summary = 'Testing obj.prop getter/setter';
43 // SECTION1: define getter/setter directly on an object (not its prototype)
48 obj.name getter = function() {this.nameGETS++; return this._name;}
74 // SECTION2: define getter/setter in Object.prototype
78 Object.prototype.name getter = function() {this.nameGETS++; return this._name;}
105 // SECTION 3: define getter/setter in prototype of user-defined constructor
112 TestObject.prototype.name getter = function() {this.nameGETS++; return this._name;}
  /external/v8/test/mjsunit/
debug-stepin-accessor.js 66 return this.name; // getter 1
69 return { // getter 2
79 return this.name; // getter y
83 return this.name; // getter 3
100 expected_source_line_text = ' return this.name; // getter 1';
107 expected_source_line_text = ' return this.name; // getter 1';
114 expected_source_line_text = ' return this.name; // getter 1';
117 var x = c['getter' + i];
123 expected_source_line_text = ' return this.name; // getter 1';
130 expected_source_line_text = ' return this.name; // getter 1';
    [all...]
mirror-object.js 195 // a has getter but no setter.
199 assertEquals('function', mirror.property('a').getter().type());
201 assertEquals('function (){return \'a\';}', mirror.property('a').getter().source());
202 // b has setter but no getter.
206 assertEquals('undefined', mirror.property('b').getter().type());
210 // c has both getter and setter. The getter throws an exception.
214 assertEquals('function', mirror.property('c').getter().type());
216 assertEquals('function (){throw \'c\';}', mirror.property('c').getter().source());
object-get-own-property-names.js 72 // Check that getter properties are returned.
74 obj.__defineGetter__("getter", function() {});
78 assertEquals("getter", propertyNames[0]);
indexed-accessors.js 64 // Testing that a defined getter doesn't get lost due to inline caching.
97 // Using a setter where only a getter is defined throws an exception.
102 // Using a getter where only a setter is defined returns undefined.
111 // Complex case of using an undefined getter.
  /external/webkit/WebCore/xml/
XPathResult.idl 36 getter raises (DOMException);
39 getter raises (DOMException);
42 getter raises (DOMException);
45 getter raises (DOMException);
49 getter raises (DOMException);
XMLHttpRequest.idl 83 readonly attribute [CustomGetter] DOMString responseText; // The custom getter implements ConvertNullStringTo=Null
86 getter raises(DOMException);
88 getter raises(DOMException);
  /external/chromium/base/
thread_local_unittest.cc 80 GetThreadLocal getter(&tlp, &done);
81 getter.set_ptr(&tls_val);
86 tp1.AddWork(&getter);
92 tp2.AddWork(&getter);
107 tp1.AddWork(&getter);
114 tp2.AddWork(&getter);
127 tp2.AddWork(&getter);
134 tp1.AddWork(&getter);
chrome_application_mac.h 17 getter=isHandlingSendEvent,
chrome_application_mac.mm 11 getter=isHandlingSendEvent,
  /external/webkit/WebCore/bindings/v8/
V8SVGPODTypeWrapper.h 76 // Getter wrapper
120 // Getter wrapper
170 static PassRefPtr<V8SVGStaticPODTypeWrapperWithParent> create(PassRefPtr<ParentType> parent, GetterMethod getter, SetterMethod setter)
172 return adoptRef(new V8SVGStaticPODTypeWrapperWithParent(parent, getter, setter));
186 V8SVGStaticPODTypeWrapperWithParent(PassRefPtr<ParentType> parent, GetterMethod getter, SetterMethod setter)
188 , m_getter(getter)
208 static PassRefPtr<V8SVGDynamicPODTypeWrapper> create(PassRefPtr<PODTypeCreator> creator, GetterMethod getter, SetterMethod setter, CacheRemovalCallback cacheRemovalCallback)
210 return adoptRef(new V8SVGDynamicPODTypeWrapper(creator, getter, setter, cacheRemovalCallback));
219 // Getter wrapper
232 V8SVGDynamicPODTypeWrapper(PassRefPtr<PODTypeCreator> creator, GetterMethod getter, SetterMethod setter, CacheRemovalCallback cacheRemovalCallback
295 GetterMethod getter; member in struct:WebCore::PODTypeWrapperCacheInfo
    [all...]
  /external/webkit/JavaScriptCore/runtime/
GetterSetter.h 34 // This is an internal value object which stores getter and setter functions
47 JSObject* getter() const { return m_getter; } function in class:JSC::GetterSetter
48 void setGetter(JSObject* getter) { m_getter = getter; }
PropertyDescriptor.cpp 75 JSValue PropertyDescriptor::getter() const function in class:JSC::PropertyDescriptor
91 if (attributes & (Getter | Setter)) {
93 m_getter = accessor->getter();
104 void PropertyDescriptor::setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes)
106 ASSERT(attributes & (Getter | Setter));
107 ASSERT(getter || setter);
109 m_getter = getter;
149 void PropertyDescriptor::setGetter(JSValue getter)
151 m_getter = getter;
152 m_attributes |= Getter;
    [all...]
PropertyDescriptor.h 47 JSValue getter() const;
51 void setAccessorDescriptor(JSValue getter, JSValue setter, unsigned attributes);
71 // May be a getter/setter
JSObject.cpp 93 throwError(exec, TypeError, "setting a property that has only a getter");
308 putDirectInternal(exec->globalData(), propertyName, getterSetter, attributes | Getter, true, slot);
312 // if we override an existing non-getter or non-setter.
339 // if we override an existing non-getter or non-setter.
358 JSObject* functionObject = asGetterSetter(value)->getter();
519 if (JSObject* getterFunction = asGetterSetter(*location)->getter())
563 target->putWithAttributes(exec, propertyName, descriptor.value() ? descriptor.value() : oldValue, attributes & ~(Getter | Setter));
567 if (descriptor.getter() && descriptor.getter().isObject())
568 target->defineGetter(exec, propertyName, asObject(descriptor.getter()), attributes)
    [all...]
ObjectConstructor.cpp 120 description->putDirect(exec->propertyNames().get, descriptor.getter() ? descriptor.getter() : jsUndefined(), 0);
204 throwError(exec, TypeError, "Getter must be a function.");
233 throwError(exec, TypeError, "Invalid property. 'value' present on property with getter or setter.");
238 throwError(exec, TypeError, "Invalid property. 'writable' present on property with getter or setter.");
255 ASSERT((descriptor.attributes() & (Getter | Setter)) || (!descriptor.isAccessorDescriptor()));
281 if (descriptor.getter())
282 markBuffer.append(descriptor.getter());
  /external/webkit/WebCore/bindings/js/
JSSVGPODTypeWrapper.h 60 // by taking function pointers to the getter & setter functions of the "creator object", the object
82 static PassRefPtr<JSSVGDynamicPODTypeWrapper> create(PassRefPtr<PODTypeCreator> creator, GetterMethod getter, SetterMethod setter)
84 return adoptRef(new JSSVGDynamicPODTypeWrapper(creator, getter, setter));
99 JSSVGDynamicPODTypeWrapper(PassRefPtr<PODTypeCreator> creator, GetterMethod getter, SetterMethod setter)
101 , m_getter(getter)
189 static PassRefPtr<JSSVGStaticPODTypeWrapperWithParent> create(PassRefPtr<ParentType> parent, GetterMethod getter, SetterMethod setter)
191 return adoptRef(new JSSVGStaticPODTypeWrapperWithParent(parent, getter, setter));
205 JSSVGStaticPODTypeWrapperWithParent(PassRefPtr<ParentType> parent, GetterMethod getter, SetterMethod setter)
207 , m_getter(getter)
281 , getter(0
313 GetterMethod getter; member in struct:WebCore::PODTypeWrapperCacheInfo
    [all...]
  /external/webkit/WebCore/dom/
Range.idl 27 getter raises(DOMException);
29 getter raises(DOMException);
31 getter raises(DOMException);
33 getter raises(DOMException);
35 getter raises(DOMException);
37 getter raises(DOMException);
  /libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
TimezoneGetter.java 42 public static void setInstance(TimezoneGetter getter) {
46 instance = getter;
  /external/v8/src/
regexp.js 344 // Getter and setter for the input.
353 %DefineAccessor($RegExp, 'input', GETTER, RegExpGetInput, DONT_DELETE);
355 %DefineAccessor($RegExp, '$_', GETTER, RegExpGetInput, DONT_ENUM | DONT_DELETE);
357 %DefineAccessor($RegExp, '$input', GETTER, RegExpGetInput, DONT_ENUM | DONT_DELETE);
367 // Getter and setter for multiline.
372 %DefineAccessor($RegExp, 'multiline', GETTER, RegExpGetMultiline, DONT_DELETE);
374 %DefineAccessor($RegExp, '$*', GETTER, RegExpGetMultiline, DONT_ENUM | DONT_DELETE);
382 %DefineAccessor($RegExp, 'lastMatch', GETTER, RegExpGetLastMatch, DONT_DELETE);
384 %DefineAccessor($RegExp, '$&', GETTER, RegExpGetLastMatch, DONT_ENUM | DONT_DELETE);
386 %DefineAccessor($RegExp, 'lastParen', GETTER, RegExpGetLastParen, DONT_DELETE)
    [all...]
  /external/v8/test/mjsunit/regress/
regress-612.js 34 // Define getter which currently moves object into slow mode.
41 // Now object is turned into fast mode, but it has getter defined above...

Completed in 350 milliseconds

1 2 3 4 5 6 7 8 910